*, ::after, ::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: #1e293b;
  background: #f8fafc;
  line-height: 1.6;
}

a { color: #0d9488; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header { background: #0f172a; color: #fff; padding: 1rem 0; }
.header .container { display: flex; align-items: center; justify-content: space-between; }
.header-logo { display: flex; align-items: center; gap: .625rem; font-weight: 700; font-size: 1.125rem; color: #fff; text-decoration: none; }
.header-logo-icon { width: 2rem; height: 2rem; background: #0d9488; border-radius: .5rem; display: flex; align-items: center; justify-content: center; }
.header-nav { display: flex; gap: 1.5rem; }
.header-nav a { color: #94a3b8; font-size: .875rem; text-decoration: none; }
.header-nav a:hover { color: #fff; }
.header-brand { display: flex; flex-direction: column; line-height: 1.2; }
.header-brand-name { font-weight: 700; font-size: 1rem; }
.header-brand-slogan { font-size: .65rem; color: #94a3b8; font-weight: 400; }

/* Footer */
.footer { background: #0f172a; color: #94a3b8; padding: 3rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer h3 { color: #fff; font-size: .875rem; margin-bottom: 1rem; }
.footer a { color: #94a3b8; font-size: .875rem; display: block; margin-bottom: .5rem; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 1.5rem; text-align: center; font-size: .75rem; }

/* Breadcrumbs */
.breadcrumbs { display: flex; gap: .5rem; align-items: center; font-size: .875rem; color: #64748b; padding: 1rem 0; flex-wrap: wrap; }
.breadcrumbs a { color: #0d9488; }

/* Cards */
.card { background: #fff; border-radius: .75rem; border: 1px solid #e2e8f0; overflow: hidden; transition: box-shadow .2s; }
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.card-body { padding: 1.25rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .625rem 1.25rem; border-radius: .5rem; font-size: .875rem; font-weight: 500; cursor: pointer; border: none; text-decoration: none; transition: all .2s; }
.btn-primary { background: #0d9488; color: #fff; }
.btn-primary:hover { background: #0f766e; }

/* Stars */
.stars { color: #f59e0b; font-size: .875rem; }

/* Hero */
.hero { position: relative; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; padding: 5rem 0; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 2.75rem; font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem; max-width: 700px; }
.hero p { font-size: 1.125rem; color: #cbd5e1; max-width: 600px; line-height: 1.7; margin-bottom: 2rem; }
.hero-search { position: relative; max-width: 500px; }
.hero-search input { width: 100%; padding: 1rem 1rem 1rem 3rem; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); border-radius: .75rem; color: #fff; font-size: 1rem; outline: none; transition: all .2s; }
.hero-search input::placeholder { color: #94a3b8; }
.hero-search input:focus { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.35); }
.hero-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); }

/* Stats */
.stats-bar { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 2.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.stat-item { display: flex; align-items: center; gap: 1rem; }
.stat-icon { width: 3rem; height: 3rem; background: #f0fdfa; border-radius: .75rem; display: flex; align-items: center; justify-content: center; color: #0d9488; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: #1e293b; }
.stat-label { font-size: .875rem; color: #64748b; }

/* Section */
.section { padding: 3rem 0; }
.section-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.section-subtitle { color: #64748b; max-width: 500px; margin: 0 auto 2rem; text-align: center; }

/* Department grid */
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.dept-card { display: flex; align-items: center; justify-content: space-between; padding: 1rem; background: #fff; border: 1px solid #e2e8f0; border-radius: .75rem; text-decoration: none; transition: all .2s; }
.dept-card:hover { border-color: #99f6e4; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.dept-card:hover .dept-num { background: #f0fdfa; color: #0d9488; }
.dept-card:hover .dept-name { color: #0d9488; }
.dept-num { width: 2.5rem; height: 2.5rem; background: #f1f5f9; border-radius: .5rem; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; color: #475569; flex-shrink: 0; transition: all .2s; }
.dept-info { flex: 1; min-width: 0; margin: 0 .75rem; }
.dept-name { font-weight: 500; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.dept-cities { font-size: .75rem; color: #94a3b8; display: flex; align-items: center; gap: .25rem; }
.dept-arrow { color: #cbd5e1; flex-shrink: 0; transition: color .2s; }
.dept-card:hover .dept-arrow { color: #0d9488; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 1.5rem; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: .5rem; padding: 2rem 0; }
.pagination a, .pagination span { padding: .5rem 1rem; border-radius: .5rem; font-size: .875rem; border: 1px solid #e2e8f0; color: #334155; text-decoration: none; }
.pagination .active { background: #0d9488; color: #fff; border-color: #0d9488; }

/* FAQ */
.faq-item { border: 1px solid #e2e8f0; border-radius: .75rem; margin-bottom: .75rem; overflow: hidden; }
.faq-q { padding: 1rem 1.25rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: #fff; }
.faq-q:hover { background: #f8fafc; }
.faq-a { padding: 0 1.25rem 1rem; color: #64748b; font-size: .875rem; display: none; }
.faq-item.open .faq-a { display: block; }

/* Painter detail */
.painter-detail { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }

/* Info row */
.info-row { display: flex; align-items: center; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid #f1f5f9; font-size: .875rem; }
.info-label { color: #64748b; min-width: 120px; }

/* Tags */
.tag { display: inline-block; padding: .25rem .75rem; background: #f0fdfa; color: #0d9488; border-radius: .375rem; font-size: .75rem; margin: .25rem; }

/* SEO content */
.seo-content { color: #475569; font-size: .9375rem; line-height: 1.8; }
.seo-content h2 { font-size: 1.25rem; font-weight: 700; color: #1e293b; margin: 1.5rem 0 .75rem; }
.seo-content h3 { font-size: 1.1rem; font-weight: 600; color: #1e293b; margin: 1.25rem 0 .5rem; }
.seo-content p { margin-bottom: 1rem; }
.seo-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.seo-content li { margin-bottom: .25rem; }

/* Responsive */
@media (max-width: 768px) {
  .painter-detail { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .hero h1 { font-size: 1.75rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .dept-grid { grid-template-columns: 1fr; }
}