/* ===== Design tokens ===== */
:root {
  --gold: #C9A227;
  --gold-dark: #9B7B1D;
  --gold-darker: #7A5E12;
  --gold-light: #E8C766;
  --cream: #FFF8E9;
  --cream-2: #FBF0D9;
  --ink: #2A2118;
  --ink-soft: #5C5142;
  --white: #FFFFFF;
  --zalo-blue: #0068FF;
  --call-green: #2FA24A;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(42, 33, 24, 0.06);
  --shadow-md: 0 12px 32px rgba(42, 33, 24, 0.12);
  --container: 1180px;
  --header-h: 108px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

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

section { scroll-margin-top: var(--header-h); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.9em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(155, 123, 29, 0.3);
}
.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-darker);
}
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.btn-nav {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.topbar {
  background: var(--ink);
  color: var(--cream-2);
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  gap: 16px;
}
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  transition: opacity 0.2s;
}
.topbar-link:hover { opacity: 0.8; }
.topbar-divider {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.25);
}
.topbar-hours { color: rgba(255,255,255,0.7); }

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}
.logo-img {
  height: 44px;
  width: auto;
}
.logo-footer .logo-img { height: 52px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--gold-darker);
}
.hero-lead {
  font-size: 1.08rem;
  max-width: 46ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 30px;
}
.trust-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-badges li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.trust-badges svg { color: var(--gold-dark); flex-shrink: 0; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.hero-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,199,102,0.45) 0%, rgba(232,199,102,0) 70%);
}
.hero-bottle {
  position: relative;
  width: min(260px, 60vw);
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(155,123,29,0.25));
}

/* ===== About ===== */
.about { padding: 90px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 56px;
}
.about-visual svg { max-width: 320px; margin: 0 auto; }
.about-content h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.about-content p { max-width: 56ch; }

.stat-row {
  display: flex;
  gap: 36px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-dark);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  max-width: 16ch;
}

/* ===== Section head (shared) ===== */
.section-head {
  max-width: 60ch;
  margin: 0 0 44px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* ===== Products ===== */
.products { padding: 90px 0; background: var(--cream); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}
.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.product-card--featured {
  padding: 36px 28px;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-md);
}
.product-ribbon {
  position: absolute;
  top: -13px;
  left: 28px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(155, 123, 29, 0.35);
}
.product-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.product-icon--sm { width: 48px; height: 48px; }
.product-icon--lg { width: 68px; height: 68px; }
.product-card h3 { font-size: 1.08rem; margin-bottom: 0.4em; }
.product-card--featured h3 { font-size: 1.2rem; }
.product-card p { font-size: 0.9rem; margin-bottom: 1.2em; }
.product-link {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gold-dark);
}
.product-link:hover { color: var(--gold-darker); }

/* ===== Certificates ===== */
.certificates { padding: 90px 0; }
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.cert-card {
  position: relative;
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.cert-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--cream-2);
  color: var(--gold-darker);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 999px;
}
.cert-icon { margin-bottom: 16px; }
.cert-card h3 { font-size: 1.2rem; max-width: 26ch; }
.cert-card p { font-size: 0.92rem; }
.cert-doc-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px dashed var(--gold-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  background: var(--cream);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255,248,233,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { color: rgba(255,248,233,0.6); font-size: 0.9rem; max-width: 32ch; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  transition: background 0.2s;
}
.social-icon:hover { background: rgba(255,255,255,0.16); }

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,248,233,0.7);
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-col p.footer-address {
  line-height: 1.5;
  margin-bottom: 14px;
}
.footer-address strong { color: rgba(255,248,233,0.9); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,248,233,0.5);
}
.footer-bottom p { margin: 0; }

/* ===== Floating Zalo / Hotline ===== */
.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  z-index: 200;
}
.fab {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
  transition: transform 0.2s ease;
}
.fab:hover { transform: scale(1.08); }
.fab-call { background: var(--call-green); }
.fab-zalo { background: var(--zalo-blue); }

.fab-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--zalo-blue);
  animation: fab-pulse 2s ease-out infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}

.fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.fab:hover .fab-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), opacity 0.7s ease;
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-width: 240px; margin: 0 auto; }
  .cert-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .topbar-hours { display: none; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 10px 0; width: 100%; }
  .hamburger { display: flex; }
  .btn-nav { display: none; }
  .product-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-lg { justify-content: center; }
}
