/* ============================================================
   Jiu Yun Tang Feng Shui — Global Stylesheet
   Urbanist (headings) · Poppins (body) · #CC0000 accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Tokens ── */
:root {
  --c-black:   #000;
  --c-dark:    #111;
  --c-mid:     #1a1a1a;
  --c-grey:    #555;
  --c-lgrey:   #888;
  --c-light:   #f5f5f5;
  --c-border:  #e0e0e0;
  --c-white:   #fff;
  --c-red:     #CC0000;
  --c-red-dk:  #a80000;
  --f-head: 'Urbanist', sans-serif;
  --f-body: 'Poppins', sans-serif;
  --nav-h: 72px;
  --max-w: 1160px;
  --max-prose: 860px;
}

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-grey);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
.yx-eyebrow {
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-red);
  display: block;
  margin-bottom: 12px;
}
h1, .yx-h1 {
  font-family: var(--f-head);
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--c-black);
}
h2, .yx-h2 {
  font-family: var(--f-head);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-black);
}
h3, .yx-h3 {
  font-family: var(--f-head);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-black);
}
h4, .yx-h4 {
  font-family: var(--f-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--c-black);
}
p { font-size: 15px; line-height: 1.85; }
.yx-lead { font-size: 17px; line-height: 1.75; }
.yx-white  { color: var(--c-white) !important; }
.yx-red    { color: var(--c-red)   !important; }
.yx-center { text-align: center; }
.yx-bold   { font-weight: 600; }

/* ── Layout ── */
.yx-section { padding: 80px 24px; width: 100%; }
.yx-section--black  { background: var(--c-black); }
.yx-section--dark   { background: var(--c-dark); }
.yx-section--mid    { background: var(--c-mid); }
.yx-section--light  { background: var(--c-light); }
.yx-section--white  { background: var(--c-white); }
.yx-section--red    { background: var(--c-red); }
.yx-inner      { max-width: var(--max-w);    margin: 0 auto; }
.yx-inner--prose { max-width: var(--max-prose); margin: 0 auto; }
.yx-mt8  { margin-top: 8px; }
.yx-mt16 { margin-top: 16px; }
.yx-mt24 { margin-top: 24px; }
.yx-mt32 { margin-top: 32px; }
.yx-mt48 { margin-top: 48px; }
.yx-mb8  { margin-bottom: 8px; }
.yx-mb16 { margin-bottom: 16px; }
.yx-mb24 { margin-bottom: 24px; }
.yx-mb32 { margin-bottom: 32px; }

/* ── Buttons ── */
.yx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}
.yx-btn--red     { background: var(--c-red);   color: #fff;           border-color: var(--c-red); }
.yx-btn--red:hover { background: transparent;  color: var(--c-red) !important; }
.yx-btn--white   { background: #fff; color: var(--c-black) !important; border-color: #fff; }
.yx-btn--white:hover { background: transparent; color: #fff !important; }
.yx-btn--outline { background: transparent; color: var(--c-red) !important; border-color: var(--c-red); }
.yx-btn--outline:hover { background: var(--c-red); color: #fff !important; }
.yx-btn--outline-w { background: transparent; color: #fff !important; border-color: #fff; }
.yx-btn--outline-w:hover { background: #fff; color: var(--c-black) !important; }

/* ── Divider ── */
.yx-rule { width: 48px; height: 3px; background: var(--c-red); display: block; margin: 20px 0; }
.yx-rule--center { margin: 20px auto; }

/* ── Card ── */
.yx-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  padding: 36px 32px;
}
.yx-card--dark {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
}

/* ── NAV ── */
#yx-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #1a1a1a;
}
.yx-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.yx-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.yx-nav-logo img { height: 44px; width: auto; }
.yx-nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.yx-nav-logo-text span:first-child {
  font-family: var(--f-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: 0.02em;
}
.yx-nav-logo-text span:last-child {
  font-family: var(--f-body);
  font-size: 10px;
  color: #888;
  letter-spacing: 0.08em;
}
.yx-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.yx-nav-links a {
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 600;
  color: #ccc;
  padding: 8px 12px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  white-space: nowrap;
}
.yx-nav-links a:hover,
.yx-nav-links a.active { color: var(--c-white); }
.yx-nav-links .yx-nav-cta a {
  background: var(--c-red);
  color: #fff !important;
  padding: 9px 20px;
}
.yx-nav-links .yx-nav-cta a:hover { background: var(--c-red-dk); }

/* Hamburger */
#yx-nav-toggle { display: none; }
.yx-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.yx-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  transition: all 0.3s;
}

/* ── FOOTER ── */
#yx-footer {
  background: var(--c-black);
  border-top: 1px solid #1a1a1a;
  padding: 64px 24px 32px;
}
.yx-footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1a1a1a;
}
.yx-footer-brand img { height: 50px; width: auto; margin-bottom: 16px; }
.yx-footer-brand p { font-size: 13px; color: #666; line-height: 1.8; }
.yx-footer-col h4 {
  font-family: var(--f-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 16px;
}
.yx-footer-col ul { list-style: none; }
.yx-footer-col ul li { margin-bottom: 8px; }
.yx-footer-col ul li a {
  font-size: 13px;
  color: #888;
  transition: color 0.2s;
}
.yx-footer-col ul li a:hover { color: var(--c-white); }
.yx-footer-contact p {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
  line-height: 1.6;
}
.yx-footer-contact a { color: #888; transition: color 0.2s; }
.yx-footer-contact a:hover { color: var(--c-white); }
.yx-footer-bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.yx-footer-bottom p { font-size: 12px; color: #444; }
.yx-footer-bottom a { color: #444; transition: color 0.2s; }
.yx-footer-bottom a:hover { color: #888; }

/* ── WA FAB ── */
#yx-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
}
.yx-fab-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.yx-fab-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(0,0,0,0.4); }
.yx-fab-btn svg { width: 28px; height: 28px; fill: #fff; }
.yx-fab-bubble {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 240px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 16px;
  display: none;
}
.yx-fab-bubble.open { display: block; }
.yx-fab-bubble p {
  font-family: var(--f-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-grey);
  margin-bottom: 10px;
}
.yx-fab-bubble a {
  display: block;
  font-size: 13px;
  color: var(--c-dark);
  padding: 8px 12px;
  border: 1px solid var(--c-border);
  margin-bottom: 6px;
  transition: all 0.2s;
}
.yx-fab-bubble a:last-child { margin-bottom: 0; }
.yx-fab-bubble a:hover { background: var(--c-red); color: #fff; border-color: var(--c-red); }

/* ── Mobile ── */
@media (max-width: 960px) {
  .yx-nav-links { display: none; }
  .yx-hamburger { display: flex; }
  #yx-nav-toggle:checked ~ .yx-nav-inner .yx-nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(0,0,0,0.97);
    padding: 24px;
    gap: 4px;
    align-items: flex-start;
    border-bottom: 1px solid #222;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .yx-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .yx-section { padding: 60px 20px; }
  .yx-footer-grid { grid-template-columns: 1fr; }
  .yx-footer-bottom { flex-direction: column; align-items: flex-start; }
}
