:root {
  --wc-primary: #1a5276;
  --wc-primary-light: #2980b9;
  --wc-primary-dark: #0e2f44;
  --wc-accent: #2ecc71;
  --wc-accent-hover: #27ae60;
  --wc-neutral-50: #f8fafc;
  --wc-neutral-100: #f1f5f9;
  --wc-neutral-200: #e2e8f0;
  --wc-neutral-300: #cbd5e1;
  --wc-neutral-400: #94a3b8;
  --wc-neutral-500: #64748b;
  --wc-neutral-600: #475569;
  --wc-neutral-700: #334155;
  --wc-neutral-800: #1e293b;
  --wc-neutral-900: #0f172a;
  --wc-bg: #ffffff;
  --wc-surface: #f8fafc;
  --wc-text: #1e293b;
  --wc-text-secondary: #475569;
  --wc-radius-sm: 6px;
  --wc-radius-md: 12px;
  --wc-radius-lg: 16px;
  --wc-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --wc-shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --wc-shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --wc-transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --wc-max-width: 1200px;
  --wc-content-width: 780px;
  --wc-spacing-xs: 8px;
  --wc-spacing-sm: 16px;
  --wc-spacing-md: 24px;
  --wc-spacing-lg: 40px;
  --wc-spacing-xl: 64px;
  --wc-spacing-2xl: 100px;
}

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

body.washercare-site,
body.washercare-single,
body.washercare-page {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  color: var(--wc-text);
  background: var(--wc-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Header --- */
.wc-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wc-neutral-200);
  transition: box-shadow var(--wc-transition);
}
.wc-header.scrolled { box-shadow: var(--wc-shadow-md); }
.wc-header-inner {
  max-width: var(--wc-max-width);
  margin: 0 auto;
  padding: 0 var(--wc-spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.wc-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wc-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--wc-primary), var(--wc-primary-light));
  border-radius: var(--wc-radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.wc-logo-icon svg { width: 22px; height: 22px; fill: #fff; }
.wc-logo-text { font-size: 1.1rem; font-weight: 700; color: var(--wc-primary-dark); letter-spacing: -0.02em; }
.wc-nav { display: flex; gap: 4px; align-items: center; }
.wc-nav a {
  color: var(--wc-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--wc-radius-sm);
  transition: all var(--wc-transition);
}
.wc-nav a:hover { color: var(--wc-primary); background: var(--wc-neutral-100); }
.wc-mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; align-items: center; justify-content: center;
}
.wc-mobile-toggle svg { width: 24px; height: 24px; stroke: var(--wc-text); }

/* --- Hero --- */
.wc-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--wc-primary-dark) 0%, var(--wc-primary) 50%, var(--wc-primary-light) 100%);
}
.wc-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.wc-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,47,68,0.85) 0%, rgba(26,82,118,0.7) 100%);
}
.wc-hero-content {
  position: relative; z-index: 2;
  max-width: var(--wc-max-width);
  margin: 0 auto;
  padding: var(--wc-spacing-2xl) var(--wc-spacing-md);
  color: #fff;
}
.wc-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: var(--wc-spacing-sm);
}
.wc-hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: var(--wc-spacing-lg);
}
.wc-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--wc-accent);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--wc-radius-md);
  text-decoration: none;
  transition: all var(--wc-transition);
  box-shadow: 0 4px 16px rgba(46,204,113,0.3);
}
.wc-hero-cta:hover { background: var(--wc-accent-hover); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(46,204,113,0.4); }

/* --- Sections --- */
.wc-section {
  padding: var(--wc-spacing-2xl) var(--wc-spacing-md);
}
.wc-section-alt { background: var(--wc-surface); }
.wc-container { max-width: var(--wc-max-width); margin: 0 auto; }
.wc-section-header { text-align: center; margin-bottom: var(--wc-spacing-xl); }
.wc-section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--wc-primary-dark);
  letter-spacing: -0.02em;
  margin-bottom: var(--wc-spacing-xs);
}
.wc-section-header p {
  font-size: 1.05rem;
  color: var(--wc-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}
.wc-section-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--wc-primary), var(--wc-primary-light));
  border-radius: 2px;
  margin: var(--wc-spacing-sm) auto 0;
}

/* --- Card Grid --- */
.wc-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--wc-spacing-md);
}
.wc-card {
  background: #fff;
  border-radius: var(--wc-radius-lg);
  overflow: hidden;
  border: 1px solid var(--wc-neutral-200);
  transition: all var(--wc-transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.wc-card:hover { transform: translateY(-4px); box-shadow: var(--wc-shadow-lg); border-color: var(--wc-neutral-300); }
.wc-card-image {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: var(--wc-neutral-100);
}
.wc-card-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.wc-card:hover .wc-card-image img { transform: scale(1.04); }
.wc-card-body { padding: var(--wc-spacing-md); flex: 1; display: flex; flex-direction: column; }
.wc-card-category {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wc-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.wc-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--wc-text);
  margin-bottom: 8px;
}
.wc-card-excerpt {
  font-size: 0.9rem;
  color: var(--wc-text-secondary);
  line-height: 1.6;
  flex: 1;
}
.wc-card-footer {
  padding: 14px var(--wc-spacing-md);
  border-top: 1px solid var(--wc-neutral-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wc-card-date { font-size: 0.8rem; color: var(--wc-neutral-400); }
.wc-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wc-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- Carousel Section --- */
.wc-carousel-wrap { position: relative; overflow: hidden; }
.wc-carousel-track {
  display: flex;
  gap: var(--wc-spacing-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--wc-spacing-sm);
  scrollbar-width: none;
}
.wc-carousel-track::-webkit-scrollbar { display: none; }
.wc-carousel-item {
  flex: 0 0 320px;
  scroll-snap-align: start;
  border-radius: var(--wc-radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 220px;
  background: var(--wc-neutral-100);
}
.wc-carousel-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.wc-carousel-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--wc-spacing-md);
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}
.wc-carousel-caption h3 { font-size: 1rem; font-weight: 600; }
.wc-carousel-caption p { font-size: 0.85rem; opacity: 0.85; margin-top: 4px; }

/* --- Feature Grid --- */
.wc-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--wc-spacing-md);
}
.wc-feature {
  padding: var(--wc-spacing-lg);
  border-radius: var(--wc-radius-lg);
  background: #fff;
  border: 1px solid var(--wc-neutral-200);
  transition: all var(--wc-transition);
}
.wc-feature:hover { border-color: var(--wc-primary-light); box-shadow: var(--wc-shadow-md); }
.wc-feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--wc-radius-md);
  background: linear-gradient(135deg, rgba(26,82,118,0.08), rgba(41,128,185,0.12));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--wc-spacing-sm);
}
.wc-feature-icon svg { width: 24px; height: 24px; stroke: var(--wc-primary); fill: none; stroke-width: 1.5; }
.wc-feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--wc-primary-dark); }
.wc-feature p { font-size: 0.9rem; color: var(--wc-text-secondary); line-height: 1.6; }

/* --- Footer --- */
.wc-footer {
  background: var(--wc-neutral-900);
  color: var(--wc-neutral-400);
  padding: var(--wc-spacing-xl) var(--wc-spacing-md) var(--wc-spacing-lg);
}
.wc-footer-inner {
  max-width: var(--wc-max-width);
  margin: 0 auto;
}
.wc-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--wc-spacing-lg);
  padding-bottom: var(--wc-spacing-lg);
  border-bottom: 1px solid var(--wc-neutral-700);
}
.wc-footer-brand { }
.wc-footer-brand .wc-logo-text { color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.wc-footer-brand p { font-size: 0.88rem; line-height: 1.7; color: var(--wc-neutral-400); max-width: 360px; }
.wc-footer-links h4 { color: #fff; font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.wc-footer-links ul { list-style: none; }
.wc-footer-links li { margin-bottom: 8px; }
.wc-footer-links a {
  color: var(--wc-neutral-400); text-decoration: none; font-size: 0.88rem;
  transition: color var(--wc-transition);
}
.wc-footer-links a:hover { color: #fff; }
.wc-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--wc-spacing-md);
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 8px;
}
.wc-footer-notices { font-size: 0.78rem; color: var(--wc-neutral-500); line-height: 1.6; margin-top: var(--wc-spacing-sm); }

/* --- Single Post --- */
.wc-single-hero {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: var(--wc-primary-dark);
}
.wc-single-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.wc-single-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(14,47,68,0.5), rgba(14,47,68,0.9));
  display: flex; align-items: flex-end;
}
.wc-single-hero-content {
  max-width: var(--wc-content-width);
  margin: 0 auto;
  padding: var(--wc-spacing-lg) var(--wc-spacing-md);
  color: #fff;
  width: 100%;
}
.wc-single-hero-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.wc-single-meta {
  display: flex; gap: 16px; align-items: center;
  margin-top: 12px; font-size: 0.88rem; color: rgba(255,255,255,0.7);
}

.wc-article {
  max-width: var(--wc-content-width);
  margin: 0 auto;
  padding: var(--wc-spacing-xl) var(--wc-spacing-md);
}
.wc-article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wc-primary-dark);
  margin: var(--wc-spacing-xl) 0 var(--wc-spacing-sm);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--wc-neutral-200);
  line-height: 1.35;
}
.wc-article h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wc-primary);
  margin: var(--wc-spacing-lg) 0 var(--wc-spacing-xs);
}
.wc-article p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--wc-text);
  margin-bottom: var(--wc-spacing-sm);
}
.wc-article ul, .wc-article ol {
  margin: var(--wc-spacing-sm) 0;
  padding-left: 24px;
}
.wc-article li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--wc-text-secondary);
}
.wc-article img {
  max-width: 100%;
  height: auto;
  border-radius: var(--wc-radius-md);
  margin: var(--wc-spacing-md) 0;
  box-shadow: var(--wc-shadow-sm);
}
.wc-article blockquote {
  border-left: 4px solid var(--wc-primary);
  background: var(--wc-neutral-50);
  padding: var(--wc-spacing-md);
  margin: var(--wc-spacing-md) 0;
  border-radius: 0 var(--wc-radius-md) var(--wc-radius-md) 0;
  font-size: 0.95rem;
  color: var(--wc-text-secondary);
}
.wc-article table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: var(--wc-spacing-md) 0;
  font-size: 0.92rem;
  border-radius: var(--wc-radius-md);
  overflow: hidden;
  border: 1px solid var(--wc-neutral-200);
}
.wc-article table thead th {
  background: var(--wc-primary);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.88rem;
}
.wc-article table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--wc-neutral-100);
  color: var(--wc-text-secondary);
}
.wc-article table tbody tr:last-child td { border-bottom: none; }
.wc-article table tbody tr:nth-child(even) { background: var(--wc-neutral-50); }
.wc-article .wc-callout {
  background: linear-gradient(135deg, rgba(26,82,118,0.04), rgba(41,128,185,0.08));
  border: 1px solid rgba(26,82,118,0.12);
  border-radius: var(--wc-radius-md);
  padding: var(--wc-spacing-md);
  margin: var(--wc-spacing-md) 0;
}
.wc-article .wc-callout-title {
  font-weight: 700; color: var(--wc-primary-dark);
  margin-bottom: 8px; font-size: 0.95rem;
}

/* TOC */
.wc-toc {
  background: var(--wc-neutral-50);
  border: 1px solid var(--wc-neutral-200);
  border-radius: var(--wc-radius-md);
  padding: var(--wc-spacing-md);
  margin-bottom: var(--wc-spacing-lg);
}
.wc-toc h4 { font-size: 0.95rem; font-weight: 700; color: var(--wc-primary-dark); margin-bottom: 12px; }
.wc-toc ul { list-style: none; padding: 0; }
.wc-toc li { margin-bottom: 6px; }
.wc-toc a {
  color: var(--wc-text-secondary); text-decoration: none; font-size: 0.9rem;
  display: flex; align-items: center; gap: 6px;
  transition: color var(--wc-transition);
}
.wc-toc a::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--wc-neutral-300);
  flex-shrink: 0;
  transition: background var(--wc-transition);
}
.wc-toc a:hover { color: var(--wc-primary); }
.wc-toc a:hover::before { background: var(--wc-primary); }

/* Related Posts */
.wc-related { margin-top: var(--wc-spacing-2xl); padding-top: var(--wc-spacing-xl); border-top: 1px solid var(--wc-neutral-200); }
.wc-related h3 { font-size: 1.3rem; font-weight: 700; color: var(--wc-primary-dark); margin-bottom: var(--wc-spacing-md); }

/* Summary box */
.wc-summary-box {
  background: linear-gradient(135deg, var(--wc-primary-dark), var(--wc-primary));
  color: #fff;
  border-radius: var(--wc-radius-lg);
  padding: var(--wc-spacing-md) var(--wc-spacing-lg);
  margin-bottom: var(--wc-spacing-lg);
}
.wc-summary-box h4 { font-weight: 700; margin-bottom: 8px; font-size: 1rem; }
.wc-summary-box p { font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.9); }

/* Bar chart */
.wc-bar { display: flex; align-items: center; gap: 12px; margin: 8px 0; }
.wc-bar-label { font-size: 0.85rem; color: var(--wc-text-secondary); min-width: 100px; flex-shrink: 0; }
.wc-bar-track { flex: 1; height: 24px; background: var(--wc-neutral-100); border-radius: 12px; overflow: hidden; }
.wc-bar-fill {
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--wc-primary), var(--wc-primary-light));
  display: flex; align-items: center; justify-content: flex-end; padding-right: 8px;
  font-size: 0.75rem; color: #fff; font-weight: 600;
  transition: width 800ms ease;
}

/* Page styles */
.wc-page-content {
  max-width: var(--wc-content-width);
  margin: 0 auto;
  padding: var(--wc-spacing-xl) var(--wc-spacing-md);
}
.wc-page-content h1 {
  font-size: 2rem; font-weight: 800; color: var(--wc-primary-dark);
  margin-bottom: var(--wc-spacing-lg); padding-bottom: var(--wc-spacing-sm);
  border-bottom: 3px solid var(--wc-primary);
}
.wc-page-content h2 {
  font-size: 1.3rem; font-weight: 700; color: var(--wc-primary-dark);
  margin: var(--wc-spacing-lg) 0 var(--wc-spacing-sm);
}
.wc-page-content p { line-height: 1.8; margin-bottom: var(--wc-spacing-sm); color: var(--wc-text-secondary); }

/* Scroll animation */
.wc-fade-in { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.wc-fade-in.visible { opacity: 1; transform: translateY(0); }

/* Mobile */
@media (max-width: 768px) {
  .wc-header-inner { height: 56px; }
  .wc-nav { display: none; }
  .wc-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px; left: 0; right: 0;
    background: #fff;
    padding: var(--wc-spacing-sm);
    border-bottom: 1px solid var(--wc-neutral-200);
    box-shadow: var(--wc-shadow-lg);
  }
  .wc-mobile-toggle { display: flex; }
  .wc-hero { min-height: 400px; }
  .wc-card-grid { grid-template-columns: 1fr; }
  .wc-footer-top { grid-template-columns: 1fr; gap: var(--wc-spacing-md); }
  .wc-carousel-item { flex: 0 0 280px; }
  .wc-features { grid-template-columns: 1fr; }
  .wc-single-hero { height: 260px; }
  .wc-article h2 { font-size: 1.3rem; }
  .wc-section { padding: var(--wc-spacing-xl) var(--wc-spacing-sm); }
}

@media (prefers-reduced-motion: reduce) {
  .wc-fade-in { opacity: 1; transform: none; transition: none; }
  .wc-card:hover { transform: none; }
  .wc-hero-cta:hover { transform: none; }
}

/* Hide WP defaults */
.wp-site-blocks > header,
.wp-site-blocks > footer,
.wp-block-template-part,
body.washercare-single .wp-site-blocks > header,
body.washercare-single .wp-site-blocks > footer { display: none !important; }
.powered-by-wordpress, a[href*="wordpress.org"] { display: none !important; }

/* Legal notice in footer */
.wc-footer .wc-legal-notice {
  font-size: 0.78rem;
  color: var(--wc-neutral-500);
  line-height: 1.7;
  margin-top: var(--wc-spacing-sm);
  padding-top: var(--wc-spacing-sm);
  border-top: 1px solid var(--wc-neutral-700);
}

/* Table responsive */
.wc-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--wc-spacing-md) 0;
}

/* Checklist */
.wc-checklist { list-style: none; padding: 0; }
.wc-checklist li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid var(--wc-neutral-100);
}
.wc-checklist li::before {
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 18px; height: 18px;
  border: 2px solid var(--wc-neutral-300);
  border-radius: 4px;
}
