/* ============================================================
   Wen.Z SPA — Shared base styles for sub-pages & blog
   Reuses the SAME three-theme tokens, nav, footer, buttons,
   cards, FAQ and reveal animation as the main index.html.
   Path note: this file lives in /assets, so fonts resolve via ../fonts
   ============================================================ */
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/GreatVibes.woff2') format('woff2');
}
/* Montserrat 200/300/400 shared ONE file (the three originals were byte-identical),
   so a single face with a weight range covers them: 1 request instead of 3. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200 400;
  font-display: swap;
  src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-Regular.woff2') format('woff2');
}
/* 2026-10-18: Cormorant Garamond is now self-hosted. It used to come from the
   Google Fonts CDN via a render-blocking <link>; that host is unreachable from
   mainland China, so the page stalled and then fired every remaining request at
   once, and the host reset some connections (ERR_CONNECTION_RESET).
   Every font is same-origin now, and only the weights actually used ship. */

/* ---- THEME TOKENS (identical to index.html) ---- */
:root,
:root[data-theme="luxe"] {
  --charcoal: #2D2D2D;
  --gold: #C9A96E;
  --gold-light: #D4BC8A;
  --warm-white: #F5F0E8;
  --cream: #FAF8F5;
  --pink: #EAB4C4;
  --text: #444;
  --text-light: #888;
  --surface: #FFFFFF;
  --nav-scrolled: rgba(45,45,45,0.95);
  --hero-o1: rgba(30,30,30,0.35);
  --hero-o2: rgba(30,30,30,0.55);
  --pricing-bg-1: #faf6ef;
  --pricing-bg-2: #f3ebdb;
  --map-bg: #f0ede8;
  --focus: #C9A96E;
  --border: rgba(0,0,0,0.12);
  --radius: 2px;
}
:root[data-theme="zen"] {
  --charcoal: #4A4036;
  --gold: #9C7A4E;
  --gold-light: #B89B72;
  --warm-white: #F3EDE3;
  --cream: #FAF6EF;
  --pink: #7C8B6F;
  --text: #4A4036;
  --text-light: #8A7E6E;
  --surface: #FFFFFF;
  --nav-scrolled: rgba(74,64,54,0.95);
  --hero-o1: rgba(60,50,40,0.30);
  --hero-o2: rgba(60,50,40,0.52);
  --pricing-bg-1: #f6f1e8;
  --pricing-bg-2: #ede4d3;
  --map-bg: #efe7d8;
  --focus: #9C7A4E;
  --border: rgba(74,64,54,0.15);
  --radius: 2px;
}
:root[data-theme="ocean"] {
  --charcoal: #1F3A4D;
  --gold: #2E7D9A;
  --gold-light: #4FA3BF;
  --warm-white: #EEF4F7;
  --cream: #F7FAFB;
  --pink: #5FB6C9;
  --text: #2C3E47;
  --text-light: #6E8893;
  --surface: #FFFFFF;
  --nav-scrolled: rgba(31,58,77,0.95);
  --hero-o1: rgba(20,50,70,0.32);
  --hero-o2: rgba(20,50,70,0.54);
  --pricing-bg-1: #eef5f8;
  --pricing-bg-2: #dcebf1;
  --map-bg: #e6eef2;
  --focus: #2E7D9A;
  --border: rgba(31,58,77,0.15);
  --radius: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  transition: background 0.5s ease, color 0.5s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ===== NAV (same as index.html) ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
}
nav.scrolled {
  background: var(--nav-scrolled);
  padding: 14px 40px;
  backdrop-filter: blur(10px);
}
nav .logo {
  font-family: 'Great Vibes', cursive;
  font-size: 32px;
  color: #fff;
  text-decoration: none;
  flex: none;
}
nav .logo span { color: var(--pink); font-size: 10px; vertical-align: super; }
.nav-right { display: flex; align-items: center; gap: 30px; }
nav .nav-links { display: flex; gap: 32px; list-style: none; }
nav .nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 2px;
}
nav .nav-links a:hover { color: var(--gold); }
nav .nav-links a.active { color: var(--gold); }
nav .nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--gold);
}
.theme-switch { display: flex; align-items: center; gap: 10px; }
.theme-switch .swatch {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer; padding: 0; background: var(--sw);
  transition: transform 0.2s, box-shadow 0.2s; position: relative;
}
.theme-switch .swatch:hover { transform: scale(1.12); }
.theme-switch .swatch.active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gold);
  border-color: #fff;
}
.theme-switch .swatch.luxe { --sw: linear-gradient(135deg, #2D2D2D, #C9A96E); }
.theme-switch .swatch.zen  { --sw: linear-gradient(135deg, #4A4036, #7C8B6F); }
.theme-switch .swatch.ocean{ --sw: linear-gradient(135deg, #1F3A4D, #5FB6C9); }
.theme-switch .swatch::after {
  content: attr(data-label);
  position: absolute; top: 130%; left: 50%; transform: translateX(-50%);
  background: var(--charcoal); color: #fff; font-size: 9px; letter-spacing: 1px;
  text-transform: uppercase; padding: 3px 7px; border-radius: 2px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.theme-switch .swatch:hover::after { opacity: 1; }
.menu-btn {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-btn span {
  display: block; width: 24px; height: 1.5px; background: #fff; margin: 6px 0; transition: 0.3s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== SUB-PAGE HERO BANNER ===== */
.subhero {
  height: 56vh;
  min-height: 420px;
  padding: 100px 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
}
.subhero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.subhero .sub-kicker {
  font-size: 11px; letter-spacing: 6px; text-transform: uppercase;
  color: rgba(255,255,255,0.85); margin-bottom: 20px;
}
.subhero .sub-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 20px; font-weight: 300;
  color: rgba(255,255,255,0.85); max-width: 620px; padding: 0 20px;
}

/* ===== GENERIC SECTION WRAPPERS ===== */
.section { padding: 90px 40px; }
.wrap { max-width: 1080px; margin: 0 auto; }
.bg-surface { background: var(--surface); }
.bg-cream { background: var(--cream); }
.bg-charcoal { background: var(--charcoal); color: #fff; }

.section-label {
  font-size: 10px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); text-align: center; margin-bottom: 16px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px; font-weight: 300; text-align: center;
  margin-bottom: 16px; color: var(--charcoal);
}
.bg-charcoal .section-title { color: #fff; }
.bg-charcoal .section-label { color: var(--pink); }
.section-line {
  width: 40px; height: 1px; background: var(--gold);
  margin: 0 auto 50px;
}

/* ===== TWO-COLUMN CONTENT ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split .media {
  aspect-ratio: 4/3; overflow: hidden; border-radius: 2px;
}
.split .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 400; color: var(--charcoal);
  margin-bottom: 20px;
}
.split p { font-size: 14px; line-height: 2; color: var(--text-light); margin-bottom: 16px; }
.split .accent {
  color: var(--gold); font-style: italic;
  font-family: 'Cormorant Garamond', serif; font-size: 17px;
}

/* ===== FEATURE / BENEFIT CARDS ===== */
.cards-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  max-width: 1080px; margin: 0 auto;
}
.info-card {
  background: var(--surface);
  border: 1px solid rgba(201,169,110,0.2);
  padding: 44px 32px; text-align: center;
  transition: all 0.4s;
}
.info-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.07); }
.info-card .ic-num {
  font-family: 'Cormorant Garamond', serif; font-size: 38px; color: var(--gold); margin-bottom: 14px;
}
.info-card h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400;
  color: var(--charcoal); margin-bottom: 12px;
}
.info-card p { font-size: 13px; line-height: 1.8; color: var(--text-light); }

/* ===== STEPS ===== */
.steps { max-width: 760px; margin: 0 auto; }
.step { display: flex; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.step:last-child { border-bottom: none; }
.step .n {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 20px;
}
.step h3 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; color: var(--charcoal); margin-bottom: 6px; }
.step p { font-size: 13px; line-height: 1.8; color: var(--text-light); }

/* ===== PRICING SNIPPET ===== */
.price-row {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
  max-width: 900px; margin: 0 auto;
}
.price-item {
  padding: 40px 20px; border: 1px solid rgba(201,169,110,0.35);
  background: var(--surface); text-align: center; transition: all 0.4s;
}
.price-item:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.price-duration { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: #777; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid rgba(201,169,110,0.25); }
.price-amount { font-family: 'Cormorant Garamond', serif; font-size: 56px; color: var(--gold); font-weight: 300; line-height: 1; }
.price-amount .currency { font-size: 26px; vertical-align: top; margin-right: 3px; position: relative; top: 7px; }
.price-note { margin-top: 12px; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: #999; }

/* ===== BUTTONS ===== */
.cta-btn {
  display: inline-block; padding: 14px 38px; background: var(--charcoal);
  color: #fff; letter-spacing: 3px; text-transform: uppercase; font-size: 12px;
  text-decoration: none; border-radius: var(--radius); border: none; cursor: pointer;
  transition: background 0.3s, letter-spacing 0.3s; font-family: 'Montserrat', sans-serif;
}
.cta-btn:hover { background: var(--gold); letter-spacing: 4px; }
.cta-btn.gold { background: var(--gold); }
.cta-btn.gold:hover { background: var(--charcoal); }
.arrow-link {
  display: inline-block; margin-top: 20px; font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); text-decoration: none;
  border-bottom: 1px solid rgba(201,169,110,0.4); padding-bottom: 3px; transition: all 0.3s;
}
.arrow-link:hover { color: var(--charcoal); border-bottom-color: var(--charcoal); }
.center { text-align: center; }

/* ===== CTA BAND ===== */
.cta-band { background: var(--charcoal); color: #fff; text-align: center; padding: 70px 40px; }
.cta-band h2 { font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 300; margin-bottom: 16px; color: #fff; }
.cta-band p { font-size: 14px; line-height: 1.9; color: rgba(255,255,255,0.6); max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero-phone { color: #fff; text-decoration: none; font-size: 22px; letter-spacing: 3px; }
.cta-band .hero-phone:hover { color: var(--gold); }

/* ===== RELATED LINKS ===== */
.related { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.related a {
  display: block; padding: 30px; border: 1px solid rgba(201,169,110,0.25);
  text-align: center; text-decoration: none; color: var(--charcoal); transition: all 0.3s;
}
.related a:hover { border-color: var(--gold); transform: translateY(-3px); }
.related .r-kicker { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.related .r-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; }

/* ===== FAQ (reuse) ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: 'Cormorant Garamond', serif; font-size: 21px; color: var(--charcoal); font-weight: 400;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: 'Montserrat', sans-serif; font-size: 22px; color: var(--gold); transition: transform 0.3s;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-answer { padding: 0 0 24px; font-size: 14px; line-height: 1.9; color: var(--text-light); max-width: 720px; }

/* ===== ARTICLE (blog) ===== */
.article { max-width: 760px; margin: 0 auto; }
.article .meta {
  text-align: center; font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}
.article h2 {
  font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 400;
  color: var(--charcoal); margin: 40px 0 16px;
}
.article p { font-size: 15px; line-height: 2; color: var(--text); margin-bottom: 18px; }
.article ul, .article ol { margin: 0 0 18px 22px; }
.article li { font-size: 15px; line-height: 2; color: var(--text); margin-bottom: 8px; }
.article img { width: 100%; border-radius: 2px; margin: 24px 0; }
.article .lead { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 20px; color: var(--text-light); line-height: 1.7; }
.article .note { background: var(--warm-white); border-left: 3px solid var(--gold); padding: 18px 22px; font-size: 13px; line-height: 1.8; color: var(--text-light); margin: 24px 0; }
.article a.inline { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(201,169,110,0.4); }
.article a.inline:hover { color: var(--charcoal); }

.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; max-width: 1080px; margin: 0 auto; }
.post-card { border: 1px solid rgba(201,169,110,0.2); background: var(--surface); transition: all 0.4s; display: flex; flex-direction: column; }
.post-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.07); }
.post-card .thumb { aspect-ratio: 16/9; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .body { padding: 28px 26px 32px; flex: 1; display: flex; flex-direction: column; }
.post-card .p-cat { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.post-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 23px; font-weight: 400; color: var(--charcoal); margin-bottom: 12px; line-height: 1.25; }
.post-card p { font-size: 13px; line-height: 1.8; color: var(--text-light); flex: 1; }
.post-card .read { margin-top: 18px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }

/* ===== FOOTER (same as index.html) ===== */
footer {
  background: var(--charcoal); color: rgba(255,255,255,0.5); text-align: center; padding: 50px 40px;
}
footer .logo { font-family: 'Great Vibes', cursive; font-size: 36px; color: var(--gold); margin-bottom: 16px; }
footer .tagline { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 30px; }
footer .social { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; }
footer .social a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5);
  text-decoration: none; font-size: 14px; transition: all 0.3s;
}
footer .social a:hover { border-color: var(--gold); color: var(--gold); }
footer .footer-nav { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-bottom: 26px; }
footer .footer-nav a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; transition: color 0.3s; }
footer .footer-nav a:hover { color: var(--gold); }
footer .copyright { font-size: 11px; letter-spacing: 1px; }

/* ===== REVEAL ===== */
html.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.reveal-ready .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  nav.scrolled { padding: 12px 20px; }
  .menu-btn { display: block; }
  .nav-right { gap: 14px; }
  nav .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--nav-scrolled); backdrop-filter: blur(10px); padding: 4px 0;
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
  }
  nav .nav-links.open { max-height: 420px; }
  nav .nav-links li { padding: 14px 24px; border-top: 1px solid rgba(255,255,255,0.08); }
  nav .nav-links a { font-size: 13px; }

  .subhero { padding: 90px 0 50px; }
  .subhero h1 { font-size: 38px; }
  .subhero .sub-tagline { font-size: 16px; }

  .section { padding: 60px 20px; }
  .section-title { font-size: 30px; }

  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse { direction: ltr; }

  .cards-3 { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
}
