/*
Theme Name: Xây Dựng Nhật Trình
Theme URI: https://nhat-trinh.vn
Author: Claude AI
Author URI: https://claude.ai
Description: Theme chuyên nghiệp cho công ty kiến trúc và nội thất Nhật Trình — thiết kế hiện đại, sang trọng, đầy animation
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xaydung-nhat-trinh
Tags: architecture, construction, portfolio, animation, dark, corporate
*/

/* ===================================================
   CSS CUSTOM PROPERTIES
=================================================== */
:root {
  /* DARK NAVY + ELECTRIC BLUE — Astra style */
  --color-dark:      #060b18;
  --color-dark-2:    #0d1325;
  --color-dark-3:    #141d35;
  --color-dark-4:    #1e2d48;
  --color-gold:      #2563ff;
  --color-gold-2:    #60a5fa;
  --color-gold-3:    #1d4ed8;
  --color-white:     #ffffff;
  --color-gray:      #94a3b8;
  --color-gray-2:    #64748b;
  --color-light:     #111d35;
  --color-ink:       #e2e8f0;
  --color-ink-muted: #94a3b8;
  --color-ink-faint: #64748b;
  --color-on-accent: #ffffff;
  --font-heading:    'Playfair Display', Georgia, serif;
  --font-body:       'Inter', Arial, sans-serif;
  --transition:      0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
  --radius:          8px;
  --radius-lg:       16px;
  --shadow:          0 4px 24px rgba(0,0,0,0.7);
  --shadow-gold:     0 8px 32px rgba(37,99,255,0.4);
  --glow:            0 0 20px rgba(37,99,255,0.5), 0 0 60px rgba(37,99,255,0.2);
  --max-width:       1280px;
}

/* ===================================================
   RESET & BASE
=================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--color-dark);
  color: var(--color-ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(37,99,255,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(29,78,216,0.08) 0%, transparent 50%);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

/* ===================================================
   TYPOGRAPHY
=================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-gold);
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--color-ink);
  margin-bottom: 20px;
}

.section-title span { color: var(--color-gold); }

.section-desc {
  font-size: 16px;
  color: var(--color-ink-muted);
  max-width: 560px;
  line-height: 1.8;
}

/* ===================================================
   BUTTONS
=================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn-gold {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: var(--color-on-accent);
  font-weight: 700;
  box-shadow: 0 0 16px rgba(37,99,255,0.3);
}

.btn-gold::before { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--glow); }

.btn-outline {
  border: 1.5px solid rgba(16,27,45,0.25);
  color: var(--color-ink);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.btn svg { width: 18px; height: 18px; transition: var(--transition); }
.btn:hover svg { transform: translateX(4px); }

/* ===================================================
   HEADER / NAVIGATION
=================================================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

#site-header.scrolled {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(37,99,255,0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .main { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--color-white); }
.logo-text .sub  { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--color-gold-2); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.primary-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.8);
  position: relative;
  padding: 4px 0;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-gold);
  transition: var(--transition);
}

.primary-nav a:hover,
.primary-nav a.active { color: var(--color-gold-2); }
.primary-nav a:hover::after { width: 100%; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-gray);
}

.phone-link svg { color: var(--color-gold-2); width: 16px; height: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,15,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-menu.open { opacity: 1; pointer-events: all; display: flex; }

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--color-white);
}

.mobile-menu a:hover { color: var(--color-gold-2); }

/* ===================================================
   HERO SECTION
=================================================== */
#hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(3,13,26,0.55) 0%, rgba(3,13,26,0.32) 50%, rgba(3,13,26,0.6) 100%),
    url('https://img.youtube.com/vi/jgldaR6AJLE/maxresdefault.jpg') center/cover no-repeat;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* tỉ lệ 16:9 */
  min-height: 100%;
  min-width: 177.78vh; /* tỉ lệ 16:9 ngược, đảm bảo luôn phủ kín chiều cao */
  /* scale thêm 22% để zoom/crop ra ngoài khung hình — cắt chữ watermark/tên studio ở góc video */
  transform: translate(-50%, -50%) scale(1.22);
  border: none;
  pointer-events: none;
}

.hero-bg-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3,13,26,0.62) 0%, rgba(3,13,26,0.3) 50%, rgba(3,13,26,0.58) 100%);
}

@media (max-width: 768px) {
  /* Video nền nặng và dễ bị chặn autoplay trên di động — ẩn video, giữ nền gradient tối làm phương án dự phòng */
  .hero-bg-video { display: none; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(37,99,255,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(37,99,255,0.07) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease 0.3s both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(48px, 6.5vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.ht-line1 { display: block; color: var(--color-white); text-shadow: 0 2px 16px rgba(0,0,0,0.4); }
.ht-line2 { display: block; color: var(--color-gold-2); text-shadow: 0 0 40px rgba(37,99,255,0.4); }

/* Hero bottom numbers */
.hero-numbers {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.8s ease 1.1s both;
}

.hero-num-item { display: flex; flex-direction: column; gap: 4px; }
.hero-num-item strong { font-family: var(--font-heading); font-size: 32px; font-weight: 900; color: var(--color-gold-2); line-height: 1; }
.hero-num-item span  { font-size: 12px; color: var(--color-gray); text-transform: uppercase; letter-spacing: 1px; }
.hero-num-sep { width: 1px; height: 40px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
  animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.9s both;
}

/* Hero luôn nằm trên video/ảnh tối nên nút outline cần giữ kiểu sáng, khác phần còn lại của site */
#hero .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--color-white);
}
#hero .btn-outline:hover {
  border-color: var(--color-gold-2);
  color: var(--color-gold-2);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeIn 1s ease 1.5s both;
}

.hero-scroll span {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gray);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-gold-2), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-stats {
  position: absolute;
  right: 40px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 2;
  animation: fadeInRight 0.8s ease 1.2s both;
}

.hero-stat {
  text-align: right;
  padding-right: 16px;
  border-right: 2px solid var(--color-gold);
}

.hero-stat { border-right-color: var(--color-gold-2); }
.hero-stat .num  { font-family: var(--font-heading); font-size: 36px; font-weight: 700; color: var(--color-white); line-height: 1; }
.hero-stat .label { font-size: 11px; color: var(--color-gray); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }

/* ===================================================
   MARQUEE / TICKER
=================================================== */
.marquee-section {
  padding: 20px 0;
  background: linear-gradient(90deg, #1d4ed8, #00b4d8, #3b82f6, #00b4d8, #1d4ed8);
  background-size: 200% auto;
  animation: gradientMove 6s linear infinite;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

@keyframes gradientMove {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 40px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-on-accent);
}

.marquee-dot {
  width: 6px;
  height: 6px;
  background: var(--color-on-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===================================================
   ABOUT SECTION
=================================================== */
#about {
  padding: 120px 0;
  background: var(--color-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  background:
    linear-gradient(135deg, rgba(10,10,15,0.12), rgba(10,10,15,0.02)),
    url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?w=800&q=80') center/cover no-repeat;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-img-badge {
  position: absolute;
  bottom: 30px;
  right: -24px;
  background: linear-gradient(135deg, #005f8a, #00b4d8);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(37,99,255,0.3);
}

.about-img-badge .num  { font-family: var(--font-heading); font-size: 48px; font-weight: 900; color: #fff; line-height: 1; }
.about-img-badge .text { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

.about-img-mini {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 160px;
  aspect-ratio: 1;
  background:
    url('https://images.unsplash.com/photo-1631889993959-41b4e9c6e3c5?w=400&q=80') center/cover no-repeat;
  border-radius: var(--radius-lg);
  border: 4px solid var(--color-dark);
}

.about-content { }

.about-content .section-desc {
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.about-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feat-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
}

.feat-icon svg { width: 20px; height: 20px; }

.feat-info .feat-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.feat-info .feat-text  { font-size: 12px; color: var(--color-ink-muted); }

/* ===================================================
   SERVICES SECTION
=================================================== */
#phongthuy-chat {
  padding: 120px 0;
  background: var(--color-dark);
}

#services {
  padding: 120px 0;
  background: var(--color-dark-2);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-dark);
  border: 1px solid var(--color-dark-3);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  group: true;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(37,99,255,0.35);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(37,99,255,0.15), 0 0 30px rgba(37,99,255,0.08);
}

.service-card:hover::before { transform: scaleX(1); }

.service-num {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 900;
  color: rgba(16,27,45,0.06);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
  pointer-events: none;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(201,168,76,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: linear-gradient(135deg, #1d4ed8, #3b82f6); color: #fff; box-shadow: 0 0 16px rgba(37,99,255,0.5); }

.service-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 13px;
  color: var(--color-ink-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.service-link svg { width: 14px; height: 14px; transition: var(--transition); }
.service-card:hover .service-link svg { transform: translateX(6px); }

/* ===================================================
   PORTFOLIO SECTION
=================================================== */
#portfolio {
  padding: 120px 0;
  background: var(--color-dark);
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.portfolio-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid var(--color-dark-3);
  color: var(--color-ink-muted);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-on-accent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 24px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item:nth-child(1) { grid-column: span 2; }

.portfolio-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.portfolio-item:nth-child(1) .portfolio-thumb { aspect-ratio: 2/1; }

.portfolio-item:hover .portfolio-thumb { transform: scale(1.08); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold-2);
  margin-bottom: 8px;
}

.portfolio-name {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-white);
  margin-bottom: 12px;
}

.portfolio-more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-gold-2);
  font-weight: 600;
}

/* Portfolio placeholder colors */
.portfolio-thumb-bg {
  width: 100%;
  display: block;
}

.pt-1 { background: linear-gradient(135deg, #e9edf3 0%, #dbe2ec 50%, #e9edf3 100%); aspect-ratio: 2/1; }
.pt-2 { background: linear-gradient(135deg, #eef1f5 0%, #e1e6ed 100%); aspect-ratio: 16/9; }
.pt-3 { background: linear-gradient(135deg, #e7eef5 0%, #d8e3ee 100%); aspect-ratio: 16/9; }
.pt-4 { background: linear-gradient(135deg, #e9edf3 0%, #dadfe6 100%); aspect-ratio: 16/9; }
.pt-5 { background: linear-gradient(135deg, #eef1f5 0%, #e1e6ed 100%); aspect-ratio: 16/9; }
.pt-6 { background: linear-gradient(135deg, #e3e6ea 0%, #d3d8df 100%); aspect-ratio: 16/9; }

.portfolio-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: 0.3;
  filter: grayscale(1);
}

/* ===================================================
   VIDEO SHOWCASE SECTION
=================================================== */
#video-showcase {
  padding: 120px 0;
  background: var(--color-dark-2);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.video-card { display: flex; flex-direction: column; }

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-ink);
  margin-bottom: 16px;
}

.video-bg-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6,20,31,0.22);
  transition: var(--transition);
}

.video-thumb:hover::after { background: rgba(6,20,31,0.4); }

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.video-thumb:hover .video-play { transform: translate(-50%,-50%) scale(1.1); }

.video-thumb-empty {
  background: var(--color-dark-3);
  cursor: default;
}
.video-thumb-empty .video-play {
  background: var(--color-dark-4);
  color: var(--color-ink-faint);
}
.video-thumb-empty:hover .video-play { transform: translate(-50%,-50%); }

.video-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-ink);
}

.video-soon {
  font-size: 12px;
  color: var(--color-ink-faint);
  margin-top: 4px;
}

/* ===================================================
   VIDEO MODAL (lightbox phát video có tiếng)
=================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.video-modal.open { display: flex; }

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,20,31,0.88);
}

.video-modal-inner {
  position: relative;
  z-index: 1;
  width: min(90vw, 960px);
  aspect-ratio: 16/9;
}

.video-modal-frame,
.video-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-lg);
}

.video-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.video-modal-close:hover { background: rgba(255,255,255,0.25); }

/* ===================================================
   STATS SECTION
=================================================== */
#stats {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-dark-2) 0%, var(--color-dark) 100%);
  border-top: 1px solid var(--color-dark-3);
  border-bottom: 1px solid var(--color-dark-3);
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37,99,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

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

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--color-dark-3);
}

.stat-item:last-child::after { display: none; }

.stat-num {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 900;
  color: var(--color-ink);
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.stat-num .suffix { font-size: 32px; color: var(--color-gold); }
.stat-num .prefix { font-size: 32px; color: var(--color-gold); }

.stat-label { font-size: 13px; color: var(--color-ink-muted); text-transform: uppercase; letter-spacing: 2px; font-weight: 500; }
.stat-desc  { font-size: 12px; color: var(--color-ink-faint); margin-top: 6px; }

/* ===================================================
   PROCESS SECTION
=================================================== */
#process {
  padding: 120px 0;
  background: var(--color-dark-2);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 32px);
  right: calc(12.5% + 32px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold-3), var(--color-gold), var(--color-gold-3), transparent);
}

.process-step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--color-dark);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-gold);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.process-step:hover .step-num {
  background: var(--color-gold);
  color: var(--color-on-accent);
  transform: scale(1.1);
}

.step-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step-desc  { font-size: 13px; color: var(--color-ink-muted); line-height: 1.7; }

/* ===================================================
   PRICING / BÁO GIÁ SECTION
=================================================== */
#pricing {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-2) 100%);
  border-top: 1px solid var(--color-dark-3);
  border-bottom: 1px solid var(--color-dark-3);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pricing-card {
  position: relative;
  background: var(--color-dark);
  border: 1px solid var(--color-dark-3);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.pricing-featured {
  border-color: var(--color-gold);
  box-shadow: 0 8px 32px rgba(0,137,184,0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: var(--color-on-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 13px;
  color: var(--color-ink-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 40px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 24px;
}

.pricing-from,
.pricing-unit {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-ink-muted);
}

.pricing-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-ink-muted);
  line-height: 1.4;
}

.pricing-features li svg {
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 1px;
}

.pricing-btn { width: 100%; justify-content: center; text-align: center; }

.pricing-note {
  text-align: center;
  font-size: 12px;
  color: var(--color-ink-faint);
  margin: 36px auto 0;
  max-width: 680px;
}

/* ===================================================
   COST ESTIMATOR (AI) — TÍNH GIÁ XÂY NHÀ MIỄN PHÍ
=================================================== */
#cost-estimator {
  padding: 120px 0;
  background: var(--color-dark-2);
}

.cost-calc-card {
  background: var(--color-dark);
  border: 1px solid var(--color-dark-3);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.cost-calc-form { display: flex; flex-direction: column; gap: 20px; }

.cost-calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cost-calc-field { display: flex; flex-direction: column; gap: 8px; }

.cost-calc-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.cost-calc-field input[type="number"],
.cost-calc-field select {
  background: var(--color-dark-2);
  border: 1px solid var(--color-dark-3);
  color: var(--color-ink);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-body);
}
.cost-calc-field input[type="number"]:focus,
.cost-calc-field select:focus { outline: none; border-color: var(--color-gold); }

.cost-calc-checkbox { justify-content: center; }
.cost-calc-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-ink-muted);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.cost-calc-checkbox-label input { width: 16px; height: 16px; accent-color: var(--color-gold); flex-shrink: 0; }

.cost-calc-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  position: relative;
}
.cost-calc-submit.is-loading { opacity: .7; pointer-events: none; }

.cost-calc-error {
  font-size: 13px;
  color: #c0392b;
  margin: 0;
  min-height: 1px;
}

.cost-calc-result {
  background: var(--color-dark-2);
  border: 1px solid var(--color-dark-3);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cost-calc-result[hidden] { display: none; }

.cost-calc-result-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-ink);
}
.cost-calc-result-header svg { color: var(--color-gold); flex-shrink: 0; }

.cost-calc-breakdown { display: flex; flex-direction: column; gap: 10px; }

.cost-calc-row-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--color-ink-muted);
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--color-dark-3);
}
.cost-calc-row-item strong { color: var(--color-ink); font-weight: 600; }

.cost-calc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 4px;
}
.cost-calc-total span { font-size: 13px; color: var(--color-ink-muted); }
.cost-calc-total strong {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-gold);
}

.cost-calc-note {
  font-size: 13px;
  color: var(--color-ink-muted);
  line-height: 1.7;
  margin: 0;
}

.cost-calc-cta { width: 100%; justify-content: center; text-align: center; }

/* ===================================================
   TESTIMONIALS
=================================================== */
#testimonials {
  padding: 120px 0;
  background: var(--color-dark);
}

.testimonials-header { text-align: center; margin-bottom: 60px; }
.testimonials-header .section-desc { margin: 0 auto; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--color-dark-2);
  border: 1px solid var(--color-dark-3);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(201,168,76,0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--color-gold);
}

.testimonial-text {
  font-size: 15px;
  color: var(--color-ink-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-gold);
  flex-shrink: 0;
}

.author-name  { font-size: 15px; font-weight: 600; color: var(--color-ink); }
.author-role  { font-size: 12px; color: var(--color-ink-muted); }

/* ===================================================
   LATEST POSTS SECTION
=================================================== */
#latest-posts {
  padding: 120px 0;
  background: var(--color-dark-2);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--color-dark);
  border: 1px solid var(--color-dark-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  border-color: var(--color-dark-4);
}

.post-card-thumb-link { display: block; }

.post-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.post-card-body { padding: 28px; }

.post-card-date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.post-card-title {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 12px;
}
.post-card-title a { color: var(--color-ink); }
.post-card:hover .post-card-title a { color: var(--color-gold); }

.post-card-excerpt {
  font-size: 14px;
  color: var(--color-ink-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.post-card-more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-gold);
  transition: var(--transition);
}
.post-card-more svg { width: 14px; height: 14px; transition: var(--transition); }
.post-card:hover .post-card-more svg { transform: translateX(6px); }

/* ===================================================
   CTA SECTION
=================================================== */
#cta {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--color-dark-2) 0%, var(--color-dark) 100%);
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0,180,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(37,99,255,0.07) 0%, transparent 50%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

/* cta-title defined above */

.cta-desc {
  font-size: 17px;
  color: var(--color-ink-muted);
  margin-bottom: 48px;
}

.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cta-contact-info {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--color-dark-3);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-detail .icon {
  width: 40px;
  height: 40px;
  background: rgba(201,168,76,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
}

.contact-detail .icon svg { width: 18px; height: 18px; }
.contact-detail .label   { font-size: 11px; color: var(--color-ink-muted); text-transform: uppercase; letter-spacing: 1px; }
.contact-detail .value   { font-size: 15px; font-weight: 600; color: var(--color-ink); }

/* ===================================================
   FOOTER
=================================================== */
#site-footer {
  background: #050508;
  padding: 80px 0 0;
  border-top: 1px solid #16263d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid #16263d;
}

.footer-brand .logo-wrap { margin-bottom: 20px; }

.footer-brand p {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

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

.social-link {
  width: 40px;
  height: 40px;
  background: #16263d;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--color-gold-2);
  color: var(--color-on-accent);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-gold-2);
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--color-gray); transition: var(--transition-fast); }
.footer-col ul li a:hover { color: var(--color-gold-2); padding-left: 6px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--color-gray);
}

.footer-contact li svg { color: var(--color-gold-2); flex-shrink: 0; margin-top: 2px; width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer-bottom p { font-size: 13px; color: var(--color-gray-2); }
.footer-bottom a { color: var(--color-gold-2); }

/* ===================================================
   SECTION HEADER CENTER
=================================================== */
.section-header-center {
  text-align: center;
  margin-bottom: 56px;
}

.section-header-center .section-tag  { justify-content: center; }
.section-header-center .section-desc { margin: 0 auto; }

/* ===================================================
   CTA TITLE FIX
=================================================== */
.cta-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--color-ink);
}

.cta-title span { color: var(--color-gold); }

/* ===================================================
   HERO SCROLL (updated)
=================================================== */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeIn 1s ease 1.5s both;
}

.hero-scroll span {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gray);
  order: 2;
}

/* ===================================================
   PAGE CONTENT
=================================================== */
.page-hero {
  padding: 160px 0 80px;
  background: var(--color-dark-2);
  text-align: center;
  border-bottom: 1px solid var(--color-dark-3);
}

.page-content {
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-content p { color: var(--color-ink-muted); line-height: 1.9; margin-bottom: 20px; }
.page-content h2 { font-size: 32px; margin: 40px 0 16px; }
.page-content h3 { font-size: 24px; margin: 32px 0 12px; color: var(--color-gold); }

/* ===================================================
   SINGLE POST
=================================================== */
.post-hero {
  height: 50vh;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.post-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.9) 0%, rgba(10,10,15,0.4) 100%), #1a1a2e;
  background-size: cover;
  background-position: center;
}

.post-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 60px;
}

.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px;
}

.post-body p { font-size: 17px; line-height: 1.9; color: var(--color-ink-muted); margin-bottom: 24px; }
.post-body h2 { font-size: 30px; margin: 40px 0 16px; }
.post-body img { width: 100%; border-radius: var(--radius-lg); margin: 32px 0; }

/* ===================================================
   PORTFOLIO ARCHIVE (trang /cong-trinh/ và danh mục)
=================================================== */
.portfolio-archive {
  padding: 80px 0 120px;
  background: var(--color-dark);
}

.portfolio-grid-archive .portfolio-item:nth-child(1) { grid-column: auto; }
.portfolio-grid-archive .portfolio-item:nth-child(1) .portfolio-thumb { aspect-ratio: 16/9; }

.portfolio-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-ink-muted);
}
.portfolio-empty p { margin-bottom: 20px; font-size: 15px; }

.nt-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}
.nt-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.nt-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--color-dark-3);
  color: var(--color-ink-muted);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.nt-pagination .page-numbers.current,
.nt-pagination .page-numbers:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-on-accent);
}
.nt-pagination .page-numbers.dots {
  border-color: transparent;
  background: none;
}

/* ===================================================
   404 PAGE
=================================================== */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.page-404 .num-404 {
  font-family: var(--font-heading);
  font-size: clamp(100px, 20vw, 180px);
  font-weight: 900;
  color: rgba(201,168,76,0.1);
  line-height: 1;
  margin-bottom: -20px;
}

/* ===================================================
   KEYFRAMES
=================================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
  .services-grid     { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid    { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item:nth-child(1) { grid-column: span 2; }
  .video-grid        { grid-template-columns: repeat(2, 1fr); }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-grid      { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .pricing-grid      { grid-template-columns: repeat(2, 1fr); }
  .cost-calc-card    { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .post-grid         { grid-template-columns: 1fr 1fr; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .about-grid        { grid-template-columns: 1fr; gap: 48px; }
  .about-img-mini, .about-img-badge { position: static; width: auto; margin: 16px 0 0; }
  .hero-stats        { display: none; }
  .cta-contact-info  { flex-wrap: wrap; gap: 24px; }
}

@media (max-width: 768px) {
  /* Header */
  .primary-nav, .phone-link, .header-cta .btn-gold { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { overflow: hidden; }
  .hero-content { max-width: 100%; padding: 0 4px; }
  .hero-badge { font-size: 10px; letter-spacing: 1px; padding: 6px 14px; white-space: nowrap; }
  .hero-title { font-size: clamp(30px, 8.5vw, 48px); line-height: 1.1; }
  .hero-desc  { font-size: 15px; max-width: 100%; margin-bottom: 28px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .hero-numbers { gap: 20px; margin-top: 32px; padding-top: 28px; flex-wrap: wrap; }
  .hero-num-item strong { font-size: 24px; }

  /* Grids */
  .services-grid     { grid-template-columns: 1fr; }
  .portfolio-grid    { grid-template-columns: 1fr; }
  .portfolio-item:nth-child(1) { grid-column: span 1; }
  .video-grid        { grid-template-columns: 1fr; }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after  { display: none; }
  .process-grid      { grid-template-columns: 1fr; }
  .pricing-grid      { grid-template-columns: 1fr; }
  .cost-calc-card    { padding: 24px; }
  .cost-calc-row     { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .post-grid         { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr; }
  .services-header, .portfolio-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 400px) {
  .hero-title { font-size: clamp(26px, 8vw, 36px); }
  .hero-badge { font-size: 9px; padding: 5px 12px; }
  .hero-numbers { gap: 14px; }
  .hero-num-sep { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   SINGLE PORTFOLIO (single-portfolio.php)
   Dùng màu tường minh, không phụ thuộc vào biến --color-dark/white
   vì theme đã chuyển sang nền sáng.
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.pt-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
  background: #101b2d;
}
.pt-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .78;
  display: block;
}
.pt-hero-img--fallback {
  background: linear-gradient(135deg, #101b2d 0%, #1a3a5c 100%);
}
.pt-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,14,20,.15) 0%, rgba(10,14,20,.82) 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 64px 0;
}
.pt-breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .78rem; color: rgba(255,255,255,.5);
  margin-bottom: 20px; text-transform: uppercase; letter-spacing: .06em;
}
.pt-breadcrumb a { color: inherit; text-decoration: none; transition: color .2s; }
.pt-breadcrumb a:hover { color: #60a5fa; }
.pt-breadcrumb-sep { opacity: .35; }
.pt-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 700; color: #ffffff; line-height: 1.1;
  margin: 0 0 20px;
}
.pt-hero-cats { display: flex; gap: 10px; flex-wrap: wrap; }
.pt-hero-cat {
  display: inline-block; padding: 5px 16px;
  border: 1px solid rgba(255,255,255,.3); border-radius: 100px;
  font-size: .78rem; color: rgba(255,255,255,.85); letter-spacing: .04em;
  text-decoration: none;
}
.pt-hero-cat:hover { border-color: rgba(255,255,255,.7); }

/* ── Info bar — nền tối, chữ trắng ── */
.pt-info-bar {
  background: #0d1a2e;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.pt-info-bar .container {
  display: flex; flex-wrap: wrap; gap: 0;
}
.pt-info-item {
  flex: 1; min-width: 130px;
  padding: 24px 28px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.pt-info-item:last-child { border-right: none; }
.pt-info-label {
  font-size: .7rem; text-transform: uppercase;
  letter-spacing: .09em; color: #2563ff;
  margin-bottom: 7px;
}
.pt-info-value {
  font-size: .95rem; font-weight: 700; color: #ffffff;
  line-height: 1.3;
}

/* ── Content — nền sáng ── */
.pt-content {
  padding: 96px 0 80px;
  background: #f8fafc;
}
.pt-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 72px;
  align-items: start;
}
.pt-body h1, .pt-body h2, .pt-body h3 {
  font-family: var(--font-heading);
  color: #101b2d;
  margin: 0 0 16px;
  line-height: 1.2;
}
.pt-body h2 { font-size: 1.65rem; font-weight: 700; margin-top: 48px; }
.pt-body h2:first-child { margin-top: 0; }
.pt-body h3 { font-size: 1.2rem; font-weight: 600; }
.pt-body p {
  font-size: 1rem; line-height: 1.88;
  color: #4a5568; margin: 0 0 22px;
}
.pt-body p:last-child { margin-bottom: 0; }
.pt-body ul, .pt-body ol {
  color: #4a5568; padding-left: 24px;
  margin: 0 0 22px; line-height: 1.8;
}
.pt-body strong { color: #101b2d; }

/* ── Sidebar ── */
.pt-sidebar { position: sticky; top: 90px; }
.pt-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  padding: 32px;
  margin-bottom: 20px;
}
.pt-sidebar-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem; font-weight: 700;
  color: #101b2d; margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid #e2e8f0;
}
.pt-spec-list { list-style: none; padding: 0; margin: 0; }
.pt-spec-list li {
  display: flex; justify-content: space-between;
  align-items: baseline; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: .85rem;
}
.pt-spec-list li:last-child { border-bottom: none; }
.pt-spec-list .spec-label { color: #64748b; white-space: nowrap; }
.pt-spec-list .spec-val {
  color: #101b2d; font-weight: 700;
  text-align: right;
}
.pt-cta-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #60a5fa 100%);
  border-radius: 16px; padding: 32px; text-align: center;
}
.pt-cta-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  color: #ffffff; margin: 0 0 10px;
}
.pt-cta-card p {
  font-size: .86rem; color: rgba(255,255,255,.88);
  margin: 0 0 22px; line-height: 1.6;
}
.pt-cta-card .btn-dark {
  display: block; width: 100%; padding: 13px;
  background: #101b2d; color: #ffffff;
  border-radius: 8px; font-weight: 600; font-size: .9rem;
  text-decoration: none; text-align: center;
  transition: background .2s;
}
.pt-cta-card .btn-dark:hover { background: #1a3050; }
.pt-cta-card .btn-phone {
  display: block; margin-top: 12px;
  color: rgba(255,255,255,.92); font-size: .85rem;
  font-weight: 600; text-decoration: none;
}

/* ── Gallery ── */
.pt-gallery {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}
.pt-gallery h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem; font-weight: 700;
  color: #101b2d; margin: 0 0 36px;
}
.pt-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 14px;
}
.pt-gallery-grid--1 { grid-template-columns: 1fr; grid-template-rows: 420px; }
.pt-gallery-grid--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 340px; }
.pt-gallery-item {
  overflow: hidden; border-radius: 12px;
  display: block; cursor: zoom-in;
}
.pt-gallery-item:first-child {
  grid-column: span 2; grid-row: span 2;
}
.pt-gallery-grid--1 .pt-gallery-item:first-child,
.pt-gallery-grid--2 .pt-gallery-item:first-child { grid-column: auto; grid-row: auto; }
.pt-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s ease;
}
.pt-gallery-item:hover img { transform: scale(1.05); }

/* ── Related ── */
.pt-related {
  padding: 80px 0 120px;
  background: #f3f6fa;
  border-top: 1px solid #e2e8f0;
}
.pt-related-header {
  display: flex; justify-content: space-between;
  align-items: baseline; margin-bottom: 36px;
}
.pt-related-header h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem; font-weight: 700;
  color: #101b2d; margin: 0;
}
.pt-related-header a {
  font-size: .88rem; color: #2563ff;
  font-weight: 600; text-decoration: none;
  transition: opacity .2s;
}
.pt-related-header a:hover { opacity: .7; }
.pt-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .pt-content-grid { grid-template-columns: 1fr; gap: 48px; }
  .pt-sidebar { position: static; }
  .pt-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .pt-gallery-item:first-child { grid-column: span 2; grid-row: auto; height: 300px; }
  .pt-gallery-item { height: 220px; }
  .pt-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .pt-hero { height: 55vh; min-height: 360px; }
  .pt-hero-overlay { padding: 40px 0; }
  .pt-info-item { padding: 18px 20px; min-width: 120px; }
  .pt-content { padding: 56px 0 48px; }
  .pt-gallery-grid,
  .pt-gallery-grid--2 { grid-template-columns: 1fr; grid-template-rows: auto; }
  .pt-gallery-item,
  .pt-gallery-item:first-child { grid-column: auto; grid-row: auto; height: 240px; }
  .pt-related-grid { grid-template-columns: 1fr; }
  .pt-related-header { flex-direction: column; gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════════
   FIX: Header & Hero — vùng tối cần hardcode màu, không dùng
   var(--color-dark) vì theme đã chuyển sang nền sáng (#ffffff).
   ═══════════════════════════════════════════════════════════════ */

/* Header: mặc định trong suốt nhưng text trắng → body trắng lộ
   qua → nav link mất. Đặt nền tối ngay từ đầu. */
#site-header {
  background: rgba(5, 12, 28, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
#site-header.scrolled {
  background: rgba(5, 12, 28, 0.97);
}

/* Hero: background chính cần tối để text trắng hiện lên.
   .hero-bg phủ phía trên (YouTube thumbnail + video),
   nhưng nếu thumbnail không load thì màu nền này đỡ. */
#hero {
  background: #101b2d;
}

/* Mobile menu: luôn tối */
.mobile-menu {
  background: #0d1726;
}

/* Footer: luôn tối */
footer, .site-footer {
  background: #0a111f;
  color: #c0cfe0;
}
footer a, .site-footer a { color: #7aa3c8; }
footer a:hover, .site-footer a:hover { color: #60a5fa; }

/* ═══════════════════════════════════════════════════
   AOS FALLBACK — hiển thị content kể cả khi JS chậm
   Nếu AOS chưa init (.aos-init chưa có), element vẫn visible.
   Khi AOS init xong, nó tự thêm .aos-init và điều khiển animation.
════════════════════════════════════════════════════ */
[data-aos]:not(.aos-init) {
  opacity: 1 !important;
  transform: none !important;
}

/* ═══════════════════════════════════════════════════
   SINGLE PORTFOLIO — HERO SLIDER
════════════════════════════════════════════════════ */
.pt-slider-section {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 520px;
  max-height: 820px;
  overflow: hidden;
  background: #101b2d;
}

.pt-slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.pt-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.pt-slide {
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}

.pt-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pt-slider-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #101b2d 0%, #1a2f4a 100%);
}

/* Slider nav buttons */
.pt-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.pt-slider-btn:hover {
  background: rgba(0,137,184,0.7);
  transform: translateY(-50%) scale(1.08);
}
.pt-slider-prev { left: 24px; }
.pt-slider-next { right: 24px; }

/* Dots */
.pt-slider-dots {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.pt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.pt-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* Counter */
.pt-slider-count {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Overlay text */
.pt-slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,12,28,0.88) 0%, rgba(5,12,28,0.2) 40%, transparent 70%);
  display: flex;
  align-items: flex-end;
  z-index: 5;
  pointer-events: none;
}
.pt-slider-overlay .container { pointer-events: auto; padding-bottom: 60px; }

.pt-slider-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 56px);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* Specs bar */
.pt-specs-bar {
  background: var(--color-ink);
  padding: 0;
}
.pt-specs-bar .container {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.pt-specs-bar .container::-webkit-scrollbar { display: none; }
.pt-spec-item {
  flex: 1;
  min-width: 140px;
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.pt-spec-item:last-child { border-right: none; }
.pt-spec-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
  font-weight: 600;
}
.pt-spec-value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

/* Body grid */
.pt-body-section { padding: 80px 0 100px; }
.pt-body-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

/* Intro text */
.pt-intro-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-ink-muted);
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-dark-3);
  font-style: italic;
}

/* Gallery section */
.pt-gallery-section { margin-top: 60px; }
.pt-gallery-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  color: var(--color-ink);
  margin-bottom: 28px;
  padding-top: 40px;
  border-top: 1px solid var(--color-dark-3);
}
.pt-gallery-title svg { color: var(--color-gold); flex-shrink: 0; }

/* Masonry grid */
.pt-masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pt-masonry-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  cursor: zoom-in;
  background: var(--color-dark-2);
}
.pt-masonry-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.pt-masonry-item:hover img { transform: scale(1.06); }
.pt-masonry-wide {
  grid-column: span 2;
}
.pt-masonry-wide img { aspect-ratio: 16/9; }

.pt-masonry-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,12,28,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
}
.pt-masonry-item:hover .pt-masonry-overlay { opacity: 1; }

/* Sidebar */
.pt-sidebar-col { position: sticky; top: 100px; }

.pt-sidebar-card {
  background: var(--color-dark-2);
  border: 1px solid var(--color-dark-3);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}

.pt-sidebar-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-ink);
  margin-bottom: 20px;
}
.pt-sidebar-card-title svg { color: var(--color-gold); }

.pt-spec-list { display: flex; flex-direction: column; gap: 0; }
.pt-spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-dark-3);
  gap: 12px;
}
.pt-spec-list li:last-child { border-bottom: none; padding-bottom: 0; }
.spec-label { font-size: 13px; color: var(--color-ink-muted); }
.spec-val   { font-size: 13px; font-weight: 700; color: var(--color-ink); text-align: right; }

.pt-cta-card {
  background: linear-gradient(135deg, #101b2d 0%, #1a2f4a 100%);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-bottom: 20px;
  text-align: center;
}
.pt-cta-card .pt-cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0,137,184,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #60a5fa;
}
.pt-cta-card .pt-cta-icon svg { width: 26px; height: 26px; }
.pt-cta-card h4 { font-size: 17px; color: #fff; margin-bottom: 10px; }
.pt-cta-card p  { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 20px; line-height: 1.6; }

.pt-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.pt-phone-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }

.pt-share-card {
  background: var(--color-dark-2);
  border: 1px solid var(--color-dark-3);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.pt-share-btns { display: flex; gap: 10px; margin-top: 4px; }
.pt-share-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.pt-share-fb   { background: #1877f2; color: #fff; }
.pt-share-zalo { background: #0068ff; color: #fff; }
.pt-share-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* Testimonial */
.pt-testimonial-section {
  background: linear-gradient(135deg, #101b2d 0%, #0d2a40 100%);
  padding: 80px 0;
}
.pt-testimonial-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.pt-testimonial-icon {
  color: rgba(96,239,255,0.4);
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}
.pt-testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 26px);
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 40px;
}
.pt-testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pt-testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563ff, #60a5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.pt-testimonial-name { font-size: 15px; font-weight: 700; color: #fff; text-align: left; }
.pt-testimonial-role { font-size: 12px; color: rgba(255,255,255,0.5); text-align: left; }
.pt-testimonial-stars { font-size: 18px; color: #f5c842; margin-left: auto; }

/* Related projects */
.pt-related { padding: 100px 0; background: var(--color-dark-2); }
.pt-related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 20px;
}
.pt-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pt-related-card {
  display: block;
  background: var(--color-dark);
  border: 1px solid var(--color-dark-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.pt-related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.12);
  border-color: rgba(0,137,184,0.3);
}
.pt-related-thumb {
  position: relative;
  overflow: hidden;
}
.pt-related-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.pt-related-card:hover .pt-related-img { transform: scale(1.06); }
.pt-related-placeholder {
  aspect-ratio: 4/3;
  background: var(--color-dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.pt-related-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0,137,184,0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 20px;
}
.pt-related-info { padding: 24px; }
.pt-related-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 8px;
  line-height: 1.4;
}
.pt-related-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--color-ink-muted);
  margin-bottom: 16px;
}
.pt-related-meta span::before { content: '·'; margin-right: 12px; }
.pt-related-meta span:first-child::before { display: none; }
.pt-related-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gold);
}
.pt-related-link svg { transition: transform 0.3s ease; }
.pt-related-card:hover .pt-related-link svg { transform: translateX(4px); }

/* Lightbox */
.pt-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.pt-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.pt-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,12,28,0.94);
  cursor: zoom-out;
}
.pt-lightbox-inner {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pt-lightbox-img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  transition: opacity 0.25s ease;
}
.pt-lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}
.pt-lightbox-close:hover { background: rgba(255,255,255,0.25); }
.pt-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}
.pt-lightbox-nav:hover { background: rgba(0,137,184,0.6); }
.pt-lb-prev { left: 20px; }
.pt-lb-next { right: 20px; }
.pt-lb-caption {
  position: fixed;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  text-align: center;
  max-width: 600px;
  z-index: 2;
}
.pt-lb-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  z-index: 2;
}

/* Responsive */
@media (max-width: 1024px) {
  .pt-body-grid { grid-template-columns: 1fr; }
  .pt-sidebar-col { position: static; }
  .pt-masonry-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-masonry-wide { grid-column: span 2; }
  .pt-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pt-slider-section { height: 60vh; min-height: 360px; }
  .pt-slider-btn { width: 40px; height: 40px; }
  .pt-slider-prev { left: 12px; }
  .pt-slider-next { right: 12px; }
  .pt-slider-dots { bottom: 80px; }
  .pt-specs-bar .container { gap: 0; }
  .pt-spec-item { min-width: 120px; padding: 16px; }
  .pt-masonry-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pt-related-grid { grid-template-columns: 1fr; }
  .pt-related-header { flex-direction: column; align-items: flex-start; }
  .pt-lb-prev { left: 8px; }
  .pt-lb-next { right: 8px; }
}

/* ═══════════════════════════════════════════════════
   PAGE BREADCRUMB — dùng trong page-hero của trang con
════════════════════════════════════════════════════ */
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-ink-muted);
  margin-bottom: 20px;
  justify-content: center;
}
.page-breadcrumb a { color: var(--color-gold); }
.page-breadcrumb a:hover { color: var(--color-gold-3); }
.page-breadcrumb span[aria-hidden] { color: var(--color-dark-4); }

/* ═══════════════════════════════════════════════════
   PAGE CTA STRIP — dải CTA cuối trang con
════════════════════════════════════════════════════ */
.page-cta-strip {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--color-dark-2) 0%, var(--color-dark) 100%);
}

/* ═══════════════════════════════════════════════════
   TEAM SECTION — trang Giới Thiệu
════════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.team-card {
  background: var(--color-dark);
  border: 1px solid var(--color-dark-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  padding: 40px 24px 32px;
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.1);
  border-color: rgba(0,137,184,0.3);
}

.team-card-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 20px;
  letter-spacing: 1px;
}

.team-card-body { }

.team-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 6px;
}

.team-card-role {
  font-size: 13px;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-card-exp {
  font-size: 12px;
  color: var(--color-ink-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .team-card { padding: 28px 16px 24px; }
}

/* ═══════════════════════════════════════════════════
   SERVICE DETAIL BLOCK — trang Dịch Vụ
════════════════════════════════════════════════════ */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.service-detail-block--reverse .service-detail-grid {
  grid-template-columns: 1.4fr 1fr;
  direction: rtl;
}
.service-detail-block--reverse .service-detail-grid > * {
  direction: ltr;
}

.service-detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-icon-wrap {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,137,184,0.12) 0%, rgba(96,239,255,0.08) 100%);
  border: 2px solid rgba(0,137,184,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-detail-icon-wrap svg {
  width: 90px;
  height: 90px;
  color: var(--color-gold);
}

.service-detail-features {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-detail-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--color-ink-muted);
}
.service-detail-features li svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .service-detail-grid,
  .service-detail-block--reverse .service-detail-grid {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }
  .service-detail-visual { order: -1; }
  .service-detail-icon-wrap { width: 140px; height: 140px; }
  .service-detail-icon-wrap svg { width: 60px; height: 60px; }
}

/* ═══════════════════════════════════════════════════
   CONTACT PAGE LAYOUT
════════════════════════════════════════════════════ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Form */
.nt-contact-form { display: flex; flex-direction: column; gap: 20px; }

.nt-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.nt-form-group { display: flex; flex-direction: column; gap: 8px; }

.nt-form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: 0.3px;
}

.nt-form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-dark-2);
  border: 1.5px solid var(--color-dark-3);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-ink);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.nt-form-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(0,137,184,0.12);
  background: var(--color-dark);
}
.nt-form-input::placeholder { color: var(--color-ink-faint); }

.nt-form-textarea {
  resize: vertical;
  min-height: 130px;
}

.nt-form-submit {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: 16px;
}

.nt-form-message {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  display: none;
}
.nt-form-message:not(:empty) { display: block; }
.nt-form-message--success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #166534;
}
.nt-form-message--error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #991b1b;
}

/* Contact info */
.contact-info-list { display: flex; flex-direction: column; gap: 28px; margin-bottom: 40px; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,137,184,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; }

.contact-info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-ink-muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-info-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
  display: block;
  margin-bottom: 2px;
}
a.contact-info-value:hover { color: var(--color-gold); }
.contact-info-note {
  font-size: 12px;
  color: var(--color-ink-faint);
}

/* Commitments */
.contact-commitments {
  background: var(--color-dark-2);
  border: 1px solid var(--color-dark-3);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.contact-commitments h4 {
  font-size: 15px;
  color: var(--color-ink);
  margin-bottom: 16px;
}
.contact-commitments ul { display: flex; flex-direction: column; gap: 10px; }
.contact-commitments li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-ink-muted);
}
.contact-commitments li svg { color: var(--color-gold); flex-shrink: 0; }

/* Map */
.contact-map {
  width: 100%;
  height: 420px;
  overflow: hidden;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 900px) {
  .contact-page-grid { grid-template-columns: 1fr; gap: 60px; }
  .nt-form-row { grid-template-columns: 1fr; }
  .contact-map { height: 300px; }
}

/* ═══════════════════════════════════════════════════
   ACTIVE NAV — WordPress menu current-menu-item
════════════════════════════════════════════════════ */
.primary-nav li.current-menu-item > a,
.primary-nav li.current-page-ancestor > a {
  color: var(--color-gold-2);
  position: relative;
}
.primary-nav li.current-menu-item > a::after,
.primary-nav li.current-page-ancestor > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-gold-2);
  border-radius: 2px;
}


/* ══════════════════════════════════════════════════════════
   DARK LUXURY HOMEPAGE — .nt-* classes (Ahome-inspired)
   Palette: bg #060b18 · alt #111111 · gold #2563ff · text #e8e0d5
══════════════════════════════════════════════════════════ */

/* ── Shared helpers ─────────────────────────────────────── */
.nt-wrap-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}
.nt-sec-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #2563ff;
  margin-bottom: 14px;
}
.nt-sec-h2-gold {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2563ff;
  line-height: 1.15;
  margin: 0 0 20px;
}
.nt-sec-desc {
  color: rgba(232,224,213,0.65);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto;
}
.nt-section-title-center {
  text-align: center;
  margin-bottom: 56px;
}
.nt-section-title-center .nt-sec-desc { margin: 0 auto; }
.nt-btn-border {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border: 1px solid rgba(37,99,255,0.6);
  color: #2563ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.nt-btn-border:hover { background: #2563ff; color: #060b18; }
.nt-btn-border-w {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s;
  margin-top: 24px;
}
.nt-btn-border-w:hover { border-color: #2563ff; color: #2563ff; }

/* ── HERO ────────────────────────────────────────────────── */
.nt-hero-wrap {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #060b18;
}
.nt-slides { position: absolute; inset: 0; }
.nt-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  background: var(--nt-sb, #060b18);
}
.nt-slide.is-active { opacity: 1; }

/* Video slide */
.nt-slide-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.nt-slide-has-video .nt-slide-media { background: #000; }
.nt-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.8vh;
  height: 100vh;
  min-width: 100%;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.nt-slide-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

/* Slide content */
.nt-slide-content {
  position: absolute;
  z-index: 2;
  bottom: 130px;
  left: max(40px, 8vw);
  right: max(40px, 25vw);
}
.nt-slide-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(37,99,255,0.9);
  margin-bottom: 14px;
}
.nt-slide-italic {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  color: rgba(37,99,255,0.8);
  margin-bottom: 8px;
}
.nt-slide-h1 {
  font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.15em;
  line-height: 1.18;
  margin: 0 0 24px;
  word-spacing: 0.1em;
}
.nt-slide-p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}
.nt-slide-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.nt-sbtn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  background: #2563ff;
  color: #060b18;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
}
.nt-sbtn-gold:hover { background: #1d4ed8; transform: translateY(-2px); color: #060b18; }
.nt-sbtn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
}
.nt-sbtn-outline:hover { border-color: #2563ff; color: #2563ff; transform: translateY(-2px); }

/* Slider UI — counter + arrows */
.nt-slider-ui {
  position: absolute;
  z-index: 5;
  bottom: 40px;
  right: max(40px, 6vw);
  display: flex;
  align-items: center;
  gap: 20px;
}
.nt-slider-count {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
}
.nt-cur-num {
  font-size: 22px;
  font-weight: 900;
  color: #2563ff;
  margin-right: 2px;
}
.nt-sep { color: rgba(255,255,255,0.3); }
.nt-slider-btns { display: flex; gap: 8px; }
.nt-sarr {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.nt-sarr:hover { border-color: #2563ff; color: #2563ff; background: rgba(37,99,255,0.08); }

/* Scroll hint */
.nt-scroll-hint {
  position: absolute;
  z-index: 5;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: ntScrollBounce 2s ease-in-out infinite;
}
@keyframes ntScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}

/* ── ABOUT ───────────────────────────────────────────────── */
.nt-about-wrap {
  background: #060b18;
  padding: 100px 0 0;
}
.nt-about-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
}
.nt-about-left { padding-bottom: 60px; }
.nt-about-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(232,224,213,0.18);
  line-height: 1.15;
  margin: 0 0 24px;
}
.nt-about-heading-gold { color: #2563ff; }
.nt-about-body {
  color: rgba(232,224,213,0.65);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

/* Founder card */
.nt-about-right { display: flex; justify-content: center; }
.nt-founder-box {
  position: relative;
  width: 300px;
  text-align: center;
}
.nt-founder-arch {
  width: 260px;
  height: 300px;
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  border: 1px solid rgba(37,99,255,0.25);
  background: linear-gradient(to bottom, rgba(37,99,255,0.06), rgba(37,99,255,0.02));
  margin: 0 auto 20px;
  position: relative;
}
.nt-founder-avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  color: rgba(37,99,255,0.4);
}
.nt-founder-avatar svg { width: 100%; height: 100%; }
.nt-founder-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2563ff;
  margin-bottom: 4px;
}
.nt-founder-role {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(232,224,213,0.45);
}

/* Stats strip */
.nt-stats-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid rgba(37,99,255,0.15);
  margin-top: 60px;
}
.nt-stat-item { text-align: center; padding: 0 20px; }
.nt-stat-big {
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: #2563ff;
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1;
  margin-bottom: 8px;
}
.nt-stat-txt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(232,224,213,0.45);
}
.nt-stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(37,99,255,0.2);
}

/* ── SERVICES ────────────────────────────────────────────── */
.nt-services-wrap {
  background: #111111;
  padding: 100px 0;
}
.nt-services-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 0;
}
.nt-svc-card {
  background: #060b18;
  overflow: hidden;
  transition: transform 0.3s;
}
.nt-svc-card:hover { transform: translateY(-4px); }
.nt-svc-img-wrap {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.nt-svc-img-icon {
  width: 80px;
  height: 80px;
  color: rgba(37,99,255,0.35);
  transition: color 0.3s, transform 0.3s;
}
.nt-svc-card:hover .nt-svc-img-icon { color: rgba(37,99,255,0.65); transform: scale(1.1); }
.nt-svc-info { padding: 32px 28px 36px; }
.nt-svc-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2563ff;
  margin-bottom: 16px;
}
.nt-svc-div {
  width: 36px;
  height: 1px;
  background: rgba(37,99,255,0.4);
  margin-bottom: 16px;
}
.nt-svc-desc {
  color: rgba(232,224,213,0.6);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.nt-svc-link {
  color: #2563ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: letter-spacing 0.25s;
}
.nt-svc-link:hover { letter-spacing: 0.3em; }

/* ── PORTFOLIO ───────────────────────────────────────────── */
.nt-portfolio-wrap {
  background: #060b18;
  padding: 100px 0;
}
.nt-portfolio-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.nt-portfolio-top .nt-sec-desc { max-width: 500px; margin: 0; }
.nt-pf-featured-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}
.nt-pf-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #111;
}
.nt-pf-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.nt-pf-main:hover .nt-pf-main-img { transform: scale(1.04); }
.nt-pf-placeholder-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d1325 0%, #0d0a06 100%);
}
.nt-pf-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px;
}
.nt-pf-badge {
  background: rgba(37,99,255,0.9);
  color: #060b18;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.nt-pf-play-wrap { text-decoration: none; }
.nt-pf-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  transition: background 0.25s, border-color 0.25s;
}
.nt-pf-play:hover { background: #2563ff; border-color: #2563ff; color: #060b18; }
.nt-pf-main-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
}
.nt-pf-main-label a, .nt-pf-main-label span {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.nt-pf-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nt-pf-side-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #111;
  text-decoration: none;
  display: block;
}
.nt-pf-side-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.nt-pf-side-item:hover .nt-pf-side-img { transform: scale(1.06); }
.nt-pf-side-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111 0%, #0d1325 100%);
}
.nt-pf-side-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 16px;
}
.nt-pf-side-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #2563ff;
  margin-bottom: 3px;
}
.nt-pf-side-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

/* ── STRENGTHS ───────────────────────────────────────────── */
.nt-strengths-wrap {
  background: #111111;
  padding: 100px 0;
}
.nt-strengths-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.nt-strength-col { text-align: center; }
.nt-strength-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #2563ff;
  margin-bottom: 28px;
}
.nt-strength-blob {
  width: 180px;
  height: 180px;
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  border: 2px solid rgba(37,99,255,0.3);
  background: rgba(37,99,255,0.06);
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s, background 0.4s;
}
.nt-strength-col:hover .nt-strength-blob {
  border-color: rgba(37,99,255,0.55);
  background: rgba(37,99,255,0.1);
}
.nt-strength-blob svg {
  width: 70px;
  height: 70px;
  color: rgba(37,99,255,0.4);
}
.nt-strength-desc {
  color: rgba(232,224,213,0.6);
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 300px;
  margin: 0 auto;
}

/* ── AI PHONG THỦY ───────────────────────────────────────── */
.nt-phongthuy-wrap {
  background: #060b18;
  padding: 100px 0;
}
.nt-plugin-ph {
  text-align: center;
  padding: 60px 40px;
  border: 1px solid rgba(37,99,255,0.2);
  max-width: 500px;
  margin: 0 auto;
}
.nt-pph-icon { font-size: 40px; margin-bottom: 16px; }
.nt-pph-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2563ff;
  margin-bottom: 10px;
}
.nt-pph-sub { color: rgba(232,224,213,0.55); font-size: 0.92rem; line-height: 1.7; }

/* ── AI TÍNH GIÁ ─────────────────────────────────────────── */
.nt-calc-wrap {
  background: #111111;
  padding: 100px 0;
}
.nt-calc-dark {
  background: #060b18 !important;
  border: 1px solid rgba(37,99,255,0.2) !important;
}
.nt-calc-dark label { color: rgba(232,224,213,0.75) !important; }
.nt-calc-dark input,
.nt-calc-dark select {
  background: #141d35 !important;
  border-color: rgba(37,99,255,0.25) !important;
  color: #e8e0d5 !important;
}
.nt-calc-dark input:focus,
.nt-calc-dark select:focus { border-color: rgba(37,99,255,0.6) !important; }
.nt-calc-dark .cost-calc-result-header { color: #2563ff !important; }
.nt-calc-dark .cost-calc-total { border-top-color: rgba(37,99,255,0.2) !important; }
.nt-calc-dark .cost-calc-total strong { color: #2563ff !important; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.nt-testi-wrap {
  background: #060b18;
  padding: 100px 0;
}
.nt-testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.nt-testi-card {
  display: flex;
  gap: 24px;
  padding: 36px 32px;
  background: #111111;
  border: 1px solid rgba(37,99,255,0.12);
  transition: border-color 0.3s;
}
.nt-testi-card:hover { border-color: rgba(37,99,255,0.35); }
.nt-testi-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(37,99,255,0.15);
  border: 1px solid rgba(37,99,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #2563ff;
}
.nt-testi-body { flex: 1; }
.nt-testi-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px;
  line-height: 1;
  color: rgba(37,99,255,0.25);
  margin-bottom: -10px;
}
.nt-testi-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e8e0d5;
  margin-bottom: 2px;
}
.nt-testi-role {
  font-size: 11px;
  color: rgba(232,224,213,0.45);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.nt-testi-text {
  color: rgba(232,224,213,0.65);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 14px;
}
.nt-testi-stars { color: #2563ff; letter-spacing: 2px; font-size: 13px; }

/* ── BLOG ────────────────────────────────────────────────── */
.nt-blog-wrap {
  background: #111111;
  padding: 100px 0;
}
.nt-blog-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.nt-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.nt-blog-card { background: #060b18; overflow: hidden; }
.nt-blog-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #141d35;
}
.nt-blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.nt-blog-card:hover .nt-blog-img { transform: scale(1.06); }
.nt-blog-thumb-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(37,99,255,0.3);
  background: linear-gradient(135deg, #141d35 0%, #111 100%);
}
.nt-blog-thumb-link { display: block; }
.nt-blog-cat {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2563ff;
  padding: 18px 20px 8px;
}
.nt-blog-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  padding: 0 20px 12px;
  margin: 0;
}
.nt-blog-title a {
  color: #e8e0d5;
  text-decoration: none;
  transition: color 0.25s;
}
.nt-blog-title a:hover { color: #2563ff; }
.nt-blog-more {
  display: block;
  padding: 0 20px 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2563ff;
  text-decoration: none;
  transition: letter-spacing 0.25s;
}
.nt-blog-more:hover { letter-spacing: 0.28em; }

/* ── CTA ─────────────────────────────────────────────────── */
/* ── CTA SLIDE — full-viewport cinematic ────────────────── */
.nt-cta-wrap {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0;
  border-top: none;
}

/* Background layer: image + CSS gradient fallback */
.nt-cta-bg-layer {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg,   rgba(37,99,255,0.035) 0px, rgba(37,99,255,0.035) 1px, transparent 1px, transparent 90px),
    repeating-linear-gradient(90deg,  rgba(37,99,255,0.035) 0px, rgba(37,99,255,0.035) 1px, transparent 1px, transparent 90px),
    radial-gradient(ellipse 65% 75% at 50% 115%, rgba(37,99,255,0.55) 0%, rgba(37,99,255,0.15) 45%, transparent 70%),
    radial-gradient(ellipse 45% 55% at 5%  50%,  rgba(29,78,216,0.18)  0%, transparent 60%),
    radial-gradient(ellipse 40% 55% at 95% 25%,  rgba(96,165,250,0.12) 0%, transparent 60%),
    linear-gradient(160deg, #060b18 0%, #0a1020 45%, #060b18 100%);
}

.nt-cta-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.22;
  filter: saturate(0.6) brightness(0.65);
  transition: opacity 0.6s ease;
}

/* Multi-layer dark-blue overlay */
.nt-cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,    rgba(6,11,24,0.92) 0%,  rgba(6,11,24,0.25) 50%, rgba(6,11,24,0.65) 100%),
    linear-gradient(to right,  rgba(6,11,24,0.5)  0%,  transparent 35%, transparent 65%, rgba(6,11,24,0.5) 100%);
}

/* Decorative animated rings */
.nt-cta-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.nt-cta-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(37,99,255,0.18);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ntCtaRingPulse 7s ease-in-out infinite;
}
.nt-cta-ring-1 { width: 500px;  height: 500px; }
.nt-cta-ring-2 { width: 800px;  height: 800px; animation-delay: 2s;  border-color: rgba(37,99,255,0.1); }
.nt-cta-ring-3 { width: 1100px; height: 1100px; animation-delay: 4s; border-color: rgba(37,99,255,0.05); }

@keyframes ntCtaRingPulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1);    opacity: 1; }
  50%       { transform: translate(-50%,-50%) scale(1.04); opacity: 0.55; }
}

/* Horizontal light scan lines */
.nt-cta-line {
  position: absolute;
  left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(37,99,255,0.5) 30%, rgba(96,165,250,0.7) 50%, rgba(37,99,255,0.5) 70%, transparent 100%);
  animation: ntCtaLineFade 9s ease-in-out infinite;
}
.nt-cta-line-1 { top: 28%; animation-delay: 0s; }
.nt-cta-line-2 { top: 72%; animation-delay: 4.5s; }

@keyframes ntCtaLineFade {
  0%, 100% { opacity: 0; transform: scaleX(0.6); }
  25%, 75%  { opacity: 1; transform: scaleX(1); }
  50%       { opacity: 0.5; }
}

/* Corner accent dots */
.nt-cta-dot {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #2563ff;
  box-shadow: 0 0 12px 3px rgba(37,99,255,0.7);
  animation: ntNeonPulse 2.5s ease-in-out infinite alternate;
}
.nt-cta-dot-tl { top: 60px; left: 60px; }
.nt-cta-dot-tr { top: 60px; right: 60px; animation-delay: 1.2s; }
.nt-cta-dot-bl { bottom: 60px; left: 60px; animation-delay: 0.6s; }
.nt-cta-dot-br { bottom: 60px; right: 60px; animation-delay: 1.8s; }

/* Corner bracket lines */
.nt-cta-corner {
  position: absolute;
  width: 40px; height: 40px;
  border-color: rgba(37,99,255,0.4);
  border-style: solid;
}
.nt-cta-corner-tl { top: 48px; left: 48px; border-width: 2px 0 0 2px; }
.nt-cta-corner-tr { top: 48px; right: 48px; border-width: 2px 2px 0 0; }
.nt-cta-corner-bl { bottom: 48px; left: 48px; border-width: 0 0 2px 2px; }
.nt-cta-corner-br { bottom: 48px; right: 48px; border-width: 0 2px 2px 0; }

/* Content sits above all layers */
.nt-cta-wrap .nt-wrap-inner { position: relative; z-index: 5; }

.nt-cta-inner { text-align: center; max-width: 860px; margin: 0 auto; }
.nt-cta-h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.8rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 24px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.nt-cta-h2 span {
  color: #60a5fa;
  text-shadow: 0 0 30px rgba(37,99,255,0.6), 0 0 60px rgba(37,99,255,0.25);
  animation: ntNeonPulse 3s ease-in-out infinite alternate;
}
.nt-cta-p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 44px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.nt-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.nt-cta-contacts {
  display: flex;
  justify-content: center;
  gap: 60px;
  border-top: 1px solid rgba(37,99,255,0.2);
  padding-top: 40px;
}
.nt-cta-ci { text-align: center; }
.nt-cta-cl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(96,165,250,0.6);
  margin-bottom: 6px;
}
.nt-cta-cv {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

/* ══════════════════════════════════════════════════════════
   MOBILE STICKY CTA BAR — cố định đáy màn hình
══════════════════════════════════════════════════════════ */
.mob-cta-bar {
  display: none; /* ẩn trên desktop */
}

@media (max-width: 768px) {
  /* Đẩy nội dung lên để không bị bar che */
  body { padding-bottom: 76px; }

  .mob-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: 68px;
    background: #060b18;
    border-top: 1px solid rgba(37,99,255,0.3);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
  }

  .mob-cta-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    padding: 8px 4px;
    position: relative;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  .mob-cta-btn:active { background: rgba(255,255,255,0.05); }

  /* Dividers between buttons */
  .mob-cta-btn + .mob-cta-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: rgba(37,99,255,0.2);
  }

  .mob-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .mob-cta-zalo-icon svg { border-radius: 6px; }

  .mob-cta-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
  }
  .mob-cta-sub {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1;
    opacity: 0.65;
  }

  /* Gọi ngay — gold */
  .mob-cta-call { background: rgba(37,99,255,0.08); }
  .mob-cta-call .mob-cta-icon { color: #2563ff; }
  .mob-cta-call .mob-cta-label { color: #2563ff; }
  .mob-cta-call .mob-cta-sub { color: rgba(37,99,255,0.7); }
  .mob-cta-call:active { background: rgba(37,99,255,0.18); }

  /* Đặt lịch — trắng mờ */
  .mob-cta-book .mob-cta-icon { color: rgba(232,224,213,0.8); }
  .mob-cta-book .mob-cta-label { color: rgba(232,224,213,0.9); }
  .mob-cta-book .mob-cta-sub { color: rgba(232,224,213,0.5); }

  /* Zalo — blue */
  .mob-cta-zalo { background: rgba(0,104,255,0.08); }
  .mob-cta-zalo .mob-cta-label { color: #4d9fff; }
  .mob-cta-zalo .mob-cta-sub { color: rgba(77,159,255,0.7); }
  .mob-cta-zalo:active { background: rgba(0,104,255,0.18); }

  /* Pulse animation trên nút Gọi ngay để thu hút */
  .mob-cta-call .mob-cta-icon svg {
    animation: mobCallPulse 2.5s ease-in-out infinite;
  }
  @keyframes mobCallPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.15) rotate(-8deg); }
  }
}

/* ── ACF Image helpers ───────────────────────────────────── */
.nt-slide-img-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.nt-svc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
}
.nt-founder-arch-photo {
  overflow: hidden;
  background: none !important;
  border-color: rgba(37,99,255,0.4);
}
.nt-founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.nt-strength-blob-photo {
  border-color: rgba(37,99,255,0.5);
  overflow: hidden;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nt-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .nt-about-right { display: none; }
  .nt-stats-strip { grid-template-columns: 1fr 1fr; gap: 0; }
  .nt-stat-divider { display: none; }
  .nt-stat-item { border-bottom: 1px solid rgba(37,99,255,0.1); padding: 28px 0; }
  .nt-pf-featured-grid { grid-template-columns: 1fr; }
  .nt-pf-side { flex-direction: row; }
  .nt-pf-side-item { flex: 1; }
  .nt-services-3col { grid-template-columns: 1fr; }
  .nt-strengths-3col { grid-template-columns: 1fr; gap: 40px; }
  .nt-testi-grid { grid-template-columns: 1fr; }
  .nt-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .nt-cta-contacts { gap: 30px; flex-wrap: wrap; }
  /* CTA slide mobile */
  .nt-cta-ring-2 { width: 500px; height: 500px; }
  .nt-cta-ring-3 { display: none; }
  .nt-cta-dot, .nt-cta-corner { display: none; }
}
@media (max-width: 768px) {
  .nt-wrap-inner { padding: 0 20px; }
  .nt-hero-wrap { min-height: 100svh; }
  .nt-slide-content { left: 20px; right: 20px; bottom: 100px; }
  .nt-slide-h1 { font-size: clamp(1.8rem, 8vw, 3rem); }
  .nt-slider-ui { right: 20px; bottom: 20px; }
  .nt-about-wrap,
  .nt-services-wrap,
  .nt-portfolio-wrap,
  .nt-strengths-wrap,
  .nt-phongthuy-wrap,
  .nt-calc-wrap,
  .nt-testi-wrap,
  .nt-blog-wrap,
  .nt-cta-wrap { padding: 80px 0; min-height: 60vh; }
  .nt-portfolio-top,
  .nt-blog-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nt-blog-grid { grid-template-columns: 1fr; }
  .nt-pf-side { flex-direction: column; }
  .nt-services-3col { gap: 2px; }
  .nt-cta-h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .nt-cta-contacts { flex-direction: column; gap: 20px; align-items: center; }
  .nt-slide-btns { flex-direction: column; gap: 10px; }
}

/* ── Custom Logo (Customizer upload) ─────────────────────────────────────── */
.logo-custom-img { display: flex; align-items: center; }
.logo-custom-img img { height: 44px; width: auto; max-width: 180px; object-fit: contain; filter: brightness(0) invert(1); }
@media (max-width: 768px) { .logo-custom-img img { height: 34px; } }

/* ═══════════════════════════════════════════════════════════════
   NEON & ANIMATION SYSTEM — Nhật Trình Blue Theme
   Canvas particles · Neon text · Shimmer buttons · Stagger cards
════════════════════════════════════════════════════════════════ */

/* ── Keyframes ───────────────────────────────────────────────── */

@keyframes ntNeonPulse {
  0%   { text-shadow: 0 0 5px #60a5fa, 0 0 12px #2563ff, 0 0 22px #2563ff; }
  100% { text-shadow: 0 0 8px #93c5fd, 0 0 24px #2563ff, 0 0 50px #1d4ed8, 0 0 80px rgba(37,99,255,0.4); }
}

@keyframes ntFlicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    text-shadow: 0 0 5px #60a5fa, 0 0 16px #2563ff, 0 0 35px #2563ff;
    opacity: 1;
  }
  19%, 24%, 55% { text-shadow: none; opacity: 0.75; }
}

@keyframes ntBorderGlow {
  0%, 100% { box-shadow: 0 0 6px rgba(37,99,255,0.2), 0 4px 24px rgba(0,0,0,0.5); border-color: rgba(37,99,255,0.25); }
  50%       { box-shadow: 0 0 22px rgba(37,99,255,0.55), 0 0 44px rgba(37,99,255,0.18), 0 4px 24px rgba(0,0,0,0.5); border-color: rgba(37,99,255,0.6); }
}

@keyframes ntFloatY {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

@keyframes ntShimmerBtn {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes ntScanLine {
  0%   { left: -80%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 160%; opacity: 0; }
}

@keyframes ntCounterFlash {
  0%   { text-shadow: none; color: inherit; }
  40%  { text-shadow: 0 0 18px #60a5fa, 0 0 36px #2563ff; color: #93c5fd; }
  100% { text-shadow: none; color: inherit; }
}

@keyframes ntUnderlineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes ntParticleRise {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 0.7; }
  100% { transform: translateY(-100vh) scale(0.4); opacity: 0; }
}

@keyframes ntTypewriterBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes ntGlowPop {
  0%   { box-shadow: var(--shadow-gold); }
  50%  { box-shadow: 0 0 40px rgba(37,99,255,0.8), 0 0 80px rgba(37,99,255,0.4); }
  100% { box-shadow: var(--shadow-gold); }
}

/* ── Neon text classes ──────────────────────────────────────── */
.nt-neon {
  color: #60a5fa;
  animation: ntNeonPulse 2.8s ease-in-out infinite alternate;
}

.nt-neon-flicker {
  color: #60a5fa;
  animation: ntFlicker 5s linear infinite;
}

/* Neon heading gold override */
.nt-neon-heading {
  background: linear-gradient(90deg, #60a5fa 0%, #93c5fd 40%, #2563ff 70%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(37,99,255,0.6));
}

/* ── Hero particle canvas ────────────────────────────────────── */
#nt-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.45;
}

/* Bump slide content & UI above canvas */
.nt-slide-content { z-index: 5 !important; }
.nt-slider-ui     { z-index: 6 !important; }

/* ── Section heading animated underline ─────────────────────── */
.nt-sec-h2-gold {
  position: relative;
  display: inline-block;
}

.nt-sec-h2-gold::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #2563ff, #60a5fa 60%, transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nt-sec-h2-gold.nt-underline-active::after {
  transform: scaleX(1);
}

/* ── Service card border glow (staggered) ───────────────────── */
.nt-svc-card {
  animation: ntBorderGlow 4.5s ease-in-out infinite;
}
.nt-svc-card:nth-child(2) { animation-delay: 1.5s; }
.nt-svc-card:nth-child(3) { animation-delay: 3s; }
.nt-svc-card:nth-child(4) { animation-delay: 4.5s; }

/* ── Shimmer button ──────────────────────────────────────────── */
.nt-sbtn-gold {
  background: linear-gradient(
    100deg,
    #1d4ed8 0%, #2563ff 25%, #60a5fa 45%, #2563ff 65%, #1d4ed8 100%
  ) !important;
  background-size: 300% 100% !important;
  animation: ntShimmerBtn 6s linear infinite;
  position: relative;
  overflow: hidden;
}

/* scan line overlay */
.nt-sbtn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: ntScanLine 6s linear 1s infinite;
  pointer-events: none;
}

/* ── Float decoration elements ──────────────────────────────── */
.nt-float       { animation: ntFloatY 5s ease-in-out infinite; }
.nt-float-slow  { animation: ntFloatY 7s ease-in-out infinite; }
.nt-float-d1    { animation-delay: 0.8s; }
.nt-float-d2    { animation-delay: 1.6s; }
.nt-float-d3    { animation-delay: 2.4s; }

/* ── Counter glow flash on complete ─────────────────────────── */
.counter.nt-counted { animation: ntCounterFlash 0.9s ease-out forwards; }

/* ── Typewriter cursor ───────────────────────────────────────── */
.nt-tw-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #2563ff;
  margin-left: 3px;
  vertical-align: text-bottom;
  animation: ntTypewriterBlink 0.8s step-end infinite;
}

/* ── CTA button glow pop ─────────────────────────────────────── */
.nt-cta-wrap .nt-sbtn-gold {
  animation: ntShimmerBtn 6s linear infinite, ntGlowPop 3s ease-in-out 4s infinite;
}

/* ── Stagger animation initial state ────────────────────────── */
.nt-stagger-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nt-stagger-item.nt-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile bottom bar pulse ─────────────────────────────────── */
.mob-cta-zalo .mob-cta-icon svg {
  animation: ntNeonPulse 2s ease-in-out infinite alternate;
  color: #60a5fa;
}

/* ════════════════════════════════════════════════════════════
   MOBILE OPTIMIZATIONS — tối ưu hiệu suất & UX trên phone
═════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
  /* Đơn giản hóa glow để tiết kiệm pin */
  .nt-neon         { animation-duration: 5s; }
  .nt-neon-flicker { animation: ntNeonPulse 5s ease-in-out infinite alternate; }

  /* Tắt border glow trên card (tiết kiệm GPU) */
  .nt-svc-card { animation: none; }

  /* Tắt scan line trên button (quá nhỏ để thấy) */
  .nt-sbtn-gold::before { display: none; }

  /* Ẩn particle canvas trên mobile cũ */
  #nt-hero-canvas { opacity: 0.25; }

  /* Min touch target 44px theo WCAG 2.5.5 */
  .nt-sbtn-gold,
  .nt-sbtn-outline,
  .nt-btn-border,
  .btn,
  .btn-gold,
  .mob-cta-btn {
    min-height: 44px;
    padding-top: max(12px, env(safe-area-inset-bottom));
  }

  /* Hero text fit màn nhỏ */
  .nt-slide-h1 { font-size: clamp(1.7rem, 7.5vw, 2.8rem); letter-spacing: 0.08em; }
  .nt-slide-p  { font-size: 0.88rem; line-height: 1.6; }
  .nt-slide-content { left: 20px; right: 20px; bottom: 100px; }

  /* Button stack dọc trên mobile nhỏ */
  .nt-slide-btns { flex-direction: column; gap: 10px; align-items: flex-start; }

  /* Hero float elements ẩn để không bị crop */
  .nt-float, .nt-float-slow { animation: none; }

  /* Không có tilt 3D trên touch */
  .service-card { transform: none !important; }

  /* Cải thiện padding section trên mobile */
  .nt-about-wrap, .nt-svc-wrap, .nt-portfolio-wrap,
  .nt-testi-wrap, .nt-blog-wrap, .nt-cta-wrap {
    padding: 60px 0;
  }
}

/* Extra small: dưới 400px */
@media (max-width: 400px) {
  .nt-slide-h1 { font-size: clamp(1.5rem, 8vw, 2.2rem); }
  .nt-sbtn-gold, .nt-sbtn-outline { width: 100%; justify-content: center; }
  #nt-hero-canvas { display: none; }
}

/* ── Giảm motion cho người dùng cần accessibility ──────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .nt-sec-h2-gold::after { transform: scaleX(1); }
  .nt-stagger-item       { opacity: 1; transform: none; }
  #nt-hero-canvas        { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   VIDEO SECTION — 3 YouTube công trình nổi bật
════════════════════════════════════════════════════════════════ */
.nt-video-wrap {
  padding: 120px 0;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

/* subtle grid texture */
.nt-video-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Grid 3 cột */
.nt-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

/* ── Card ── */
.nt-video-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(37,99,255,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.nt-video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(37,99,255,0.18), 0 0 0 1px rgba(37,99,255,0.35);
  border-color: rgba(37,99,255,0.4);
}

/* ── Thumbnail ── */
.nt-video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: none;
  background: #0a0f1e;
  cursor: pointer;
  overflow: hidden;
}

.nt-video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.nt-video-card:hover .nt-video-thumb-img {
  transform: scale(1.06);
}

.nt-video-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6,11,24,0.1) 0%,
    rgba(6,11,24,0.55) 100%
  );
  transition: background 0.3s ease;
}

.nt-video-card:hover .nt-video-thumb-overlay {
  background: linear-gradient(
    180deg,
    rgba(37,99,255,0.12) 0%,
    rgba(6,11,24,0.65) 100%
  );
}

/* ── Play button ── */
.nt-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 72px;
  height: 72px;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), filter 0.3s ease;
  filter: drop-shadow(0 4px 20px rgba(37,99,255,0.6));
}

.nt-video-card:hover .nt-video-play {
  transform: translate(-50%, -50%) scale(1.18);
  filter: drop-shadow(0 6px 28px rgba(37,99,255,0.9));
}

/* neon ring pulse on hover */
.nt-video-play svg circle {
  stroke: rgba(255,255,255,0.9);
  transition: stroke 0.3s;
}

.nt-video-card:hover .nt-video-play svg circle {
  stroke: #60a5fa;
  animation: ntVideoRingPulse 1.2s ease-in-out infinite;
}

@keyframes ntVideoRingPulse {
  0%, 100% { stroke-width: 2; opacity: 1; }
  50%       { stroke-width: 3; opacity: 0.7; }
}

/* ── Badge ── */
.nt-video-badge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(37,99,255,0.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}

/* ── Info block ── */
.nt-video-info {
  padding: 20px 22px 22px;
}

.nt-video-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 6px;
  line-height: 1.4;
  transition: color 0.3s;
}

.nt-video-card:hover .nt-video-title {
  color: #60a5fa;
}

.nt-video-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: rgba(226,232,240,0.45);
  letter-spacing: 0.04em;
}

/* ── CTA dưới video ── */
.nt-video-cta {
  margin-top: 56px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.nt-video-cta p {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(226,232,240,0.6);
  margin-bottom: 4px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nt-video-grid { gap: 20px; }
}

@media (max-width: 768px) {
  .nt-video-grid { grid-template-columns: 1fr; gap: 24px; }
  .nt-video-wrap { padding: 80px 0; }
  .nt-video-play { width: 60px; height: 60px; }
  .nt-video-cta { flex-direction: column; }
}

@media (max-width: 500px) {
  .nt-video-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   SEO CONTENT BLOCK — "Tại Sao Chọn Nhật Trình?"
   Local E-E-A-T signals · Thanh Hóa keyword content
════════════════════════════════════════════════════════════════ */
.nt-seo-content-block {
  margin-top: 80px;
  padding: 56px 0 0;
  border-top: 1px solid rgba(37,99,255,0.12);
}

.nt-seo-cb-inner {}

.nt-seo-cb-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--color-ink);
  text-align: center;
  margin-bottom: 44px;
  letter-spacing: 0.02em;
}

.nt-seo-cb-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.nt-seo-cb-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(37,99,255,0.1);
  border-radius: 12px;
  padding: 32px 24px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nt-seo-cb-item:hover {
  border-color: rgba(37,99,255,0.35);
  background: rgba(37,99,255,0.05);
}

.nt-seo-cb-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 14px;
}

.nt-seo-cb-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.nt-seo-cb-item p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(226,232,240,0.75);
  margin: 0;
}

@media (max-width: 900px) {
  .nt-seo-cb-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 600px) {
  .nt-seo-cb-cols { grid-template-columns: 1fr; }
  .nt-seo-content-block { margin-top: 48px; padding-top: 40px; }
  .nt-seo-cb-h2 { font-size: 1.15rem; margin-bottom: 28px; }
}

