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

:root {
  --c-amber: #d97706;
  --c-amber-dark: #b45309;
  --c-green: #15803d;
  --c-green-light: #22c55e;
  --c-cream: #fffbeb;
  --c-slate: #292524;
  --c-muted: #78716c;
  --c-border: #fde68a;
  --c-card: #ffffff;
  --c-font-head: 'Outfit', sans-serif;
  --c-font-body: 'Nunito', 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(--c-font-body); background: #fefce8; color: var(--c-slate); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.c-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 251, 235, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--c-border);
}
.c-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}
.c-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-amber-dark);
  font-family: var(--c-font-head);
  font-size: 1.45rem;
  font-weight: 800;
}
.c-logo-mark {
  width: 40px;
  height: 40px;
  background: var(--c-amber);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}
.c-nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}
.c-nav-links a {
  color: var(--c-slate);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s;
}
.c-nav-links a:hover, .c-nav-links a.active { color: var(--c-amber-dark); }
.c-cta-btn {
  background: var(--c-amber);
  color: #ffffff !important;
  padding: 11px 22px;
  border-radius: 30px;
  font-weight: 800 !important;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
  transition: transform 0.2s, background 0.2s;
  display: inline-block;
}
.c-cta-btn:hover { background: var(--c-amber-dark); transform: translateY(-1px); }

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

.c-hero {
  background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
  padding: 70px 24px 60px;
  position: relative;
}
.c-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; }

.c-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--c-amber-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.c-hero h1 {
  font-family: var(--c-font-head);
  font-size: 3.1rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--c-slate);
  margin-bottom: 20px;
}
.c-hero p {
  font-size: 1.15rem;
  color: #57534e;
  margin-bottom: 32px;
  max-width: 560px;
}
.c-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }

.c-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: #ffffff;
  border: 2px solid var(--c-border);
  border-radius: 16px;
  padding: 24px 32px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.08);
}
.c-stat-num {
  font-family: var(--c-font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-amber-dark);
  line-height: 1;
  margin-bottom: 6px;
}
.c-stat-label { font-size: 0.88rem; color: #78716c; font-weight: 700; }

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

.c-card {
  background: #ffffff;
  border: 2px solid #fef08a;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}
.c-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(217,119,6,0.12); }
.c-card-icon {
  width: 50px;
  height: 50px;
  background: #fef3c7;
  color: var(--c-amber-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.c-card h3 {
  font-family: var(--c-font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-slate);
  margin-bottom: 12px;
}
.c-card p { font-size: 0.95rem; color: #57534e; line-height: 1.6; }

.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 30px 0;
  border: 2px solid #fde68a;
  border-radius: 12px;
  background: #fff;
}
.c-matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.c-matrix th, .c-matrix td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #fef3c7;
  font-size: 0.94rem;
}
.c-matrix th {
  background: #fef3c7;
  color: var(--c-amber-dark);
  font-family: var(--c-font-head);
  font-size: 0.9rem;
  font-weight: 800;
}
.c-matrix tr:last-child td { border-bottom: none; }
.c-matrix tr:nth-child(even) td { background: #fffdf5; }
.c-tag-pro { color: var(--c-green); font-weight: 800; }

.c-tool-box {
  background: #451a03;
  color: #ffffff;
  border-radius: 20px;
  padding: 40px;
  margin: 40px 0;
  border: 2px solid #b45309;
}
.c-tool-box h3 {
  font-family: var(--c-font-head);
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #fde68a;
}
.c-tool-box p { color: #fed7aa; margin-bottom: 24px; }
.c-calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 24px; }
.c-field label { display: block; font-size: 0.88rem; color: #fef3c7; margin-bottom: 6px; font-weight: 700; }
.c-field select, .c-field input {
  width: 100%;
  padding: 12px 14px;
  background: #78350f;
  border: 1px solid #d97706;
  color: #ffffff;
  border-radius: 8px;
  font-size: 16px !important;
  font-family: inherit;
}
.c-ration-result {
  background: rgba(254, 243, 199, 0.12);
  border: 1px solid rgba(254, 243, 199, 0.3);
  padding: 24px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.c-result-val { font-family: var(--c-font-head); font-size: 2rem; color: #fde68a; font-weight: 800; }

.c-faq-item {
  border: 2px solid #fef08a;
  border-radius: 12px;
  margin-bottom: 14px;
  background: #ffffff;
  overflow: hidden;
}
.c-faq-q {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  color: var(--c-slate);
  font-size: 1.05rem;
}
.c-faq-q::after { content: '+'; font-size: 1.5rem; color: var(--c-amber); transition: 0.2s; }
.c-faq-item.active .c-faq-q::after { transform: rotate(45deg); }
.c-faq-a {
  padding: 0 24px 20px;
  color: #57534e;
  font-size: 0.95rem;
  line-height: 1.65;
  display: none;
}
.c-faq-item.active .c-faq-a { display: block; }

.c-footer {
  background: #292524;
  color: #d6d3d1;
  padding: 60px 0 30px;
  font-size: 0.92rem;
  border-top: 3px solid var(--c-amber);
}
.c-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.c-footer h4 { color: #fde68a; font-family: var(--c-font-head); margin-bottom: 18px; font-size: 1.1rem; }
.c-footer ul { list-style: none; }
.c-footer ul li { margin-bottom: 10px; }
.c-footer ul a:hover { color: var(--c-amber); }
.c-footer-bottom {
  border-top: 1px solid #44403c;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
}

@media (max-width: 992px) {
  header > div {
    padding: 14px 20px !important;
    box-sizing: border-box !important;
  }
  .c-mobile-toggle { display: block !important; }
  .c-nav-links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fffbeb;
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    border-bottom: 2px solid var(--c-border);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }
  .c-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; }
  .c-hero h1 { font-size: 2.2rem !important; }
  .c-stat-strip { grid-template-columns: 1fr 1fr !important; padding: 20px !important; }
  .c-footer-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
}
