/* ==========================================================================
   1. KHAI BÁO BIẾN CSS TOÀN CỤC (CSS VARIABLES)
   ========================================================================== */
/* Biến hệ thống chứa bảng màu thương hiệu, màu nền, đường viền và kích thước khung */
:root {
  --orange: #ff5a1f;
  /* Màu da cam thương hiệu Woofoo */
  --orange-hover: #e94d14;
  /* Màu cam đậm khi di chuột (Hover) */
  --orange-light: #fff1ea;
  /* Màu nền cam nhạt */
  --warm: #fff8f4;
  /* Màu nền kem ấm */
  --soft: #fafaf8;
  /* Màu nền xám nhạt mờ */
  --ink: #171717;
  /* Màu chữ đen tối chủ đạo */
  --secondary: #666;
  /* Màu chữ xám phụ */
  --muted: #8a8a8a;
  /* Màu chữ mờ/nhạt */
  --border: #eaeaea;
  /* Màu đường viền phân cách */
  --shell: 1200px;
  /* Độ rộng khung trang web tối đa */
  --scene-space: 112px;
  /* Nhịp dọc dùng chung từ mép phân cách đến nội dung của mỗi scene */
}

/* ==========================================================================
   2. QUY TẮC NỀN & RESET CƠ BẢN (BASE & RESET STYLES)
   ========================================================================== */

/* Áp dụng cho TOÀN BỘ phần tử trên trang (*): Ép tính kích thước bao gồm cả padding và border */
* {
  box-sizing: border-box;
}

/* Áp dụng cho thẻ <html>: Bật cuộn trang mượt mà khi bấm liên kết neo #id */
html {
  scroll-behavior: auto;
  scroll-padding-top: 88px;
}

#features,
#how,
#why,
#hosts,
#download {
  scroll-margin-top: 88px;
}

/* Áp dụng cho thẻ <body>: Đặt màu nền trắng, màu chữ mặc định, và phông chữ Inter */
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Áp dụng cho toàn bộ thẻ liên kết <a>: Bỏ gạch chân mặc định và kế thừa màu chữ */
a {
  color: inherit;
  text-decoration: none;
}

/* Áp dụng cho tất cả nút <button>: Kế thừa kiểu phông chữ của thẻ cha */
button {
  font: inherit;
}

/* Class .shell (Dùng bọc thẻ <nav>, <section>, <footer>): Giới hạn chiều rộng 1200px & căn giữa trang */
.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

/* Class .skip-link (Thẻ <a class="skip-link">): Liên kết ẩn nhảy nhanh tới nội dung chính cho bàn phím */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 99;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

/* Trạng thái khi người dùng tab bàn phím vào nút skip-link: Hiện nút lên */
.skip-link:focus {
  transform: none;
}

/* ==========================================================================
   3. THANH MENU ĐIỀU HƯỚNG (SITE HEADER & NAVBAR)
   ========================================================================== */

/* Thẻ <header class="site-header">: Thanh đầu trang dính ở đỉnh màn hình với hiệu ứng mờ kính */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, .93);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: border-color .25s ease, box-shadow .25s ease;
  backdrop-filter: blur(10px);
}

/* Trạng thái khi cuộn trang (.site-header.is-scrolled): Hiện viền dưới và đổ bóng nhẹ */
.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .04);
}

/* Thẻ <nav class="navbar">: Bố cục thanh menu chia 3 phần (Logo, Các liên kết, Nút hành động) */
.navbar {
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

/* Class .brand (Thẻ <a class="brand">): Định dạng tên thương hiệu "Woofoo" chữ cam, đậm */
.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 0;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.055em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-woo {
  color: var(--orange);
}

.brand-foo {
  color: var(--orange);
}

/* Class .nav-links (Thẻ <div class="nav-links">): Chứa danh sách các liên kết điều hướng trên desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

/* Các thẻ <a> nằm trong .nav-links: Thêm hiệu ứng chuyển màu mượt khi rê chuột */
.nav-links a {
  transition: color .16s ease;
}

/* Trạng thái rê chuột vào liên kết menu: Đổi sang màu cam */
.nav-links a:hover {
  color: var(--orange);
}

/* Cụm tải ứng dụng nằm ở góc phải và làm mốc cho popover chọn cửa hàng */
.nav-download {
  position: relative;
  justify-self: end;
}

.nav-download .nav-download-trigger {
  gap: 8px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0;
}

.nav-download-trigger svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1);
}

.nav-download.is-open .nav-download-trigger svg {
  transform: rotate(180deg);
}

.nav-download-menu {
  position: absolute;
  z-index: 10;
  top: calc(100% + 12px);
  right: 0;
  width: min(330px, calc(100vw - 24px));
  display: grid;
  gap: 7px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(75, 31, 13, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.985);
  filter: blur(2px);
  transform-origin: top right;
  transition: opacity .16s ease, transform .18s cubic-bezier(.4, 0, 1, 1), filter .16s ease, visibility 0s linear .18s;
  pointer-events: none;
}

.nav-download-menu::before {
  content: none;
}

.nav-download.is-open .nav-download-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition: opacity .2s ease, transform .24s cubic-bezier(.16, 1, .3, 1), filter .2s ease, visibility 0s;
  pointer-events: auto;
}

.nav-download-copy {
  grid-column: 1 / -1;
  display: grid;
  gap: 3px;
  padding: 0 17px 2px;
}

.nav-download-copy strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.nav-download-copy span {
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.4;
}

.nav-store-options {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.nav-store-link {
  display: flex;
  width: 120px;
  height: 44px;
  flex: 0 0 120px;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding: 0;
  transition: filter .16s ease, transform .16s ease;
}

.nav-store-link-google {
  width: 136px;
  flex-basis: 136px;
}

.nav-store-link:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.nav-download-trigger:focus-visible,
.nav-store-link:focus-visible {
  outline: 3px solid rgba(255, 90, 31, .32);
  outline-offset: 3px;
}

.nav-store-link img {
  display: block;
  width: 100%;
  height: 40px;
  flex: 1 1 auto;
  min-width: 0;
  object-fit: contain;
}

.nav-download-benefits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 2px;
  padding-top: 11px;
  border-top: 1px solid var(--border);
}

.nav-download-benefit {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--secondary);
  font-size: 9px;
  line-height: 1.3;
  text-align: center;
}

.nav-benefit-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange);
}

.nav-benefit-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Class .button (Thẻ <a class="button"> hoặc <button class="button">): Định dạng nút bấm màu cam bo góc */
.button {
  display: inline-flex;
  width: max-content;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  padding: 0 22px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background .16s ease, transform .16s ease;
}

/* Trạng thái rê chuột vào nút bấm: Đổi màu cam đậm và nhích nhẹ lên trên */
.button:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

/* Class .button-small: Phiên bản nút bấm thu nhỏ cho thanh header */
.button-small {
  height: 42px;
  padding-inline: 20px;
  font-size: 13px;
}

/* Nút 3 gạch mobile & menu mobile xổ xuống: Mặc định ẩn trên màn hình máy tính */
.menu-button,
.mobile-menu {
  display: none;
}

/* ==========================================================================
   4. KHỐI HERO (HERO SECTION - BỐ CỤC CHÍNH ĐẦU TRANG)
   ========================================================================== */

/* Thẻ <section class="hero">: Khối hero trên cùng có nền chuyển màu nhẹ */
.hero {
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0%, #fff 47%, #fffaf7 100%);
}

/* Class .hero-grid: Bố cục Grid 2 cột (Cột trái: Chữ, Cột phải: 2 Điện thoại 3D) */
.hero-grid {
  display: grid;
  min-height: 690px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding-block: 70px 54px;
}

/* Hiệu ứng trượt & fade hiện ra khi vừa vào trang (Entrance Animation) */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    translate: 0 36px;
  }

  100% {
    opacity: 1;
    translate: 0 0;
  }
}

/* Class .hero-copy (Thẻ <div class="hero-copy">): Chứa toàn bộ nội dung văn bản bên trái */
.hero-copy {
  position: relative;
  z-index: 2;
  animation: heroFadeUp 1.275s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* Đẩy nhẹ khối chữ sang phải 60px chỉ khi ở màn hình máy tính (min-width: 821px) */
@media (min-width: 821px) {
  .hero-copy {
    padding-left: 0;
  }
}

/* Class .eyebrow (Thẻ <p class="eyebrow">): Dòng chữ nhỏ màu cam viết hoa trên cùng tiêu đề */
.eyebrow {
  margin: 0 0 20px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Thẻ <h1> & <h2> trong .section-copy: Tiêu đề lớn co giãn kích thước tự động bằng clamp() */
h1,
.section-copy h2 {
  margin: 0;
  font-size: clamp(46px, 4.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -.047em;
  font-weight: 700;
}

/* Thẻ <span> trong <h1>: Tô màu cam cho đoạn chữ nhấn mạnh */
h1 span {
  color: var(--orange);
}

/* Class .lead (Thẻ <p class="lead">): Đoạn văn bản mô tả chính bên dưới tiêu đề */
.lead,
.section-copy>p:not(.eyebrow) {
  max-width: 535px;
  margin: 24px 0 0;
  color: var(--secondary);
  font-size: 17px;
  line-height: 1.7;
}

/* Class .store-row (Thẻ <div class="store-row">): Hàng chứa 2 nút tải ứng dụng App Store & Google Play */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-mobile-store-row {
  display: flex;
}

/* Class .store-badge (Thẻ <a> bọc logo App Store/Google Play): Nút bấm tải app */
.store-badge {
  display: inline-flex;
  flex: 0 0 180px;
  width: 180px;
  min-width: 180px;
  max-width: 180px;
  height: 54px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 9px;
  transition: transform .16s ease, filter .16s ease;
}

/* Trạng thái rê chuột vào nút tải app: Sáng hơn và nảy nhẹ lên */
.store-badge:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Thẻ <img> trong nút tải app: Căn chỉnh ảnh vừa khung */
.store-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.availability {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* ==========================================================================
   CỤM SỐ LIỆU THỐNG KÊ HERO (HERO STATS)
   ========================================================================== */
.hero-stats {
  /* 👇 CHỈNH KHOẢNG CÁCH TỪ CỤM NÀY TỚI DÒNG "Miễn phí trên iOS và Android" Ở ĐÂY: */
  margin-top: 26px;

  display: flex;
  align-items: flex-start;
  gap: 36px;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-number {
  color: #FF7A2A;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: auto;
  animation: heroFadeUp 1.425s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

/* Class .hero-device-composition: Khung ghép tổng quan chứa nền cam nhạt và 2 điện thoại */
.hero-device-composition {
  position: relative;
  width: 100%;
  max-width: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  margin: 0 auto;
}

/* Pseudo-element ::before của .hero-device-composition: Hình nền cam nhạt xoay nhẹ 3D phía sau điện thoại */
.hero-device-composition::before {
  position: absolute;
  z-index: -1;
  top: 16%;
  right: 12%;
  width: 55%;
  height: 67%;
  border-radius: 52px;
  background: var(--orange-light);
  content: "";
  transform: rotate(-3deg);
}

/* Class .hero-phone-frames: Ảnh viền vỏ điện thoại 3D trong suốt đè lên trên (.hero-phone-frames.png) */
.hero-phone-frames {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Class .hero-app-screen: Khung chứa giao diện ứng dụng hiển thị bên trong viền điện thoại */
.hero-app-screen {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  background: #fff;
  color: #171717;
  font-family: Inter, sans-serif;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .03);
}

/* Pseudo-element ::before của .hero-app-screen: Dải "Dynamic Island" (Camera/Loa) trên màn hình điện thoại */
.hero-app-screen::before {
  position: absolute;
  z-index: 5;
  top: 7px;
  left: 50%;
  width: 60px;
  height: 17px;
  border-radius: 999px;
  background: #050505;
  content: "";
  transform: translateX(-50%);
}

/* Class .hero-app-screen-main: Màn hình điện thoại chính nằm bên trái (Xem danh sách phòng) */
.hero-app-screen-main {
  top: 4.1%;
  left: 24.2%;
  width: 27.4%;
  height: 88.6%;
  border-radius: 35px 43px 37px 40px;
  transform: rotate(-1deg);
  clip-path: polygon(1% 1%, 97% 0, 100% 99%, 0 97.5%);
}

/* Class .hero-app-screen-secondary: Màn hình điện thoại phụ nằm phía sau bên phải (Xem chi tiết phòng) */
.hero-app-screen-secondary {
  top: 14%;
  left: 55.4%;
  width: 24.5%;
  height: 75.6%;
  border-radius: 31px;
}

.hero-app-screen-secondary::before {
  top: 7px;
  width: 55px;
  height: 16px;
}

.hero-screen-photo {
  position: relative;
  height: 47%;
  background-position: center;
  background-size: cover;
}

.hero-app-screen-secondary .hero-screen-photo {
  height: 34%;
}

.hero-screen-heart {
  position: absolute;
  top: 29px;
  right: 10px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--orange);
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.hero-screen-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .58);
  padding: 3px 7px;
  color: #fff;
  font-size: 7px;
}

.hero-screen-body {
  padding: 11px 12px 10px;
}

.hero-screen-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.hero-screen-price strong {
  font-size: 13px;
}

.hero-screen-price span {
  color: var(--orange);
}

.hero-screen-body>b {
  display: block;
  font-size: 8px;
}

.hero-screen-body>small {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 6px;
  line-height: 1.4;
}

.hero-screen-chips {
  display: flex;
  gap: 3px;
  margin-top: 8px;
}

.hero-screen-chips span {
  border-radius: 3px;
  background: #f5f5f5;
  padding: 3px 5px;
  color: #555;
  font-size: 5px;
}

.hero-screen-location {
  margin-top: 9px;
  border-top: 1px solid #eee;
  padding-top: 8px;
}

.hero-screen-location strong {
  display: block;
  color: var(--orange);
  font-size: 7px;
}

.hero-screen-location small {
  display: block;
  margin-top: 4px;
  color: #777;
  font-size: 5px;
  line-height: 1.45;
}

.hero-screen-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-screen-action {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 12px;
}

.hero-screen-action span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid #eee;
  border-radius: 50%;
  color: #aaa;
  font-size: 15px;
}

.hero-screen-action .active {
  border-color: var(--orange);
  color: var(--orange);
}

.hero-screen-details {
  margin-top: 9px;
  border-top: 1px solid #eee;
  padding-top: 8px;
}

.hero-screen-details>strong {
  font-size: 7px;
}

.hero-screen-details dl {
  margin: 5px 0 0;
}

.hero-screen-details dl div {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 5.5px;
}

.hero-screen-details dt {
  color: #777;
}

.hero-screen-details dd {
  margin: 0;
  font-weight: 600;
}

.hero-screen-cta {
  display: grid;
  height: 28px;
  place-items: center;
  margin-top: 8px;
  border-radius: 5px;
  background: var(--orange);
  color: #fff;
  font-size: 6px;
  font-weight: 700;
}

.soft-shape {
  position: absolute;
  inset: 78px 0 62px 48px;
  border-radius: 44px;
  background: var(--orange-light);
  transform: rotate(-2deg);
}

.phone {
  position: absolute;
  overflow: hidden;
  border: 7px solid #171717;
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .13);
}

.phone::before {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 5;
  width: 76px;
  height: 21px;
  border-radius: 99px;
  background: #111;
  content: "";
  transform: translateX(-50%);
}

.phone-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 31px;
  background: #fff;
}

.phone-hero-a {
  z-index: 2;
  right: 190px;
  bottom: 0;
  width: 250px;
  height: 540px;
  transform: rotate(-3deg);
}

.phone-hero-b {
  z-index: 1;
  right: 5px;
  bottom: 35px;
  width: 224px;
  height: 486px;
  transform: rotate(2deg);
}

.phone-status {
  position: relative;
  z-index: 3;
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 15px 0;
  color: #303030;
  font-size: 8px;
  font-weight: 700;
}

.phone-status.over-photo {
  position: absolute;
  inset: 0 0 auto;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

.room-photo {
  position: relative;
  height: 205px;
  background-position: center;
  background-size: cover;
}

.photo-a {
  background-image: url("https://images.unsplash.com/photo-1567767292278-a4f21aa2d36e?auto=format&fit=crop&w=700&q=75");
}

.photo-b {
  background-image: url("https://images.unsplash.com/photo-1493809842364-78817add7ffb?auto=format&fit=crop&w=700&q=75");
}

.photo-c {
  background-image: url("https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?auto=format&fit=crop&w=700&q=75");
}

.photo-d {
  background-image: url("https://images.unsplash.com/photo-1522771739844-6a9f6d5f14af?auto=format&fit=crop&w=700&q=75");
}

.heart,
.phone-back {
  position: absolute;
  top: 39px;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--orange);
  font-size: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}

.heart {
  right: 11px;
}

.heart.active {
  color: var(--orange);
}

.photo-count {
  position: absolute;
  right: 9px;
  bottom: 8px;
  border-radius: 99px;
  background: rgba(0, 0, 0, .55);
  padding: 3px 7px;
  color: #fff;
  font-size: 8px;
}

.phone-content {
  padding: 13px;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-line strong {
  font-size: 14px;
}

.price-line span {
  color: var(--orange);
}

.phone-content>p {
  margin: 3px 0;
  font-size: 9px;
  font-weight: 600;
}

.phone-content>small {
  display: block;
  color: #777;
  font-size: 7px;
  line-height: 1.45;
}

.chips {
  display: flex;
  gap: 4px;
  margin: 10px 0;
}

.chips span {
  border-radius: 4px;
  background: #f5f5f5;
  padding: 4px 6px;
  font-size: 6px;
}

.info-box {
  border-top: 1px solid #eee;
  padding-top: 9px;
  font-size: 8px;
}

.info-box dl {
  margin: 7px 0 0;
}

.info-box dl div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.info-box dt {
  color: #777;
}

.info-box dd {
  margin: 0;
  font-weight: 600;
}

.app-cta {
  width: 100%;
  height: 34px;
  margin-top: 10px;
  border: 0;
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

/* ==========================================================================
   5. THANH 4 ƯU ĐIỂM NỔI BẬT (VALUE STRIP SECTION)
   ========================================================================== */

/* Thẻ <section class="value-strip">: Khối thanh ngang màu trắng có viền gạch trên/dưới */
.value-strip {
  border-block: 1px solid var(--border);
  background: #fff;
}

/* Class .value-grid: Bố cục chia 4 cột cho 4 ưu điểm ("Phòng rõ thông tin", "Lọc đúng nhu cầu"...) */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 38px;
}

/* Class .value-item (Thẻ <article class="value-item">): Từng ô ưu điểm chứa icon SVG + tiêu đề + mô tả */
.value-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}

/* Ô đầu tiên: Bỏ padding trái */
.value-item:first-child {
  padding-left: 0;
}

/* Ô cuối cùng: Bỏ viền bên phải và bỏ padding phải */
.value-item:last-child {
  border: 0;
  padding-right: 0;
}

/* Thẻ <svg> trong .value-item: Định dạng kích thước và màu viền nét vẽ icon cam */
.value-item svg,
.mini-benefits svg,
.trust-grid svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Thẻ <h2> trong ô ưu điểm: Tiêu đề nhỏ màu đen */
.value-item h2 {
  margin: 1px 0 7px;
  font-size: 14px;
}

/* Thẻ <p> trong ô ưu điểm: Đoạn văn mô tả màu xám */
.value-item p {
  margin: 0;
  color: var(--secondary);
  font-size: 11px;
  line-height: 1.5;
}

.feature,
.hosts,
.how,
.trust {
  overflow: hidden;
  padding-block: var(--scene-space);
}

.feature-warm {
  background: var(--soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 80px;
}

.feature-grid-reverse {
  grid-template-columns: 1.15fr .85fr;
}

.section-copy h2 {
  font-size: clamp(46px, 4vw, 56px);
  line-height: 1.08;
}

.phone-pair {
  position: relative;
  height: auto;
}

.phone-feature {
  width: 226px;
  height: 490px;
  border-width: 6px;
  border-radius: 36px;
}

.phone-feature::before {
  width: 67px;
  height: 18px;
}

.phone-feature .phone-screen {
  border-radius: 28px;
}

.filter-phone {
  left: 76px;
  top: 0;
  z-index: 2;
}

.saved-phone {
  right: 20px;
  top: 28px;
}

.app-panel {
  padding: 0 13px 14px;
}

.app-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 0 15px;
  font-size: 10px;
}

.app-title strong {
  font-size: 11px;
}

.app-title span:last-child {
  text-align: right;
}

.app-panel label {
  display: block;
  margin: 8px 0;
  color: #222;
  font-size: 7px;
  font-weight: 700;
}

.app-panel label>div {
  display: flex;
  min-height: 31px;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 6px 8px;
  color: #777;
  font-size: 7px;
  font-weight: 500;
}

.app-panel label>.select-chips {
  flex-wrap: wrap;
  justify-content: flex-start;
  border: 0;
  padding: 0;
  gap: 4px;
}

.select-chips span {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 5px 7px;
}

.select-chips span.active {
  border-color: var(--orange);
  background: var(--orange-light);
  color: var(--orange);
}

.saved-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #eee;
  font-size: 7px;
  text-align: center;
}

.saved-tabs span {
  padding: 10px 0;
}

.saved-tabs .active {
  border-bottom: 2px solid var(--orange);
  color: var(--orange);
  font-weight: 700;
}

.saved-list {
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.saved-room {
  display: grid;
  grid-template-columns: 62px 1fr 14px;
  gap: 8px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.thumb {
  display: block;
  height: 56px;
  border-radius: 5px;
  background-position: center;
  background-size: cover;
}

.saved-room p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.saved-room b {
  font-size: 8px;
}

.saved-room small {
  color: #777;
  font-size: 6px;
}

.saved-room i {
  color: var(--orange);
  font-size: 12px;
  font-style: normal;
}

.gallery-phone {
  left: 5px;
  bottom: 0;
  z-index: 2;
  transform: rotate(-2deg);
}

.info-phone {
  right: 42px;
  top: 0;
  transform: rotate(2deg);
}

.detail-gallery {
  position: relative;
  height: 390px;
  background: url("https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=800&q=78") center/cover;
}

.detail-gallery .phone-back {
  left: 10px;
}

.gallery-thumbs {
  position: absolute;
  inset: auto 10px 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.gallery-thumbs span {
  height: 48px;
  border: 2px solid #fff;
  border-radius: 5px;
  background: url("https://images.unsplash.com/photo-1493809842364-78817add7ffb?auto=format&fit=crop&w=180&q=60") center/cover;
}

.gallery-thumbs span:first-child {
  border-color: var(--orange);
}

.mini-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.mini-benefits span {
  color: #555;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.mini-benefits svg {
  display: block;
  margin-bottom: 10px;
}

.how {
  background: var(--soft);
}

.how .section-copy {
  max-width: 720px;
}

.steps {
  --step-dot-size: 32px;
  --step-gap: 38px;

  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--step-gap);

  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.steps::before {
  display: none;
}

.steps li {
  position: relative;
}

.steps li:not(:last-child)::after {
  content: "";

  position: absolute;

  /* Tâm theo chiều dọc của vòng tròn */
  top: calc(var(--step-dot-size) / 2);

  /* Bắt đầu cách mép phải vòng tròn 20px */
  left: calc(var(--step-dot-size) + 5px);

  /* W + gap - diameter - 40px (khoảng trắng 20px 2 đầu) */
  width: calc(100% + var(--step-gap) - var(--step-dot-size) - 10px);

  height: 1px;
  background: #e2dcd8;

  transform: translateY(-50%);
}

.steps b {
  position: relative;
  z-index: 1;

  display: grid;
  width: var(--step-dot-size);
  height: var(--step-dot-size);
  place-items: center;

  border-radius: 50%;
  background: var(--orange);
  color: #fff;
}

.steps b {
  position: relative;
  z-index: 1;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
}

.steps h3 {
  margin: 20px 0 8px;
  font-size: 15px;
}

.steps p {
  margin: 0;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.55;
}

.trust {
  background: var(--warm);
}

.trust .section-copy {
  max-width: 760px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 48px;
}

.trust-grid svg {
  width: 34px;
  height: 34px;
}

.trust-grid h3 {
  margin: 18px 0 8px;
  font-size: 15px;
}

.trust-grid p {
  margin: 0;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.6;
}

.hosts .feature-grid {
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 80px;
}

.hosts .button {
  margin-top: 28px;
}

.host-pair {
  height: auto;
}

.create-phone {
  left: 70px;
  bottom: -55px;
}

.manage-phone {
  right: 22px;
  top: 0;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin: 7px 0 12px;
}

.upload-grid>span {
  display: grid;
  height: 48px;
  place-items: center;
  border: 1px dashed #ddd;
  border-radius: 4px;
  color: var(--orange);
  font-size: 13px;
}

.upload-grid .thumb {
  border-style: solid;
}

.upload-grid small {
  display: block;
  color: #999;
  font-size: 5px;
}

.manage-list .saved-room {
  grid-template-columns: 64px 1fr;
}

.manage-list em {
  color: var(--orange);
  font-size: 6px;
  font-style: normal;
}

.download {
  overflow: hidden;
  background: var(--orange-light);
}

.download-grid {
  display: grid;
  min-height: 520px;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 28px;
}

.download .section-copy {
  padding-block: 72px;
}

.download-phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 24px);
  align-self: stretch;
  min-height: 520px;
}

.download-phone-wrap .soft-shape {
  inset: 72px 18% 36px 2%;
}

.download-phone-image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(58%, 382px);
  height: auto;
  object-fit: contain;
}

.download-note-image {
  position: relative;
  z-index: 2;
  display: block;
  width: min(34%, 230px);
  height: auto;
  margin-right: -55px;
  object-fit: contain;
  transform: translateY(-42%);
}

@media (min-width: 561px) {
  .download-phone-wrap {
    transform: translateX(80px);
  }

  .download-note-image {
    margin-right: -100px;
  }
}

.footer {
  padding: 70px 0 26px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .9fr;
  gap: 60px;
}

.footer-brand p,
.footer nav a {
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.65;
}

.footer nav {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer nav h2 {
  margin: 0 0 6px;
  font-size: 12px;
}

.footer-connect {
  display: grid;
  width: max-content;
  justify-items: start;
  margin-top: 24px;
  text-align: left;
}

.footer-connect h2 {
  margin: 0 0 8px;
  font-size: 12px;
}

.socials {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
}

.socials a {
  display: grid;
  width: 32px;
  height: 40px;
  align-items: center;
  justify-items: start;
  border: 0;
  border-radius: 10px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.socials a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(34, 34, 34, 0.08);
}

.socials a:focus-visible {
  outline: 3px solid rgba(255, 90, 31, 0.3);
  outline-offset: 2px;
}

.socials img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 54px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
  color: var(--muted);
  font-size: 10px;
}

.footer-bottom p {
  max-width: 760px;
  margin: 0;
  line-height: 1.6;
}

.footer-bottom span {
  white-space: nowrap;
}

.text-nowrap {
  white-space: nowrap;
}

/* Hiệu ứng Fade & Slide Up mượt mà chuẩn Tiimo / Apple */
.reveal {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, translate;
}

.reveal.reveal-pending {
  opacity: 0;
  translate: 0 16px;
}

:target .reveal,
:target.reveal,
.reveal.reveal-pending.in,
.reveal.in {
  opacity: 1;
  translate: 0 0;
}

/* Hiệu ứng trễ so le (stagger) tinh tế cho các thẻ con cùng hàng */
.value-item.reveal:nth-child(2),
.steps li.reveal:nth-child(2),
.trust-grid article.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.value-item.reveal:nth-child(3),
.steps li.reveal:nth-child(3),
.trust-grid article.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.value-item.reveal:nth-child(4),
.steps li.reveal:nth-child(4),
.trust-grid article.reveal:nth-child(4) {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-download-trigger svg,
  .nav-store-link {
    transition-duration: .01ms;
  }

  .nav-download-menu {
    transform: none;
    filter: none;
    transition: opacity .12s ease, visibility 0s linear .12s;
  }

  .nav-download.is-open .nav-download-menu {
    transition: opacity .12s ease, visibility 0s;
  }

  .reveal {
    translate: 0 0;
    transition: opacity 0.525s ease-out;
  }
}

@media (max-width: 1040px) {
  .shell {
    width: min(calc(100% - 48px), var(--shell));
  }

  .nav-links {
    gap: 20px;
  }

  .hero-grid,
  .feature-grid,
  .feature-grid-reverse {
    gap: 30px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 6vw, 56px);
  }

  .section-copy h2 {
    font-size: clamp(38px, 4.4vw, 44px);
  }

  .hero-copy .lead {
    font-size: 18px;
    max-width: 620px;
  }

  .hero-visual {
    width: 100%;
    transform: none;
  }

  .phone-pair {
    width: min(100%, 680px);
    margin: 0 auto;
    transform: none;
  }

  .download-phone-wrap {
    transform: none;
  }

  .value-item {
    padding-inline: 15px;
  }
}

@media (min-width: 540px) and (max-width: 1040px) {
  .trust .section-copy,
  .trust-grid,
  #features .section-copy,
  .feature-grid-reverse .section-copy,
  .hosts .section-copy,
  .how .section-copy,
  .how .steps {
    padding-left: clamp(32px, 5vw, 52px);
    padding-right: clamp(8px, 2vw, 20px);
  }
}

@media (min-width: 821px) and (max-width: 1040px) {
  .navbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .nav-download {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 6px;
    border: 0;
    border-radius: 8px;
    background: var(--orange);
  }

  .menu-button span {
    width: 18px;
    height: 2px;
    background: #fff;
  }

  .mobile-menu {
    position: absolute;
    top: 66px;
    right: 24px;
    width: 340px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
  }

  .mobile-menu.is-open {
    display: grid;
  }

  .mobile-menu a {
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
  }

  .mobile-menu .button {
    width: 100%;
    color: #fff;
  }

  .hero-mobile-store-row {
    display: flex;
  }
}

@media (max-width: 820px) {
  :root {
    --scene-space: 80px;
  }

  .shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .navbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .nav-download {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 6px;
    border: 0;
    border-radius: 8px;
    background: var(--orange);
  }

  .menu-button span {
    width: 18px;
    height: 2px;
    background: #fff;
  }

  .mobile-menu {
    position: absolute;
    right: 20px;
    left: 20px;
    top: 66px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
  }

  .mobile-menu.is-open {
    display: grid;
  }

  .mobile-menu a {
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
  }

  .mobile-menu .button {
    width: 100%;
    color: #fff;
  }

  .hero-grid,
  .feature-grid,
  .feature-grid-reverse,
  .hosts .feature-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 80px;
    text-align: center;
  }

  .hero-copy .lead {
    margin-inline: auto;
  }

  .store-row {
    justify-content: center;
  }

  .hero-mobile-store-row {
    display: flex;
  }

  .availability {
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
    text-align: center;
    gap: 28px;
    margin-inline: auto;
  }

  .hero-stat-item {
    align-items: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 36px auto 0;
    transform: none;
  }

  .hero-device-composition {
    width: 100%;
    max-width: 100%;
    top: 0;
    left: 0;
    transform: none;
  }

  .phone-hero-a {
    right: 260px;
  }

  .phone-hero-b {
    right: 75px;
  }

  .value-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 0;
    padding-block: 36px;
  }

  .value-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 16px;
    border-right: 1px solid var(--border);
  }

  .value-item:first-child,
  .value-item:nth-child(3) {
    padding-left: 16px;
  }

  .value-item:nth-child(2),
  .value-item:nth-child(4) {
    border-right: 0;
    padding-right: 16px;
  }

  .value-item > div {
    width: min(215px, 100%);
  }

  .value-item svg {
    flex-shrink: 0;
  }

  .feature,
  .hosts,
  .how,
  .trust {
    padding-block: var(--scene-space);
  }

  .feature-grid {
    gap: 20px;
  }

  .feature-grid-reverse .phone-pair {
    order: 2;
  }

  .feature-grid-reverse .section-copy {
    order: 1;
  }

  .feature-scene-3 {
    padding-bottom: 48px;
  }

  .feature-grid-reverse {
    row-gap: 48px;
  }

  .detail-pair {
    margin-top: 0;
  }

  .hosts {
    padding-bottom: 48px;
  }

  .hosts .feature-grid {
    row-gap: 48px;
  }

  .host-pair {
    margin-top: 0;
  }

  .phone-pair {
    width: min(100%, 680px);
    height: auto;
    margin: 0 auto;
    transform: none;
  }

  .steps,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps::before {
    display: none;
  }


  .steps {
    --step-dot-size: 32px;
    --step-row-gap: 32px;

    display: grid;
    grid-template-columns: 1fr;
    gap: var(--step-row-gap);
  }

  .steps li {
    position: relative;

    display: grid;
    grid-template-columns: var(--step-dot-size) 1fr;
    column-gap: 12px;

    padding: 0;
  }

  /* vòng tròn */
  .steps b {
    grid-column: 1;
    grid-row: 1 / span 2;

    width: var(--step-dot-size);
    height: var(--step-dot-size);
  }

  /* tiêu đề */
  .steps h3 {
    grid-column: 2;
    margin: 2px 0 6px;
  }

  /* mô tả */
  .steps p {
    grid-column: 2;
    margin: 0;
  }

  /* line dọc 1→2, 2→3, 3→4 */
  .steps li:not(:last-child)::after {
    content: "";
    position: absolute;

    /* chính giữa vòng tròn theo trục X */
    left: calc(var(--step-dot-size) / 2);

    /* bắt đầu cách mép dưới vòng tròn 20px */
    top: calc(var(--step-dot-size) + 5px);

    width: 1px;

    /*
      chiều cao từ mép dưới circle hiện tại
      tới mép trên circle tiếp theo, trừ 40px (khoảng trắng 20px 2 đầu)
    */
    height: calc(100% + var(--step-row-gap) - var(--step-dot-size) - 10px);

    background: #e2dcd8;

    transform: translateX(-50%);
  }


  .trust-grid {
    gap: 36px;
  }

  .download {
    padding-bottom: 48px;
  }

  .download-grid {
    text-align: center;
    row-gap: 48px;
  }

  .download .section-copy {
    padding: 72px 0 0;
  }

  .download .section-copy>p {
    margin-inline: auto;
  }

  .download-phone-wrap {
    min-height: auto;
  }

  .download-phone-image {
    width: min(54%, 314px);
  }

  .download-note-image {
    width: min(32%, 190px);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 560px) {
  :root {
    --scene-space: 56px;
  }

  .shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .site-header,
  .navbar {
    height: 64px;
  }

  .brand {
    font-size: 22px;
  }

  .brand-mark {
    width: 25px;
    height: 25px;
  }

  .hero-grid {
    min-height: auto;
    padding: 64px 0 30px;
    gap: 28px;
  }

  .eyebrow {
    margin-bottom: 15px;
    font-size: 10px;
  }

  h1,
  .section-copy h2 {
    font-size: 39px;
  }

  /* Scale with width so "Tìm phòng ưng ý," stays on one line on phones. */
  .hero-copy h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .lead,
  .section-copy>p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.65;
  }

  .store-row {
    gap: 7px;
  }

  .store-badge {
    flex: 0 0 160px;
    width: 160px;
    min-width: 160px;
    max-width: 160px;
    height: 48px;
  }

  .hero-stats {
    gap: 18px;
  }

  .hero-stat-number {
    font-size: 26px;
  }

  .hero-stat-label {
    font-size: 11px;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    height: auto;
    left: 0;
    margin: 24px auto 0;
    transform: none;
    margin-bottom: 0;
  }

  .hero-device-composition {
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .phone-hero-a {
    right: 250px;
  }

  .phone-hero-b {
    right: 64px;
  }

  .value-grid {
    grid-template-columns: 1fr;
    padding-block: 28px;
    gap: 0;
  }

  .value-item,
  .value-item:first-child,
  .value-item:nth-child(3) {
    display: grid;
    grid-template-columns: 34px 1fr;
    justify-content: stretch;
    padding: 19px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .value-item > div {
    width: auto;
  }

  .value-item:last-child {
    border-bottom: 0;
  }

  .feature,
  .hosts,
  .how,
  .trust {
    padding-block: var(--scene-space);
  }

  .feature-grid {
    gap: 16px;
  }

  .feature-scene-3 {
    padding-bottom: 36px;
  }

  .feature-grid-reverse {
    row-gap: 36px;
  }

  .hosts {
    padding-bottom: 36px;
  }

  .hosts .feature-grid {
    row-gap: 36px;
  }

  .section-copy h2 {
    font-size: 34px;
  }

  .phone-pair {
    left: auto;
    width: 100%;
    height: auto;
    margin: 0 auto;
    transform: none;
  }

  .search-pair {
    margin-top: 0;
  }

  .mini-benefits {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
  }

  .mini-benefits span {
    font-size: 11px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .steps li {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 13px;
    padding: 0;
  }

  .steps b {
    grid-row: 1 / 3;
  }

  .steps h3 {
    margin: 5px 0 6px;
  }

  .steps p {
    grid-column: 2;
  }

  .trust-grid {
    margin-top: 36px;
  }

  .trust-grid article {
    display: grid;
    grid-template-columns: 42px 1fr;
  }

  .trust-grid svg {
    grid-row: 1 / 3;
  }

  .trust-grid h3 {
    margin: 0 0 6px;
  }

  .trust-grid p {
    grid-column: 2;
  }

  .host-pair {
    margin-top: 0;
  }


  .download {
    padding-bottom: 36px;
  }

  .download .section-copy {
    padding-top: 68px;
    padding-bottom: 0;
  }

  .download-grid {
    row-gap: 36px;
  }

  .download-phone-wrap {
    min-height: auto;
  }

  .download-phone-image {
    width: 57%;
  }

  .download-note-image {
    width: 35%;
  }

  .footer {
    padding-top: 52px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    margin-top: 38px;
  }
}

/* Ảnh 1: Mockup Hero (2 điện thoại ở phần đầu trang - Trang chủ & Chi tiết phòng) */
.hero-mockup-1 {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .hero-device-composition {
    width: 128%;
    max-width: 740px;
    margin-left: 0;
    margin-right: -14%;
  }
}

/* Ảnh 2: Mockup Feature (2 điện thoại ở phần Tính năng nổi bật - Bộ lọc & Đã lưu) */
.hero-mockup-2 {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  image-rendering: -webkit-optimize-contrast;
}

/* Ảnh 3: Mockup Feature 2 (2 điện thoại ở phần Thông tin minh bạch - Ảnh thật & Chi tiết phòng) */
.hero-mockup-3 {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  image-rendering: -webkit-optimize-contrast;
}

/* Ảnh 4: Mockup Host (2 điện thoại ở phần Dành cho chủ nhà - Đăng tin & Quản lý tin) */
.hero-mockup-4 {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  image-rendering: -webkit-optimize-contrast;
}

/* Hiệu ứng Fade & Slide Up cho các ảnh Mockup Scene 2, 3, 4 khi cuộn tới */
.hero-mockup-2.reveal,
.hero-mockup-3.reveal,
.hero-mockup-4.reveal {
  opacity: 1;
  translate: 0 0;
  transition: opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.08s,
    translate 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
  will-change: opacity, translate;
}

.hero-mockup-2.reveal.reveal-pending,
.hero-mockup-3.reveal.reveal-pending,
.hero-mockup-4.reveal.reveal-pending {
  opacity: 0;
  translate: 0 16px;
}

:target .hero-mockup-2.reveal,
:target .hero-mockup-3.reveal,
:target .hero-mockup-4.reveal,
.hero-mockup-2.reveal.reveal-pending.in,
.hero-mockup-3.reveal.reveal-pending.in,
.hero-mockup-4.reveal.reveal-pending.in,
.hero-mockup-2.reveal.in,
.hero-mockup-3.reveal.in,
.hero-mockup-4.reveal.in {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {

  .hero-mockup-2.reveal,
  .hero-mockup-3.reveal,
  .hero-mockup-4.reveal {
    translate: 0 0;
    transition: opacity 0.525s ease-out 0.05s;
  }
}
