/* =====================================================================
   TOÀN TÂM PHÁT — Website xây dựng
   Hệ thống thiết kế: Navy #1B2A4A + Vàng đồng #C9A96A
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Be+Vietnam+Pro:wght@300;400;500;600;700&display=swap');

/* ---------- Biến màu & thiết kế ---------- */
:root {
  --navy-900: #14213A;
  --navy: #1B2A4A;
  --navy-700: #24365C;
  --navy-600: #2E4470;

  --gold: #C9A96A;
  --gold-light: #DcC08A;
  --gold-dark: #A8873F;

  --cream: #F5F1E8;
  --paper: #FAF8F3;
  --white: #FFFFFF;

  --ink: #1A1F2B;
  --body: #3F4757;
  --muted: #77808F;
  --line: rgba(27, 42, 74, 0.10);
  --line-gold: rgba(201, 169, 106, 0.35);

  --shadow-sm: 0 2px 10px rgba(20, 33, 58, 0.06);
  --shadow: 0 18px 45px rgba(20, 33, 58, 0.12);
  --shadow-lg: 0 30px 70px rgba(20, 33, 58, 0.22);

  --font-serif: 'Playfair Display', 'Times New Roman', serif;
  --font-sans: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  font-size: 16.5px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); line-height: 1.18; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

::selection { background: var(--gold); color: var(--navy); }

/* ---------- Tiện ích ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--tight { padding: 72px 0; }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy); color: var(--cream); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--gold); }
.bg-navy .eyebrow { color: var(--gold-light); }
.text-center .eyebrow::before { display: none; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.text-center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.bg-navy .section-head p { color: rgba(245, 241, 232, 0.72); }

.lead { font-size: 1.12rem; color: var(--body); }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
  border-radius: var(--radius); transition: all 0.35s var(--ease);
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 12px 30px rgba(201,169,106,0.35); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(201,169,106,0.45); }
.btn--outline { border-color: rgba(245,241,232,0.5); color: var(--cream); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(201,169,106,0.08); }
.btn--dark { background: var(--navy); color: var(--cream); }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-3px); }
.btn--ghost { border-color: var(--line); color: var(--navy); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-dark); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  color: var(--navy); font-size: 0.95rem; transition: gap 0.3s var(--ease), color 0.3s;
}
.link-arrow svg { width: 18px; height: 18px; color: var(--gold-dark); transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--gold-dark); }
.link-arrow:hover svg { transform: translateX(5px); }

/* =====================================================================
   HEADER
   ===================================================================== */
.topbar {
  background: var(--navy-900); color: rgba(245,241,232,0.85);
  font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 42px; gap: 20px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color 0.25s; }
.topbar a:hover { color: var(--gold-light); }
.topbar__left { display: flex; gap: 26px; }
.topbar__left svg, .topbar__social svg { width: 15px; height: 15px; color: var(--gold); }
.topbar__social { display: flex; gap: 16px; align-items: center; }
.topbar__social span { opacity: 0.6; }

.header {
  position: sticky; top: 0; z-index: 100; background: var(--white);
  box-shadow: 0 1px 0 var(--line); transition: box-shadow 0.3s, background 0.3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; }

.logo { display: flex; align-items: center; gap: 13px; }
.logo__mark { width: 44px; height: 44px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-serif); font-weight: 800; font-size: 1.22rem; color: var(--navy); letter-spacing: 0.01em; }
.logo__name b { color: var(--gold-dark); font-weight: 800; }
.logo__sub { font-size: 0.64rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.logo__img { height: 50px; width: auto; display: block; }
.logo__img--footer { height: 54px; background: #fff; padding: 11px 16px; border-radius: 10px; box-sizing: content-box; box-shadow: 0 6px 20px rgba(0,0,0,0.18); }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu a {
  position: relative; padding: 10px 16px; font-weight: 500; font-size: 0.96rem;
  color: var(--navy); transition: color 0.25s; white-space: nowrap;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__menu a:hover { color: var(--gold-dark); }
.nav__menu a:hover::after, .nav__menu a.active::after { transform: scaleX(1); }
.nav__menu a.active { color: var(--gold-dark); }

.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: flex; align-items: center; gap: 11px; }
.nav__phone-icon {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(201,169,106,0.14); color: var(--gold-dark); flex-shrink: 0;
}
.nav__phone-icon svg { width: 19px; height: 19px; }
.nav__phone-text small { display: block; font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.nav__phone-text strong { font-size: 1.05rem; color: var(--navy); font-weight: 700; white-space: nowrap; }

.nav__toggle { display: none; width: 46px; height: 46px; flex-direction: column; justify-content: center; gap: 5px; padding: 0 11px; }
.nav__toggle span { height: 2px; background: var(--navy); border-radius: 2px; transition: 0.3s var(--ease); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; background: var(--navy-900); color: var(--cream); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--navy-900) 22%, rgba(20,33,58,0.72) 55%, rgba(20,33,58,0.45) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 130px 0 160px; max-width: 780px; }
.hero h1 { color: var(--white); margin: 22px 0 24px; letter-spacing: -0.01em; }
.hero h1 span { color: var(--gold-light); }
.hero p { font-size: 1.18rem; color: rgba(245,241,232,0.82); max-width: 600px; margin-bottom: 40px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(245,241,232,0.6); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* Thanh chỉ số nổi dưới hero */
.stats-bar { position: relative; z-index: 5; margin-top: -78px; }
.stats-bar__grid {
  background: var(--white); border-radius: 6px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.stat { padding: 38px 30px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat__num sup { color: var(--gold-dark); font-size: 1.4rem; }
.stat__label { margin-top: 10px; font-size: 0.9rem; color: var(--muted); font-weight: 500; }

/* =====================================================================
   GIỚI THIỆU (About block)
   ===================================================================== */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 68px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: 6px; box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.about__media .img-2 {
  position: absolute; right: -34px; bottom: -40px; width: 55%; border: 8px solid var(--white);
  border-radius: 6px; box-shadow: var(--shadow-lg);
}
.about__badge {
  position: absolute; top: 26px; left: -26px; background: var(--gold); color: var(--navy);
  padding: 20px 26px; border-radius: 6px; box-shadow: var(--shadow); text-align: center;
}
.about__badge b { font-family: var(--font-serif); font-size: 2.1rem; display: block; line-height: 1; }
.about__badge span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; }
.about h2 { margin-bottom: 22px; }
.about p { margin-bottom: 18px; }
.about__list { margin: 26px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.about__list li { display: flex; gap: 11px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.about__list svg { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; margin-top: 3px; }
.about__sign { display: flex; align-items: center; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line); }
.about__sign .name { font-family: var(--font-serif); font-size: 1.15rem; color: var(--navy); font-weight: 700; }
.about__sign .role { font-size: 0.85rem; color: var(--muted); }

/* =====================================================================
   DỊCH VỤ (Services)
   ===================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: 6px; padding: 40px 34px; transition: all 0.4s var(--ease); overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 66px; height: 66px; border-radius: 6px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(201,169,106,0.16), rgba(201,169,106,0.05));
  color: var(--gold-dark); margin-bottom: 24px; transition: all 0.4s var(--ease);
}
.service-card:hover .service-card__icon { background: var(--navy); color: var(--gold-light); }
.service-card__icon svg { width: 32px; height: 32px; }
.service-card__num { position: absolute; top: 30px; right: 30px; font-family: var(--font-serif); font-size: 2.6rem; font-weight: 700; color: rgba(27,42,74,0.06); }
.service-card h3 { margin-bottom: 13px; }
.service-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 20px; }

/* Dịch vụ trên nền navy (trang chủ có thể) */
.bg-navy .service-card { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); }
.bg-navy .service-card h3 { color: var(--cream); }
.bg-navy .service-card p { color: rgba(245,241,232,0.65); }

/* =====================================================================
   DỰ ÁN (Projects)
   ===================================================================== */
.filter-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 46px; }
.filter-tabs button {
  padding: 11px 24px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; color: var(--muted);
  border: 1.5px solid var(--line); transition: all 0.3s var(--ease); background: var(--white);
}
.filter-tabs button:hover { color: var(--navy); border-color: var(--gold); }
.filter-tabs button.active { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card {
  position: relative; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-sm);
  aspect-ratio: 3 / 4; cursor: pointer; transition: opacity 0.4s, transform 0.4s;
}
.project-card.hide { display: none; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.project-card:hover img { transform: scale(1.08); }
.project-card__overlay {
  position: absolute; inset: 0; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(20,33,58,0.92) 8%, rgba(20,33,58,0.35) 45%, transparent 75%);
  color: var(--cream); opacity: 0; transform: translateY(14px); transition: all 0.45s var(--ease);
}
.project-card:hover .project-card__overlay { opacity: 1; transform: translateY(0); }
.project-card__cat { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 8px; }
.project-card__overlay h3 { color: var(--white); font-size: 1.3rem; }
.project-card__overlay .meta { font-size: 0.88rem; color: rgba(245,241,232,0.75); margin-top: 6px; }
.project-card__plus {
  position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--navy); display: grid; place-items: center;
  opacity: 0; transform: scale(0.6) rotate(-45deg); transition: all 0.45s var(--ease);
}
.project-card:hover .project-card__plus { opacity: 1; transform: scale(1) rotate(0); }
.project-card__plus svg { width: 22px; height: 22px; }

/* =====================================================================
   QUY TRÌNH (Process)
   ===================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.process-step { position: relative; padding: 40px 26px; text-align: center; background: var(--white); border-radius: 6px; border: 1px solid var(--line); transition: all 0.4s var(--ease); }
.process-step:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.process-step__num {
  width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem;
  background: var(--navy); color: var(--gold-light); position: relative; transition: all 0.4s var(--ease);
}
.process-step:hover .process-step__num { background: var(--gold); color: var(--navy); }
.process-step h3 { font-size: 1.18rem; margin-bottom: 11px; }
.process-step p { font-size: 0.92rem; color: var(--muted); }
.process-grid.on-navy .process-step { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.09); }
.process-grid.on-navy .process-step h3 { color: var(--cream); }
.process-grid.on-navy .process-step p { color: rgba(245,241,232,0.62); }

/* =====================================================================
   TẠI SAO CHỌN (Why us) — nền navy
   ===================================================================== */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why__features { display: grid; gap: 26px; }
.feature { display: flex; gap: 20px; }
.feature__icon { width: 56px; height: 56px; border-radius: 6px; display: grid; place-items: center; background: rgba(201,169,106,0.15); color: var(--gold-light); flex-shrink: 0; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { color: var(--cream); font-size: 1.2rem; margin-bottom: 7px; }
.feature p { color: rgba(245,241,232,0.65); font-size: 0.95rem; }
.why__media { position: relative; }
.why__media img { border-radius: 6px; width: 100%; box-shadow: var(--shadow-lg); }

/* =====================================================================
   ĐÁNH GIÁ (Testimonials)
   ===================================================================== */
.testi { position: relative; max-width: 860px; margin: 0 auto; text-align: center; }
.testi__track { position: relative; min-height: 240px; }
.testi__item {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease);
}
.testi__item.active { opacity: 1; visibility: visible; position: relative; }
.testi__quote-mark { font-family: var(--font-serif); font-size: 5rem; line-height: 0.6; color: var(--gold); }
.testi__text { font-family: var(--font-serif); font-size: 1.5rem; font-style: italic; color: var(--navy); line-height: 1.5; margin: 20px 0 28px; }
.testi__author { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.testi__author .avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); margin-bottom: 8px; }
.testi__author .name { font-weight: 700; color: var(--navy); font-family: var(--font-serif); font-size: 1.1rem; }
.testi__author .role { font-size: 0.85rem; color: var(--muted); }
.testi__dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.testi__dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: all 0.3s; }
.testi__dots button.active { background: var(--gold); width: 28px; border-radius: 5px; }
.stars { color: var(--gold); display: flex; gap: 3px; justify-content: center; margin-bottom: 4px; }
.stars svg { width: 18px; height: 18px; }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band { position: relative; background: var(--navy); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1600&q=80&auto=format&fit=crop') center/cover; opacity: 0.14; }
.cta-band__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 68px 0; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: rgba(245,241,232,0.75); font-size: 1.05rem; }
.cta-band__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* =====================================================================
   CHỨNG CHỈ NĂNG LỰC
   ===================================================================== */
.cert { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.cert__frame { display: block; position: relative; background: #fff; padding: 14px; border-radius: 8px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); overflow: hidden; }
.cert__frame img { width: 100%; border-radius: 3px; display: block; transition: transform 0.6s var(--ease); }
.cert__frame:hover img { transform: scale(1.03); }
.cert__zoom { position: absolute; inset: 14px; display: grid; place-items: center; opacity: 0; background: rgba(20,33,58,0); transition: all 0.35s var(--ease); }
.cert__frame:hover .cert__zoom { opacity: 1; background: rgba(20,33,58,0.28); }
.cert__zoom span { width: 60px; height: 60px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); }
.cert__zoom svg { width: 26px; height: 26px; }
.cert__content h2 { margin-bottom: 18px; }
.cert__list { display: grid; gap: 12px; margin: 24px 0 28px; }
.cert__list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.cert__list li > span { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 500; white-space: nowrap; min-width: 0; }
.cert__list svg { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; }
.cert__list b { flex-shrink: 0; font-family: var(--font-sans); color: var(--gold-dark); background: rgba(201,169,106,0.15); padding: 5px 14px; border-radius: 50px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.cert__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.cert__meta > div { flex: 1 1 150px; padding: 15px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.cert__meta span { display: block; font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 5px; }
.cert__meta strong { font-family: var(--font-sans); font-size: 1rem; color: var(--navy); font-weight: 700; letter-spacing: 0.01em; }

/* Lightbox phóng to ảnh */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,21,35,0.93); display: none; align-items: center; justify-content: center; padding: 30px; opacity: 0; transition: opacity 0.3s; }
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: min(94vw, 880px); max-height: 92vh; border-radius: 4px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 20px; right: 26px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.9rem; line-height: 1; display: grid; place-items: center; transition: background 0.25s; }
.lightbox__close:hover { background: var(--gold); color: var(--navy); }

/* =====================================================================
   PAGE HEADER (trang con)
   ===================================================================== */
.page-hero { position: relative; background: var(--navy-900); color: var(--cream); padding: 80px 0 74px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 30%, rgba(20,33,58,0.6)); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 0.9rem; color: rgba(245,241,232,0.7); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold-light); }
.breadcrumb .sep { opacity: 0.4; }

/* =====================================================================
   LIÊN HỆ (Contact)
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info > p { color: var(--muted); margin-bottom: 34px; }
.contact-cards { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 6px; transition: all 0.35s var(--ease); background: var(--white); }
.contact-item:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateX(5px); }
.contact-item__icon { width: 52px; height: 52px; border-radius: 6px; display: grid; place-items: center; background: rgba(201,169,106,0.14); color: var(--gold-dark); flex-shrink: 0; }
.contact-item__icon svg { width: 24px; height: 24px; }
.contact-item h4 { font-family: var(--font-sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 5px; }
.contact-item p, .contact-item a { color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.contact-item a:hover { color: var(--gold-dark); }

.contact-form { background: var(--white); border-radius: 8px; padding: 44px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.contact-form h3 { margin-bottom: 8px; }
.contact-form > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-group label .req { color: #c0392b; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 0.98rem; color: var(--ink); background: var(--paper); transition: all 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(201,169,106,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success {
  display: none; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 6px;
  background: rgba(46,160,110,0.12); color: #1f7a52; font-weight: 600; margin-bottom: 22px; font-size: 0.95rem;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }

.map-wrap { margin-top: 0; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(0.2); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--navy-900); color: rgba(245,241,232,0.7); padding-top: 78px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 56px; }
.footer .logo__name { color: var(--white); }
.footer .logo__sub { color: rgba(245,241,232,0.5); }
.footer__about p { margin: 22px 0; font-size: 0.94rem; line-height: 1.8; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.06); color: var(--cream); transition: all 0.3s var(--ease); }
.footer__social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer h4 { font-family: var(--font-sans); color: var(--white); font-size: 1.02rem; font-weight: 600; margin-bottom: 24px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold); }
.footer__links li { margin-bottom: 12px; }
.footer__links a { font-size: 0.94rem; transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px; }
.footer__links a:hover { color: var(--gold-light); padding-left: 5px; }
.footer__contact li { display: flex; gap: 13px; margin-bottom: 18px; font-size: 0.94rem; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer__contact a:hover { color: var(--gold-light); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.87rem; }
.footer__bottom a:hover { color: var(--gold-light); }

/* =====================================================================
   NÚT NỔI (Floating contact)
   ===================================================================== */
.floating { position: fixed; right: 20px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; gap: 14px; }
.floating a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--white); box-shadow: var(--shadow); position: relative; transition: transform 0.3s var(--ease); }
.floating a:hover { transform: scale(1.1); }
.floating a svg { width: 27px; height: 27px; }
.floating .fab-phone { background: #2ea06e; }
.floating .fab-zalo { background: #0068ff; font-weight: 800; font-size: 0.7rem; color: #fff; letter-spacing: 0.02em; }
.floating a::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; opacity: 0.5; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0%{transform:scale(1);opacity:0.5} 100%{transform:scale(1.6);opacity:0} }

/* =====================================================================
   HIỆU ỨNG XUẤT HIỆN
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1120px) {
  .nav__phone { display: none; }
  .nav__menu a { padding: 10px 12px; font-size: 0.92rem; }
}

@media (max-width: 1024px) {
  .section { padding: 78px 0; }
  .about { grid-template-columns: 1fr; gap: 80px; }
  .about__media { max-width: 560px; }
  .why { grid-template-columns: 1fr; gap: 44px; }
  .cert { grid-template-columns: 1fr; gap: 40px; }
  .cert__frame { width: 100%; max-width: 440px; margin: 0 auto; }
  .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .topbar__left { gap: 18px; }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .nav__phone { display: none; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; top: 82px; left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 28px;
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform 0.4s var(--ease);
    max-height: calc(100vh - 82px); overflow-y: auto;
  }
  .nav__menu.open { transform: translateY(0); }
  .nav__menu a { padding: 15px 8px; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav__menu a::after { display: none; }
  .nav__actions .btn { display: none; }
  .stats-bar__grid { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 62px 0; }
  .hero__inner { padding: 92px 0 120px; }
  .services-grid, .projects-grid, .process-grid { grid-template-columns: 1fr; }
  .filter-tabs { gap: 8px; }
  .filter-tabs button { padding: 9px 16px; font-size: 0.82rem; }
  .about__list { grid-template-columns: 1fr; }
  .about__media .img-2 { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-band__inner { flex-direction: column; text-align: center; align-items: center; }
  .contact-form { padding: 30px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .testi__text { font-size: 1.2rem; }
  .stats-bar { margin-top: -40px; }
  .floating a { width: 50px; height: 50px; }
  .logo__img { height: 42px; }
  .logo__img--footer { height: 46px; padding: 9px 13px; }
  .cert__list li { flex-wrap: wrap; gap: 8px 12px; }
  .cert__list li > span { white-space: normal; }
}
