﻿/* ===================================================
   Minh Tien Technology — Luxury Green Design System
   Optimized for Performance & Mobile
   =================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --primary-50: #f4f7ed;
  --primary-100: #e5edcc;
  --primary-200: #d2df9e;
  --primary-300: #bcd06d;
  --primary-400: #a6c15e;
  --primary-500: #90B44C;
  --primary-600: #7a9a3e;
  --primary-700: #617b31;
  --primary-800: #4a5e25;
  --primary-900: #354319;

  --black: #0d0f0a;
  --dark: #141810;
  --dark-2: #1c2118;
  --dark-3: #252b20;
  --gray-900: #2f3629;
  --gray-800: #3d4536;
  --gray-700: #556149;
  --gray-600: #6b7862;
  --gray-500: #8a9580;
  --gray-400: #a3ac9c;
  --gray-300: #c2c9bc;
  --gray-200: #dde1d9;
  --gray-100: #f0f2ee;
  --light: #f7f9f4;
  --white: #fff;

  --accent-gold: #C8A951;
  --accent-teal: #3DBCA0;
  --green: #00C896;
  --red: #EF4444;
  --amber: #F59E0B;

  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  --container: 1200px;

  --shadow-sm: 0 1px 3px rgba(13, 15, 10, .06);
  --shadow: 0 4px 16px rgba(13, 15, 10, .08);
  --shadow-lg: 0 8px 32px rgba(13, 15, 10, .10);
  --shadow-xl: 0 16px 48px rgba(13, 15, 10, .14);
  --shadow-glow: 0 0 40px rgba(144, 180, 76, .12);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
::selection { background: var(--primary-200); color: var(--dark); }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.3rem; }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }

.section-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--primary-500);
  margin-bottom: 16px;
}
.section-overline::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--primary-500);
  border-radius: 1px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}
.section-cta { text-align: center; margin-top: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary, .btn--primary {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(144, 180, 76, .2);
}
.btn-primary:hover, .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(144, 180, 76, .3);
}
.btn-glass {
  background: rgba(144, 180, 76, .08);
  color: var(--primary-600);
  border-color: rgba(144, 180, 76, .25);
}
.btn-glass:hover {
  background: rgba(144, 180, 76, .15);
  border-color: var(--primary-500);
  transform: translateY(-2px);
}
.btn-ghost, .btn--outline {
  background: transparent;
  color: var(--primary-600);
  padding: 12px 4px;
}
.btn-ghost:hover, .btn--outline:hover { color: var(--primary-700); }

.btn-white { background: var(--white); color: var(--primary-600); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-outline-white, .btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
}
.btn-outline-white:hover, .btn--outline-white:hover {
  background: rgba(255, 255, 255, .1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg, .btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 20px; font-size: .85rem; }
.btn-block { width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, .97);
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  transition: opacity .3s;
}
.logo:hover { opacity: .8; }

.main-nav { display: flex; align-items: center; gap: 4px; }

.nav-link {
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-600);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-600);
  background: var(--primary-50);
}

.nav-arrow { font-size: .7rem; margin-left: 2px; transition: transform .3s; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all .2s var(--ease);
}
.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }

.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all .3s;
}
.nav-dropdown__item:hover {
  background: var(--primary-50);
  color: var(--primary-600);
}
.nav-dropdown__item svg { flex-shrink: 0; color: var(--gray-400); }
.nav-dropdown__item:hover svg { color: var(--primary-500); }

.nav-dropdown__footer { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--gray-100); }
.nav-dropdown__footer a {
  display: block;
  padding: 8px 14px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary-500);
  border-radius: var(--radius-sm);
}
.nav-dropdown__footer a:hover { background: var(--primary-50); }

.header-cta { padding: 10px 24px; font-size: .85rem; }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .3s;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
  background: var(--light);
}

/* Hero background — lightweight, no blur */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(144, 180, 76, .07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(200, 169, 81, .04) 0%, transparent 60%);
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(144, 180, 76, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(144, 180, 76, .04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Blobs — radial gradient, NO filter blur */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  opacity: .18;
}
.hero-blob--1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--primary-200) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero-blob--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--primary-100) 0%, transparent 70%);
  bottom: -50px; left: -80px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--primary-500);
  margin-bottom: 20px;
}
.hero-overline::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--primary-500);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero-title--accent {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--gray-500);
  font-weight: 500;
}
.hero-trust__item svg { color: var(--primary-500); flex-shrink: 0; }

/* Hero Mockup */
.hero-visual { position: relative; }
.hero-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dots span:nth-child(1) { background: #EF4444; }
.mockup-dots span:nth-child(2) { background: #F59E0B; }
.mockup-dots span:nth-child(3) { background: #22C55E; }
.mockup-url { flex: 1; height: 24px; background: var(--white); border-radius: 6px; }
.mockup-screen { padding: 24px; min-height: 280px; }
.mockup-placeholder { display: flex; flex-direction: column; gap: 16px; }

/* Shimmer — plays once only */
.mockup-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--gray-100), var(--gray-200), var(--gray-100));
  background-size: 200% 100%;
  animation: shimmer 2s ease-out 1 forwards;
}
.mockup-line--title { width: 60%; height: 16px; }
.mockup-line--sub { width: 40%; }
.mockup-line--long { width: 90%; }
.mockup-grid-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mockup-grid-mini div {
  height: 60px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--primary-50), var(--primary-100), var(--primary-50));
  background-size: 200% 100%;
  animation: shimmer 2s ease-out 1 forwards;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Floating badges */
.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: .8rem;
  font-weight: 600;
  color: var(--dark);
  border: 1px solid var(--gray-100);
  white-space: nowrap;
}
.hero-float svg { color: var(--primary-500); }
.hero-float--1 { top: 20px; right: -20px; }
.hero-float--2 { bottom: 60px; left: -30px; }
.hero-float--3 { bottom: -10px; right: 40px; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.float-animation { animation: float-y 5s ease-in-out infinite; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: float-y 3s ease-in-out infinite;
  color: var(--gray-400);
}

/* ========== STATS ========== */
.stats-bar { padding: 48px 0; background: var(--dark); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primary-400);
  letter-spacing: -.02em;
}
.stat-label { font-size: .85rem; color: var(--gray-400); margin-top: 4px; }

/* ========== PAIN / SOLUTION ========== */
.pain-solution-section { background: var(--light); }
.pain-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.pain-column, .solution-column {
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pain-column { background: rgba(239, 68, 68, .04); border: 1px solid rgba(239, 68, 68, .1); }
.solution-column { background: rgba(144, 180, 76, .06); border: 1px solid rgba(144, 180, 76, .15); }

.pain-column__header, .solution-column__header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pain-column__header { color: #DC2626; }
.solution-column__header { color: var(--primary-600); }

.pain-item, .solution-item {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.5;
}
.pain-item {
  background: rgba(239, 68, 68, .06);
  color: var(--gray-700);
  border-left: 3px solid rgba(239, 68, 68, .3);
}
.solution-item {
  background: rgba(144, 180, 76, .08);
  color: var(--gray-700);
  border-left: 3px solid var(--primary-400);
}

/* ========== SERVICE CARDS ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-400), var(--primary-500));
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  color: var(--primary-500);
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.service-card__title { font-size: 1.15rem; margin-bottom: 10px; }
.service-card__desc {
  font-size: .92rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.7;
}
.service-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.service-card__feature {
  font-size: .78rem;
  padding: 4px 10px;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 50px;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary-500);
  transition: gap .3s;
}
.service-card__link:hover { gap: 10px; }

/* ========== PROJECT CARDS ========== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.project-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.project-card__image {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-50), var(--gray-100));
  overflow: hidden;
}
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 15, 10, .6), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.project-card:hover .project-card__overlay { opacity: 1; }
.project-card__body { padding: 24px; }
.project-card__title { font-size: 1.1rem; margin-bottom: 6px; }
.project-card__client {
  font-size: .85rem;
  color: var(--primary-500);
  font-weight: 600;
  margin-bottom: 8px;
}
.project-card__desc {
  font-size: .9rem;
  color: var(--gray-500);
  margin-bottom: 12px;
  line-height: 1.6;
}
.project-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-card__tag {
  font-size: .75rem;
  padding: 3px 10px;
  background: var(--primary-50);
  color: var(--primary-600);
  border-radius: 50px;
  font-weight: 500;
}

/* ========== PROCESS TIMELINE ========== */
.process-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-200), var(--primary-500), var(--primary-200));
}
.process-step {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  position: relative;
}
.process-step__marker {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--primary-300);
  border-radius: 50%;
  z-index: 1;
}
.process-step__number {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  color: var(--primary-600);
}
.process-step__content { padding-top: 8px; }
.process-step__title { font-size: 1.05rem; margin-bottom: 4px; }
.process-step__desc { font-size: .9rem; color: var(--gray-500); }

/* ========== TECH PREVIEW ========== */
.tech-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.tech-category-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .3s;
}
.tech-category-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow);
}
.tech-category-card__title { font-size: 1.05rem; margin-bottom: 8px; }
.tech-category-card__desc {
  font-size: .88rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.tech-category-card__items { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-tag {
  font-size: .78rem;
  padding: 4px 12px;
  background: var(--primary-50);
  color: var(--primary-700);
  border-radius: 50px;
  font-weight: 500;
}

/* ========== CTA BLOCK ========== */
.cta-block { padding: 80px 0; }
.cta-block--dark {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.cta-block--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 20% 50%, rgba(144, 180, 76, .06), transparent),
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(200, 169, 81, .04), transparent);
}
.cta-block__content {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-block__content .section-overline { color: var(--primary-400); }
.cta-block__content .section-overline::before { background: var(--primary-400); }
.cta-block__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-block__desc {
  color: var(--gray-400);
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.cta-block__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta-block__badges {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--gray-400);
}
.cta-block__badges span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cta-block--dark .btn-glass {
  color: rgba(255, 255, 255, .8);
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .05);
}
.cta-block--dark .btn-glass:hover {
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .1);
}

/* ========== ABOUT PAGE ========== */
.about-hero { background: var(--light); }

.about-overview__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-overview__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(144, 180, 76, .08);
  border-radius: 50px;
  font-size: .88rem;
  color: var(--gray-700);
}
.highlight-item__icon { color: var(--primary-500); font-weight: 700; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .3s;
}
.value-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.value-card__icon { font-size: 1.6rem; margin-bottom: 12px; }
.value-card__title { font-size: 1.05rem; margin-bottom: 8px; }
.value-card__desc { font-size: .9rem; color: var(--gray-500); }

.working-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.wm-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all .3s;
}
.wm-card:hover { border-color: var(--primary-200); box-shadow: var(--shadow); }
.wm-card__icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.wm-card__title { font-size: 1rem; margin-bottom: 6px; }
.wm-card__desc { font-size: .88rem; color: var(--gray-500); }

.target-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.target-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all .3s;
}
.target-item:hover { border-color: var(--primary-200); box-shadow: var(--shadow-sm); }
.target-item__icon { font-size: 1.6rem; flex-shrink: 0; }
.target-item__title { font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.target-item__desc { font-size: .85rem; color: var(--gray-500); }

.commitments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.commitment-item {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(144, 180, 76, .06);
  border: 1px solid rgba(144, 180, 76, .12);
  border-radius: var(--radius);
}
.commitment-item__check {
  color: var(--primary-500);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.commitment-item strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.commitment-item p { font-size: .85rem; color: var(--gray-500); }

/* ========== PORTFOLIO PAGE ========== */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  transition: all .3s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary-500);
  color: var(--white);
  border-color: var(--primary-500);
}

/* ========== SERVICES DETAIL ========== */
.service-detail {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 24px;
  transition: all .3s;
}
.service-detail:hover { box-shadow: var(--shadow); }
.service-detail__features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}
.service-detail__feature {
  font-size: .78rem;
  padding: 4px 10px;
  background: var(--primary-50);
  color: var(--primary-600);
  border-radius: 50px;
}

/* ========== CONTACT PAGE ========== */
.contact-form-section { background: var(--light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: .95rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--dark);
  transition: all .3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(144, 180, 76, .15);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.contact-info-sidebar { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .3s;
}
.contact-info-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-sm);
}

/* ========== FAQ ========== */
.faq-search { max-width: 500px; margin: 0 auto 40px; }
.faq-search input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: .95rem;
  background: var(--white);
  transition: all .3s;
}
.faq-search input:focus {
  outline: none;
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(144, 180, 76, .15);
}
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
  transition: all .3s;
}
.faq-item:hover { border-color: var(--primary-200); }

.faq-question {
  padding: 18px 24px;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--gray-400);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item.active .faq-question::after { content: '\2212'; color: var(--primary-500); }

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all .4s var(--ease);
}
.faq-item.active .faq-answer { padding-bottom: 18px; max-height: 500px; }
.faq-answer p { font-size: .92rem; color: var(--gray-500); line-height: 1.7; }

/* ========== BREADCRUMB ========== */
.breadcrumb {
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .85rem;
  color: var(--gray-400);
}
.breadcrumb a { color: var(--gray-500); transition: color .3s; }
.breadcrumb a:hover { color: var(--primary-500); }
.breadcrumb__sep { color: var(--gray-300); }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--dark);
  padding: 64px 0 32px;
  color: var(--gray-400);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 12px; }
.footer-description { font-size: .88rem; line-height: 1.7; color: var(--gray-500); }

.footer-links-group h4 {
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-300);
  margin-bottom: 16px;
}
.footer-links-group li { margin-bottom: 8px; }
.footer-links-group a {
  font-size: .88rem;
  color: var(--gray-500);
  transition: color .3s;
}
.footer-links-group a:hover { color: var(--primary-400); }

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .88rem;
}
.contact-info-list svg { flex-shrink: 0; margin-top: 2px; color: var(--primary-500); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--gray-800);
  text-align: center;
  font-size: .82rem;
  color: var(--gray-600);
}

/* ========== FLOATING CTA ========== */
.floating-cta {
  position: fixed;
  bottom: 32px; right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all .4s var(--ease);
  pointer-events: none;
}
.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.floating-cta__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: all .3s;
  white-space: nowrap;
}
.floating-cta__btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.floating-cta__phone { background: linear-gradient(135deg, var(--primary-500), var(--primary-600)); }
.floating-cta__zalo { background: linear-gradient(135deg, #0068FF, #0045CC); }
.floating-cta__form { background: linear-gradient(135deg, var(--accent-gold), #B8962D); }
.floating-cta__label { display: none; }
.floating-cta__btn:hover .floating-cta__label { display: inline; }

/* ========== MOBILE BOTTOM BAR ========== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .06);
}
.mobile-bottom-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: .68rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: color .3s;
}
.mobile-bottom-bar__item.active,
.mobile-bottom-bar__item:hover { color: var(--primary-500); }
.mobile-bottom-bar__call { position: relative; }
.mobile-bottom-bar__call svg {
  background: var(--primary-500);
  color: var(--white);
  border-radius: 50%;
  padding: 6px;
  width: 32px; height: 32px;
  margin-top: -8px;
}

/* ========== SCROLL REVEAL ========== */
/* Visible by default — JS adds .sr-ready to <html> to enable animations */
.scroll-reveal {
  opacity: 1;
  transform: none;
}
html.sr-ready .scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(0, 0, .2, 1), transform .6s cubic-bezier(0, 0, .2, 1);
}
html.sr-ready .scroll-reveal[data-direction="left"] { transform: translateX(-24px); }
html.sr-ready .scroll-reveal[data-direction="right"] { transform: translateX(24px); }
html.sr-ready .scroll-reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ========== PAGE HERO ========== */
.page-hero {
  padding: 140px 0 60px;
  background: var(--light);
  text-align: center;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== MISC PAGES ========== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.tech-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all .3s;
}
.tech-item:hover { border-color: var(--primary-200); box-shadow: var(--shadow-sm); }

.process-detail { max-width: 800px; margin: 0 auto; }
.process-grid { display: grid; gap: 32px; }

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.capability-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .3s;
}
.capability-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.capability-card__icon { font-size: 2rem; margin-bottom: 12px; }
.capability-card__title { font-size: 1.05rem; margin-bottom: 8px; }
.capability-card__desc { font-size: .9rem; color: var(--gray-500); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .hero-title { font-size: clamp(2rem, 5vw, 3rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-overview__content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .container { padding: 0 16px; }

  /* Mobile Nav */
  .main-nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 999;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .nav-link { font-size: 1.1rem; padding: 12px 24px; }
  .nav-dropdown__menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--light);
    border-radius: var(--radius);
    opacity: 1;
    visibility: visible;
    margin-top: 4px;
    min-width: auto;
  }
  .header-cta { display: none; }
  .mobile-toggle { display: flex; z-index: 1001; }
  .mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 120px 0 80px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .services-grid,
  .projects-grid { grid-template-columns: 1fr; }
  .pain-solution-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .mobile-bottom-bar { display: grid; grid-template-columns: repeat(4, 1fr); }
  .floating-cta { display: none; }
  .site-footer { padding-bottom: 80px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 100px 0 60px; }
  .hero-subtitle { font-size: 1rem; }
  .service-card,
  .contact-form,
  .service-detail { padding: 24px; }
  .values-grid,
  .working-model-grid,
  .target-list { grid-template-columns: 1fr; }
}

/* ========== REDUCE MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html.sr-ready .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}
