/* ============================================================================
 * THEME: CORAL — cam đất / hồng đào / kem. Ấm, thân thiện, hơi vui tươi.
 * Hero: chữ TRÁI · ảnh TRÒN bên phải (khác hẳn khung chữ nhật của các theme kia).
 * Services đứng NGAY SAU hero. Thứ tự: Hero → Services → About → Reviews →
 * Stats → Contact.
 * Dùng chung script.js + assets/ (giữ nguyên hook data-*).
 * ========================================================================== */

:root {
  --red:        #e2603c;          /* script.js ghi đè khi brand.primary có */
  --red-dark:   #c44a29;
  --peach:      #ffd9c7;
  --hot-grad:   linear-gradient(135deg, #f2814f 0%, #e2603c 100%);

  --ink:        #33231d;
  --ink-2:      #5a4239;
  --muted:      #8a7369;
  --line:       #f0e2d9;
  --cream:      #fff7f2;
  --cream-2:    #ffeee4;
  --brown:      #2a1c17;
  --white:      #ffffff;

  --radius:     20px;
  --radius-lg:  34px;
  --radius-pill:999px;
  --shadow:     0 28px 64px rgba(51, 35, 29, .14);
  --shadow-sm:  0 12px 30px rgba(51, 35, 29, .08);
  --maxw:       1180px;
  --gap:        clamp(30px, 4.5vw, 68px);
}

* { 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: "Poppins", "Inter", sans-serif; }

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

/* nút */
.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(-3px); }
.btn-sm { padding: 11px 22px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-solid { background: var(--hot-grad); color: #fff; box-shadow: 0 14px 30px rgba(226,96,60,.30); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,247,242,.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.36rem; letter-spacing: -.02em; color: var(--ink); }
.logo.light { color: #fff; }
.main-nav { display: flex; gap: 30px; }
.main-nav a { font-weight: 600; font-size: .91rem; color: var(--ink-2); 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: 3px; border-radius: 3px; background: var(--ink); 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 TRÒN) ============================ */
.hero { position: relative; overflow: hidden; background: var(--cream); padding-bottom: clamp(42px, 5vw, 68px); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.blob-a { width: 420px; height: 420px; background: var(--peach); top: -140px; right: -80px; opacity: .8; }
.blob-b { width: 340px; height: 340px; background: #ffe9b8; bottom: 20px; left: -120px; opacity: .55; }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: var(--gap);
  padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 62px);
}
.eyebrow {
  display: inline-flex; align-items: center;
  background: var(--white); border: 1px solid var(--line);
  color: var(--red); font-weight: 700; font-size: .77rem;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 7px 18px; border-radius: var(--radius-pill);
  margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.hero-title { font-size: clamp(2.2rem, 4.8vw, 3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.hero-sub { color: var(--muted); font-size: 1.1rem; margin-top: 18px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-visual { position: relative; }
/* ẢNH TRÒN + vòng viền lệch tâm */
.frame {
  position: relative; z-index: 2;
  border-radius: 50%; overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 12px solid var(--white);
  box-shadow: var(--shadow);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::before {
  content: ""; position: absolute; inset: -14px -14px auto auto;
  width: 100%; aspect-ratio: 1/1;
  border: 2px dashed var(--peach); border-radius: 50%;
  z-index: 1;
}
.rating-badge {
  position: absolute; left: -10px; bottom: 34px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  padding: 13px 22px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
}
.rb-star { width: 26px; height: 26px; color: #f5a623; display: inline-flex; }
.rb-star svg { width: 100%; height: 100%; }
.rating-badge strong { display: block; font-family: "Poppins", sans-serif; font-size: 1.12rem; font-weight: 700; line-height: 1.15; }
.rating-badge small { color: var(--muted); font-size: .76rem; }

/* BUSINESS — 2 cột, mỗi dòng có thanh màu bên trái */
.biz-card {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  box-shadow: var(--shadow-sm);
}
.biz-card p {
  font-size: 1.2rem; font-weight: 700; margin: 0; min-width: 0;
  padding-left: 16px; border-left: 3px solid var(--peach);
}
.biz-card p:first-child { border-left-color: var(--red); }
.biz-card strong,
.footer-info strong {
  display: block;
  font-size: .71rem; font-weight: 700;
  letter-spacing: .12em; 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); }

/* ============================ SERVICES (card cao, icon tròn giữa) ======= */
.services { padding: clamp(62px, 7vw, 104px) 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  text-align: center;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 40px 30px 34px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }
.service-icon {
  width: 74px; height: 74px; margin: 0 auto 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--hot-grad); color: #fff;
  box-shadow: 0 12px 26px rgba(226,96,60,.26);
}
.service-icon svg { width: 32px; height: 32px; }
.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, bo lệch) ============== */
.about { padding: clamp(62px, 7vw, 104px) 0; background: var(--cream); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: var(--gap); align-items: center; }
.about-visual .frame {
  border-radius: 50% 50% 50% 12% / 50% 50% 12% 50%;   /* hình cánh hoa */
  aspect-ratio: 4 / 4.2; border-width: 10px;
}
.about-visual::before { display: none; }
.feature-list { display: grid; gap: 12px; margin: 26px 0 32px; }
.feature-list li {
  position: relative; padding: 12px 16px 12px 44px;
  background: var(--white); border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
}
.feature-list li::before {
  content: "✓"; position: absolute; left: 14px; top: 13px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--hot-grad); color: #fff;
  font-size: .68rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ============================ TESTIMONIAL ============================ */
.testimonial { padding: clamp(62px, 7vw, 104px) 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.tstars { color: #f5a623; letter-spacing: 3px; margin-bottom: 14px; }
.tquote { color: var(--ink-2); font-size: 1rem; margin-bottom: 22px; }
.tperson { display: flex; align-items: center; gap: 13px; }
.tavatar {
  width: 48px; height: 48px; border-radius: 50%; flex: 0 0 48px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--hot-grad); color: #fff; font-weight: 800; font-size: .86rem;
}
.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 nâu bo lớn) ================= */
.stats { padding: 0 0 clamp(62px, 7vw, 104px); }
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--brown); 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,.14); }
.stat-icon {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.1); color: var(--peach);
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-value { display: block; font-size: 1.38rem; font-weight: 700; line-height: 1.15; }
.stat-label { display: block; color: #c9b2a6; font-size: .82rem; }

/* ============================ CONTACT ============================ */
.contact { padding: 0 0 clamp(62px, 7vw, 104px); }
.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: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream-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); box-shadow: var(--shadow-sm); }
.contact-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

.contact-card {
  background: var(--cream); 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: #bdaba1; }
.contact-form input:focus { outline: none; border-color: var(--red); }
.form-msg { margin-top: 12px; font-size: .88rem; color: var(--red); min-height: 1.2em; }

/* ============================ FOOTER ============================ */
.site-footer {
  background: var(--brown); 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,.14);
}
.footer-brand .logo { font-size: 1.5rem; }
.footer-brand p { color: #c9b2a6; margin-top: 6px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: #ddcbc1; font-weight: 600; font-size: .92rem; }
.footer-nav a:hover { color: var(--peach); }

.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: #f6ebe4; }
.footer-info strong { color: var(--peach); }
.footer-info a { color: #f6ebe4; }
.footer-info a:hover { color: var(--peach); }
.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,.14); margin-top: 44px; padding-top: 22px;
  text-align: center; color: #c9b2a6; 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) {
  .hero-grid, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual, .about-visual { max-width: 420px; margin-inline: auto; }
  .about-grid .about-visual { order: -1; }
  .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; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat:nth-child(3) { border-left: none; }

  .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(--cream); 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); }
}

@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; }
  .stat + .stat { border-left: none; }
  .rating-badge { left: 50%; transform: translateX(-50%); bottom: -14px; }
  .blob { display: none; }
}
