/* WP Cleaning Supplies - shared stylesheet */
:root {
  --brand: #0a5ca8;
  --brand-dark: #074478;
  --brand-light: #e8f1fa;
  --accent: #25c2a0;
  --accent-dark: #1a9c80;
  --ink: #1a2330;
  --muted: #5b6878;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --border: #e2e8f0;
  --max-width: 1100px;
  --radius: 10px;
  --shadow: 0 4px 14px rgba(10, 92, 168, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 92, 168, 0.15);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / nav */
header.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--brand-dark);
  font-size: 1.15rem;
}
.brand .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
}
nav.main-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 22px;
}
nav.main-nav a {
  color: var(--ink);
  font-weight: 500;
}
nav.main-nav a.active,
nav.main-nav a:hover {
  color: var(--brand);
  text-decoration: none;
}

/* Hero with illustration */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(37, 194, 160, 0.18), transparent),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 16px;
}
.hero p.lede {
  font-size: 1.2rem;
  opacity: 0.92;
  margin: 0 0 28px;
}
.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-art svg {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.25));
}
@media (max-width: 820px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 240px; }
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-dark); color: white; }
.btn-ghost { background: transparent; color: white; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: white; }

/* Sections */
section.section {
  padding: 64px 0;
}
section.section.alt {
  background: var(--bg-soft);
}
.section h2 {
  font-size: 1.9rem;
  margin: 0 0 12px;
  color: var(--brand-dark);
}
.section p.sub {
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 36px;
}

/* Grid of cards with SVG */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.card h3 {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 1.15rem;
}
.card p { margin: 0; color: var(--muted); }
.card .cat-icon {
  width: 64px; height: 64px;
  border-radius: 12px;
  background: var(--brand-light);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card .cat-icon svg {
  width: 38px; height: 38px;
}

/* Page hero (lighter) for inner pages */
.page-hero {
  background: var(--bg-soft);
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 2.1rem;
}
.page-hero p { color: var(--muted); margin: 0; max-width: 620px; }

/* Brand strip */
.brand-strip {
  background: var(--bg);
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brand-strip h3 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 18px;
  font-weight: 600;
}
.brand-strip ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 36px;
}
.brand-strip li {
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 60px 0; }
  nav.main-nav ul { gap: 14px; }
}
.contact-info dt {
  font-weight: 600;
  color: var(--brand-dark);
  margin-top: 12px;
}
.contact-info dd {
  margin: 0 0 4px;
  color: var(--muted);
}
form.contact-form label {
  display: block;
  font-weight: 500;
  margin: 14px 0 6px;
}
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: var(--bg);
}
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form button { margin-top: 16px; }

/* Footer */
footer.site-footer {
  background: var(--ink);
  color: #c7d0dc;
  padding: 36px 0;
  margin-top: 40px;
}
footer.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
footer.site-footer a { color: #9fc2eb; }
footer.site-footer .legal { color: #7a8493; font-size: 0.9rem; }
footer.site-footer .legal small { display: block; margin-top: 6px; color: #5a6478; font-size: 0.78rem; max-width: 540px; }

/* Product catalog */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.product {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.product .product-img {
  background: linear-gradient(135deg, var(--bg-soft) 0%, #e7eef7 100%);
  padding: 28px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 160px;
}
.product .product-img svg {
  width: 100px;
  height: 100px;
}
.product .product-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product h3 {
  color: var(--brand-dark);
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.product .tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--brand-light);
  color: var(--brand);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  align-self: flex-start;
  font-weight: 600;
}
.product .brand-line {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 8px;
}
.product .desc {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0;
}

/* About page additions */
.about-prose {
  max-width: 780px;
}
.brand-portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.brand-portfolio .brand-chip {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
  font-weight: 600;
  color: var(--brand-dark);
  font-size: 0.95rem;
}
.brand-portfolio .brand-chip small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 4px;
}

.trademark-note {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-left: 3px solid var(--brand);
  font-size: 0.85rem;
  color: var(--muted);
  border-radius: 0 6px 6px 0;
}
