@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --w-stone: #1c1917;
  --w-stone-light: #292524;
  --w-gold: #a16207;
  --w-gold-light: #ca8a04;
  --w-cream: #fbfbf9;
  --w-text: #292524;
  --w-muted: #78716c;
  --w-border: #e7e5e4;
  --w-card: #ffffff;
  --w-font-head: 'Cormorant Garamond', serif;
  --w-font-body: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; position: relative; font-family: var(--w-font-body); background: var(--w-cream); color: var(--w-text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.w-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(28, 25, 23, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(161, 98, 7, 0.3);
}
.w-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
}
.w-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-family: var(--w-font-head);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.w-logo-mark {
  width: 36px;
  height: 36px;
  border: 1px solid var(--w-gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--w-gold-light);
  font-weight: 700;
  font-size: 1.1rem;
}
.w-nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}
.w-nav-links a {
  color: #d6d3d1;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.w-nav-links a:hover, .w-nav-links a.active { color: var(--w-gold-light); }
.w-cta-btn {
  background: linear-gradient(135deg, var(--w-gold), #78350f);
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600 !important;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: opacity 0.2s;
  display: inline-block;
}
.w-cta-btn:hover { opacity: 0.92; }

.w-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.w-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--w-gold-light);
  margin: 5px 0;
  transition: 0.3s;
}

.w-hero {
  background: linear-gradient(180deg, #1c1917 0%, #292524 100%);
  color: #ffffff;
  padding: 80px 24px 70px;
  position: relative;
}
.w-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.resp-grid-2 { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.resp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.resp-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.resp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.w-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(161, 98, 7, 0.2);
  border: 1px solid rgba(202, 138, 4, 0.4);
  color: var(--w-gold-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.w-hero h1 {
  font-family: var(--w-font-head);
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  color: #ffffff;
}
.w-hero p {
  font-size: 1.1rem;
  color: #d6d3d1;
  margin-bottom: 32px;
  max-width: 580px;
}
.w-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }

.w-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(161, 98, 7, 0.3);
  border-radius: 8px;
  padding: 24px 32px;
  margin-top: 40px;
}
.w-stat-num {
  font-family: var(--w-font-head);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--w-gold-light);
  line-height: 1;
  margin-bottom: 6px;
}
.w-stat-label { font-size: 0.85rem; color: #d6d3d1; font-weight: 500; }

.w-section { padding: 80px 0; }
.w-section-alt { background: #ffffff; border-top: 1px solid var(--w-border); border-bottom: 1px solid var(--w-border); }
.w-section-title {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 50px;
}
.w-section-title h2 {
  font-family: var(--w-font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--w-stone);
  margin-bottom: 14px;
}
.w-section-title p { font-size: 1.05rem; color: var(--w-muted); }

.w-card {
  background: #ffffff;
  border: 1px solid var(--w-border);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}
.w-card:hover { transform: translateY(-4px); box-shadow: 0 12px 20px -3px rgba(0,0,0,0.08); }
.w-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(161, 98, 7, 0.1);
  color: var(--w-gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.w-card h3 {
  font-family: var(--w-font-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--w-stone);
  margin-bottom: 12px;
}
.w-card p { font-size: 0.95rem; color: var(--w-text); line-height: 1.6; }

.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 30px 0;
  border: 1px solid var(--w-border);
  border-radius: 8px;
  background: #fff;
}
.w-matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.w-matrix th, .w-matrix td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--w-border);
  font-size: 0.92rem;
}
.w-matrix th {
  background: var(--w-stone);
  color: #ffffff;
  font-family: var(--w-font-head);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.w-matrix tr:last-child td { border-bottom: none; }
.w-matrix tr:nth-child(even) td { background: #fafaf9; }
.w-tag-pro { color: var(--w-gold); font-weight: 700; }

.w-tool-box {
  background: #1c1917;
  color: #ffffff;
  border-radius: 8px;
  padding: 40px;
  margin: 40px 0;
  border: 1px solid rgba(161, 98, 7, 0.4);
}
.w-tool-box h3 {
  font-family: var(--w-font-head);
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--w-gold-light);
}
.w-tool-box p { color: #d6d3d1; margin-bottom: 24px; }
.w-calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 24px; }
.w-field label { display: block; font-size: 0.85rem; color: #e7e5e4; margin-bottom: 6px; font-weight: 500; }
.w-field select, .w-field input {
  width: 100%;
  padding: 12px 14px;
  background: #292524;
  border: 1px solid #44403c;
  color: #ffffff;
  border-radius: 4px;
  font-size: 16px !important;
  font-family: inherit;
}
.w-fidu-result {
  background: rgba(161, 98, 7, 0.15);
  border: 1px solid rgba(161, 98, 7, 0.4);
  padding: 24px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.w-result-val { font-family: var(--w-font-head); font-size: 2.2rem; color: var(--w-gold-light); font-weight: 700; }

.w-faq-item {
  border: 1px solid var(--w-border);
  border-radius: 6px;
  margin-bottom: 14px;
  background: #ffffff;
  overflow: hidden;
}
.w-faq-q {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--w-stone);
  font-size: 1.05rem;
}
.w-faq-q::after { content: '+'; font-size: 1.4rem; color: var(--w-gold); transition: 0.2s; }
.w-faq-item.active .w-faq-q::after { transform: rotate(45deg); }
.w-faq-a {
  padding: 0 24px 20px;
  color: var(--w-text);
  font-size: 0.95rem;
  line-height: 1.65;
  display: none;
}
.w-faq-item.active .w-faq-a { display: block; }

.w-footer {
  background: #110e0c;
  color: #a8a29e;
  padding: 60px 0 30px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(161, 98, 7, 0.25);
}
.w-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.w-footer h4 { color: var(--w-gold-light); font-family: var(--w-font-head); margin-bottom: 18px; font-size: 1.15rem; }
.w-footer ul { list-style: none; }
.w-footer ul li { margin-bottom: 10px; }
.w-footer ul a:hover { color: var(--w-gold); }
.w-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

@media (max-width: 992px) {
  header > div {
    padding: 14px 20px !important;
    box-sizing: border-box !important;
  }
  .w-mobile-toggle { display: block !important; }
  .w-nav-links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1c1917;
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(161, 98, 7, 0.3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
  }
  .w-nav-links.active { display: flex !important; }
  .resp-grid-2, .resp-grid-3, .resp-grid-4, .resp-form-row { grid-template-columns: 1fr !important; gap: 24px !important; }
  .w-hero h1 { font-size: 2.2rem !important; }
  .w-stat-strip { grid-template-columns: 1fr 1fr !important; padding: 20px !important; }
  .w-footer-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
}
