@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,200;0,300;0,400;0,500;0,600;1,300;1,400&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ─────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────── */
:root {
  --cream:   #FAF8F4;
  --ivory:   #F4F0E8;
  --beige:   #EDE5D8;
  --sand:    #D4C4AD;
  --sage:    #7A9E7E;
  --sage-l:  #B8D4BA;
  --sage-xl: #E0EEE1;
  --brown:   #7A5C4E;
  --taupe:   #9A8C80;
  --ink:     #1E1A17;
  --ink-2:   #2D2620;
  --lav:     #8C7FA0;
  --lav-l:   #C8C0D8;
  --gold:    #C4A96A;
  --gold-l:  #E8D8AA;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Be Vietnam Pro', system-ui, sans-serif;

  --radius: 12px; /* Giao diện hiện đại mềm mại hơn */
  --shadow-sm: 0 4px 20px rgba(30,26,23,.03);
  --shadow-md: 0 12px 32px rgba(30,26,23,.05);
  --shadow-lg: 0 24px 60px rgba(30,26,23,.08);

  --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ─────────────────────────────────────
   RESET & BASE
───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em; /* Editorial look */
  line-height: 1.15;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
p  { font-weight: 300; color: #5A504A; line-height: 1.85; }

/* ── SMOOTH PAGE TRANSITION CSS ── */
.page-transition {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100vh;
  background: var(--cream);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
  pointer-events: none;
}
.page-transition.active {
  transform: translateY(0);
  pointer-events: auto;
}

em { font-style: italic; }

/* ─────────────────────────────────────
   NAVBAR
───────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.4rem 2rem;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(250,248,244,.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(30,26,23,.07), 0 4px 24px rgba(30,26,23,.04);
  padding: 0.85rem 2rem;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.45rem; font-style: italic;
  color: var(--ink); text-decoration: none;
  letter-spacing: 0.04em;
  transition: color .3s;
}
.nav-logo span { color: var(--sage); }
.nav-logo:hover { color: var(--sage); }

.nav-links { display: flex; gap: 2.8rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  position: relative; transition: color .3s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -5px; left: 0; width: 100%; height: 1.5px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover, .nav-links a.active { color: var(--sage); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  outline: none; -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--ink); transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column;
  position: fixed; inset: 0; z-index: 999;
  background: rgba(250,248,244,.95);
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  padding: 0 2rem;
  justify-content: center; align-items: center;
  gap: 2.2rem;
}
.mobile-nav.open { display: flex; animation: fadeIn .4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.mobile-nav a {
  font-family: var(--font-serif); 
  font-size: clamp(2rem, 10vw, 2.8rem); 
  font-weight: 400;
  color: var(--ink); 
  text-decoration: none; 
  transition: all .4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mobile-nav a:hover { color: var(--sage); transform: translateY(-3px); }

/* ─────────────────────────────────────
   BUTTONS
───────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 2.6rem;
  background: var(--ink);
  color: white;
  font-family: var(--font-sans);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: none;
  border-radius: 100px; /* Nút bo cong hiện đại */
  cursor: pointer; transition: var(--transition);
  position: relative; overflow: hidden;
  box-shadow: 0 4px 12px rgba(30,26,23,.1);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-l) 100%);
  transform: translateY(100%); /* Trượt từ dưới lên */
  transition: transform .4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 0;
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: white; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 2.6rem;
  background: transparent; color: var(--ink);
  font-family: var(--font-sans);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 1.5px solid var(--sand);
  border-radius: 100px;
  cursor: pointer; transition: var(--transition);
}
.btn-outline:hover {
  background: var(--ivory); border-color: var(--ink); color: var(--ink);
  transform: translateY(-3px);
}

.btn-sage {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 2.6rem;
  background: var(--sage); color: white;
  font-family: var(--font-sans);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: none;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(122,158,126,.2);
  cursor: pointer; transition: var(--transition);
}
.btn-sage:hover { background: var(--ink); box-shadow: var(--shadow-md); color: white; transform: translateY(-3px); }

/* ─────────────────────────────────────
   LAYOUT HELPERS
───────────────────────────────────── */
.section-wrap { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 7rem 0; }

.section-label {
  display: inline-block;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 1rem;
}
.section-title { color: var(--ink); margin-bottom: 1.4rem; }
.section-line {
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  margin-bottom: 2rem;
}

/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(150deg, var(--cream) 0%, var(--ivory) 50%, var(--beige) 100%);
  display: flex; align-items: center;
  padding-top: 80px;
  position: relative; overflow: hidden;
}

/* Decorative orbs */
.hero::before {
  content: '';
  position: absolute; top: -150px; right: -100px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(122,158,126,.18) 0%, transparent 65%);
  animation: floatOrb 10s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -100px; left: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,169,106,.12) 0%, transparent 65%);
  animation: floatOrb 13s ease-in-out infinite reverse;
  pointer-events: none;
}

.hero-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}

.hero-text { animation: slideUp .9s ease both; }
.hero-greeting {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 1.8rem;
}
.hero-greeting::before {
  content: '';
  display: block; width: 32px; height: 1.5px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
}

.hero-name { color: var(--ink); margin-bottom: .5rem; }
.hero-name em { color: var(--sage); }
.hero-title {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--taupe); margin-bottom: 1.8rem;
  border-left: 2px solid var(--gold-l); padding-left: 1rem;
}
.hero-tagline {
  font-size: 1rem; font-weight: 300;
  color: #6A5C54; max-width: 460px;
  margin-bottom: 3rem; line-height: 1.9;
}

.hero-btns { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* Hero image */
.hero-image-wrap { animation: slideUp .9s .2s ease both; }
.hero-img-frame {
  position: relative;
  width: 430px; max-width: 100%;
  margin-left: auto;
}
/* Decorative corner frame */
.hero-img-frame::before {
  content: '';
  position: absolute; bottom: -22px; right: -22px;
  width: 100%; height: 100%;
  border: 2px solid var(--sand);
  z-index: 0; transition: var(--transition);
}
.hero-img-frame:hover::before { bottom: -16px; right: -16px; }

.hero-img-frame img {
  width: 100%; height: 540px; object-fit: cover;
  position: relative; z-index: 1; display: block;
  filter: saturate(1.04) contrast(1.02);
}

/* Floating badge */
.hero-badge {
  position: absolute; bottom: 50px; left: -36px; z-index: 2;
  background: white;
  padding: 1.1rem 1.6rem;
  box-shadow: var(--shadow-lg);
  border-top: 2px solid var(--sage);
  animation: fadeIn .9s .6s both;
  display: flex; flex-direction: column; gap: .15rem;
}
.hero-badge p {
  font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--taupe);
}
.hero-badge strong {
  font-family: var(--font-serif); font-size: 1rem;
  color: var(--ink); display: block;
}

/* ─────────────────────────────────────
   ABOUT
───────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 6rem; align-items: center;
}
.about-img { position: relative; }
.about-img img {
  width: 100%; height: 470px; object-fit: cover;
  display: block; filter: saturate(1.05);
}
.about-img::before {
  content: '';
  position: absolute; top: -12px; left: -12px;
  width: calc(100% + 24px); height: calc(100% + 24px);
  background: linear-gradient(135deg, var(--sage-xl) 0%, var(--gold-l) 100%);
  z-index: -1;
}
.about-img::after {
  content: '';
  position: absolute; bottom: 24px; right: -20px;
  width: 120px; height: 120px;
  background: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='4' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='24' cy='4' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='44' cy='4' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='64' cy='4' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='84' cy='4' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='104' cy='4' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='4' cy='24' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='24' cy='24' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='44' cy='24' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='64' cy='24' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='84' cy='24' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='104' cy='24' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='4' cy='44' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='24' cy='44' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='44' cy='44' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='64' cy='44' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='84' cy='44' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3Ccircle cx='104' cy='44' r='2' fill='%23C4A96A' fill-opacity='.3'/%3E%3C/svg%3E") no-repeat;
  z-index: 2; pointer-events: none;
}

.about-stats { display: flex; gap: 2.5rem; margin-top: 2.8rem; flex-wrap: wrap; }
.stat-number {
  font-family: var(--font-serif); font-size: 2.8rem;
  color: var(--sage); display: block; line-height: 1;
}
.stat-label {
  font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--taupe);
  margin-top: .3rem;
}

/* ─────────────────────────────────────
   SKILLS
───────────────────────────────────── */
.skills-section {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  position: relative; overflow: hidden;
}
.skills-section::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,158,126,.12) 0%, transparent 65%);
  pointer-events: none;
}
.skills-section .section-label { color: var(--sage-l); }
.skills-section .section-title { color: white; }
.skills-section .section-line { background: linear-gradient(90deg, var(--sage), var(--gold)); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 3.5rem;
}
.skill-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.skill-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(122,158,126,.1) 0%, transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.skill-card:hover { transform: translateY(-6px); border-color: rgba(122,158,126,.3); }
.skill-card:hover::before { opacity: 1; }

.skill-icon {
  width: 50px; height: 50px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.4rem;
}
.skill-name {
  font-family: var(--font-serif); font-size: 1.1rem;
  color: white; margin-bottom: 1.2rem;
}
.skill-bar {
  height: 2px; background: rgba(255,255,255,.1);
  position: relative; overflow: hidden;
}
.skill-fill {
  position: absolute; top: 0; left: 0; height: 100%;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  transition: width 1.8s cubic-bezier(.4,0,.2,1); width: 0;
}
.skill-pct {
  font-size: .7rem; margin-top: .6rem;
  color: rgba(255,255,255,.4); letter-spacing: .08em;
}

/* ─────────────────────────────────────
   SOAP SECTION (HOME)
───────────────────────────────────── */
.soap-section { overflow: hidden; }
.soap-inner {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 6rem; align-items: center;
}
.soap-img-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.soap-img-grid img {
  width: 100%; height: 200px; object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1), filter .4s;
  filter: saturate(1.05);
}
.soap-img-grid img:hover { transform: scale(1.04); filter: saturate(1.2); }
.soap-img-grid img:first-child { grid-column: 1/-1; height: 290px; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: .9rem; margin-bottom: 2.5rem; }
.check-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  font-size: .92rem; font-weight: 300; color: #5A504A; line-height: 1.7;
}
.check-list li .check-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--sage-xl);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage); font-size: .75rem; flex-shrink: 0; margin-top: 2px;
}

/* ─────────────────────────────────────
   BLOG CARDS
───────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem; margin-top: 3.5rem;
}
.blog-card {
  background: white; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--beige);
  transition: var(--transition); cursor: pointer;
  box-shadow: 0 4px 24px rgba(30,26,23,.02);
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.blog-card-img { overflow: hidden; height: 230px; }
.blog-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.4,0,.2,1), filter .5s;
}
.blog-card:hover .blog-card-img img { transform: scale(1.08); filter: saturate(1.1); }
.blog-card-body { padding: 2rem; }
.blog-tag {
  font-size: .65rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--sage); display: block; margin-bottom: .8rem;
  position: relative; padding-left: 1.1rem;
}
.blog-tag::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 1.5px;
  background: var(--sage);
}
.blog-card-title {
  font-family: var(--font-serif); font-size: 1.3rem;
  color: var(--ink); margin-bottom: .9rem; line-height: 1.4;
}
.blog-card-excerpt { font-size: .88rem; line-height: 1.8; color: #6A5C54; margin-bottom: 1.4rem; }
.blog-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .73rem; color: var(--taupe); padding-top: 1.2rem;
  border-top: 1px solid var(--beige);
}
.read-more {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: .4rem;
  transition: gap .3s, color .3s;
}
.read-more:hover { gap: .7rem; color: var(--sage); }

/* ─────────────────────────────────────
   CONTACT SECTION (HOME dark)
───────────────────────────────────── */
.contact-section {
  background: linear-gradient(145deg, var(--ink) 0%, #3A2E28 100%);
  position: relative; overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.contact-section .section-label { color: var(--sage-l); }
.contact-section h2 { color: white; }
.contact-section p { color: rgba(255,255,255,.6); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
  position: relative; z-index: 1;
}
.contact-links { display: flex; flex-direction: column; gap: 1.6rem; margin-top: 2.8rem; }
.contact-link {
  display: flex; align-items: center; gap: 1.2rem;
  color: rgba(255,255,255,.75); text-decoration: none;
  font-size: .92rem; font-weight: 300; transition: var(--transition);
}
.contact-link:hover { color: var(--sage-l); }
.contact-link-icon {
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: var(--transition); flex-shrink: 0;
}
.contact-link:hover .contact-link-icon {
  background: var(--sage); border-color: var(--sage);
}

/* Form dark */
.contact-form { display: flex; flex-direction: column; gap: 1.3rem; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: white; padding: .95rem 1.2rem;
  font-family: var(--font-sans); font-size: .9rem; font-weight: 300;
  outline: none; resize: none; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: rgba(122,158,126,.5);
  background: rgba(255,255,255,.09);
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(255,255,255,.25);
}

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
footer {
  background: #120F0D;
  color: rgba(255,255,255,.4);
  padding: 2.8rem 2rem;
  text-align: center;
  font-size: .78rem; letter-spacing: .05em;
}
footer a { color: var(--sage-l); text-decoration: none; transition: color .3s; }
footer a:hover { color: var(--gold-l); }

/* ─────────────────────────────────────
   PAGE BANNER (soap/news/etc)
───────────────────────────────────── */
.page-banner {
  height: 82vh; min-height: 500px;
  position: relative; display: flex; align-items: center; overflow: hidden;
}
.page-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 12s ease;
}
.page-banner:hover img { transform: scale(1.06); }
.page-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(30,26,23,.72) 0%, rgba(30,26,23,.25) 100%);
}
.page-banner-content {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  padding-top: 80px;
  color: white;
}
.page-banner-content .section-label { color: rgba(255,255,255,.65); }
.page-banner-content h1 { color: white; margin-bottom: 1.2rem; }
.page-banner-content p { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 500px; }

/* ─────────────────────────────────────
   PRODUCT GRID (Soap page)
───────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 2rem; margin-top: 3.5rem;
}
.product-card {
  background: white; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--beige);
  box-shadow: 0 4px 24px rgba(30,26,23,.02);
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-img { height: 290px; overflow: hidden; position: relative; }
.product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.4,0,.2,1), filter .5s;
}
.product-card:hover .product-img img { transform: scale(1.07); filter: saturate(1.1); }
.product-badge {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: white; padding: .3rem .9rem;
  font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.product-body { padding: 2rem; }
.product-name {
  font-family: var(--font-serif); font-size: 1.4rem;
  color: var(--ink); margin-bottom: .6rem;
}
.product-price {
  font-family: var(--font-serif); font-size: 1.15rem;
  color: var(--sage); display: block; margin-bottom: 1.1rem;
  font-weight: 500;
}
.product-desc { font-size: .88rem; line-height: 1.8; color: #6A5C54; margin-bottom: 1.6rem; }

/* Detail toggle */
.product-detail-toggle {
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: none; border: none; cursor: pointer;
  font-family: var(--font-sans);
  display: flex; align-items: center; gap: .5rem;
  padding: 0; margin-bottom: 1.2rem; transition: color .3s;
}
.product-detail-toggle:hover { color: var(--sage); }
.product-detail-toggle svg { transition: transform .35s; }
.product-detail-toggle.open svg { transform: rotate(180deg); }
.product-details {
  max-height: 0; overflow: hidden;
  transition: max-height .45s cubic-bezier(.4,0,.2,1), padding .4s;
  border-top: 1px solid var(--beige);
}
.product-details.open { max-height: 320px; padding-top: 1.2rem; }
.detail-row { display: flex; gap: .8rem; margin-bottom: .7rem; font-size: .84rem; }
.detail-label { font-weight: 600; color: var(--ink); min-width: 95px; font-size: .82rem; }
.detail-val { color: #6A5C54; font-weight: 300; }

/* ─────────────────────────────────────
   WHY HANDMADE
───────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.8rem; margin-top: 3.5rem;
}
.why-item {
  padding: 2.5rem 2rem;
  border: 1px solid var(--beige);
  border-radius: var(--radius);
  background: white;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.why-item::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.why-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.why-item:hover::before { transform: scaleX(1); }
.why-icon { font-size: 2rem; margin-bottom: 1.2rem; }
.why-title { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: .8rem; }
.why-desc { font-size: .85rem; line-height: 1.8; color: #6A5C54; }

/* ─────────────────────────────────────
   CTA BAR
───────────────────────────────────── */
.cta-bar {
  background: linear-gradient(135deg, var(--ink) 0%, #3D3028 50%, #4A3A2E 100%);
  padding: 5rem 2rem; text-align: center; color: white;
  position: relative; overflow: hidden;
}
.cta-bar::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,158,126,.08) 0%, transparent 65%);
  pointer-events: none;
}
.cta-bar .section-label { color: rgba(200,220,202,.8); }
.cta-bar h2 { color: white; margin-bottom: 1.2rem; position: relative; }
.cta-bar p { color: rgba(255,255,255,.6); margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; position: relative; }
.cta-btns { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; position: relative; }

.btn-zalo {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: 1rem 2.2rem;
  background: #0068FF; color: white;
  font-family: var(--font-sans); font-size: .76rem;
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: 1.5px solid #0068FF;
  transition: var(--transition);
}
.btn-zalo:hover { background: transparent; color: #0068FF; }

.btn-fb {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: 1rem 2.2rem;
  background: #1877F2; color: white;
  font-family: var(--font-sans); font-size: .76rem;
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: 1.5px solid #1877F2;
  transition: var(--transition);
}
.btn-fb:hover { background: transparent; color: #1877F2; }

/* ─────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────── */
.testimonials-section {
  background: linear-gradient(160deg, var(--ivory) 0%, var(--beige) 100%);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.8rem; margin-top: 3.5rem;
}
.testimonial-card {
  background: white; padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--beige);
  position: relative; transition: var(--transition);
  box-shadow: 0 4px 24px rgba(30,26,23,.02);
}
.testimonial-card:hover { 
  transform: translateY(-5px); 
  box-shadow: var(--shadow-md); 
  border-color: transparent;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-serif); font-size: 6rem; line-height: .8;
  color: var(--sage-xl);
  position: absolute; top: 1.2rem; left: 1.5rem; z-index: 0;
}
.stars { color: var(--gold); margin-bottom: 1rem; letter-spacing: .1em; }
.testimonial-text {
  position: relative; z-index: 1;
  font-size: .9rem; line-height: 1.85;
  margin-bottom: 1.5rem; font-style: italic;
  color: #5A504A;
}
.testimonial-author {
  font-size: .73rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--taupe);
}

/* ─────────────────────────────────────
   BLOG HERO
───────────────────────────────────── */
.blog-hero {
  padding-top: 130px; padding-bottom: 4rem;
  background: linear-gradient(160deg, var(--ink) 0%, #3A2E28 100%);
  text-align: center; position: relative; overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute; top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,158,126,.1) 0%, transparent 65%);
  pointer-events: none;
}
.blog-hero .section-label { color: var(--sage-l); }
.blog-hero h1 { color: white; margin-bottom: 1.2rem; position: relative; }
.blog-hero p { color: rgba(255,255,255,.65); max-width: 520px; margin: 0 auto; position: relative; }

.blog-filter {
  display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap;
  margin: 3rem 0;
}
.filter-btn {
  padding: .55rem 1.6rem;
  background: none; border: 1px solid var(--sand);
  font-family: var(--font-sans); font-size: .7rem;
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--ink); border-color: var(--ink); color: white;
}

.blog-list { padding: 3rem 0 7rem; }

/* ─────────────────────────────────────
   BLOG DETAIL
───────────────────────────────────── */
.blog-detail-hero {
  height: 62vh; min-height: 400px;
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  padding-top: 80px;
}
.blog-detail-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.blog-detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,26,23,.82) 0%, rgba(30,26,23,.12) 55%);
}
.blog-detail-meta {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 3rem 2rem; color: white; width: 100%;
}

.blog-detail-content { max-width: 780px; margin: 5rem auto; padding: 0 2rem; }
.blog-detail-content h2 {
  font-size: 1.8rem; margin: 3rem 0 1.2rem;
  color: var(--ink);
}
.blog-detail-content h3 {
  font-size: 1.35rem; margin: 2.2rem 0 .9rem;
  color: var(--ink);
}
.blog-detail-content p { margin-bottom: 1.6rem; }
.blog-detail-content ul, .blog-detail-content ol {
  margin: 1.2rem 0 1.8rem 1.5rem;
}
.blog-detail-content li {
  margin-bottom: .8rem; line-height: 1.85;
  font-weight: 300; color: #5A504A;
}
.blog-detail-content blockquote {
  border-left: 3px solid var(--sage);
  padding: 1.2rem 2rem; margin: 2.5rem 0;
  background: var(--ivory);
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.18rem; color: var(--ink); line-height: 1.7;
}

.related-posts { padding: 5rem 0; background: var(--beige); }

/* ─────────────────────────────────────
   NEWS PAGE
───────────────────────────────────── */
.news-list { padding: 1rem 0 6rem; }
.news-item {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 2.5rem; padding: 3rem 0;
  border-bottom: 1px solid var(--beige);
  transition: var(--transition);
}
.news-item:hover { transform: translateX(8px); }
.news-item-img { height: 150px; overflow: hidden; }
.news-item-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s, filter .4s; filter: saturate(1.05);
}
.news-item:hover .news-item-img img { transform: scale(1.07); filter: saturate(1.15); }
.news-date {
  font-size: .7rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--taupe); margin-bottom: .6rem;
}
.news-title {
  font-family: var(--font-serif); font-size: 1.4rem;
  margin-bottom: .9rem; color: var(--ink); line-height: 1.35;
}
.news-excerpt { font-size: .88rem; line-height: 1.8; color: #6A5C54; }
.news-badge {
  display: inline-block; padding: .3rem .9rem; margin-top: 1.2rem;
  background: var(--sage-xl);
  font-size: .65rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  transition: var(--transition);
}
.news-badge:hover { background: var(--sage); color: white; }

/* ─────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────── */
.contact-page { padding-top: 120px; }
.contact-page-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 5rem; align-items: start;
}
.contact-info-card {
  background: linear-gradient(145deg, var(--ink) 0%, #3A2E28 100%);
  padding: 3rem; color: white;
  position: relative; overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,158,126,.15) 0%, transparent 65%);
  pointer-events: none;
}
.contact-info-card h3 {
  font-family: var(--font-serif); font-size: 1.6rem;
  color: white; margin-bottom: .4rem;
}
.contact-info-card p { color: rgba(255,255,255,.55); }

.contact-page-form { background: white; padding: 3rem; box-shadow: var(--shadow-md); }
.contact-page-form .form-group input,
.contact-page-form .form-group textarea,
.contact-page-form .form-group select {
  background: var(--ivory); border: 1.5px solid var(--beige);
  color: var(--ink); transition: var(--transition);
}
.contact-page-form .form-group input:focus,
.contact-page-form .form-group textarea:focus,
.contact-page-form .form-group select:focus {
  border-color: var(--sage); background: white;
}
.contact-page-form .form-group input::placeholder,
.contact-page-form .form-group textarea::placeholder {
  color: var(--sand);
}
.contact-page-form .form-group label {
  color: var(--taupe); font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
}

/* ─────────────────────────────────────
   ANIMATIONS
───────────────────────────────────── */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-28px) scale(1.06); }
}

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .85s ease, transform .85s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ─────────────────────────────────────
   RESPONSIVE (TABLET & MOBILE)
───────────────────────────────────── */

/* TABLET (max-width: 960px) */
@media (max-width: 960px) {
  /* Layout cơ bản */
  section { padding: 6rem 0; }
  .section-wrap { padding: 0 1.5rem; }

  /* Hero */
  .hero-content { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
  .hero-greeting { justify-content: center; }
  .hero-greeting::before { display: none; }
  .hero-title { border-left: none; padding-left: 0; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  
  .hero-img-frame { width: 100%; max-width: 480px; margin: 0 auto; }
  .hero-img-frame img { height: 420px; }
  .hero-badge { left: 5%; bottom: 20px; padding: .9rem 1.2rem; }
  
  /* Sections khác */
  .about-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .about-img::after { display: none; }
  .about-stats { justify-content: center; }
  
  .soap-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 3rem; }
  
  .news-list .news-card { flex-direction: column; }
  .news-img { width: 100%; height: 280px; }
}

/* MOBILE (max-width: 640px) */
@media (max-width: 640px) {
  /* Typography tối ưu mobile */
  h1 { font-size: 2.2rem !important; line-height: 1.25; }
  h2 { font-size: 1.8rem !important; }
  h3 { font-size: 1.35rem !important; }
  p { font-size: 0.95rem; line-height: 1.7; }
  
  section { padding: 4rem 0; }
  .section-wrap { padding: 0 1.2rem; }

  /* Navbar */
  .nav-inner { padding: 0; }
  #navbar { padding: 1rem 1.2rem; }
  #navbar.scrolled { padding: 0.7rem 1.2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  
  /* Hero */
  .hero { padding-top: 100px; min-height: auto; padding-bottom: 3rem; }
  .hero-content { gap: 2.5rem; }
  .hero-img-frame img { height: 320px; }
  .hero-badge { position: relative; bottom: 0; left: 0; margin-top: -30px; z-index: 5; text-align: left; width: max-content; margin-left: auto; margin-right: auto; }
  
  /* Buttons */
  .btn-primary, .btn-outline, .btn-sage { 
    padding: 0.9rem 1.8rem; 
    font-size: 0.7rem; 
    width: 100%; 
    justify-content: center; 
    text-align: center;
  }
  .hero-btns { flex-direction: column; gap: 1rem; width: 100%; }

  /* Grids & Spacing */
  .about-stats { flex-direction: column; gap: 1.5rem; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .btn-zalo, .btn-fb { width: 100%; justify-content: center; }

  .skills-grid, .blog-grid, .product-grid, .why-grid, .testimonials-grid { 
    grid-template-columns: 1fr;
    gap: 1.5rem; 
  }
  
  .soap-img-grid img { height: 160px; }
  .soap-img-grid img:first-child { height: 200px; }
  
  /* Các card UI */
  .skill-card, .blog-card-body, .product-body, .why-item, .testimonial-card {
    padding: 1.5rem;
  }

  .contact-info-card, .contact-page-form { padding: 1.8rem 1.2rem; }
  
  .product-img { height: 260px; }
  .news-img { height: 220px; }
}
