/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-body);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== VARIABLES ===== */
:root {
  --primary: #5d55e4;
  --primary-dark: #4a43c0;
  --primary-light: #ecebff;
  --accent: #f26b65;
  --accent-light: #ffefee;
  --text: #000;
  --text-body: #4a5355;
  --text-light: #6d7193;
  --white: #ffffff;
  --bg: #f7f5ff;
  --bg-gray: #f9f9f9;
  --border: #e5e5e5;
  --shadow: 0 10px 40px rgba(82, 95, 225, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --header-bg: #F7F5FF;
  --card-bg: #ffffff;
  --footer-bg: #F7F5FF;
}

/* ===== HEADER ===== */
.header {
  background: var(--header-bg);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(11, 16, 74, 0.04);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  font-size: 30px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo img { display: block; height: 60px; }
.header-search {
  flex: 1;
  max-width: 400px;
  position: relative;
}
.header-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 2px solid var(--border);
  border-radius: 30px;
  font-family: inherit;
  font-size: 18px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.header-search input:focus { border-color: var(--primary); }
.header-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-light);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-links a {
  font-weight: 600;
  font-size: 18px;
  color: var(--primary);
  letter-spacing: 0.3px;
}
.header-links a:hover { color: var(--primary-dark); }
.header-links .active { color: var(--primary-dark); }

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 60px 24px 40px;
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 35px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}
.hero-sub {
  font-size: 24px;
  color: var(--text-light);
  margin-bottom: 12px;
}
.hero-badges {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.hero-search {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.hero-search svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-light);
}
.hero-search input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 18px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(93,85,228,0.12);
}
.search-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 8px;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  z-index: 50;
}
.search-results.active { display: block; }
.search-result-item {
  display: block;
  padding: 14px 20px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--primary-light); color: var(--primary); }
.search-guide-item { font-style: italic; color: var(--text-light); }
.search-guide-item:hover { color: var(--primary); }
.search-no-results {
  padding: 14px 20px;
  color: var(--text-light);
  font-size: 14px;
}

/* ===== CATEGORY CARDS ===== */
.categories {
  max-width: 980px;
  margin: 0 auto 48px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-align: center;
}
.cat-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(93,85,228,0.1);
}
.cat-card svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
}
.cat-card span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.discover-btn-wrap {
  text-align: center;
  margin-top: 24px;
  padding-bottom: 48px;
}
.discover-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.discover-btn:hover {
  background: var(--primary-dark);
}

/* ===== ABOUT ===== */
/* ===== HOME SEO CONTENT ===== */
.home-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}
.home-content h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.home-content p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 12px;
  text-align: justify;
}
.home-content a {
  color: var(--primary);
  text-decoration: none;
}
.home-content a:hover {
  text-decoration: underline;
}

.about-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}
.why-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.about-inner h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  text-align: justify;
}
.about-inner p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 12px;
  text-align: justify;
}

/* ===== ABOUT PAGE ===== */
.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.about-block {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  margin-bottom: 32px;
  border: 1px solid rgba(82, 95, 225, 0.06);
}
.about-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.about-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}
.about-block h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.about-block p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 14px;
  text-align: justify;
}
.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.about-feature {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 24px;
}
.about-feature h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.about-feature p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 0;
}
.about-feature-highlight {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 24px;
}
.about-feature-highlight h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-benefits {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.feature-benefits li {
  font-size: 16px;
  color: var(--text-light);
  padding: 4px 0 4px 20px;
  position: relative;
}
.feature-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}
.about-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.about-trust-item {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 20px;
}
.about-trust-item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.about-trust-item p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.team-card {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.team-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid var(--primary-light);
}
.team-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.team-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  text-align: center;
}
.team-card p {
  font-size: 16px;
  color: var(--text-light);
  text-align: center;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.about-value-item {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 20px;
}
.about-value-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.about-value-item p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 0;
}
.about-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
}
.about-cta h2 {
  color: var(--white);
}
.about-cta p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 20px;
  text-align: center;
}
.cta-button {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
  .about-features { grid-template-columns: 1fr; }
  .about-trust-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .about-values-grid { grid-template-columns: 1fr; }
  .about-block { padding: 28px 20px; }
  .discover-btn { display: block; margin: 0 auto 12px; }
  .discover-btn:last-child { margin-bottom: 0; }
}

.hero-page { padding-bottom: 40px; }
.hero-date {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 8px;
}
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.legal-block {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px;
  border: 1px solid rgba(82, 95, 225, 0.06);
}
.legal-section {
  margin-bottom: 36px;
}
.legal-section:last-child {
  margin-bottom: 0;
}
.legal-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.legal-section h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 20px 0 8px;
}
.legal-section p {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 12px;
  text-align: justify;
}
.legal-section ul {
  padding-left: 24px;
  margin-bottom: 12px;
}
.legal-section li {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1.6;
}
.legal-section a {
  color: var(--primary);
  text-decoration: none;
}
.legal-section a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .legal-block { padding: 28px 20px; }
  .legal-section h2 { font-size: 20px; }
}

/* ===== CONTACT PAGE ===== */
.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  margin-bottom: 48px;
}
.contact-form-card,
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  border: 1px solid rgba(82, 95, 225, 0.06);
}
.contact-form-card h2,
.contact-info-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.contact-form-card > p,
.contact-info-card > p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 24px;
}
.form-field {
  margin-bottom: 18px;
}
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
}
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}
.contact-info-item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.contact-info-item span,
.contact-info-item a {
  font-size: 15px;
  color: var(--text-light);
  text-decoration: none;
}
.contact-info-item a:hover {
  color: var(--primary);
}
.contact-social {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.contact-social h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.contact-social-links {
  display: flex;
  gap: 12px;
}
.contact-social-links a {
  width: 42px;
  height: 42px;
  background: var(--bg-gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: background 0.2s, color 0.2s;
}
.contact-social-links a:hover {
  background: var(--primary);
  color: var(--white);
}
.contact-social-links a svg {
  width: 20px;
  height: 20px;
}
.contact-faq {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  border: 1px solid rgba(82, 95, 225, 0.06);
}
.contact-faq h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.faq-card {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 24px;
}
.faq-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.faq-card p {
  font-size: 15px;
  color: var(--text-light);
  margin: 0;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-form-card,
  .contact-info-card,
  .contact-faq { padding: 28px 20px; }
}

/* ===== POPULAR CALCULATORS ===== */
.popular-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}
.popular-section h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 8px;
}
.popular-sub {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 18px;
}
.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pop-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.pop-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.pop-card ul { display: grid; gap: 8px; }
.pop-card li a {
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}
.pop-card li a:hover { color: var(--primary); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr auto auto auto;
  gap: 90px;
  padding-bottom: 32px;
}
.footer-brand img { height: 60px; margin-bottom: 12px; }
.footer-brand p { font-size: 16px; color: var(--text-light); text-align: justify; }
.footer-links {
  padding-left: 20px;
}
.footer-links h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  white-space: nowrap;
}
.footer-links a {
  display: block;
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-copy {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 6px;
}
.footer-link {
  color: var(--primary);
  text-decoration: none;
}
.footer-link:hover {
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 16px;
  color: var(--text-light);
}

/* ===== CALCULATORS PAGE ===== */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 0;
}
.breadcrumb ul {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--border); }
.calc-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 32px;
}
.calc-hero h1 {
  font-size: 35px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 12px;
}
.calc-hero-sub {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 8px;
}
.calc-hero-search {
  position: relative;
  max-width: 480px;
  margin-top: 24px;
}
.calc-hero-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-light);
}
.calc-hero-search input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 18px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.calc-hero-search input:focus { border-color: var(--primary); }
.calculators-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.calculators-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc-category {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.calc-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.calc-category-header:hover { background: var(--bg-gray); }
.calc-category-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
}
.calc-category-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}
.calc-category-title {
  flex: 1;
}
.calc-category-title h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}
.calc-category-title h2 a {
  color: inherit;
}
.calc-category[data-category="plumbing"] {
  margin-bottom: 24px;
}
.calc-category-title h2 a:hover { color: var(--primary-dark); }
.calc-category-toggle {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calc-category-toggle svg {
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
  color: var(--primary);
}
.calc-category-list {
  display: block;
  border-top: 1px solid var(--border);
}
.calc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 12px 76px;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.calc-item:last-child { border-bottom: none; }
.calc-item:hover { background: var(--bg-gray); color: var(--primary); }
.calc-item svg {
  width: 16px;
  height: 16px;
  color: var(--text-light);
  flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-links { display: none; }
  .header-search { display: none; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 20px; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .popular-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .calc-item { padding-left: 20px; }
}
@media (max-width: 480px) {
  .categories { gap: 10px; }
  .cat-card { padding: 16px 10px; }
  .cat-card svg { width: 36px; height: 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}
