/* ============================================================================
 * THEME: AURORA — navy / teal / vàng đồng. Hero CĂN GIỮA trên nền tối + ảnh
 * banner rộng bên dưới. Thứ tự: Hero → Stats → SERVICES → About → Reviews →
 * Contact (Services đứng TRƯỚC About, khác Classic).
 * Dùng chung script.js + assets/ với mọi theme (giữ nguyên hook data-*).
 * ========================================================================== */

:root {
  --red:        #14b8a6;          /* script.js ghi đè biến này khi brand.primary có */
  --red-dark:   #0d9488;
  --gold:       #f2b544;
  --hot-grad:   linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);

  --navy:       #0b1220;
  --navy-2:     #111c31;
  --navy-3:     #16233c;
  --ink:        #1a2438;
  --muted:      #6b7789;
  --muted-d:    #9fb0c6;          /* muted trên nền tối */
  --line:       #e6e9ef;
  --line-d:     rgba(255,255,255,.12);
  --white:      #ffffff;
  --soft:       #f5f7fb;

  --radius:     14px;
  --radius-lg:  22px;
  --radius-pill:999px;
  --shadow:     0 30px 70px rgba(6, 14, 30, .18);
  --shadow-sm:  0 12px 30px rgba(6, 14, 30, .10);
  --maxw:       1180px;
  --gap:        clamp(28px, 4.5vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: min(var(--maxw), 92%); margin-inline: auto; }

h1, h2, h3, .logo { font-family: "Sora", "Inter", sans-serif; }

.label {
  display: inline-block;
  color: var(--red); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  font-size: .74rem; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -.02em;
}
.lead { color: var(--muted); font-size: 1.05rem; margin-top: 16px; max-width: 56ch; }
.section-head.center { text-align: center; max-width: 700px; margin: 0 auto 54px; }

/* nút */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .95rem; cursor: pointer; border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn-solid { background: var(--hot-grad); color: #052723; box-shadow: 0 14px 30px rgba(20,184,166,.30); font-weight: 700; }
.btn-ghost { background: transparent; color: #dbe4f0; border: 1.5px solid var(--line-d); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.about .btn-ghost, .contact .btn-ghost { color: var(--ink); border-color: var(--line); }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,18,32,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-d);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; }
.logo { font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; color: #fff; }
.main-nav { display: flex; gap: 32px; }
.main-nav a { font-weight: 500; font-size: .92rem; color: #a8b6c9; transition: color .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.header-right { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2.5px; border-radius: 3px; background: #fff; transition: .3s; }
.nav-toggle.open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

/* ============================ HERO (căn giữa) ============================ */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 50% -10%, #1b2c4d 0%, var(--navy-2) 45%, var(--navy) 100%);
  color: #fff;
  padding: clamp(56px, 7vw, 96px) 0 clamp(52px, 6vw, 84px);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .28; pointer-events: none; }
.glow-a { width: 520px; height: 520px; background: #14b8a6; top: -180px; left: -120px; }
.glow-b { width: 460px; height: 460px; background: #f2b544; bottom: -200px; right: -100px; opacity: .18; }

.hero-top { position: relative; z-index: 2; text-align: center; max-width: 820px; }
.eyebrow {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-d);
  color: var(--gold); font-weight: 600; font-size: .76rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 18px; border-radius: var(--radius-pill); margin-bottom: 22px;
}
.hero-title { font-size: clamp(2.1rem, 4.8vw, 3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.hero-sub { color: var(--muted-d); font-size: 1.1rem; margin: 18px auto 0; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; justify-content: center; }

/* ảnh banner rộng dưới chữ */
.hero-visual { position: relative; z-index: 2; margin-top: clamp(38px, 5vw, 60px); }
.frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line-d);
  aspect-ratio: 16 / 6.4;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.rating-badge {
  position: absolute; right: 26px; bottom: -24px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink);
  padding: 13px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.rb-star { width: 26px; height: 26px; color: var(--gold); display: inline-flex; }
.rb-star svg { width: 100%; height: 100%; }
.rating-badge strong { display: block; font-size: 1.15rem; font-weight: 700; line-height: 1.1; }
.rating-badge small { color: var(--muted); font-size: .76rem; }

/* BUSINESS — dải 2x2 nền sáng nổi trên nền tối */
.biz-card {
  position: relative; z-index: 2;
  margin-top: clamp(48px, 5vw, 62px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px 34px;
  background: #fff; color: var(--ink);
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow);
}
.biz-card p { font-size: 1.22rem; font-weight: 700; margin: 0; min-width: 0; }
.biz-card strong,
.footer-info strong {
  display: block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2px;
}
.biz-val { display: block; }
/* TÊN CÔNG TY: cấm xuống dòng (kể cả đuôi ", LLC") — script.js co font nếu vẫn tràn */
.biz-val[data-biz-name],
.copyright [data-biz-name] { white-space: nowrap; }
.biz-val[data-biz-name] { overflow: hidden; }
.biz-card a { color: var(--ink); }
.biz-card a:hover { color: var(--red-dark); }

/* ============================ STATS ============================ */
.stats { background: var(--soft); border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 0; }
.stat { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 10px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
             border-radius: 12px; background: #fff; color: var(--red-dark); box-shadow: var(--shadow-sm); }
.stat-icon svg { width: 21px; height: 21px; }
.stat-value { display: block; font-family: "Sora", sans-serif; font-size: 1.32rem; font-weight: 700; line-height: 1.15; }
.stat-label { display: block; color: var(--muted); font-size: .82rem; }

/* ============================ SERVICES ============================ */
.services { padding: clamp(60px, 7vw, 100px) 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon {
  width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 16px; background: linear-gradient(135deg, #e6fffa 0%, #d3f7f0 100%);
  color: var(--red-dark); margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.service-text { color: var(--muted); font-size: .96rem; }

/* ============================ ABOUT (ảnh TRÁI) ============================ */
.about { padding: clamp(60px, 7vw, 100px) 0; background: var(--soft); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: var(--gap); align-items: center; }
.about-visual .frame { aspect-ratio: 4 / 3.6; border: 1px solid var(--line); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 26px 0 30px; }
.feature-list li { position: relative; padding-left: 28px; font-weight: 600; font-size: .95rem; }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: .68rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ============================ TESTIMONIAL ============================ */
.testimonial { padding: clamp(60px, 7vw, 100px) 0; background: var(--navy); color: #fff; }
.testimonial .label { color: var(--gold); }
.testimonial .section-title { color: #fff; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard {
  background: var(--navy-3); border: 1px solid var(--line-d);
  border-radius: var(--radius-lg); padding: 30px 26px;
}
.tstars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.tquote { color: #cfdae8; font-size: .98rem; margin-bottom: 22px; }
.tperson { display: flex; align-items: center; gap: 13px; }
.tavatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--hot-grad); color: #052723; font-weight: 800; font-size: .85rem;
}
.tavatar img { width: 100%; height: 100%; object-fit: cover; }
.tname { font-weight: 700; font-size: .95rem; }
.trole { color: var(--muted-d); font-size: .82rem; }

/* ============================ CONTACT (form TRÁI) ============================ */
.contact { padding: clamp(60px, 7vw, 100px) 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--gap); align-items: start; }
.contact-card {
  background: var(--navy); color: #fff;
  border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow); position: sticky; top: 96px;
}
.contact-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 20px; }
.contact-form label { display: block; font-size: .84rem; font-weight: 600; color: #a8b6c9; margin-bottom: 16px; }
.contact-form input {
  width: 100%; margin-top: 7px; padding: 13px 16px;
  background: rgba(255,255,255,.06); color: #fff;
  border: 1px solid var(--line-d); border-radius: var(--radius);
  font: inherit; font-size: .95rem; font-weight: 500;
}
.contact-form input::placeholder { color: #6d7f95; }
.contact-form input:focus { outline: none; border-color: var(--red); background: rgba(255,255,255,.09); }
.form-msg { margin-top: 12px; font-size: .88rem; color: var(--red); min-height: 1.2em; }

.contact-details { margin: 26px 0 28px; display: grid; gap: 14px; }
.contact-details li { display: flex; align-items: flex-start; gap: 13px; }
.ci-chip {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--soft); color: var(--red-dark); border: 1px solid var(--line);
}
.ci-chip svg { width: 19px; height: 19px; }
.ci-label { display: block; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-details a { font-weight: 600; }
.contact-details a:hover { color: var(--red-dark); }
.contact-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.contact-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

/* ============================ FOOTER ============================ */
.site-footer { background: var(--navy); color: #fff; padding: clamp(48px, 6vw, 78px) 0 26px; border-top: 1px solid var(--line-d); }
.footer-top {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  padding-bottom: 32px; margin-bottom: 36px; border-bottom: 1px solid var(--line-d);
}
.footer-brand .logo { font-size: 1.45rem; }
.footer-brand p { color: var(--muted-d); margin-top: 6px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: #c3cede; font-weight: 500; font-size: .92rem; }
.footer-nav a:hover { color: var(--red); }

.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gap); }
.footer-info p { font-size: 1.2rem; font-weight: 700; margin-bottom: 14px; color: #e8edf4; }
.footer-info strong { color: var(--muted-d); }
.footer-info a { color: #e8edf4; }
.footer-info a:hover { color: var(--red); }
.footer-map h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 14px; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-d); }
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; filter: grayscale(.25); }
.footer-bottom {
  border-top: 1px solid var(--line-d); margin-top: 44px; padding-top: 22px;
  text-align: center; color: #9fb0c6; font-size: .95rem; font-weight: 500;
}
.footer-bottom .copyright { margin-top: 4px; }

/* ============================ REVEAL ============================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 960px) {
  .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-grid .about-visual { order: -1; max-width: 520px; margin-inline: auto; }
  .contact-card { position: static; }
  .biz-card { grid-template-columns: 1fr; gap: 16px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .feature-list { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .stat:nth-child(3) { border-left: none; }
  .frame { aspect-ratio: 16 / 9; }

  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--navy-2); border-bottom: 1px solid var(--line-d);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .main-nav.open { max-height: 360px; }
  .main-nav a { padding: 15px 24px; border-top: 1px solid var(--line-d); }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .rating-badge { right: 50%; transform: translateX(50%); bottom: -22px; }
  .stat + .stat { border-left: none; }
  .glow { display: none; }
}
