/* ═══════════════════════════════════════════════
   TÚ AN CLINIC — CUSTOM STYLES (index.html)
   File: assets/css/custom.css
   ⚠️  Chỉ dùng cho trang chủ index.html
   Class prefix: tuan-*
   Class KHÔNG prefix (dùng chung toàn site):
       .inner .label .section .section-alt
       .sec-head .sec-head-center .sec-title .sec-lead
═══════════════════════════════════════════════ */


/* ══════════════════════════════
   UTILITY — Class dùng chung cho mọi trang tuan-*
══════════════════════════════ */

/* Padding chuẩn cho mọi section — dùng thay vì viết padding riêng từng ID */
.tuan-section { padding: 100px var(--pad-x); }

/* Variant nền xám nhạt xen kẽ giữa các section */
.tuan-section-alt { background: var(--bg-alt); }

/* Variant nền tối ink-900 — dùng cho dark block, section đánh giá */
.tuan-section-toi { background: var(--ink-900); }

/* Variant padding nhỏ hơn — dùng cho section compact */
.tuan-section-nho { padding: 64px var(--pad-x); }


/* ══════════════════════════════
   HERO — Khung section đầu trang toàn màn hình
══════════════════════════════ */

/* Wrapper section hero — full viewport height */
#tuan-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 var(--pad-x);
}

/* Lớp nền gradient phía sau hero */
.tuan-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(91,170,175,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(200,232,234,.15) 0%, transparent 50%),
    linear-gradient(160deg, #EDF8F9 0%, #F2F8F8 50%, #EAF5F6 100%);
}

/* Vùng chứa video/ảnh hero — full section */
.tuan-hero-anh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* Ảnh hero — cover toàn bộ vùng */
.tuan-hero-anh img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  position: relative;
  z-index: 2;
  display: block;
}

/* Không dùng gradient hero */
.tuan-hero-anh::before { display: none; }

/* Placeholder hiển thị khi chưa có ảnh hero */
.tuan-hero-anh-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--bg-deep), var(--teal-200));
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Icon SVG bên trong placeholder ảnh hero */
.tuan-hero-anh-placeholder svg {
  width: 80px;
  opacity: .15;
  color: var(--teal-500);
}

/* Vùng nội dung chữ hero — đặt trên ảnh */
.tuan-hero-noidung {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding: 120px 0 80px;
}

/* Tag nhỏ phía trên tiêu đề hero (badge phòng khám) */
.tuan-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91,170,175,.1);
  border: 1px solid rgba(91,170,175,.25);
  padding: 6px 14px 6px 10px;
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal-500);
  font-weight: 500;
  margin-bottom: 28px;
}

/* Chấm tròn nhấp nháy trong tag hero */
.tuan-hero-tag-cham {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-400);
  flex-shrink: 0;
  animation: tuanTagPulse 2s ease infinite;
}

@keyframes tuanTagPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

/* Tiêu đề H1 lớn của hero */
.tuan-hero-tieude {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink-900);
  margin-bottom: 24px;
  text-align: center;
}

/* Phần chữ nghiêng màu teal trong tiêu đề hero */
.tuan-hero-tieude em { font-style: italic; color: var(--teal-500); }

/* Đoạn mô tả ngắn dưới tiêu đề hero */
.tuan-hero-mota {
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--ink-500);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 28px;
  max-width: 460px;
}

/* Danh sách chứng nhận nhỏ dưới mô tả */
.tuan-hero-chungnhan { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }

/* Mỗi item chứng nhận (icon + text) */
.tuan-hero-chungnhan-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-500); }

/* Icon tròn nhỏ trước mỗi chứng nhận */
.tuan-hero-chungnhan-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal-100);
  border: 1px solid var(--teal-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; flex-shrink: 0; color: var(--teal-500);
}

/* Nhóm nút CTA trong hero */
.tuan-hero-nutbam { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

/* Nhóm thống kê số liệu cuối hero */
.tuan-hero-thongke { display: flex; border-top: 1px solid var(--border); padding-top: 32px; }

/* Mỗi ô thống kê (khách hàng / năm KN / sao) */
.tuan-hero-thongke-o { flex: 1; text-align: center; padding: 0 16px; border-right: 1px solid var(--border); }
.tuan-hero-thongke-o:last-child { border-right: none; }

/* Số lớn trong ô thống kê */
.tuan-hero-thongke-so {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.5vw, 42px);
  font-weight: 300; color: var(--ink-900); line-height: 1;
}
.tuan-hero-thongke-so span { color: var(--teal-400); }

/* Nhãn nhỏ dưới số thống kê */
.tuan-hero-thongke-nhan {
  font-size: 9px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink-300); margin-top: 5px;
}


/* ══════════════════════════════
   NÚT BẤM — Các loại nút dùng trong index
══════════════════════════════ */

/* Nút chính màu teal — đặt lịch / hành động chính */
.tuan-nut-chinh {
  padding: 14px 32px; background: var(--teal-400); color: var(--white);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; transition: background var(--ease);
  display: inline-block; text-decoration: none;
}
.tuan-nut-chinh:hover { background: var(--teal-500); }

/* Nút viền teal — hành động phụ bên cạnh nút chính */
.tuan-nut-vien {
  padding: 14px 32px; border: 1px solid var(--teal-400); color: var(--teal-500);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; transition: all var(--ease);
  display: inline-block; text-decoration: none;
}
.tuan-nut-vien:hover { background: var(--teal-100); border-color: var(--teal-500); }

/* Nút trắng — dùng trên nền teal (section booking) */
.tuan-nut-trang {
  padding: 14px 36px; background: var(--white); color: var(--teal-500);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; transition: background var(--ease);
  display: inline-block; text-decoration: none;
}
.tuan-nut-trang:hover { background: var(--bg-alt); }

/* Nút ghost trong suốt — dùng trên nền teal (section booking) */
.tuan-nut-ghost {
  padding: 14px 36px; border: 1px solid rgba(255,255,255,.45); color: var(--white);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; transition: all var(--ease);
  display: inline-block; text-decoration: none;
}
.tuan-nut-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* Nút "Chi tiết" nhỏ dưới card dịch vụ */
.tuan-nut-chitiet {
  display: block; width: 100%; padding: 9px; text-align: center;
  font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 500; border: 1px solid var(--border); color: var(--ink-500);
  background: none; transition: all .2s; text-decoration: none; border-radius: 2px;
}
.tuan-nut-chitiet:hover { border-color: var(--teal-400); color: var(--teal-500); background: var(--teal-100); }


/* ══════════════════════════════
   LOGO MARQUEE — Băng chạy logo thương hiệu / đối tác
══════════════════════════════ */

/* Thanh nền chứa toàn bộ marquee */
.tuan-marquee-thanh {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
}

/* Không dùng fade 2 bên marquee */

/* Track chạy liên tục — chứa 2 bộ logo để loop mượt */
.tuan-marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: tuanLogoScroll 28s linear infinite;
  align-items: center;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@keyframes tuanLogoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Mỗi ô chứa 1 logo trong marquee */
.tuan-marquee-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  height: 52px;
  min-width: 0;
}
.tuan-marquee-logo:last-child { border-right: none; }

/* Ảnh logo — hiển thị nét, không filter */
.tuan-marquee-logo img {
  height: 32px; width: auto; max-width: 100px;
  object-fit: contain; display: block;
}


/* ══════════════════════════════
   DỊCH VỤ — Tab + Card danh sách dịch vụ
══════════════════════════════ */

/* Thanh tab chọn nhóm dịch vụ */
.tuan-dv-tabs {
  display: flex; border-bottom: 1px solid var(--border);
  margin-bottom: 48px; overflow-x: auto; scrollbar-width: none;
}
.tuan-dv-tabs::-webkit-scrollbar { display: none; }

/* Mỗi nút tab trong thanh tab dịch vụ */
.tuan-dv-tab {
  padding: 13px 28px; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--ink-300); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  white-space: nowrap; transition: color var(--ease), border-color var(--ease);
  background: none; border-top: none; border-left: none; border-right: none;
  font-family: var(--font-sans); flex-shrink: 0; font-weight: 600;
}
.tuan-dv-tab:hover { color: var(--ink-700); }

/* Tab đang được chọn */
.tuan-dv-tab.is-active { color: var(--teal-500); border-bottom-color: var(--teal-400); }

/* Panel nội dung ứng với mỗi tab — ẩn mặc định */
.tuan-dv-panel { display: none; }
.tuan-dv-panel.is-active { display: block; }

/* Lưới card dịch vụ — tự động wrap */
.tuan-dv-luoi {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Card dịch vụ đơn lẻ */
.tuan-dv-card {
  background: var(--bg-card); border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease),
              transform .35s cubic-bezier(.34,1.56,.64,1);
  display: flex; flex-direction: column;
}
.tuan-dv-card:hover { border-color: var(--teal-300); box-shadow: var(--shadow-md); transform: translateY(-4px); }

/* Vùng ảnh thumbnail của card dịch vụ */
.tuan-dv-card-anh {
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
  background: linear-gradient(145deg, var(--bg-deep), var(--teal-100));
  position: relative; flex-shrink: 0;
}
.tuan-dv-card-anh img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.tuan-dv-card:hover .tuan-dv-card-anh img { transform: scale(1.07); }

/* Placeholder khi card dịch vụ chưa có ảnh */
.tuan-dv-card-anh-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.tuan-dv-card-anh-ph svg { width: 28px; opacity: .2; color: var(--teal-500); }

/* Nhãn danh mục góc trên trái ảnh card */
.tuan-dv-card-nhan {
  position: absolute; top: 10px; left: 12px;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); background: rgba(26,46,50,.6); padding: 3px 8px; border-radius: 2px;
}

/* Phần thân card — chứa tên, tag, mô tả */
.tuan-dv-card-than { padding: 20px 22px 18px; flex: 1; display: flex; flex-direction: column; }

/* Tên dịch vụ trong card */
.tuan-dv-card-ten { font-family: var(--font-serif); font-size: 21px; font-weight: 400; color: var(--ink-900); margin-bottom: 8px; line-height: 1.2; }

/* Nhóm tag kỹ thuật / chỉ định */
.tuan-dv-card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }

/* Mỗi tag nhỏ trong card dịch vụ */
.tuan-dv-card-tag { font-size: 9px; padding: 3px 7px; background: var(--teal-100); color: var(--teal-500); border-radius: 2px; font-weight: 500; }

/* Đoạn mô tả kỹ thuật trong card */
.tuan-dv-card-mota { font-size: 12px; color: var(--ink-500); line-height: 1.75; font-weight: 300; margin-bottom: 14px; flex: 1; }

/* Phần footer card — chứa nút chi tiết */
.tuan-dv-card-cuoi { padding-top: 12px; border-top: 1px solid var(--border); }

/* Layout 2 cột riêng cho tab Triệt Lông */
.tuan-dv-triet-long { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

/* Bảng giá trong tab Triệt Lông */
.tuan-bang-gia { width: 100%; border-collapse: collapse; }
.tuan-bang-gia th {
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-300); font-weight: 500; padding: 10px 16px;
  text-align: left; border-bottom: 1px solid var(--border); font-family: var(--font-sans);
}
.tuan-bang-gia td { padding: 11px 16px; font-size: 13px; color: var(--ink-700); border-bottom: 1px solid var(--border); font-weight: 300; }
.tuan-bang-gia tr:last-child td { border-bottom: none; }
.tuan-bang-gia tr:hover td { background: var(--teal-100); }

/* Ô giá — dùng font serif nổi bật */
.tuan-bang-gia-gia { font-family: var(--font-serif); font-size: 15px; color: var(--teal-500); font-weight: 400; }


/* ══════════════════════════════
   ĐÁNH GIÁ — Section review khách hàng (nền tối)
══════════════════════════════ */

/* Section tổng đánh giá — nền ink-900 */
#tuan-danhgia { overflow: hidden; }

/* Header section đánh giá — tiêu đề + điểm sao */
.tuan-danhgia-header { max-width: var(--max-w); margin: 0 auto 48px; text-align: center; }
.tuan-danhgia-header .sec-title { color: var(--white); }
.tuan-danhgia-header .sec-title em { color: var(--teal-300); }

/* Hàng hiển thị điểm số + sao tổng hợp */
.tuan-danhgia-diemso { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }

/* Số điểm lớn (4.9) */
.tuan-danhgia-so { font-family: var(--font-serif); font-size: 48px; font-weight: 300; color: var(--white); line-height: 1; }

/* Dãy sao màu vàng */
.tuan-danhgia-sao { color: #f5c518; font-size: 20px; letter-spacing: 2px; }

/* Số lượng đánh giá nhỏ dưới sao */
.tuan-danhgia-soluong { font-size: 12px; color: rgba(255,255,255,.4); }

/* Vùng kéo thả slider reviews */
.tuan-danhgia-slider { overflow: hidden; max-width: var(--max-w); margin: 0 auto; cursor: grab; user-select: none; }
.tuan-danhgia-slider.dragging { cursor: grabbing; }

/* Track chứa các card — dịch chuyển bằng JS */
.tuan-danhgia-track { display: flex; gap: 20px; transition: transform .4s cubic-bezier(.16,1,.3,1); }

/* Mỗi card review đơn lẻ */
.tuan-danhgia-card {
  flex: 0 0 calc(33.33% - 14px);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  padding: 26px; border-radius: 2px;
}

/* Hàng trên card: avatar + tên + ngày */
.tuan-danhgia-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

/* Avatar chữ cái đầu tên khách hàng */
.tuan-danhgia-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-200));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 16px; color: var(--white); flex-shrink: 0;
}

/* Tên khách hàng trong card review */
.tuan-danhgia-ten { font-size: 13px; font-weight: 500; color: var(--white); }

/* Ngày đăng review */
.tuan-danhgia-ngay { font-size: 10px; color: rgba(255,255,255,.35); margin-top: 2px; }

/* Sao nhỏ trong mỗi card */
.tuan-danhgia-sao-nho { color: #f5c518; font-size: 12px; margin-bottom: 10px; }

/* Nội dung review dạng quote */
.tuan-danhgia-noidung { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.8; font-weight: 300; font-style: italic; }

/* Tên dịch vụ đã dùng — cuối card review */
.tuan-danhgia-dichvu {
  display: block; margin-top: 12px; font-size: 9px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--teal-300);
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 10px;
}

/* Thanh nav dot bên dưới slider */
.tuan-danhgia-nav { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }

/* Chấm tròn điều hướng slider */
.tuan-danhgia-cham {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.2); cursor: pointer; transition: all .25s; border: none; padding: 0;
}

/* Chấm đang active — dài ra thành pill */
.tuan-danhgia-cham.active { background: var(--teal-300); width: 20px; border-radius: 3px; }


/* ══════════════════════════════
   DƯỢC MỸ PHẨM — Section nguồn gốc sản phẩm
══════════════════════════════ */

/* Layout 2 cột: nội dung trái + visual phải */
.tuan-duoc-layout {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

/* Badge chứng nhận KFDA/CE góc trên */
.tuan-duoc-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(91,170,175,.08); border: 1px solid rgba(91,170,175,.2);
  padding: 7px 14px 7px 10px; border-radius: 4px; margin-bottom: 20px;
}

/* Emoji cờ trong badge */
.tuan-duoc-badge-co { font-size: 18px; }

/* Chữ chứng nhận trong badge */
.tuan-duoc-badge-chu { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal-500); font-weight: 600; }

/* Danh sách tính năng / điểm mạnh */
.tuan-duoc-tinh-nang { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }

/* Mỗi item tính năng: icon + text */
.tuan-duoc-tinh-nang-item { display: flex; gap: 14px; align-items: flex-start; }

/* Icon tròn trước mỗi tính năng */
.tuan-duoc-tinh-nang-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal-100); border: 1px solid var(--teal-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}

/* Tiêu đề mỗi tính năng */
.tuan-duoc-tinh-nang-ten { font-size: 13px; font-weight: 600; color: var(--ink-900); margin-bottom: 3px; }

/* Mô tả ngắn mỗi tính năng */
.tuan-duoc-tinh-nang-mo { font-size: 12px; color: var(--ink-500); line-height: 1.65; font-weight: 300; }

/* Khung visual bên phải — lưới nguồn gốc xuất xứ */
.tuan-duoc-visual {
  background: linear-gradient(145deg, var(--teal-100), rgba(91,170,175,.04));
  border: 1px solid var(--border); padding: 36px; border-radius: 4px;
}

/* Tiêu đề nhỏ trên visual */
.tuan-duoc-visual-tieude { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-300); margin-bottom: 20px; text-align: center; }

/* Lưới 2x2 các quốc gia xuất xứ */
.tuan-duoc-quocgia-luoi { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Ô một quốc gia xuất xứ */
.tuan-duoc-quocgia { background: var(--white); border: 1px solid var(--border); padding: 18px; text-align: center; border-radius: 2px; }

/* Emoji cờ quốc gia */
.tuan-duoc-quocgia-co { font-size: 28px; display: block; margin-bottom: 5px; }

/* Tên quốc gia */
.tuan-duoc-quocgia-ten { font-size: 11px; font-weight: 600; color: var(--ink-900); }

/* Mô tả sản phẩm từ quốc gia đó */
.tuan-duoc-quocgia-mo { font-size: 10px; color: var(--ink-300); margin-top: 3px; line-height: 1.4; }

/* Nhóm badge chứng nhận cuối visual */
.tuan-duoc-chung-chi { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }

/* Mỗi badge chứng nhận (KFDA, CE, ISO...) */
.tuan-duoc-chung-chi-item {
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 9px; border: 1px solid var(--teal-200);
  color: var(--teal-500); border-radius: 2px; font-weight: 500; background: var(--white);
}


/* ══════════════════════════════
   QUY TRÌNH — 4 bước chuẩn y khoa
══════════════════════════════ */

/* Lưới 4 cột chứa các bước quy trình */
.tuan-quytrinh-luoi { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }

/* Đường kẻ ngang nối các bước (decoration) */
.tuan-quytrinh-luoi::before {
  content: ''; position: absolute;
  top: 28px; left: 12.5%; right: 12.5%; height: 1px;
  background: linear-gradient(to right, var(--teal-200), transparent);
}

/* Mỗi bước trong quy trình */
.tuan-quytrinh-buoc { padding: 0 24px; text-align: center; }

/* Số thứ tự bước — hình tròn */
.tuan-quytrinh-so {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--border-mid); background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-family: var(--font-serif); font-size: 18px;
  color: var(--teal-400); position: relative; z-index: 1;
  transition: background var(--ease), border-color var(--ease);
}
.tuan-quytrinh-buoc:hover .tuan-quytrinh-so { background: var(--teal-100); border-color: var(--teal-400); }

/* Tên bước quy trình */
.tuan-quytrinh-ten { font-size: 13px; font-weight: 500; color: var(--ink-900); margin-bottom: 8px; }

/* Mô tả ngắn của mỗi bước */
.tuan-quytrinh-mo { font-size: 11px; color: var(--ink-300); line-height: 1.7; font-weight: 300; }


/* ══════════════════════════════
   KẾT QUẢ — Lưới ảnh before/after
══════════════════════════════ */

/* Lưới 3 cột ảnh kết quả điều trị */
.tuan-ketqua-luoi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* Mỗi ô ảnh kết quả — tỷ lệ 3:4 dọc */
.tuan-ketqua-item { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--bg-deep); cursor: pointer; }
.tuan-ketqua-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.tuan-ketqua-item:hover img { transform: scale(1.06); }

/* Placeholder khi chưa có ảnh kết quả */
.tuan-ketqua-ph {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(145deg, var(--bg-deep), var(--teal-100));
}
.tuan-ketqua-ph svg { width: 36px; opacity: .2; color: var(--teal-500); }
.tuan-ketqua-ph span { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-300); }

/* Overlay — ẩn mặc định, chỉ hiện nhẹ khi hover desktop */
.tuan-ketqua-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 60%, rgba(26,46,50,.75));
  opacity: 0; transition: opacity var(--ease);
  display: flex; align-items: flex-end; padding: 20px;
}
.tuan-ketqua-item:hover .tuan-ketqua-overlay { opacity: 1; }

/* Mobile/touch — ẩn overlay text, lightbox lo phần caption */
@media (hover: none) {
  .tuan-ketqua-overlay { display: none; }
}

/* Nhãn "Before / After" trên overlay */
.tuan-ketqua-overlay-nhan { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.8); }

/* Tên dịch vụ trên overlay ảnh kết quả */
.tuan-ketqua-overlay-dichvu { font-family: var(--font-serif); font-size: 18px; font-weight: 300; color: var(--white); margin-top: 4px; }


/* ══════════════════════════════
   ĐẶT LỊCH — Section CTA cuối trang
══════════════════════════════ */

/* Section booking — nền gradient teal */
#tuan-datlich {
  background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-400) 50%, #6CBCC1 100%);
  padding: 120px var(--pad-x); text-align: center; position: relative; overflow: hidden;
}

/* Lớp overlay ánh sáng trang trí trên nền booking */
#tuan-datlich::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,.07) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(255,255,255,.05) 0%, transparent 40%);
}

/* Wrapper nội dung booking căn giữa */
.tuan-datlich-noidung { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.tuan-datlich-noidung .label     { color: rgba(255,255,255,.7); }
.tuan-datlich-noidung .sec-title { color: var(--white); }
.tuan-datlich-noidung .sec-title em { color: rgba(255,255,255,.85); }
.tuan-datlich-noidung p { font-size: 15px; color: rgba(255,255,255,.8); line-height: 1.85; margin: 16px 0 48px; font-weight: 300; }

/* Nhóm nút trong booking */
.tuan-datlich-nhomnut { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */

@media (max-width: 1024px) {
  .tuan-hero-anh     { opacity: 1; }
  .tuan-duoc-layout  { gap: 48px; }
  .tuan-danhgia-card { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 900px) {
  /* Hero mobile — full màn hình luôn */
  .tuan-hero-anh          { opacity: 1; }
  .tuan-hero-anh::before  { background: linear-gradient(to right, rgba(237,248,249,.92) 0%, rgba(237,248,249,.6) 50%, rgba(237,248,249,.3) 100%); }
  .tuan-hero-noidung      { max-width: 100%; padding: 100px 0 60px; text-align: center; }
  .tuan-hero-tag          { justify-content: center; }
  .tuan-hero-chungnhan    { justify-content: center; }
  .tuan-hero-nutbam       { justify-content: center; }
  .tuan-hero-mota         { margin: 0 auto 28px; }
  .tuan-quytrinh-luoi     { grid-template-columns: 1fr 1fr; gap: 40px; }
  .tuan-quytrinh-luoi::before { display: none; }
  .tuan-ketqua-luoi       { grid-template-columns: 1fr 1fr; }
  .tuan-dv-triet-long     { grid-template-columns: 1fr; }
  .tuan-dv-luoi           { grid-template-columns: 1fr 1fr; }
  .tuan-duoc-layout       { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .tuan-dv-tabs {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px; border-bottom: none; margin-bottom: 24px; overflow: visible;
  }
  .tuan-dv-tab {
    padding: 12px 8px; border: 1.5px solid var(--border);
    border-bottom: 1.5px solid var(--border); border-radius: 6px;
    background: var(--bg-card); font-size: 12px; font-weight: 700;
    letter-spacing: 0; text-transform: none; color: var(--ink-700);
    text-align: center; margin-bottom: 0; white-space: normal; line-height: 1.3; transition: all .2s;
  }
  .tuan-dv-tab.is-active {
    background: var(--teal-400); border-color: var(--teal-400);
    color: var(--white); box-shadow: 0 4px 12px rgba(91,170,175,.35);
  }
  .tuan-danhgia-card { flex: 0 0 80vw; }
  .tuan-dv-luoi      { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .tuan-hero-thongke {
    display: grid; grid-template-columns: repeat(3, 1fr);
    padding-top: 24px; border-top: 1px solid var(--border);
  }
  .tuan-hero-thongke-o { padding: 0 8px; margin: 0; border-right: 1px solid var(--border); }
  .tuan-hero-thongke-o:last-child { border-right: none; }
  .tuan-hero-thongke-so { font-size: 20px; }
  .tuan-ketqua-luoi     { grid-template-columns: 1fr; }
  .tuan-quytrinh-luoi   { grid-template-columns: 1fr; }
  .section              { padding: 64px var(--pad-x); }
  .sec-head             { margin-bottom: 40px; }
}


/* ══════════════════════════════
   ĐÁNH GIÁ — Nút prev/next slider
══════════════════════════════ */

/* Hàng chứa nút prev/next + dots */
.tuan-danhgia-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

/* Nút mũi tên trái/phải slider review */
.tuan-danhgia-prev,
.tuan-danhgia-next {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.7);
  font-size: 16px;
  cursor: pointer;
  transition: all .25s;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tuan-danhgia-prev:hover,
.tuan-danhgia-next:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--teal-300);
  color: var(--teal-300);
}


/* ══════════════════════════════
   KẾT QUẢ — Gallery ảnh nhỏ + xem thêm mobile
══════════════════════════════ */

/* Ảnh nhỏ hơn — tỷ lệ vuông thay vì 3:4 */
.tuan-ketqua-item { aspect-ratio: 1/1; }

/* Ẩn item trên mobile — JS sẽ toggle */
.tuan-ketqua-hidden { display: none; }

/* Nút xem thêm gallery */
.tuan-ketqua-xemthem-wrap {
  text-align: center;
  margin-top: 24px;
}
.tuan-ketqua-xemthem {
  display: inline-block;
  padding: 12px 32px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--teal-400);
  color: var(--teal-500);
  background: none;
  cursor: pointer;
  transition: all var(--ease);
  font-family: var(--font-sans);
}
.tuan-ketqua-xemthem:hover {
  background: var(--teal-100);
  border-color: var(--teal-500);
}

/* Desktop — luôn hiện 3 cột, ẩn nút xem thêm */
@media (min-width: 641px) {
  .tuan-ketqua-hidden  { display: block; }
  .tuan-ketqua-xemthem-wrap { display: none; }
}

/* Mobile — lưới 3 cột nhỏ */
@media (max-width: 640px) {
  .tuan-ketqua-luoi { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .tuan-ketqua-item { aspect-ratio: 1/1; }
}


/* ══════════════════════════════
   LIGHTBOX — Xem ảnh before/after full màn hình
══════════════════════════════ */

/* Overlay lightbox toàn màn hình */
.tuan-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,20,22,.95);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  padding: 20px;
}

/* Lightbox đang mở */
.tuan-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

/* Ảnh bên trong lightbox */
.tuan-lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
  display: block;
}

/* Nút đóng lightbox */
.tuan-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  line-height: 1;
}
.tuan-lightbox-close:hover { background: rgba(255,255,255,.2); }

/* Nút prev/next lightbox */
.tuan-lightbox-prev,
.tuan-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.tuan-lightbox-prev { left: 16px; }
.tuan-lightbox-next { right: 16px; }
.tuan-lightbox-prev:hover,
.tuan-lightbox-next:hover { background: rgba(255,255,255,.2); }

/* Caption tên dịch vụ dưới ảnh */
.tuan-lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  white-space: nowrap;
}

/* Gallery item — con trỏ pointer rõ ràng */
.tuan-ketqua-item { cursor: pointer; }


/* ══════════════════════════════
   NÚT XEM NHÓM DỊCH VỤ KHÁC — chỉ hiện mobile
══════════════════════════════ */

/* Ẩn trên desktop */
.tuan-dv-xemthem-wrap { display: none; }

/* Hiện trên mobile */
@media (max-width: 768px) {
  .tuan-dv-xemthem-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
  }
  .tuan-dv-xemthem {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid var(--teal-400);
    color: var(--teal-500);
    background: none;
    cursor: pointer;
    font-family: var(--font-sans);
    border-radius: 2px;
    transition: all var(--ease);
  }
  .tuan-dv-xemthem:hover,
  .tuan-dv-xemthem:active {
    background: var(--teal-100);
  }
}


/* ══════════════════════════════
   TIÊU ĐỀ LỚN HƠN — .tuan-title-xl
   Dùng cho các sec-title cần nổi bật hơn
══════════════════════════════ */

/* Tiêu đề section to hơn mặc định, thoáng hơn */
.tuan-title-xl {
  font-size: clamp(40px, 6vw, 80px) !important;
  line-height: 1.08 !important;
  margin-bottom: 8px !important;
}

/* Thêm khoảng thoáng trên/dưới tiêu đề trong sec-head */
.sec-head .tuan-title-xl,
.sec-head-center .tuan-title-xl {
  margin-top: 14px !important;
  margin-bottom: 14px !important;
}


/* ══════════════════════════════
   SECTION MÁY MÓC CÔNG NGHỆ CAO
══════════════════════════════ */

/* Layout 2 cột: nội dung trái + ảnh phải */
.tuan-maymoc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Danh sách thiết bị */
.tuan-maymoc-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

/* Mỗi dòng thiết bị */
.tuan-maymoc-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.tuan-maymoc-item:hover {
  border-color: var(--teal-300);
  box-shadow: var(--shadow-sm);
}

/* Icon thiết bị */
.tuan-maymoc-item-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-100);
  border-radius: 50%;
}

/* Tên thiết bị */
.tuan-maymoc-item-ten {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 3px;
}

/* Mô tả thiết bị */
.tuan-maymoc-item-mo {
  font-size: 11px;
  color: var(--ink-300);
  line-height: 1.5;
}

/* Vùng ảnh máy móc — PNG trong suốt */
.tuan-maymoc-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(ellipse at center, var(--teal-100) 0%, transparent 70%);
  border-radius: 50%;
  padding: 40px;
}

/* Ảnh máy PNG tách nền */
.tuan-maymoc-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(26,46,50,.15));
}

/* Responsive máy móc */
@media (max-width: 900px) {
  .tuan-maymoc-layout { grid-template-columns: 1fr; gap: 40px; }
  .tuan-maymoc-visual { order: -1; padding: 20px; }
  .tuan-maymoc-img    { max-width: 280px; }
}


/* ══════════════════════════════
   SECTION SẢN PHẨM SINH HỌC
══════════════════════════════ */

/* Layout 2 cột: ảnh trái + nội dung phải */
.tuan-bio-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Vùng ảnh sản phẩm */
.tuan-bio-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, var(--bg-deep) 0%, transparent 70%);
  padding: 40px;
  border-radius: 8px;
}

/* Ảnh sản phẩm PNG tách nền */
.tuan-bio-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(26,46,50,.18));
}

/* Badge Bộ Y Tế — floating dưới ảnh */
.tuan-bio-badge-byt {
  position: absolute;
  bottom: 16px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
}
.tuan-bio-badge-byt-icon { font-size: 22px; }
.tuan-bio-badge-byt-ten  { font-size: 12px; font-weight: 600; color: var(--ink-900); }
.tuan-bio-badge-byt-mo   { font-size: 10px; color: var(--ink-300); margin-top: 1px; }

/* Lưới chứng nhận 4 ô */
.tuan-bio-certs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 28px;
}

/* Mỗi ô chứng nhận */
.tuan-bio-cert-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
}
.tuan-bio-cert-icon { font-size: 22px; display: block; margin-bottom: 6px; }
.tuan-bio-cert-ten  { font-size: 11px; font-weight: 600; color: var(--ink-900); }
.tuan-bio-cert-mo   { font-size: 9px; color: var(--ink-300); margin-top: 2px; letter-spacing: .5px; }

/* Danh sách điểm mạnh */
.tuan-bio-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.tuan-bio-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.6;
}
.tuan-bio-feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-400);
  flex-shrink: 0;
  margin-top: 6px;
}

/* Responsive bio */
@media (max-width: 900px) {
  .tuan-bio-layout   { grid-template-columns: 1fr; gap: 40px; }
  .tuan-bio-certs    { grid-template-columns: repeat(2, 1fr); }
  .tuan-bio-img-wrap { padding: 20px; }
  .tuan-bio-img      { max-width: 260px; }
  .tuan-bio-badge-byt { right: 0; bottom: 0; }
}

@media (max-width: 540px) {
  .tuan-bio-certs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .tuan-bio-cert-item { padding: 10px 6px; }
  .tuan-bio-cert-icon { font-size: 18px; }
  .tuan-bio-cert-ten  { font-size: 9px; }
}


/* ══════════════════════════════
   SECTION MÁY MÓC — Hero ảnh nền full + text overlay
   Minimal 2026 style
══════════════════════════════ */

/* Wrapper full width, ảnh làm nền */
.tuan-maymoc-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Ảnh PNG tách nền — đặt bên phải */
.tuan-maymoc-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: var(--ink-900);
}
.tuan-maymoc-bg img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: .9;
}

/* Overlay gradient trái — để text đọc rõ */
.tuan-maymoc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,46,50,.5) 0%,
    rgba(26,46,50,.2) 40%,
    transparent 100%
  );
  z-index: 1;
}

/* Nội dung text */
.tuan-maymoc-body {
  position: relative;
  z-index: 2;
  padding: 100px var(--pad-x);
  max-width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Label nhỏ trên */
.tuan-maymoc-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal-300);
  font-weight: 500;
  margin-bottom: 20px;
}

/* Tiêu đề lớn trắng */
.tuan-maymoc-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
}
.tuan-maymoc-title em {
  font-style: italic;
  color: var(--teal-300);
}

/* Mô tả */
.tuan-maymoc-desc {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  line-height: 1.8;
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 40px;
  text-align: center;
}

/* Hàng stats */
.tuan-maymoc-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.tuan-maymoc-stat-so {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.tuan-maymoc-stat-nhan {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: 4px;
}
.tuan-maymoc-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.12);
}

/* Mobile */
@media (max-width: 768px) {
  .tuan-maymoc-hero  { min-height: 500px; }
  .tuan-maymoc-bg img { width: 80%; opacity: .35; }
  .tuan-maymoc-overlay { background: linear-gradient(to top, rgba(26,46,50,.65) 0%, rgba(26,46,50,.3) 50%, transparent 100%); }
  .tuan-maymoc-body  { padding: 64px var(--pad-x); max-width: 100%; }
  .tuan-maymoc-stats { gap: 20px; }
  .tuan-maymoc-stat-so { font-size: 22px; }
}


/* ══════════════════════════════
   SECTION BIOLOGICAL STIMULATION
   Minimal 2026 — ảnh lớn bên phải, text trái clean
══════════════════════════════ */

/* Layout 2 cột bất đối xứng: 5/7 */
.tuan-bio2-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
}

/* Hàng số liệu chứng nhận */
.tuan-bio2-certs {
  display: flex;
  gap: 0;
  margin-top: 36px;
  border: 1px solid var(--border);
}
.tuan-bio2-cert {
  flex: 1;
  padding: 16px 12px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.tuan-bio2-cert:last-child { border-right: none; }
.tuan-bio2-cert-so {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-900);
  line-height: 1;
}
.tuan-bio2-cert-mo {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-top: 4px;
}

/* Danh sách 3 dòng numbered */
.tuan-bio2-rows {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
}
.tuan-bio2-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.tuan-bio2-row:first-child { border-top: 1px solid var(--border); }
.tuan-bio2-row-num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--ink-300);
  flex-shrink: 0;
  margin-top: 1px;
  width: 24px;
}
.tuan-bio2-row-ten {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 3px;
}
.tuan-bio2-row-mo {
  font-size: 12px;
  color: var(--ink-300);
  line-height: 1.5;
  font-weight: 300;
}

/* Vùng ảnh — nền teal nhạt, ảnh PNG nổi */
.tuan-bio2-img-frame {
  position: relative;
  background: linear-gradient(145deg, var(--teal-100) 0%, var(--bg-deep) 60%, var(--bg-alt) 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
}
.tuan-bio2-img-frame img {
  width: 90%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(26,46,50,.2));
  position: relative;
  z-index: 1;
}

/* Badge BYT floating */
.tuan-bio2-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: .5px;
  z-index: 2;
}
.tuan-bio2-badge svg {
  color: var(--teal-500);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .tuan-bio2-layout { grid-template-columns: 1fr; gap: 40px; }
  .tuan-bio2-img-frame { min-height: 320px; order: -1; }
}
@media (max-width: 540px) {
  .tuan-bio2-certs { flex-wrap: wrap; }
  .tuan-bio2-cert { flex: 0 0 50%; border-bottom: 1px solid var(--border); }
  .tuan-bio2-cert:nth-child(2) { border-right: none; }
  .tuan-bio2-cert:nth-child(3),
  .tuan-bio2-cert:nth-child(4) { border-bottom: none; }
}
















/* ══════════════════════════════
   BIOLOGICAL STIMULATION — Pill ảnh nền
══════════════════════════════ */

.tuan-bio3-header { margin-bottom: 40px; }

/* Tiêu đề to — giống sec-title */
.tuan-bio3-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 300;
  color: var(--ink-900);
  line-height: 1.1;
  margin-top: 10px;
}
.tuan-bio3-title em {
  font-style: italic;
  color: var(--teal-500);
}

/* Subtitle nhỏ bên dưới */
.tuan-bio3-subtitle {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-300);
  line-height: 1.6;
  margin-top: 8px;
  letter-spacing: .3px;
}

/* Full viewport */
.tuan-pill-wrap {
  display: flex;
  align-items: stretch;
  height: 360px;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.tuan-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 1;
}

.tuan-pill-1 { border-radius: 0 999px 999px 0; z-index: 1; margin-right: -60px; }
.tuan-pill-2 { border-radius: 999px; z-index: 3; margin-right: -60px; }

/* Pill 3 — nền giống máy móc (ink-900 tối) */
.tuan-pill-3 {
  border-radius: 999px 0 0 999px;
  z-index: 2;
  flex: 1.4;
  background: var(--ink-900);
}

.tuan-pill-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Ảnh sản phẩm pill 3 — nét trên nền tối */
.tuan-pill-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 32px rgba(91,170,175,.2));
}

.tuan-pill-overlay-1 {
  position: absolute;
  inset: 0;
  background: rgba(26,46,50,.3);
  z-index: 1;
}
.tuan-pill-overlay-2 {
  position: absolute;
  inset: 0;
  background: rgba(26,46,50,.28);
  z-index: 1;
}
.tuan-pill-overlay-3 { display: none; }

.tuan-pill-content {
  position: relative;
  z-index: 2;
  padding: 0 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}
.tuan-pill-content-3 { display: none; }

.tuan-pill-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.tuan-pill-desc {
  font-size: 12px;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  font-weight: 300;
  max-width: 200px;
}

.tuan-pill-flags {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 12px;
  font-weight: 500;
}

.tuan-bio3-byt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 10px;
  font-weight: 600;
  color: var(--teal-300);
  letter-spacing: .5px;
}

@media (max-width: 768px) {
  .tuan-pill-wrap {
    flex-direction: column;
    height: auto;
    width: 100%;
    left: 0;
    transform: none;
  }
  .tuan-pill {
    border-radius: 20px !important;
    margin-right: 0 !important;
    margin-bottom: -16px;
    height: 220px;
    flex: none;
    width: 100%;
  }
  .tuan-pill:last-child { height: 260px; margin-bottom: 0; }
  .tuan-pill-content { padding: 0 28px; }
}


/* Giảm padding top section sản phẩm — bớt gap với dịch vụ */
.tuan-section-compact { padding-top: 48px !important; }

/* ══════════════════════════════
   QUY TRÌNH — Ảnh bo góc dưới mỗi bước
══════════════════════════════ */

/* Ảnh minh họa dưới mỗi bước */
.tuan-quytrinh-anh {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
.tuan-quytrinh-anh img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.tuan-quytrinh-buoc:hover .tuan-quytrinh-anh img {
  transform: scale(1.04);
}


/* ── Ảnh máy móc — desktop/mobile riêng ── */
.tuan-maymoc-img-mobile  { display: none; }
.tuan-maymoc-img-desktop { display: block; }

@media (max-width: 768px) {
  .tuan-maymoc-img-desktop { display: none; }
  .tuan-maymoc-img-mobile  {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* ── Pill mobile — tách rời nhau ── */
@media (max-width: 768px) {
  .tuan-pill-wrap {
    flex-direction: column;
    height: auto;
    width: 100%;
    left: 0;
    transform: none;
    gap: 12px;
    padding: 0 var(--pad-x);
  }
  .tuan-pill {
    border-radius: 16px !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    height: 220px;
    flex: none;
    width: 100%;
  }
  .tuan-pill:last-child { height: 240px; }
  .tuan-pill-content { padding: 0 28px; }
}


/* Fix ảnh máy mobile — căn giữa full */
@media (max-width: 768px) {
  .tuan-maymoc-bg {
    justify-content: center;
  }
  .tuan-maymoc-img-mobile {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
  }
}


/* Fix mạnh hơn — ảnh máy mobile full width căn giữa */
@media (max-width: 768px) {
  .tuan-maymoc-bg {
    justify-content: center !important;
    align-items: center !important;
  }
  .tuan-maymoc-img-mobile {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    left: 0 !important;
    right: 0 !important;
  }
}


/* ── Ảnh kết quả dưới review card ── */
.tuan-danhgia-anh {
  margin-top: 14px;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
}
.tuan-danhgia-anh img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
  opacity: .85;
}
.tuan-danhgia-card:hover .tuan-danhgia-anh img {
  transform: scale(1.04);
  opacity: 1;
}


/* ── Video hero — full cover giống ảnh ── */
.tuan-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 2;
}

/* ── Before/After grid fix ── */
/* Desktop: 4 cot */
.tuan-ketqua-luoi {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
}
/* Tablet */
@media (max-width: 1024px) {
  .tuan-ketqua-luoi { grid-template-columns: repeat(3, 1fr) !important; }
}
/* Mobile: 2 cot */
@media (max-width: 640px) {
  .tuan-ketqua-luoi {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }
  .tuan-ketqua-item { aspect-ratio: 3/4 !important; }
}


/* ── HERO MOBILE: font nho + can giua ── */
@media (max-width: 768px) {
  .tuan-hero-tieude {
    font-size: clamp(32px, 4.5vw, 58px);
    text-align: center;
  }
  .tuan-hero-noidung {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .tuan-hero-tag {
    justify-content: center;
  }
  .tuan-hero-chungnhan {
    justify-content: center;
    flex-wrap: wrap;
  }
  .tuan-hero-nutbam {
    justify-content: center;
    flex-wrap: wrap;
  }
  .tuan-hero-mota {
    text-align: center;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Hero desktop center */
.tuan-hero-noidung {
  text-align: center;
  align-items: center;
}
.tuan-hero-chungnhan { justify-content: center; }
.tuan-hero-nutbam { justify-content: center; }


/* ── INDEX PAGE: Giam 20% tieu de section tren desktop ── */
@media (min-width: 769px) {
  body.index-page .sec-title,
  body.index-page .tuan-title-xl {
    font-size: calc(var(--text-4xl) * 0.8);
  }
  body.index-page .tuan-maymoc-title {
    font-size: calc(var(--text-4xl) * 0.8);
  }
  body.index-page .tuan-bio3-title {
    font-size: calc(var(--text-3xl) * 0.8);
  }
  /* tuan-hero-tieude da xu ly rieng, bo qua */
}

/* ── INDEX PAGE: Giam 20% tieu de section desktop ── */
@media (min-width: 769px) {
  body.index-page .tuan-title-xl,
  body.index-page .tuan-maymoc-title {
    font-size: clamp(32px, 4.8vw, 64px) !important;
  }
  body.index-page .tuan-bio3-title {
    font-size: clamp(26px, 4vw, 51px) !important;
  }
}


/* ── HERO MOTA: fix can giua desktop ── */
.tuan-hero-mota {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
