/*
  Như Phong – Landing Page V4 (Komo Blue)
  - Primary: #0052CC    (Komo Blue)
  - Navy/Background: #0A2540
  - Deep: #051324
  - Accent: #4D88FF
  - Slate BG: #F0F4F8
  - Natural BG: #FAF7F2
  - Outfit (headings) & Inter (body)
*/

/* ===================== TOKENS ===================== */
:root {
  --blue:         #0052CC;
  --blue-light:   #4D88FF;
  --blue-pale:    #DBEAFE;
  --navy:         #0A2540;
  --deep:         #051324;
  --slate-bg:     #F0F4F8;
  --natural-bg:   #FAF7F2;
  --white:        #FFFFFF;
  --text-primary: #0A2540;
  --text-muted:   #4B5563;
  --border:       #E5E7EB;

  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  --container:    1248px;
  --header-h:     80px;
  --radius-lg:    24px;
  --radius-md:    16px;
  --radius-sm:    12px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 20px rgba(0,0,0,0.1);
  --shadow-lg:  0 20px 40px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.2,0.8,0.2,1);
  --ease-spring: cubic-bezier(0.175,0.885,0.32,1.275);
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  background: var(--natural-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* ===================== UTILITIES ===================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-label {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  color: var(--blue); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 16px; display: block;
}
.section-title {
  font-family: var(--font-heading); font-size: 52px;
  font-weight: 700; color: var(--navy); line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 16px;
}
.section-sub {
  font-size: 1.0625rem; color: var(--text-muted); line-height: 1.7; max-width: 520px;
}
.section-sub-center {
  font-size: 1.0625rem; color: var(--text-muted); line-height: 1.7;
  max-width: 600px; margin: 0 auto; text-align: center;
}
.section-head-left { margin-bottom: 48px; }
.section-head-center { text-align: center; margin-bottom: 56px; }
.section-head-split { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; gap: 40px; }
.section-head-split .section-title { margin-bottom: 0; }
.section-head-split .section-sub { max-width: 320px; line-height: 1.7; margin: 0; text-align: left; padding-bottom: 8px; }
.hide-mobile { display: inline; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 16px 36px; font-weight: 700; font-family: var(--font-heading);
  font-size: 1rem; border-radius: 100px; cursor: pointer; border: none;
  transition: all var(--transition);
}
.btn-header {
  background: var(--navy); color: var(--white); padding: 10px 22px; font-size: 0.9375rem;
  box-shadow: 0 4px 12px rgba(10,37,64,0.3);
}
.btn-header:hover { transform: translateY(-2px); background: #0c3058; }

.btn-primary-hero {
  background: var(--blue); color: var(--white);
  padding: 18px 40px;
  box-shadow: 0 4px 16px rgba(0,82,204,0.4);
}
.btn-primary-hero:hover { background: #003fa6; transform: translateY(-2px); }
.btn-ghost-hero {
  background: rgba(255,255,255,0.12); color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4); padding: 17px 40px;
  backdrop-filter: blur(4px);
}
.btn-ghost-hero:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-secondary {
  background: var(--navy); color: var(--white); padding: 16px 32px;
}
.btn-secondary:hover { background: #0c3058; transform: translateY(-2px); }
.btn-cta-primary {
  background: var(--navy); color: var(--white); padding: 18px 36px;
}
.btn-cta-primary:hover { background: #0c3058; transform: translateY(-2px); }
.btn-cta-secondary {
  background: var(--slate-bg); color: var(--navy); padding: 17px 36px;
  border: 1.5px solid var(--border);
}
.btn-cta-secondary:hover { background: var(--border); transform: translateY(-2px); }

/* ===================== HEADER ===================== */
.header {
  position: sticky; top: 0; left: 0; right: 0; height: var(--header-h);
  background: var(--white); z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.logo img { height: 56px; width: 180px; object-fit: contain; border-radius: 4px; }
.nav-list { display: flex; gap: 4px; align-items: center; }
.nav-list a {
  position: relative;
  font-weight: 500; font-family: var(--font-body); color: var(--text-muted);
  padding: 8px 16px; font-size: 0.9375rem;
  transition: color var(--transition);
}
.nav-list a:hover { color: var(--navy); }

/* Animated Underline */
.nav-list a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--blue); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }

.nav-list a.active {
  color: var(--blue) !important; font-weight: 600;
}
.header-cta { display: flex; }
.nav-toggle { display: none; }

/* ===================== HERO ===================== */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(5,19,36,0.6) 0%, rgba(5,19,36,0.2) 100%);
}
.hero-content {
  position: relative; z-index: 10; display: flex; flex-direction: column;
  align-items: center; gap: 32px; padding: 0 24px; max-width: 800px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 100px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.6875rem; font-family: var(--font-body); font-weight: 700;
  letter-spacing: 1.5px; color: #93C5FD; backdrop-filter: blur(4px);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 8px var(--blue-light);
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--font-heading); font-size: 88px;
  font-weight: 700; color: var(--white); line-height: 1.05;
  letter-spacing: -2px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75); line-height: 1.65; max-width: 680px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 1px;
  animation: heroScrollPulse 2.5s ease-in-out infinite;
}
.scroll-arrow { font-size: 1.25rem; }
@keyframes heroScrollPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* ===================== TRUST BAR ===================== */
.trust-bar {
  background: var(--slate-bg); padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.trust-bar .container { display: flex; flex-direction: row; align-items: center; justify-content: space-between; overflow: hidden; }
.trust-label {
  font-size: 13px; font-weight: 700; color: var(--blue);
  letter-spacing: 2px; text-align: left; margin: 0; white-space: nowrap;
}
.trust-badges { display: flex; gap: 48px; align-items: center; flex-wrap: nowrap; }
.trust-badge-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.trust-badge-title { font-family: var(--font-heading); font-size: 20px; font-weight: 900; color: var(--navy); text-align: center; margin: 0; white-space: nowrap; }
.trust-badge-sub { font-size: 14px; color: var(--text-muted); text-align: center; white-space: nowrap; }
.trust-stats { display: flex; gap: 40px; align-items: center; white-space: nowrap; }
.trust-stat-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.trust-stat-num { font-family: var(--font-heading); font-size: 28px; font-weight: 900; color: var(--blue); line-height: 1; margin: 0; }
.trust-stat-lbl { font-size: 14px; color: var(--text-muted); text-align: center; }

/* ===================== ABOUT ===================== */
.about { background: var(--natural-bg); padding: 120px 0; }
.about-inner {
  display: flex; gap: 80px; align-items: center;
}
.about-image-wrap { flex: 1; flex-shrink: 0; }
.about-image { width: 100%; border-radius: var(--radius-lg); object-fit: cover; max-height: 480px; }
.about-content { flex: 1; }
.about-title {
  font-family: var(--font-heading); font-size: 44px;
  font-weight: 700; color: var(--navy); line-height: 1.1; margin-bottom: 24px;
  letter-spacing: -1.5px;
}
.about-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.75; margin-bottom: 36px; }

/* ===================== STATS ===================== */
.stats { background: var(--navy); padding: 80px 0; }
.stats-grid {
  display: flex; flex-direction: row; justify-content: space-between; align-items: center;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.stat-divider {
  width: 1px; height: 80px; background: rgba(255, 255, 255, 0.1);
}
.stat-num { font-family: var(--font-heading); font-size: 56px; font-weight: 700; color: var(--white); letter-spacing: -2px; margin-bottom: 0; line-height: 1; }
.stat-div { width: 40px; height: 3px; background: var(--blue); border-radius: 2px; }
.stat-lbl { color: #4D88FF; font-size: 0.9375rem; text-align: center; }
.stat-lbl { font-size: 0.9375rem; color: var(--blue-light); text-align: center; }

/* ===================== PRODUCTS ===================== */
.products { background: var(--natural-bg); padding: 120px 0; }
.products-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 380px auto;
  gap: 24px;
}
/* Tall bento cards */
.prod-card {
  position: relative; border-radius: 24px; overflow: hidden;
  display: block; cursor: pointer; background: #0A2540;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}
.prod-card--tall { height: 380px; }
.prod-card--wide { grid-column: 1; }
.prod-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--transition);
}
/* Default gradient (light-to-transparent from bottom) */
.prod-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,37,64,0.9) 0%, rgba(10,37,64,0.3) 40%, transparent 65%);
}
/* Dark gradient matching design: strong bottom fade from #0B1F0E */
.prod-gradient--dark {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,31,14,0.95) 0%, rgba(11,31,14,0.6) 40%, rgba(11,31,14,0.1) 70%, rgba(11,31,14,0) 100%);
}
.prod-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 28px;
  display: flex; flex-direction: column; gap: 6px; z-index: 2;
}
/* Category label (small blue tag) */
.prod-cat {
  font-family: var(--font-body); font-size: 0.5625rem; font-weight: 700;
  color: #4D88FF; letter-spacing: 1.2px; text-transform: uppercase;
}
/* Product name title */
.prod-name {
  font-family: var(--font-heading); font-size: 1.375rem; font-weight: 700;
  color: #FFFFFF; line-height: 1.1;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
/* Subtitle text */
.prod-sub { font-size: 0.8125rem; color: rgba(255,255,255,0.67); }

/* Badge top-left (card 1 only) */
.prod-badge {
  position: absolute; top: 28px; left: 28px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.094);
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.prod-badge-dot {
  width: 7px; height: 7px;
  background: #0052CC;
  border-radius: 50%;
  flex-shrink: 0;
}
.prod-badge-txt {
  font-family: var(--font-body); font-size: 0.625rem; font-weight: 700;
  color: var(--white); letter-spacing: 1.5px; text-transform: uppercase;
}

.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod-card:hover .prod-img { transform: scale(1.04); }

/* Strip row spans full width */
.prod-strip-wrap {
  grid-column: 1 / -1;
  overflow: hidden;
}
.prod-strip {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -ms-overflow-style: none; scrollbar-width: none;
  padding-bottom: 4px;
  cursor: grab;
}
.prod-strip:active { cursor: grabbing; }
.prod-strip::-webkit-scrollbar { display: none; }
.prod-strip-card {
  position: relative; border-radius: 20px; overflow: hidden;
  flex-shrink: 0; width: 340px; height: 380px; scroll-snap-align: start;
  cursor: pointer; background: #0A2540;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}
.prod-strip-card .prod-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--transition); }
.prod-strip-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod-strip-card:hover .prod-img { transform: scale(1.04); }
/* Larger title in card 1 */
.prod-card--wide .prod-name { font-size: 2.125rem; }

/* ===================== ECOSYSTEM ===================== */
.ecosystem { background: var(--white); padding: 120px 0; }
/* Centered header */
.eco-head {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  margin-bottom: 64px;
}
.eco-title-main {
  font-family: var(--font-heading); font-size: 3.25rem; font-weight: 700;
  color: var(--navy); letter-spacing: -1.5px; line-height: 1.1; margin: 0;
}
.eco-sub-main {
  font-family: var(--font-body); font-size: 1.0625rem; color: var(--text-muted);
  line-height: 1.65; max-width: 560px; text-align: center; margin: 0;
}
/* Bento grid: left wide + right column */
.eco-bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.eco-right-col {
  display: flex; flex-direction: column; gap: 24px;
}
.eco-card {
  position: relative; border-radius: 28px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.4s var(--ease-spring);
  background: #0A2540;
}
.eco-card--main { height: 440px; }
.eco-card--sub { flex: 1; min-height: 200px; }
.eco-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eco-gradient-v2 {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,37,64,0.95) 0%, rgba(10,37,64,0.5) 40%, rgba(10,37,64,0) 80%);
}
.eco-content {
  position: relative; z-index: 2;
  padding: 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.eco-card--sub .eco-content { padding: 28px; gap: 14px; }
.eco-icon-box {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,82,204,0.4);
}
.eco-card--sub .eco-icon-box { width: 44px; height: 44px; border-radius: 12px; }
.eco-icon-box .material-symbols-outlined { font-size: 24px; }
.eco-card--sub .eco-icon-box .material-symbols-outlined { font-size: 20px; }
.eco-ttl {
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700;
  color: var(--white); line-height: 1.15; margin: 0;
}
.eco-card--sub .eco-ttl { font-size: 1.375rem; }
.eco-desc {
  font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.6; margin: 0;
}
.eco-card:hover { transform: translateY(-4px); }

/* ===================== CTA ===================== */
.cta {
  padding: 80px 0; background: var(--navy);
}
/* Centered heading block */
.cta-top {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  margin-bottom: 48px;
}
.cta-label {
  font-family: var(--font-body); font-size: 0.6875rem; font-weight: 700;
  color: #93C5FD; letter-spacing: 4px; text-transform: uppercase; margin: 0;
}
.cta-heading {
  font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700;
  color: var(--white); letter-spacing: -2px; line-height: 1.1; margin: 0;
}
/* White card */
.cta-card {
  background: var(--white); border-radius: 24px; overflow: hidden;
  width: 100%;
}
.cta-card-body {
  padding: 32px 40px;
  display: flex; flex-direction: column;
  gap: 24px;
}
.cta-info {
  display: flex; flex-direction: column; gap: 12px;
}
.cta-company {
  font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700;
  color: var(--navy); margin: 0; line-height: 1.3;
}
.cta-addr {
  font-family: var(--font-body); font-size: 0.875rem;
  color: var(--text-muted); line-height: 1.5; margin: 0;
}
/* Hotline / Email row */
.cta-meta-row {
  display: flex; align-items: flex-start; gap: 24px;
}
.cta-meta-item {
  display: flex; flex-direction: column; gap: 4px;
}
.cta-meta-label {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 700;
  color: #9CA3AF; letter-spacing: 1px; text-transform: uppercase;
}
.cta-meta-value {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
  color: var(--navy); text-decoration: none;
  transition: color var(--transition);
}
.cta-meta-value:hover { color: var(--blue); }
.cta-meta-divider {
  width: 1px; background: var(--border); align-self: stretch; margin-top: 18px;
}
/* Action buttons – same row, auto width */
.cta-btn-col {
  display: flex; flex-direction: row; gap: 12px; flex-wrap: wrap;
}
.btn-cta-call, .btn-cta-zalo {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 100px;
  font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: background var(--transition), transform 0.2s ease;
}
.btn-cta-call {
  background: var(--navy); color: var(--white);
}
.btn-cta-call:hover { background: #0c3058; transform: translateY(-2px); }
.btn-cta-zalo {
  background: #FAF7F2; color: var(--navy);
  border: 1.5px solid #D1D5DB;
}
.btn-cta-zalo:hover { background: #f0ece4; transform: translateY(-2px); }
/* ===================== FOOTER ===================== */
.footer { background: #051324; padding: 80px 0 40px; color: var(--white); }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; gap: 64px; }
.footer-grid { display: flex; justify-content: space-between; gap: 64px; }

/* Brand col */
.ft-brand { display: flex; flex-direction: column; gap: 24px; max-width: 400px; }
.ft-logo { height: 56px; width: 180px; object-fit: contain; object-position: left; }
.ft-tagline { font-family: var(--font-body); font-size: 0.9375rem; color: #6B7280; line-height: 1.65; margin: 0; }

/* Link cols */
.ft-links { display: flex; gap: 80px; }
.ft-col { display: flex; flex-direction: column; gap: 20px; }
.ft-col-head { font-family: var(--font-heading); font-size: 0.8125rem; font-weight: 700; color: var(--white); letter-spacing: 0.5px; margin: 0; text-transform: uppercase; }
.ft-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.ft-list li a { font-family: var(--font-body); font-size: 0.875rem; color: #6B7280; text-decoration: none; transition: color var(--transition); }
.ft-list li a:hover { color: var(--white); }

/* Bottom bar */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 32px; }
.ft-copyright { font-family: var(--font-body); font-size: 0.8125rem; color: #4B5563; margin: 0; }


/* ===================== FLOATING ACTIONS ===================== */
.contact-actions-floating {
  position: fixed; bottom: 40px; right: 40px;
  display: flex; flex-direction: column; gap: 14px; z-index: 9999;
}
.action-circle {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: shake 3s infinite 2s;
}
.action-circle:hover { transform: scale(1.1); animation: none; }
.ac-call { background: #22c55e; box-shadow: 0 0 20px rgba(34,197,94,0.35); }
.ac-call:hover { box-shadow: 0 0 28px rgba(34,197,94,0.55); }
.ac-chat { background: #0068ff; box-shadow: 0 0 20px rgba(0,104,255,0.35); }
.ac-chat:hover { box-shadow: 0 0 28px rgba(0,104,255,0.55); }
.action-circle img { width: 30px; height: 30px; object-fit: contain; }
.ac-chat img { width: 42px; height: 42px; }
@keyframes shake {
  0%, 90%, 100% { transform: rotate(0); }
  92%, 96% { transform: rotate(12deg); }
  94%, 98% { transform: rotate(-12deg); }
}

/* ===================== SCROLL REVEAL ===================== */
/* Chính xác theo pattern của OEM site: dùng .visible */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible,
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delay helpers — dùng giống oem.nhuphong */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Mobile: giảm khoảng dịch chuyển để mượt hơn trên điện thoại */
@media (max-width: 768px) {
  .reveal { transform: translateY(20px); }
}

/* ===================== RESPONSIVE ===================== */

/* Tablet: 1024px */
@media (max-width: 1024px) {
  .container { padding: 0 40px; }
  .header-inner { padding: 0 40px; max-width: none; }
  .stats-grid { padding: 0 40px; }
  /* .header-cta stays visible on tablet */
  .about-inner { flex-direction: column; gap: 40px; }
  .about-image { max-height: 360px; }
  .eco-bento { grid-template-columns: 1fr; gap: 24px; }
  .eco-right-col { gap: 16px; }
  .eco-card--main { height: 380px; }
  .eco-card--sub { min-height: 220px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Mobile: 768px */
@media (max-width: 768px) {
  :root { --header-h: 72px; }
  .container { padding: 0 24px; }
  .header-inner { padding: 0 20px; }
  .hide-mobile { display: none; }

  /* Header mobile: hide nav & hamburger, keep CTA button */
  .nav { display: none; }
  .nav-toggle { display: none; }
  .header-cta { display: flex; margin-left: auto; }

  /* Hero */
  .hero-title { font-size: 3rem; letter-spacing: -1px; }
  .hero-sub { font-size: 0.9375rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary-hero, .btn-ghost-hero { width: 100%; justify-content: center; }
  .hero-scroll-hint { bottom: 24px; }

  /* Trust Bar */
  .trust-bar { padding: 32px 0; }
  .trust-bar .container {
    flex-direction: column; align-items: center; gap: 32px;
  }
  .trust-label { text-align: center; }
  .trust-badges {
    display: flex; flex-direction: column; gap: 12px; width: 100%;
  }
  .trust-badge-card {
    min-width: unset; width: 100%;
    background: #fff; border-radius: 16px; padding: 16px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  }
  .trust-badge-title { font-size: 15px; text-align: center; white-space: normal; }
  .trust-badge-sub { font-size: 13px; text-align: center; white-space: normal; }
  .trust-stats { justify-content: center; gap: 48px; }

  /* About */
  .about { padding: 64px 0; }
  .about-inner { gap: 32px; }
  .about-title { font-size: 1.625rem; }
  .btn-secondary { width: 100%; justify-content: center; }

  /* Stats */
  .stats { padding: 64px 0; }
  .stats-grid { display: grid; grid-template-columns: 1fr; padding: 0 24px; gap: 32px; }
  .stat-divider { display: none; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 32px; }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
  .stat-num { font-size: 3rem; }

  /* Products */
  .section-head-split { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .section-head-split .section-sub { max-width: 100%; padding-bottom: 0; }
  .products { padding: 64px 0; }
  .products-grid { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 16px; }
  .prod-card--wide { grid-column: 1; }
  .prod-card--tall { height: 340px; }
  .prod-card--wide .prod-name { font-size: 1.625rem; }
  .prod-strip-card { width: 260px; height: 300px; }
  .prod-badge { top: 20px; left: 20px; }
  .prod-info { padding: 20px; }

  /* Ecosystem */
  .ecosystem { padding: 64px 0; }
  .eco-head { margin-bottom: 40px; }
  .eco-title-main { font-size: 2rem; }
  .eco-sub-main { font-size: 0.9375rem; }
  .eco-bento { grid-template-columns: 1fr; }
  .eco-right-col { gap: 16px; }
  .eco-card--main { height: 320px; }
  .eco-card--sub { min-height: 200px; }
  .eco-content { padding: 24px; gap: 12px; }
  .eco-ttl { font-size: 1.25rem; }

  /* CTA */
  .cta { padding: 64px 0; }
  .cta-heading { font-size: 1.875rem; letter-spacing: -1px; }
  .cta-card-body { padding: 24px; gap: 20px; }
  .cta-btn-col { width: 100%; }
  .cta-btn-col .btn-cta-call,
  .cta-btn-col .btn-cta-zalo { flex: 1; }
  .cta-meta-row { flex-direction: column; gap: 16px; }
  .cta-meta-divider { display: none; }
  .btn-cta-call, .btn-cta-zalo { padding: 14px 24px; }

  /* Footer */
  .footer { padding-top: 56px; }
  .footer-inner { gap: 48px; }
  .footer-grid { flex-direction: column; gap: 40px; }
  .ft-brand { max-width: 100%; }
  .ft-links { flex-direction: column; gap: 40px; }
  .ft-legal { flex-wrap: wrap; justify-content: center; }

  /* FAB */
  .contact-actions-floating { bottom: 24px; right: 20px; gap: 10px; }
  .action-circle { width: 50px; height: 50px; }
  .action-circle img { width: 24px; height: 24px; }
  .ac-chat img { width: 36px; height: 36px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 1.75rem; }
  .about-title { font-size: 1.5rem; }
  .cta-title { font-size: 1.75rem; }
}
