/* ══════════════════════════════════════════════════════════════════
   EasyFarm — Website công ty (KHUNG)
   Hệ màu + font đồng bộ skin EF (demo-onboarding-new.html đã duyệt)
   ══════════════════════════════════════════════════════════════════ */

:root{
  /* ── Màu thương hiệu EF (đồng bộ dashboard) ── */
  --paper:#f3f6f0;
  --forest:#0b3d2e;
  --forest-2:#0f4d3a;
  --ink:#16261c;
  --line:#dbe3d6;
  --muted:#5b6b60;
  --sprout:#2f9e44;
  --sprout-soft:#eaf3e6;
  --earth:#e8590c;
  --earth-2:#c74a06;
  --teal:#0c8599;
  --surface:#ffffff;

  /* ── Biến thể đậm — dùng cho CHỮ NHỎ trên nền màu nhạt (đủ tương phản 4.5:1) ── */
  --sprout-deep:#1b7a30;
  --soil-deep:#9c3d05;
  --water-deep:#095f6e;

  /* ── Nền 3 tầng "lát cắt nông trại" ── */
  --canopy-soft:#eaf3e6;
  --soil-soft:#f5ece2;
  --water-soft:#e4f1f4;

  --radius:18px;
  --radius-sm:12px;

  --wrap:1160px;
  --shadow-card:0 22px 50px -30px rgba(11,61,46,.42);
  --shadow-soft:0 10px 26px -16px rgba(11,61,46,.35);
}

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Be Vietnam Pro',system-ui,'Segoe UI',Roboto,Arial,sans-serif;
  font-size:16px;
  line-height:1.6;
  overflow-x:hidden;
  background-image:
    radial-gradient(circle at 8% -6%, rgba(47,158,68,.07), transparent 40%),
    radial-gradient(circle at 96% 2%, rgba(12,133,153,.06), transparent 38%);
  background-attachment:fixed;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }

h1,h2,h3,h4{
  font-family:'Bricolage Grotesque','Be Vietnam Pro',sans-serif;
  letter-spacing:-.02em;
  line-height:1.1;
  margin:0;
}

/* Bàn phím — vòng focus rõ ràng */
a:focus-visible,button:focus-visible,input:focus-visible,
select:focus-visible,textarea:focus-visible,summary:focus-visible{
  outline:3px solid rgba(12,133,153,.55);
  outline-offset:3px;
  border-radius:4px;
}

.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 20px; }

.skip{
  position:absolute; left:-9999px; top:8px; z-index:100;
  background:var(--surface); color:var(--ink); padding:10px 16px;
  border-radius:10px; font-weight:700; box-shadow:var(--shadow-soft);
}
.skip:focus{ left:16px; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* ═══════════════ DẢI BÁO "BẢN KHUNG" (xoá khi lên thật) ═══════════════ */

.draft{ background:#fff8e1; border-bottom:1px dashed #d9a300; color:#7a5b00; }
.draft-in{
  display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px;
  padding:8px 20px; font-size:12.5px; line-height:1.5;
}
.draft strong{
  font-weight:800; letter-spacing:.1em; font-size:11px;
  background:#7a5b00; color:#fff8e1; padding:3px 9px; border-radius:999px;
}
.draft em{ font-style:normal; font-weight:700; }

/* ═══════════════ HEADER ═══════════════ */

.hdr{
  position:sticky; top:0; z-index:50;
  background:rgba(243,246,240,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.hdr-in{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; height:70px;
}
.brand{ display:inline-flex; align-items:center; gap:11px; text-decoration:none; flex:0 0 auto; }
.brand img{ height:40px; width:auto; }
.brand-txt{ display:flex; flex-direction:column; line-height:1.15; }
.brand-name{
  font-family:'Bricolage Grotesque',sans-serif; font-weight:800;
  font-size:19px; color:var(--forest); letter-spacing:-.02em;
}
.brand-sub{ font-size:10.5px; font-weight:600; color:var(--muted); letter-spacing:.06em; text-transform:uppercase; }

.nav{ display:flex; align-items:center; gap:4px; }
.nav a{
  text-decoration:none; color:#33443a; font-size:14.5px; font-weight:600;
  padding:9px 13px; border-radius:10px; white-space:nowrap;
  transition:background .18s ease, color .18s ease;
}
.nav a:hover{ background:var(--sprout-soft); color:var(--sprout-deep); }
.nav a[aria-current="page"]{ color:var(--sprout-deep); background:var(--sprout-soft); }
.nav .nav-cta{
  background:linear-gradient(180deg,var(--earth),var(--earth-2)); color:#fff;
  box-shadow:0 8px 16px -8px rgba(232,89,12,.6);
  margin-left:6px;
}
.nav .nav-cta:hover{ background:linear-gradient(180deg,var(--earth-2),var(--earth-2)); color:#fff; filter:brightness(1.05); }
/* Nút Liên hệ vẫn giữ màu cam khi đang ở trang đó (aria-current phục vụ trình đọc màn hình) */
.nav a.nav-cta[aria-current="page"]{
  background:linear-gradient(180deg,var(--earth),var(--earth-2)); color:#fff;
}

.burger{
  display:none; width:44px; height:44px; border:1px solid var(--line);
  background:var(--surface); border-radius:11px; cursor:pointer;
  align-items:center; justify-content:center; color:var(--forest);
}
.burger svg{ width:22px; height:22px; }
.burger .ico-x{ display:none; }
.burger[aria-expanded="true"] .ico-x{ display:block; }
.burger[aria-expanded="true"] .ico-menu{ display:none; }

/* ═══════════════ HERO (trang chủ) ═══════════════ */

.hero{
  position:relative; overflow:hidden; color:#eaf5ee;
  background:
    radial-gradient(120% 130% at 85% -20%, var(--forest-2), transparent 58%),
    var(--forest);
}
.hero-in{
  position:relative; z-index:2;
  display:grid; grid-template-columns:1fr 300px; gap:30px; align-items:center;
  padding:64px 0 96px;
}
.hero-glow{
  position:absolute; top:-90px; right:6%; width:340px; height:340px; z-index:1;
  background:radial-gradient(circle, rgba(47,158,68,.32), transparent 70%);
  pointer-events:none;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:9px; margin:0 0 16px;
  font-size:12.5px; font-weight:800; letter-spacing:.14em; text-transform:uppercase;
  color:#8fe0a6;
}
.eyebrow .dot{
  width:6px; height:6px; border-radius:50%; background:var(--earth);
  box-shadow:0 0 0 3px rgba(232,89,12,.28);
}
.hero h1{
  font-size:clamp(32px,5.6vw,58px); font-weight:800; color:#fff; margin:0;
}
.hero h1 .accent,
.band h1 .accent{ color:#7fd598; }
.hero-sub{
  margin:18px 0 0; max-width:52ch; font-size:16.5px; line-height:1.7; color:#cfe6d8;
}
.hero-sub b{ color:#fff; font-weight:700; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.hero-mascot{
  justify-self:center; width:100%; max-width:290px;
  filter:drop-shadow(0 22px 34px rgba(0,0,0,.42));
  transform-origin:50% 100%;
}
.hero-roots{
  position:absolute; left:0; right:0; bottom:-1px; width:100%; height:80px;
  opacity:.55; pointer-events:none; z-index:1;
}

/* ═══════════════ DẢI ĐẦU TRANG (trang con) ═══════════════ */

.band{
  position:relative; overflow:hidden; color:#eaf5ee;
  background:
    radial-gradient(120% 130% at 88% -30%, var(--forest-2), transparent 58%),
    var(--forest);
}
.band-in{ position:relative; z-index:2; padding:52px 0 60px; }
.band h1{ font-size:clamp(28px,4.4vw,44px); font-weight:800; color:#fff; }
.band-sub{ margin:14px 0 0; max-width:56ch; font-size:15.5px; line-height:1.7; color:#cfe6d8; }
.band-roots{
  position:absolute; left:0; right:0; bottom:-1px; width:100%; height:56px;
  opacity:.45; pointer-events:none; z-index:1;
}

/* ═══════════════ NÚT ═══════════════ */

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:'Be Vietnam Pro',sans-serif; font-size:15.5px; font-weight:700;
  padding:14px 24px; border-radius:13px; border:none; cursor:pointer;
  text-decoration:none; white-space:nowrap;
  transition:transform .12s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
}
.btn svg{ width:18px; height:18px; flex:0 0 auto; }
.btn-primary{
  background:linear-gradient(180deg,var(--earth),var(--earth-2)); color:#fff;
  box-shadow:0 14px 24px -12px rgba(232,89,12,.7), 0 1px 0 rgba(255,255,255,.22) inset;
}
.btn-primary:hover{ filter:brightness(1.05); box-shadow:0 18px 30px -12px rgba(232,89,12,.75); }
.btn-primary:active{ transform:translateY(1px); }
.btn-ghost{
  background:rgba(255,255,255,.08); color:#eaf5ee;
  border:1.5px solid rgba(255,255,255,.28);
}
.btn-ghost:hover{ background:rgba(255,255,255,.16); }
.btn-ghost:active{ transform:translateY(1px); }
.btn-light{
  background:var(--surface); color:var(--forest); border:1.5px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.btn-light:hover{ border-color:var(--sprout); color:var(--sprout-deep); }

/* ═══════════════ KHỐI NỘI DUNG CHUNG ═══════════════ */

.sec{ padding:72px 0; }
.sec-head{ max-width:64ch; margin:0 0 38px; }
.sec-eyebrow{
  display:inline-flex; align-items:center; gap:8px; margin:0 0 12px;
  font-size:11.5px; font-weight:800; letter-spacing:.14em; text-transform:uppercase;
  color:var(--soil-deep); background:rgba(232,89,12,.10);
  border:1px solid rgba(232,89,12,.22); padding:5px 12px; border-radius:999px;
}
.sec h2{ font-size:clamp(26px,3.4vw,38px); font-weight:700; color:var(--forest); }
.sec-desc{ margin:14px 0 0; font-size:16px; line-height:1.7; color:var(--muted); }

.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }

.card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:26px; box-shadow:var(--shadow-card);
}
.card h3{ font-size:19px; font-weight:700; color:var(--forest); margin:0 0 8px; }
.card p{ margin:0; font-size:14.5px; line-height:1.65; color:var(--muted); }
.card-ico{
  width:48px; height:48px; border-radius:14px; display:grid; place-items:center;
  background:var(--sprout-soft); border:1px solid #d3e5ca; color:var(--sprout-deep);
  margin-bottom:16px;
}
.card-ico svg{ width:25px; height:25px; }

/* ═══════════════ ⭐ LÁT CẮT NÔNG TRẠI (điểm nhấn trang chủ) ═══════════════ */

.strata{ position:relative; }
.stratum{ position:relative; }
.stratum-in{
  display:grid; grid-template-columns:200px 1fr 220px; gap:34px; align-items:center;
  padding:56px 0;
}
.depth{ position:relative; padding-left:18px; }
.depth::before{
  content:''; position:absolute; left:0; top:4px; bottom:4px; width:3px;
  border-radius:3px; background:currentColor; opacity:.35;
}
.depth-label{
  font-family:'Bricolage Grotesque',sans-serif; font-weight:700;
  font-size:17px; letter-spacing:-.01em; margin:0;
}
.depth-note{ margin:6px 0 0; font-size:12.5px; font-weight:600; color:var(--muted); line-height:1.5; }
.depth-ico{ margin-bottom:12px; }
.depth-ico svg{ width:38px; height:38px; }

.stratum h3{ font-size:clamp(22px,2.6vw,29px); font-weight:700; color:var(--forest); margin:0 0 10px; }
.stratum p{ margin:0 0 16px; font-size:15px; line-height:1.7; color:#41544a; max-width:52ch; }

.chips{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 20px; padding:0; list-style:none; }
.chips li{
  font-size:12.5px; font-weight:600; padding:5px 12px; border-radius:999px;
  background:rgba(255,255,255,.72); border:1px solid rgba(0,0,0,.07); color:#3c5044;
}
.stratum-link{
  display:inline-flex; align-items:center; gap:7px; text-decoration:none;
  font-size:14.5px; font-weight:700; color:currentColor;
}
.stratum-link svg{ width:16px; height:16px; transition:transform .18s ease; }
.stratum-link:hover svg{ transform:translateX(3px); }

.stratum--canopy{ background:var(--canopy-soft); color:var(--sprout-deep); }
.stratum--soil{ background:var(--soil-soft); color:var(--soil-deep); }
.stratum--water{ background:var(--water-soft); color:var(--water-deep); }

.edge{ display:block; width:100%; height:34px; }
.edge-soil{ background:var(--canopy-soft); }
.edge-water{ background:var(--soil-soft); }

.stratum-vis{ justify-self:center; width:100%; }
.stratum-vis img{ width:100%; max-width:200px; margin:0 auto; filter:drop-shadow(0 16px 24px rgba(0,0,0,.2)); }

/* ═══════════════ Ô ĐÁNH DẤU "CẦN BỔ SUNG" ═══════════════ */

.todo{
  display:inline-flex; align-items:center; gap:6px;
  background:#fff8e1; border:1px dashed #d9a300; color:#7a5b00;
  padding:3px 10px; border-radius:8px;
  font-size:12.5px; font-weight:700; line-height:1.45;
}
.todo::before{ content:'✎'; font-size:12px; }
.todo-block{
  display:flex; align-items:flex-start; gap:10px;
  background:#fff8e1; border:1px dashed #d9a300; color:#7a5b00;
  padding:12px 15px; border-radius:12px;
  font-size:13.5px; font-weight:600; line-height:1.6;
}
.todo-block::before{ content:'✎'; flex:0 0 auto; font-size:15px; line-height:1.4; }

/* Ô "cần bổ sung" phải luôn đọc được ở MỌI khối cha.
   Nhân đôi class để thắng các luật đặt màu chữ theo khối (vd .cta-box p, .prod-body p,
   .card p) — nếu không, chữ bị đổi sang màu sáng và chìm hẳn trên nền vàng. */
.todo.todo,
.todo-block.todo-block{ color:#7a5b00; font-size:12.5px; }
.todo-block.todo-block{ font-size:13.5px; }

/* Ô ảnh chờ — giữ đúng tỉ lệ để CEO thấy bố cục thật */
.ph{
  display:grid; place-items:center; text-align:center;
  background:repeating-linear-gradient(45deg,#fff8e1 0 12px,#fbf1d4 12px 24px);
  border:2px dashed #d9a300; border-radius:14px; color:#7a5b00;
  padding:16px; font-size:12.5px; font-weight:700; line-height:1.5;
}
.ph span{ display:block; max-width:26ch; }
.ph-16x9{ aspect-ratio:16/9; }
.ph-4x3{ aspect-ratio:4/3; }
.ph-1x1{ aspect-ratio:1/1; }
.ph-3x4{ aspect-ratio:3/4; }

/* ═══════════════ VĂN BẢN DÀI ═══════════════ */

[id]{ scroll-margin-top:92px; } /* chừa chỗ cho đầu trang dính */

.lede{ font-size:18px; line-height:1.75; color:#41544a; max-width:62ch; margin:0 0 22px; }
.lede b{ color:var(--ink); font-weight:700; }

.prose{ max-width:66ch; }
.prose p{ margin:0 0 16px; font-size:15.5px; line-height:1.8; color:#41544a; }
.prose h3{ font-size:21px; font-weight:700; color:var(--forest); margin:30px 0 12px; }
.prose ul{ margin:0 0 16px; padding-left:20px; }
.prose li{ font-size:15.5px; line-height:1.8; color:#41544a; margin-bottom:6px; }

.check-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.check-list li{
  display:flex; align-items:flex-start; gap:11px;
  font-size:15px; line-height:1.65; color:#41544a;
}
.check-list svg{ flex:0 0 auto; width:20px; height:20px; color:var(--sprout); margin-top:2px; }
.check-list b{ color:var(--ink); font-weight:700; }

/* ═══════════════ SẢN PHẨM ═══════════════ */

.prod-group{ margin-bottom:52px; }
.prod-group:last-child{ margin-bottom:0; }
.prod-head{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  padding-bottom:16px; margin-bottom:24px; border-bottom:2px solid var(--line);
}
.prod-head h2{ font-size:clamp(23px,3vw,30px); font-weight:700; color:var(--forest); margin:0; }
.prod-badge{
  font-size:11.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  padding:5px 12px; border-radius:999px;
}
.prod-badge--canopy{ background:var(--canopy-soft); color:var(--sprout-deep); border:1px solid #cfe4c6; }
.prod-badge--soil{ background:var(--soil-soft); color:var(--soil-deep); border:1px solid #e8d6c2; }
.prod-badge--water{ background:var(--water-soft); color:var(--water-deep); border:1px solid #c9e2e8; }

.prod-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow-card); display:flex; flex-direction:column;
}
.prod-card .ph{ border:none; border-bottom:1px dashed #d9a300; border-radius:0; }
/* Ảnh sản phẩm ép về khung vuông như ô ảnh chờ → lưới 14 thẻ đều nhau
   (ảnh linh vật/chai thường dọc 3:4, để nguyên sẽ so le) */
.prod-card > img{
  width:100%; aspect-ratio:1/1; object-fit:contain;
  background:var(--sprout-soft); border-bottom:1px solid var(--line); padding:10px;
}
.prod-body{ padding:20px; flex:1; display:flex; flex-direction:column; }
.prod-body h3{ font-size:17.5px; font-weight:700; color:var(--forest); margin:0 0 7px; }
.prod-body p{ margin:0 0 12px; font-size:14px; line-height:1.6; color:var(--muted); flex:1; }

/* ═══════════════ TIN TỨC ═══════════════ */

.news-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow-card); display:flex; flex-direction:column;
  transition:transform .18s ease, box-shadow .22s ease;
}
.news-card:hover{ transform:translateY(-3px); box-shadow:0 28px 56px -28px rgba(11,61,46,.5); }
.news-card .ph{ border:none; border-bottom:1px dashed #d9a300; border-radius:0; }
.news-body{ padding:20px; display:flex; flex-direction:column; flex:1; }
.news-meta{
  display:flex; align-items:center; gap:9px; margin:0 0 10px;
  font-size:11.5px; font-weight:700; color:var(--muted);
}
.news-tag{
  background:var(--sprout-soft); color:var(--sprout-deep); border:1px solid #d3e5ca;
  padding:3px 9px; border-radius:999px; letter-spacing:.04em;
}
.news-body h3{ font-size:17px; font-weight:700; color:var(--forest); margin:0 0 9px; line-height:1.35; }
.news-body p{ margin:0 0 14px; font-size:14px; line-height:1.65; color:var(--muted); flex:1; }
.news-more{
  display:inline-flex; align-items:center; gap:6px; text-decoration:none;
  font-size:13.5px; font-weight:700; color:var(--sprout-deep);
}
.news-more svg{ width:15px; height:15px; transition:transform .18s ease; }
.news-card:hover .news-more svg{ transform:translateX(3px); }

/* ═══════════════ TUYỂN DỤNG ═══════════════ */

.job{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px 24px; box-shadow:var(--shadow-soft);
  display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center;
}
.job h3{ font-size:18px; font-weight:700; color:var(--forest); margin:0 0 8px; }
.job-tags{ display:flex; flex-wrap:wrap; gap:7px; margin:0; padding:0; list-style:none; }
.job-tags li{
  font-size:12px; font-weight:600; color:var(--muted);
  background:var(--paper); border:1px solid var(--line); padding:4px 10px; border-radius:999px;
}

/* ═══════════════ BIỂU MẪU ═══════════════ */

.form{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; box-shadow:var(--shadow-card);
}
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px 18px; }
.field{ display:flex; flex-direction:column; gap:7px; min-width:0; }
.field.full{ grid-column:1 / -1; }
.field label{ font-size:13.5px; font-weight:600; color:#33443a; }
.req{ color:var(--earth); font-weight:700; margin-left:2px; }
.field input,.field select,.field textarea{
  width:100%; font-family:inherit; font-size:15px; color:var(--ink);
  padding:12px 14px; background:#fbfdfa; border:1.5px solid var(--line); border-radius:11px;
  outline:none; transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea{ resize:vertical; min-height:110px; line-height:1.6; }
.field input::placeholder,.field textarea::placeholder{ color:#9fae9c; }
.field input:hover,.field select:hover,.field textarea:hover{ border-color:#c3d3bb; }
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:var(--sprout); background:#fff; box-shadow:0 0 0 3.5px rgba(47,158,68,.15);
}
.field select{
  appearance:none; -webkit-appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6b60' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center; padding-right:38px;
}
.hint{ font-size:12px; color:#93a390; line-height:1.5; }

.info-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:20px; }
.info-list li{ display:flex; align-items:flex-start; gap:13px; }
.info-ico{
  flex:0 0 auto; width:42px; height:42px; border-radius:12px; display:grid; place-items:center;
  background:var(--sprout-soft); border:1px solid #d3e5ca; color:var(--sprout-deep);
}
.info-ico svg{ width:20px; height:20px; }
.info-k{ font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin:0 0 4px; }
.info-v{ margin:0; font-size:15px; line-height:1.6; color:var(--ink); font-weight:600; }

/* ═══════════════ SỐ LIỆU ═══════════════ */

.stats{ background:var(--forest); color:#eaf5ee; }
.stats-in{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; padding:44px 0; }
.stat{ text-align:center; padding:12px 10px; }
.stat-num{
  font-family:'Bricolage Grotesque',sans-serif; font-weight:800;
  font-size:34px; color:#7fd598; line-height:1.1;
}
.stat-lbl{ margin:8px 0 0; font-size:13px; font-weight:600; color:#a8c9b6; }
.stat .todo{ font-size:11.5px; vertical-align:middle; }

/* ═══════════════ DẢI KÊU GỌI ═══════════════ */

.cta-band{ padding:0 0 72px; }
.cta-box{
  position:relative; overflow:hidden;
  background:
    radial-gradient(110% 140% at 88% -20%, var(--forest-2), transparent 60%),
    var(--forest);
  border-radius:26px; padding:48px 46px; color:#eaf5ee;
  display:grid; grid-template-columns:1fr auto; gap:28px; align-items:center;
  box-shadow:var(--shadow-card);
}
.cta-box h2{ font-size:clamp(24px,3vw,34px); font-weight:800; color:#fff; }
.cta-box p{ margin:12px 0 0; max-width:48ch; font-size:15.5px; line-height:1.7; color:#cfe6d8; }
.cta-actions{ display:flex; flex-wrap:wrap; gap:12px; }

/* ═══════════════ CHÂN TRANG ═══════════════ */

.ft{ background:var(--forest); color:#bcd6c6; padding:52px 0 30px; }
.ft-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:34px; }
.ft-seal{
  display:inline-grid; place-items:center; background:var(--paper);
  border-radius:14px; padding:8px 12px; box-shadow:0 10px 22px -8px rgba(0,0,0,.45);
}
.ft-seal img{ height:44px; width:auto; }
.ft-co{
  font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:15px;
  color:#fff; line-height:1.4; margin:16px 0 10px; max-width:34ch;
}
.ft-meta{ margin:0; font-size:13.5px; line-height:1.8; color:#95b3a1; }
.ft-meta b{ color:#cfe6d8; font-weight:600; }
.ft h4{
  font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
  color:#7fd598; margin:0 0 14px;
}
.ft-links{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
.ft-links a{ text-decoration:none; font-size:14px; color:#bcd6c6; transition:color .16s ease; }
.ft-links a:hover{ color:#fff; }
.ft-line{ height:1px; background:rgba(255,255,255,.12); margin:34px 0 18px; }
.ft-bot{
  display:flex; flex-wrap:wrap; gap:8px 20px; justify-content:space-between;
  font-size:12.5px; color:#7fa08c;
}

/* ═══════════════ CHUYỂN ĐỘNG ═══════════════ */

@media (prefers-reduced-motion: no-preference){
  .hero-mascot{ animation:sway 5s ease-in-out infinite; }
  @keyframes sway{ 0%,100%{ transform:rotate(-2.5deg) } 50%{ transform:rotate(2.5deg) } }

  .hero .eyebrow,.hero h1,.hero-sub,.hero-cta{ animation:rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1{ animation-delay:.06s; }
  .hero-sub{ animation-delay:.12s; }
  .hero-cta{ animation-delay:.18s; }
  @keyframes rise{ from{ opacity:0; transform:translateY(12px) } to{ opacity:1; transform:none } }

  /* Chỉ ẩn khi JS chạy được (html.js) — JS lỗi thì nội dung vẫn hiện đầy đủ */
  .js .reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in{ opacity:1; transform:none; }
}

/* ═══════════════ RESPONSIVE ═══════════════ */

@media (max-width:960px){
  .hero-in{ grid-template-columns:1fr; gap:8px; padding:48px 0 84px; }
  .hero-mascot{ display:none; }
  .stratum-in{ grid-template-columns:1fr; gap:22px; padding:44px 0; }
  .stratum-vis{ order:-1; }
  .stratum-vis img{ max-width:150px; }
  .ft-top{ grid-template-columns:1fr; gap:28px; }
  .cta-box{ grid-template-columns:1fr; padding:38px 28px; }
  .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-2{ grid-template-columns:1fr; }
  .job{ grid-template-columns:1fr; }
}

/* Menu ngang cần ~840px mới đủ chỗ → dưới 900px chuyển sang nút burger.
   (Trước để 760px → dải 780-830px của máy tính bảng bị tràn ngang.) */
@media (max-width:900px){
  .nav{
    display:none; position:absolute; left:12px; right:12px; top:76px;
    flex-direction:column; align-items:stretch; gap:4px;
    background:var(--surface); border:1px solid var(--line); border-radius:16px;
    padding:12px; box-shadow:0 26px 50px -22px rgba(11,61,46,.55);
  }
  .nav.open{ display:flex; }
  .nav a{ padding:13px 14px; font-size:15.5px; }
  .nav .nav-cta{ margin:6px 0 0; justify-content:center; }
  .burger{ display:flex; }
  .hdr-in{ position:relative; }
}

@media (max-width:640px){
  body{ font-size:15.5px; }
  .sec{ padding:52px 0; }
  .stats-in{ grid-template-columns:repeat(2,1fr); gap:4px; padding:34px 0; }
  .stat-num{ font-size:27px; }
  .grid-3,.grid-4{ grid-template-columns:1fr; }
  .card{ padding:22px; }
  .brand-sub{ display:none; }
  .brand img{ height:34px; }
  .brand-name{ font-size:17px; }
  .hero-cta .btn,.cta-actions .btn{ width:100%; }
  .edge{ height:22px; }
  .form{ padding:20px; }
  .form-grid{ grid-template-columns:1fr; }
  .lede{ font-size:16.5px; }
}
