/* =========================================================
   Passion Nail Spa & Lashes — Design System
   Đối chiếu 1:1 với computed style của site Elementor cũ
   ========================================================= */

:root {
  --gold: #a8814c;
  --peach: #ebaa7b;
  --peach-light: #ffd8b1;
  --beige: rgba(232, 229, 224, 0.7);
  --black: #000;
  --ink: #020101;
  --white: #fff;
  --muted: #7a7a7a;

  --grad: linear-gradient(120deg, var(--peach) 0%, var(--gold) 100%);

  --font-head: "Times New Roman", Times, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1140px;   /* header + footer */
  --narrow: 60%;         /* thân trang — đúng như e-con max-width của site cũ */
  --wide: 70%;           /* khối testimonial */
  --gutter: 20px;
  --radius-pill: 50px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* =========================================================
   HIỆU ỨNG XUẤT HIỆN KHI CUỘN
   Dựng lại đúng animation của site Elementor cũ:
   Be Social = fadeInUp · About = fadeInLeft/Right
   Services  = zoomIn (ảnh) + fadeInRight (bảng giá)
   Chỉ animate transform/opacity nên chạy trên GPU, không giật.
   Trạng thái ẩn chỉ áp dụng khi có JS (class .js-motion) —
   tắt JS thì nội dung vẫn hiện bình thường.
   ========================================================= */
.js-motion [data-reveal] {
  opacity: 0;
  transition:
    opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

.js-motion [data-reveal="up"]    { transform: translate3d(0, 38px, 0); }
.js-motion [data-reveal="down"]  { transform: translate3d(0, -32px, 0); }
.js-motion [data-reveal="left"]  { transform: translate3d(-46px, 0, 0); }
.js-motion [data-reveal="right"] { transform: translate3d(46px, 0, 0); }
.js-motion [data-reveal="zoom"]  { transform: scale(0.9); }

.js-motion [data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: #333;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* Thân trang hẹp 60% — đặc trưng bố cục của site cũ */
.container--narrow { width: var(--narrow); margin-inline: auto; padding-inline: 0; }
.container--wide   { width: var(--wide);   margin-inline: auto; padding-inline: 0; }
.container--full   { width: 100%; margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Tiêu đề ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--black);
  margin: 0;
  line-height: 1.3;
}

/* Tiêu đề khối: Times 32/600, ĐEN, IN HOA, giãn chữ 5px, canh giữa */
.section-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 5px;
  text-align: center;
}

.section-head { margin-bottom: 40px; }

/* Site cũ dùng widget divider nhưng đặt border 0 — nó chỉ là khoảng đệm */
.divider { height: 18px; border: 0; margin: 0; }

/* ---------- Nút: Inter 15px, weight 300, IN HOA ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  background: var(--grad);
  padding: 12px 40px;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.28s ease;
}

/* Vệt sáng quét ngang khi rê chuột */
.btn::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -80%;
  width: 60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.btn:hover::before { left: 130%; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(168, 129, 76, 0.34); }
.btn:active { transform: translateY(-1px); }

.btn--outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn--outline:hover { background: var(--grad); color: var(--white); border-color: transparent; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(168, 129, 76, 0.16);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

/* Cuộn xuống thì header thu gọn lại và đổ bóng nhẹ */
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 88px;
  transition: min-height 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.site-header.is-stuck .header-inner { min-height: 68px; }

.site-logo img {
  height: 62px; width: auto;
  transition: height 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.site-header.is-stuck .site-logo img { height: 48px; }

.nav-list { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }

.nav-list a {
  position: relative;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-block: 6px;
  white-space: nowrap;
}

/* Gạch chân trượt ra từ giữa */
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-booking span { display: inline-block; min-width: 7.5ch; text-align: center; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--gold); }
.nav-toggle svg { width: 28px; height: 28px; }

/* =========================================================
   HERO — banner full width
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero-track { display: flex; transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1); }
.hero-slide { min-width: 100%; overflow: hidden; }

/* Ken Burns: ảnh đang hiển thị phóng rất chậm, tạo cảm giác sống động */
.hero-slide img {
  width: 100%; aspect-ratio: 1536 / 584; object-fit: cover;
  transform: scale(1.02);
  transition: transform 7s linear;
}

.hero-slide.is-active img { transform: scale(1.09); }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--gold); cursor: pointer;
  transition: background 0.2s ease;
}

.hero-arrow:hover { background: var(--white); }
.hero-arrow--prev { left: 16px; }
.hero-arrow--next { right: 16px; }

.hero-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 10px; }

.hero-dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.55); cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.hero-dots button[aria-selected="true"] { background: var(--white); width: 28px; border-radius: 5px; }

/* =========================================================
   BE SOCIAL — nền TRẮNG, tiêu đề đen canh trái, icon xếp ngang
   ========================================================= */
.social-bar { background: var(--white); padding: 34px 0 10px; }

.social-bar h2 {
  font-size: 32px;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.social-links { display: flex; gap: 14px; }

.social-links a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover { background: var(--grad); color: var(--white); border-color: transparent; transform: translateY(-2px); }
.social-links svg { width: 20px; height: 20px; }

/* =========================================================
   SECTION chung
   ========================================================= */
.section { padding: 60px 0; }
.section--tint { background: var(--beige); }

/* ---------- About: 2 cột bằng nhau, ảnh VUÔNG bên PHẢI ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-copy h2 { font-size: 32px; margin-bottom: 18px; }
.about-copy p { color: #333; font-weight: 300; margin: 0 0 26px; text-align: justify; }
.about-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- Our Services: ảnh vuông, CHỮ NẰM DƯỚI ẢNH ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Ảnh phóng to khi rê chuột — đúng hiệu ứng "grow" của site cũ */
.service-card { display: block; }
.service-card .service-thumb { overflow: hidden; }

.service-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.4s ease;
}

.service-card:hover img { transform: scale(1.08); filter: brightness(1.04); }

.service-card span {
  display: block;
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--gold);
  text-transform: uppercase;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.service-card:hover span { transform: translateX(6px); }

/* ---------- Gallery: full width, ô vuông bo 5px ---------- */
.gallery-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }

.gallery-tabs button {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  background: transparent;
  border: 0;
  padding: 7px 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.gallery-tabs button:hover { color: var(--gold); }
.gallery-tabs button[aria-selected="true"] { color: var(--gold); border-bottom-color: var(--gold); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 15px; }
.gallery-grid figure { margin: 0; }
.gallery-grid button { display: block; width: 100%; padding: 0; border: 0; border-radius: 5px; overflow: hidden; cursor: zoom-in; background: none; }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.45s ease; }
.gallery-grid button:hover img { transform: scale(1.06); }

.section-cta { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- Videos (tự host, không dính bên thứ ba) ----------
   Trước khi bấm chỉ hiện ảnh bìa; bấm mới tải file mp4. Nhờ vậy mở
   trang không tốn dữ liệu, mà khung video sạch hoàn toàn: không tiêu
   đề, không tên kênh, không logo. */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 900px; margin-inline: auto; }

.video-box { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #000; cursor: pointer; border: 0; padding: 0; width: 100%; display: block; border-radius: 5px; }
.video-box img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transition: opacity 0.25s ease, transform 0.5s ease; }
.video-box:hover img { opacity: 1; transform: scale(1.03); }
.video-box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.45) 100%); pointer-events: none; }
.video-box:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 66px; height: 66px; border: 0; border-radius: 50%;
  background: var(--grad); color: var(--white);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: transform 0.2s ease;
}

.video-box:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-play svg { width: 26px; height: 26px; margin-left: 3px; }

/* Sau khi bấm, thẻ <video> thay chỗ ảnh bìa */
.video-box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.video-box[data-playing]::after { content: none; }

/* ---------- Testimonials: Inter 16/300, canh đều hai bên ---------- */
.reviews { position: relative; overflow: hidden; }
.reviews-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.review-card { min-width: 33.3333%; padding-inline: 12px; }

.review-inner {
  height: 100%;
  background: var(--white);
  border: 1px solid rgba(168, 129, 76, 0.22);
  border-radius: 5px;
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
}

.review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-head img.stars { height: 20px; width: auto; }
.review-head img.g { height: 26px; width: 26px; border-radius: 50%; }

.review-text { margin: 0; color: var(--black); font-size: 16px; font-weight: 300; text-align: justify; flex: 1; }

.review-author { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--gold); text-transform: uppercase; }

.reviews-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.reviews-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(168,129,76,0.3); cursor: pointer; transition: background 0.2s ease, width 0.2s ease; }
.reviews-dots button[aria-selected="true"] { background: var(--gold); width: 28px; border-radius: 5px; }

/* =========================================================
   TRANG SERVICES — lưới 25% ảnh / 75% bảng giá, cách 80px
   ========================================================= */
.price-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 44px; }

.price-nav a {
  font-family: var(--font-head);
  font-size: 16px; font-weight: 600;
  text-transform: uppercase;
  color: var(--black);
  padding: 7px 14px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.price-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.price-group {
  display: grid;
  /* 1fr 3fr = đúng tỉ lệ 25%/75% phần còn lại sau gap, giống e-con của site cũ */
  grid-template-columns: 1fr 3fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 60px;
  scroll-margin-top: 110px;
}

.price-media img { width: 88%; aspect-ratio: 1; object-fit: cover; margin-inline: auto; }

/* Tiêu đề nhóm: Times 32/600 VÀNG ĐỒNG, in hoa, canh trái */
.price-group h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Gạch ngang 1px vàng đồng dưới tiêu đề nhóm */
.price-rule { height: 0; border: 0; border-top: 1px solid var(--gold); margin: 0 0 20px; }

/* Tiêu đề phụ: Times 24/500 đen, in hoa, giãn 2px, canh PHẢI */
.price-sub {
  font-family: var(--font-head);
  font-size: 24px; font-weight: 500;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: right;
  margin: 26px 0 12px;
}

.price-list { list-style: none; margin: 0; padding: 0; }
.price-item { margin-bottom: 10px; }

.price-head { display: flex; align-items: center; }

.price-name,
.price-value {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  color: var(--black);
  text-transform: uppercase;
}

/* Đường chấm ĐEN nối tên với giá */
.price-dots { flex: 1; margin: 0 10px; border-bottom: 1px dotted var(--black); }

.price-desc { font-family: var(--font-body); font-size: 14px; font-weight: 300; color: var(--black); margin: 0; }

.price-addons { font-family: var(--font-body); font-size: 16px; font-weight: 300; color: var(--black); margin: 22px 0 12px; }

.price-note { font-size: 14px; color: var(--muted); margin-top: 14px; font-style: italic; }

/* =========================================================
   TRANG CON: tiêu đề trang
   ========================================================= */
.page-hero { background: var(--white); padding: 46px 0 6px; text-align: center; }

.page-hero h1 {
  font-size: 32px; font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 5px;
}

.page-hero p { margin: 12px auto 0; max-width: 640px; font-size: 16px; font-weight: 300; color: #333; }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; letter-spacing: 0.5px; }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Khối văn bản dài (About / Policy) ---------- */
.prose h2 { font-size: 26px; text-transform: uppercase; color: var(--gold); margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 26px 0 10px; color: var(--black); }
.prose p { margin: 0 0 16px; color: #333; font-weight: 300; text-align: justify; }
.prose ul { margin: 0 0 18px; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: #333; font-weight: 300; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.prose img { margin: 24px 0; }

.callout { background: var(--beige); border-left: 3px solid var(--gold); padding: 22px 24px; margin: 28px 0; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Trang liên hệ ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.contact-card { background: var(--beige); padding: 30px 28px; }
.contact-card h2 { font-size: 24px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }

.contact-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(168, 129, 76, 0.2); }
.contact-item:last-of-type { border-bottom: 0; }
.contact-item svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.contact-item strong { display: block; font-family: var(--font-head); font-size: 17px; text-transform: uppercase; color: var(--black); margin-bottom: 3px; }
.contact-item p { margin: 0; font-size: 15px; font-weight: 300; color: #333; }

.map-embed { overflow: hidden; min-height: 460px; border: 1px solid rgba(168, 129, 76, 0.25); }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.82); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 44px; }

.site-footer h3 { font-size: 20px; color: var(--white); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.site-footer p { margin: 0 0 8px; font-size: 15px; font-weight: 300; }
.site-footer a:hover { color: var(--peach-light); }
.footer-link { color: var(--peach); }

.footer-social { display: flex; gap: 14px; margin-top: 14px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,0.28); transition: background 0.2s ease, color 0.2s ease; }
.footer-social a:hover { background: var(--grad); border-color: transparent; color: var(--white); }
.footer-social svg { width: 19px; height: 19px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding: 20px 0; text-align: center; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* =========================================================
   Nút gọi cố định trên mobile (bổ sung — site cũ không có)
   ========================================================= */
.call-fab {
  display: none;
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  align-items: center; justify-content: center; gap: 10px;
  padding: 15px; border-radius: var(--radius-pill);
  background: var(--grad); color: var(--white);
  font-weight: 500; font-size: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

.call-fab svg { width: 20px; height: 20px; }

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none; place-items: center;
  background: rgba(0, 0, 0, 0.9);
  padding: 24px;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.lightbox[open] { display: grid; }
.lightbox.is-shown { opacity: 1; }

.lightbox img {
  max-width: 92vw; max-height: 86vh; object-fit: contain;
  transform: scale(0.94);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.lightbox.is-shown img { transform: scale(1); }

.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(255,255,255,0.14); border: 0; color: var(--white);
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 22px; line-height: 1;
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-nav--next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.3); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  :root { --narrow: 78%; --wide: 86%; }
  .service-card span { font-size: 26px; }
}

@media (max-width: 1024px) {
  :root { --container: 1024px; --narrow: 90%; --wide: 92%; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .review-card { min-width: 50%; }
  .nav-list { gap: 20px; }
  .nav-list a { font-size: 15px; letter-spacing: 0.5px; }
  .price-group { gap: 44px; }
  .service-card span { font-size: 24px; }
}

@media (max-width: 767px) {
  :root { --container: 767px; --narrow: 100%; --wide: 100%; }

  .container--narrow, .container--wide { padding-inline: var(--gutter); }

  .section { padding: 40px 0; }
  .section-title { font-size: 22px; letter-spacing: 3px; }

  .nav-toggle { display: block; }

  /* Dùng grid 0fr→1fr để menu tự co giãn theo nội dung */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(168, 129, 76, 0.2);
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
  }

  .nav[data-open="true"] { grid-template-rows: 1fr; }

  /* padding phải nằm ở link, không ở <ul>, nếu không hàng grid
     không co được về 0 và menu luôn hở một khoảng */
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; min-height: 0; }
  .nav-list a { display: block; padding: 14px 20px; border-bottom: 1px solid rgba(168, 129, 76, 0.14); }
  .nav-list li:last-child a { border-bottom: 0; }

  .site-logo img { height: 50px; }
  .header-inner { min-height: 72px; }

  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-media { order: -1; }
  .about-copy h2 { font-size: 24px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .service-card span { font-size: 19px; margin-top: 8px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .video-grid { grid-template-columns: 1fr; max-width: 320px; }
  .review-card { min-width: 100%; }

  .social-bar h2 { font-size: 24px; }

  .page-hero { padding: 30px 0 4px; }
  .page-hero h1 { font-size: 24px; letter-spacing: 3px; }

  /* Trang giá: ảnh lên trên, bảng giá xuống dưới */
  .price-group { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .price-media img { width: 100%; max-width: 260px; }
  .price-group h2 { font-size: 24px; }
  .price-sub { font-size: 19px; }
  .price-name, .price-value { font-size: 16px; }
  .price-nav a { font-size: 14px; padding: 6px 10px; }

  .prose h2 { font-size: 20px; }

  .contact-grid { grid-template-columns: 1fr; gap: 26px; }
  .map-embed, .map-embed iframe { min-height: 320px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-social { justify-content: center; }

  /* Trên mobile mọi khối đã xếp dọc nên trượt ngang vừa vô nghĩa vừa
     đẩy nội dung ra ngoài màn hình gây tràn ngang — đổi hết thành trượt lên */
  .js-motion [data-reveal="left"],
  .js-motion [data-reveal="right"] { transform: translate3d(0, 30px, 0); }

  .hero-arrow { width: 36px; height: 36px; }
  .call-fab { display: flex; }
  body { padding-bottom: 78px; }
}

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