/* HBT Global — Design System */

:root {
  --ink: #1b3a2f;
  --ink-deep: #12271f;
  --cream: #faf6ee;
  --cream-alt: #f1ead9;
  --gold: #e9b44c;
  --gold-deep: #8a6414;
  --text: #26302b;
  --text-soft: #4e5a53;
  --line: rgba(27, 58, 47, 0.14);
  --bg: var(--cream);
  --card-bg: #ffffff;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(27,58,47,0.08);
  --shadow-lg: 0 8px 40px rgba(27,58,47,0.12);
  --transition: 200ms ease;
}

[data-theme="dark"] {
  --ink: #e7e0cd;
  --ink-deep: #f5f0e4;
  --cream: #0f1b15;
  --cream-alt: #162010;
  --gold: #e9b44c;
  --gold-deep: #f0c870;
  --text: #d4cfc4;
  --text-soft: #8a9488;
  --line: rgba(231,224,205,0.1);
  --bg: #0f1b15;
  --card-bg: #162010;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  transition: background var(--transition), color var(--transition);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

/* Nav */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem clamp(1rem, 5vw, 3rem);
  max-width: 1160px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  background: var(--ink);
  color: var(--cream);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

.logo-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--ink); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-soft);
  transition: all var(--transition);
}

.theme-toggle:hover { border-color: var(--ink); color: var(--ink); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--cream) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary.btn-lg { padding: 0.8rem 1.8rem; font-size: 1rem; }
.btn-primary.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: all var(--transition);
}

.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-ghost.btn-lg { padding: 0.8rem 1.8rem; font-size: 1rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--line);
  transition: all var(--transition);
}

.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem clamp(1rem, 5vw, 3rem);
}

.mobile-menu.open { display: block; }

.mobile-menu ul { list-style: none; }
.mobile-menu ul li + li { margin-top: 1rem; }
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 12vw, 10rem) clamp(1rem, 5vw, 3rem) clamp(4rem, 10vw, 8rem);
  max-width: 1160px;
  margin: 0 auto;
}

.hero-inner { position: relative; z-index: 1; max-width: 680px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream-alt);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.hero-heading em {
  font-style: italic;
  color: var(--gold-deep);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-deco {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  pointer-events: none;
}

.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--line);
}

.deco-ring-1 { width: 400px; height: 400px; top: 50px; right: 50px; animation: spin 40s linear infinite; }
.deco-ring-2 { width: 260px; height: 260px; top: 120px; right: 120px; animation: spin 25s linear infinite reverse; }

.deco-orb {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  border-radius: 50%;
  top: 190px;
  right: 190px;
  opacity: 0.35;
  filter: blur(20px);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Stats bar */
.stats-bar {
  background: var(--ink);
  color: var(--cream);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  display: block;
  font-size: 0.8125rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

/* Sections */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-alt { background: var(--cream-alt); }

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw + 1rem, 3rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-soft);
  max-width: 520px;
  margin: 0 auto;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--cream-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.card p { color: var(--text-soft); font-size: 0.9375rem; }

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.product-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--ink); }

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.product-info { flex: 1 }

.product-info h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.product-info p { font-size: 0.8125rem; color: var(--text-soft); }

.product-arrow {
  color: var(--text-soft);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: color var(--transition);
}

.product-card:hover .product-arrow { color: var(--ink); }

.section-cta { text-align: center; margin-top: 2.5rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw + 1rem, 3rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1rem;
}

.about-text p { color: var(--text-soft); margin-bottom: 1rem; }

.about-details { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.detail-label { color: var(--text-soft); font-size: 0.875rem; }
.detail-value { font-weight: 600; color: var(--ink); font-size: 0.875rem; }

.visual-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
}

.vc-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--ink-deep);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}

.vc-stat {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.vc-label { font-size: 0.875rem; opacity: 0.6; margin-top: 0.25rem; }
.vc-divider { width: 40px; height: 2px; background: var(--gold); margin: 2rem auto; opacity: 0.4; }
.vc-tagline { font-size: 0.8125rem; opacity: 0.6; letter-spacing: 0.05em; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding-bottom: 1.25rem;
  color: var(--text-soft);
}

.faq-a a { color: var(--gold-deep); }
.faq-item.open .faq-a { display: block; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.contact-item svg { flex-shrink: 0; color: var(--ink); }
.contact-item a { color: var(--text-soft); text-decoration: none; }
.contact-item a:hover { color: var(--ink); }

.contact-note {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--text-soft);
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: flex; flex-direction: column; gap: 0.5rem; }

.form-row label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.form-row input,
.form-row select,
.form-row textarea {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--text);
  font-family: var(--font-body);
  transition: border-color var(--transition);
  width: 100%;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.form-row textarea { resize: vertical; }

/* Footer */
.footer {
  background: var(--ink-deep);
  color: var(--cream);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  margin-top: 1rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-brand .nav-logo { margin-bottom: 0.5rem; }
.footer-brand .logo-mark { background: rgba(255,255,255,0.1); }
.footer-brand .logo-word { color: var(--cream); }

.footer-links h5 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer-links ul { list-style: none; }
.footer-links li + li { margin-top: 0.6rem; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--cream); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8125rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; margin-left: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-deco { display: none; }
  .products-grid { grid-template-columns: 1fr; }
}
