:root {
  --wine:        #8B3060;
  --wine-dark:   #6A1E45;
  --wine-deeper: #4D1232;
  --wine-light:  #B04880;
  --wine-pale:   #F5EBF0;
  --gold:        #C9956C;
  --gold-light:  #F0E6D9;
  --white:       #FFFFFF;
  --gray-light:  #F8F5F7;
  --gray-mid:    #E8E0E5;
  --text-dark:   #1C1020;
  --text-mid:    #5A4A56;
  --text-soft:   #8A7A85;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(139,48,96,0.10);
  --shadow-lg:   0 12px 48px rgba(139,48,96,0.16);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans Thai', 'Inter', sans-serif; color: var(--text-dark); background: var(--white); overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-mid);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  box-shadow: 0 2px 16px rgba(139,48,96,0.08);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-icon { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.nav-logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.nav-logo-text strong { display: block; font-size: 15px; font-weight: 700; color: var(--wine-dark); }
.nav-logo-text span { font-size: 10px; color: var(--text-soft); letter-spacing: 1px; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--text-mid); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--wine); }
.nav-links a.active { font-weight: 700; }
.nav-cta { background: var(--wine); color: white; padding: 9px 22px; border-radius: 24px; text-decoration: none; font-size: 13px; font-weight: 600; transition: background .2s; }
.nav-cta:hover { background: var(--wine-dark); }

/* PAGE HEADER */
.page-header { background: linear-gradient(135deg, var(--wine-deeper), var(--wine)); padding: 120px 5% 60px; text-align: center; }
.page-header h1 { font-size: clamp(28px,5vw,48px); font-weight: 800; color: white; margin-bottom: 8px; }
.page-header p { font-size: 16px; color: rgba(255,255,255,0.75); }
.page-tag { display: inline-block; background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 4px 14px; border-radius: 24px; margin-bottom: 16px; }

/* SECTION */
section.content { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.section-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--wine); margin-bottom: 14px; padding: 4px 14px; background: var(--wine-pale); border-radius: 24px; }
.section-title { font-size: clamp(24px,3.5vw,38px); font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.section-sub { font-size: 13px; font-weight: 500; color: var(--text-soft); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.section-desc { font-size: 15px; color: var(--text-mid); line-height: 1.85; max-width: 600px; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 32px; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; border: none; font-family: inherit; transition: all .25s; }
.btn-primary { background: var(--wine); color: white; }
.btn-primary:hover { background: var(--wine-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border: 2px solid var(--wine); color: var(--wine); background: transparent; }
.btn-outline:hover { background: var(--wine-pale); }

/* CARDS */
.card { background: white; border-radius: var(--radius); border: 1px solid var(--gray-mid); box-shadow: var(--shadow); transition: all .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* FOOTER */
footer { background: var(--text-dark); color: rgba(255,255,255,0.7); padding: 48px 5% 24px; margin-top: 0; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-logo-icon { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; }
.footer-logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.footer-logo-text strong { display: block; font-size: 13px; font-weight: 700; color: white; }
.footer-logo-text span { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.footer-desc { font-size: 13px; line-height: 1.8; }
.footer-col h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: white; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }
.vet-secret-btn { font-size: 12px; opacity: 0.06; text-decoration: none; transition: opacity .4s; user-select: none; }
.vet-secret-btn:hover { opacity: 0.5; }

/* REVEAL ANIM */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* CHAT BUBBLE */
.chat-bubble { padding: 14px 18px; border-radius: 16px; font-size: 14px; line-height: 1.7; max-width: 85%; }
.chat-bubble.user { background: var(--wine); color: white; border-bottom-right-radius: 4px; margin-left: auto; }
.chat-bubble.ai { background: var(--gray-light); color: var(--text-dark); border-bottom-left-radius: 4px; }

/* LANG SWITCHER */
.lang-switcher {
  display: flex; align-items: center; gap: 2px;
  background: var(--gray-light); border-radius: 20px; padding: 3px;
  flex-shrink: 0;
}
.lang-btn {
  padding: 4px 10px; border-radius: 16px; border: none;
  background: transparent; color: var(--text-soft);
  font-size: 11px; font-weight: 700; cursor: pointer;
  font-family: inherit; letter-spacing: .5px;
  transition: all .15s;
}
.lang-btn.active { background: var(--wine); color: white; }
.lang-btn:hover:not(.active) { color: var(--wine); }

/* HAMBURGER */
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--wine);
  margin: 5px 0; transition: all .3s; border-radius: 2px;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: white; padding: 20px 5% 28px;
    gap: 0; box-shadow: 0 8px 32px rgba(0,0,0,.12); z-index: 99;
    border-top: 1px solid var(--gray-mid);
  }
  .nav-links.mobile-open li { border-bottom: 1px solid var(--gray-mid); }
  .nav-links.mobile-open a { display: block; padding: 13px 0; font-size: 15px; }
  .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}
