/* ═══════════════════════════════════════════════════════════
   HOME PAGE – Bootstrap layout + Sora design system
   Màu sắc giữ nguyên từ app-layout.css (--gold, --cream, …)
   Quy tắc: spacing section, typography scale, contrast hierarchy
═══════════════════════════════════════════════════════════ */

/* ── Section spacing (nhất quán toàn trang) ── */
.page-home > section.home-section,
.page-home section.hero.home-section,
.page-home .ba-section.home-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 992px) {
  .page-home > section.home-section,
  .page-home section.hero.home-section,
  .page-home .ba-section.home-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.page-home > section.home-banner,
.page-home .video-section,
.page-home .video-stats-section {
  padding: 0 !important;
}

.page-home .home-banner-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 3.5px;
}

.page-home .home-banner-title {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
}

.page-home .home-banner-desc {
  font-size: 1.05rem;
  max-width: 560px;
}

@media (min-width: 769px) {
  .page-home .home-banner-slide {
    height: min(72vh, 720px);
    min-height: 520px;
  }
}

/* ── Section header (eyebrow → title → subtitle) ── */
.page-home .home-section-head {
  margin-bottom: 2rem;
}

.page-home .home-section-head .sec-tag {
  font-size: 0.7rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  opacity: 1;
  margin-bottom: 0.65rem;
}

.page-home .home-section-head .sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 0;
}

.page-home .home-section-head .sec-sub {
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 560px;
}

.page-home .home-section-head.text-center .sec-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ── Typography contrast trong section body ── */
.page-home .home-section .lead,
.page-home .hero-desc,
.page-home .about-quote,
.page-home .col-desc,
.page-home .price-intro p,
.page-home .ba-intro p {
  color: var(--ink-mid);
  font-size: 0.93rem;
  line-height: 1.75;
}

.page-home .hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
}

.page-home .hero-title em {
  color: var(--gold-dark);
  font-style: italic;
}

/* ── Bootstrap grid overrides (giữ gap đồng nhất) ── */
.page-home .row.g-4 {
  --bs-gutter-x: 1.75rem;
  --bs-gutter-y: 1.75rem;
}

.page-home .row.g-5 {
  --bs-gutter-x: 2.5rem;
  --bs-gutter-y: 2.5rem;
}

@media (min-width: 992px) {
  .page-home .row.g-lg-5 {
    --bs-gutter-x: 4.375rem;
    --bs-gutter-y: 4.375rem;
  }
}

/* ── Hero stats (Bootstrap layout, giữ màu & cỡ chữ) ── */
.page-home .hero .row.flex-nowrap .col-3 > .count-up {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.page-home .hero .row.flex-nowrap .col-3 > small {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.page-home .hero-img-main img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 992px) {
  .page-home .hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .page-home .hero-actions {
    margin-bottom: 0;
  }

  .page-home .hero-float-img {
    width: 180px;
    height: 225px;
    right: -32px;
  }

}

/* ── Cards trong grid Bootstrap ── */
.page-home .studio-card,
.page-home .price-card,
.page-home .rev-card,
.page-home .blog-card {
  height: 100%;
}

.page-home .studio-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--gold);
}

/* Phim trường – h4 khẩu hiệu, p tên & địa chỉ */
.page-home #tab-studio .studio-card h4 {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
}

.page-home #tab-studio .studio-card-body p {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ── CTA band (Bootstrap row bên trong) ── */
.page-home .cta-band {
  display: block;
  padding: 2rem;
}

.page-home .cta-band .row {
  position: relative;
  z-index: 1;
}

.page-home .cta-right {
  max-width: 320px;
}

.page-home .cta-tag {
  font-size: 0.55rem;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.page-home .cta-actions {
  flex-wrap: nowrap;
}

@media (max-width: 991.98px) {
  .page-home .cta-band {
    padding: 2rem;
    text-align: center;
  }

  .page-home .cta-right {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .cta-actions {
    flex-wrap: wrap;
  }
}

/* ── Video hero – nội dung gọn trên nền video ── */
.page-home .video-inner {
  height: clamp(300px, 48vh, 460px);
}

.page-home .video-content-box {
  max-width: 440px;
  margin-inline: auto;
  padding: 1.1rem 1.25rem 1.25rem;
  border-radius: 14px;
  background: rgba(42, 31, 23, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}

.page-home .video-tag {
  font-size: 0.62rem;
  letter-spacing: 3px;
  margin-bottom: 0.65rem;
}

.page-home .video-title {
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  margin-bottom: 0.45rem;
  line-height: 1.15;
}

.page-home .video-sub {
  font-size: clamp(0.78rem, 1.4vw, 0.86rem);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.page-home .play-btn--compact {
  width: 62px;
  height: 62px;
  font-size: 1.1rem;
}

.page-home .play-btn--compact i {
  margin-left: 3px;
}

.page-home .play-btn--compact::before {
  width: 62px;
  height: 62px;
}

/* ── Video stats (Bootstrap row) ── */
.page-home .video-stats-section {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

.page-home .video-stats .vs-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #fff;
  display: block;
  line-height: 1;
}

.page-home .video-stats .vs-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.35rem;
  letter-spacing: 0.5px;
}

/* ── About quote ── */
.page-home .about-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--ink-mid);
  line-height: 1.65;
  font-style: italic;
}

.page-home .sig-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.page-home .sig-role {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* ── Price intro ── */
.page-home .price-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}

.page-home .price-intro h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0.75rem 0;
}

.page-home .price-intro i {
  color: var(--gold);
  font-size: 1.25rem;
}

/* ── Before/after – Bootstrap grid ── */
.page-home .ba-grid.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

@media (min-width: 992px) {
  .page-home .ba-grid.row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
  }
}

.page-home .ba-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-home .ba-card-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.85rem;
  font-weight: 500;
  line-height: 1.35;
}

.page-home .ba-slider-wrap {
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  min-height: 220px;
  max-height: 420px;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(42, 31, 23, 0.1);
  contain: layout style;
}

.page-home .ba-intro {
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .page-home .ba-intro {
    margin-bottom: 2.5rem;
  }

  .page-home .ba-slider-wrap {
    max-height: 460px;
  }
}

/* ── About: sec-tag full row phía trên ── */
.page-home .about-sec-tag-row {
  margin-bottom: 1.75rem;
}

.page-home .about-sec-tag-wrap .sec-tag {
  margin-bottom: 0;
}

/* ── Gỡ grid cũ (chỉ khi chưa dùng Bootstrap row) ── */
.page-home .hero-grid,
.page-home .about-grid,
.page-home .card-grid,
.page-home .price-grid,
.page-home .review-grid,
.page-home .blog-grid,
.page-home .ba-grid:not(.row) {
  display: block;
}

/* ── Background sections ── */
.page-home section.bg-warm {
  background: var(--cream-warm);
}

/* ── Khôi phục nút Sora (Bootstrap load sau app-layout) ── */
.page-home .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 60px;
  font-weight: 500;
  font-size: 0.88rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: 0.3s var(--ease);
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
}

.page-home .btn-solid {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.page-home .btn-solid:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(176, 125, 98, 0.35);
}

.page-home .btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.page-home .btn-outline:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.page-home .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.page-home .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.page-home .btn.w-100 {
  width: 100%;
}

