/* ============================================================================
 * THEME: VERDE — xanh lá đậm / lime / cát. Bo góc RẤT LỚN, thân thiện.
 * Hero: ẢNH FULL-BLEED phủ kín + lớp phủ xanh, chữ đè lên; thẻ Business ĐÈ
 * lên đáy hero. Thứ tự: Hero → About → Services → Reviews → STATS → Contact.
 * Dùng chung script.js + assets/ với mọi theme (giữ nguyên hook data-*).
 * ========================================================================== */

:root {
  --red:        #4d7c0f;          /* script.js ghi đè khi brand.primary có */
  --red-dark:   #3f6212;
  --lime:       #a3e635;
  --hot-grad:   linear-gradient(135deg, #a3e635 0%, #65a30d 100%);

  --forest:     #14311c;
  --forest-2:   #1c4227;
  --ink:        #1f2a20;
  --muted:      #6c7a6e;
  --line:       #e2e8dd;
  --sand:       #f7f4ea;
  --sand-2:     #efeadb;
  --white:      #ffffff;

  --radius:     18px;
  --radius-lg:  30px;             /* bo RẤT lớn — khác hẳn Ledger góc vuông */
  --radius-pill:999px;
  --shadow:     0 30px 70px rgba(20, 49, 28, .16);
  --shadow-sm:  0 12px 30px rgba(20, 49, 28, .09);
  --maxw:       1180px;
  --gap:        clamp(30px, 4.5vw, 66px);
}

* { 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.68;
  -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, .stat-value { font-family: "Outfit", "Inter", sans-serif; }

.label {
  display: inline-block; color: var(--red);
  font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  font-size: .74rem; margin-bottom: 12px;
  background: var(--sand-2); padding: 6px 14px; border-radius: var(--radius-pill);
}
.section-title { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; line-height: 1.16; 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 52px; }

/* nút — viên thuốc, xanh lá */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 32px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .94rem; 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: 11px 22px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-solid { background: var(--forest); color: var(--lime); box-shadow: 0 14px 30px rgba(20,49,28,.24); }
.btn-solid:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: #fff; color: var(--forest); border-color: #fff; }
.about .btn-solid, .contact .btn-solid { background: var(--forest); color: var(--lime); }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,234,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; }
.logo { font-weight: 700; font-size: 1.38rem; letter-spacing: -.02em; color: var(--forest); }
.logo.light { color: var(--lime); }
.main-nav { display: flex; gap: 8px; }
.main-nav a {
  font-weight: 600; font-size: .9rem; color: var(--ink);
  padding: 8px 16px; border-radius: var(--radius-pill); transition: all .2s ease;
}
.main-nav a:hover, .main-nav a.active { background: var(--forest); color: var(--lime); }
.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: 3px; border-radius: 3px; background: var(--forest); transition: .3s; }
.nav-toggle.open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ============================ HERO (ảnh full-bleed) ============================ */
.hero {
  position: relative; isolation: isolate;
  min-height: clamp(520px, 66vh, 660px);
  display: flex; align-items: center;
  padding: clamp(70px, 8vw, 110px) 0 clamp(96px, 9vw, 130px);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,49,28,.93) 0%, rgba(20,49,28,.78) 42%, rgba(20,49,28,.38) 100%);
}
/* CẨN THẬN: thẻ này mang CẢ class .container. Nếu đặt max-width ở ĐÂY thì nó ĐÈ width
   của .container -> khối chữ bị co lại rồi margin-inline:auto đẩy vào GIỮA, lệch hẳn so
   với thẻ Business bên dưới (thẻ đó dùng .container thật). Vậy giới hạn bề ngang ở CÁC CON. */
.hero-text { position: relative; color: #fff; }
.hero-text > * { max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center;
  background: rgba(163,230,53,.16); border: 1px solid rgba(163,230,53,.4);
  color: var(--lime); font-weight: 700; 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.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; }
.hero-sub { color: #d6e2d4; font-size: 1.12rem; margin-top: 18px; max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.rating-badge {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 34px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(6px);
  padding: 12px 20px; border-radius: var(--radius-pill);
}
.rb-star { width: 24px; height: 24px; color: var(--lime); display: inline-flex; }
.rb-star svg { width: 100%; height: 100%; }
.rating-badge strong { display: block; font-family: "Outfit", sans-serif; font-size: 1.1rem; font-weight: 700; line-height: 1.15; color: #fff; }
.rating-badge small { color: #c3d3c1; font-size: .76rem; }

/* BUSINESS — thẻ ĐÈ lên đáy hero */
.biz-wrap { position: relative; z-index: 5; margin-top: clamp(-72px, -6vw, -52px); }
.biz-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  box-shadow: var(--shadow);
}
.biz-card p { font-size: 1.2rem; font-weight: 700; margin: 0; min-width: 0; }
.biz-card strong,
.footer-info strong {
  display: block;
  font-size: .71rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); 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); }

/* ============================ ABOUT ============================ */
.about { padding: clamp(66px, 7.5vw, 108px) 0 clamp(56px, 6vw, 90px); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.about-visual .frame {
  overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.6;
  border-radius: var(--radius-lg) 96px var(--radius-lg) 96px;   /* hình khối "lá" */
}
.about-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 26px 0 32px; }
.feature-list li { position: relative; padding-left: 30px; font-weight: 600; font-size: .95rem; }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--lime); color: var(--forest);
  font-size: .7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ============================ SERVICES (2 cột, card lớn, icon bên trái) === */
.services { padding: clamp(60px, 7vw, 100px) 0; background: var(--sand); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
/* LƯU Ý GRID: thẻ có 3 grid item — .service-icon, h3, .service-text. Phải CHỈ ĐỊNH RÕ
   cột/hàng, nếu để tự xếp trong lưới 2 cột thì .service-text rơi xuống hàng 2 CỘT 1
   (rộng 66px) -> chữ rớt từng từ một. */
.service-card {
  display: grid; grid-template-columns: 66px 1fr; gap: 8px 22px; align-items: start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 30px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-icon {
  grid-column: 1; grid-row: 1 / span 2;
  width: 66px; height: 66px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius); background: var(--sand-2); color: var(--red);
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { grid-column: 2; grid-row: 1; font-size: 1.22rem; font-weight: 700; }
.service-text { grid-column: 2; grid-row: 2; color: var(--muted); font-size: .96rem; }

/* ============================ TESTIMONIAL ============================ */
.testimonial { padding: clamp(60px, 7vw, 100px) 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard {
  background: var(--sand); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px;
}
.tstars { color: #65a30d; letter-spacing: 3px; margin-bottom: 14px; }
.tquote { color: var(--ink); font-size: 1rem; margin-bottom: 22px; }
.tperson { display: flex; align-items: center; gap: 13px; }
.tavatar {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 46px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--forest); color: var(--lime); 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); font-size: .82rem; }

/* ============================ STATS (dải xanh bo lớn) ============================ */
.stats { padding: 0 0 clamp(60px, 7vw, 100px); }
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--forest); color: #fff;
  border-radius: var(--radius-lg); padding: 38px 20px;
  box-shadow: var(--shadow);
}
.stat { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 10px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.15); }
.stat-icon {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill); background: rgba(163,230,53,.16); color: var(--lime);
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-value { display: block; font-size: 1.4rem; font-weight: 700; line-height: 1.15; }
.stat-label { display: block; color: #b9cdb7; font-size: .82rem; }

/* ============================ CONTACT ============================ */
.contact { padding: 0 0 clamp(66px, 7.5vw, 108px); }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--gap); align-items: start; }
.contact-details { margin: 26px 0 30px; display: grid; gap: 14px; }
.contact-details li { display: flex; align-items: flex-start; gap: 14px; }
.ci-chip {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sand-2); color: var(--red);
}
.ci-chip svg { width: 20px; height: 20px; }
.ci-label { display: block; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-details a { font-weight: 600; }
.contact-details a:hover { color: var(--red); }
.contact-photo { overflow: hidden; border-radius: var(--radius-lg) 96px var(--radius-lg) 96px; box-shadow: var(--shadow-sm); }
.contact-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

.contact-card {
  background: var(--sand); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px 32px;
  box-shadow: var(--shadow-sm); 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: var(--muted); margin-bottom: 16px; }
.contact-form input {
  width: 100%; margin-top: 7px; padding: 14px 18px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font: inherit; font-size: .95rem; font-weight: 500; color: var(--ink);
}
.contact-form input::placeholder { color: #a9b3a7; }
.contact-form input:focus { outline: none; border-color: var(--red); }
.form-msg { margin-top: 12px; font-size: .88rem; color: var(--red-dark); min-height: 1.2em; }

/* ============================ FOOTER ============================ */
.site-footer {
  background: var(--forest); color: #fff;
  padding: clamp(50px, 6vw, 80px) 0 26px;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}
.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 rgba(255,255,255,.15);
}
.footer-brand .logo { font-size: 1.5rem; }
.footer-brand p { color: #b9cdb7; margin-top: 6px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: #cfdccd; font-weight: 600; font-size: .92rem; }
.footer-nav a:hover { color: var(--lime); }

.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gap); }
.footer-info p { font-size: 1.18rem; font-weight: 700; margin-bottom: 14px; color: #e9f0e8; }
.footer-info strong { color: var(--lime); }
.footer-info a { color: #e9f0e8; }
.footer-info a:hover { color: var(--lime); }
.footer-map h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 14px; }
.map-embed { border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15); margin-top: 44px; padding-top: 22px;
  text-align: center; color: #b9cdb7; 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: 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: 24px 0; }
  .stat:nth-child(3) { border-left: none; }
  .hero-veil { background: linear-gradient(180deg, rgba(20,49,28,.86) 0%, rgba(20,49,28,.92) 100%); }

  .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(--sand); border-bottom: 1px solid var(--line);
    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); border-radius: 0; }
}

@media (max-width: 560px) {
  .stat + .stat { border-left: none; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .about-visual .frame,
  .contact-photo { border-radius: var(--radius-lg); }
}
