:root {
  --font-heading: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;

  --navy: #0b4f7a;
  --navy-dark: #073257;
  --navy-darker: #041f38;
  --accent: #f0972b;
  --accent-dark: #d97b0e;

  --text: #1c2b36;
  --text-muted: #5f6f7a;
  --text-soft: #8a97a1;

  --bg: #f7f5f1;
  --card-bg: #ffffff;
  --border: #e7e2da;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(11, 40, 60, 0.07);
  --shadow: 0 4px 16px rgba(11, 40, 60, 0.1);
  --shadow-hover: 0 14px 32px rgba(11, 40, 60, 0.18);

  /* category accent palette */
  --cat-vs-1: #1471ac; --cat-vs-2: #073257;
  --cat-tr-1: #e2703a; --cat-tr-2: #ad4c1c;
  --cat-vw-1: #14a19a; --cat-vw-2: #0b6b66;
  --cat-am-1: #5566c2; --cat-am-2: #313f80;
  --cat-cc-1: #b98a4e; --cat-cc-2: #8a6329;
  --cat-fc-1: #d9a319; --cat-fc-2: #a8760f;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--navy-dark);
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(240, 151, 43, 0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(240, 151, 43, 0.4);
}
.btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.brand-logo { height: 42px; display: block; }

/* Mobile toggle (checkbox hack, no JS) */
.nav-toggle-input { display: none; }
.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 8px;
}
.nav-toggle-label span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-dark);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav { display: flex; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li { position: relative; }

.nav-list a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--navy-dark);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-list a:hover {
  color: var(--navy);
  background: var(--bg);
  text-decoration: none;
}
.nav-list a.nav-cta {
  background: var(--navy);
  color: #ffffff;
  margin-left: 6px;
}
.nav-list a.nav-cta:hover { background: var(--navy-dark); color: #ffffff; }

.chevron { transition: transform 0.15s ease; }
.has-dropdown:hover .chevron,
.has-dropdown:focus-within .chevron { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  list-style: none;
  margin: 8px 0 0;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 30;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}
.dropdown-menu li a:hover { background: var(--bg); color: var(--navy); }

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; }
  .nav-toggle-label { display: flex; }
  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .nav-toggle-input:checked ~ .main-nav { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 0 18px;
    border-top: 1px solid var(--border);
    margin-top: 10px;
  }
  .nav-list a { padding: 12px 10px; }
  .nav-list a.nav-cta { margin: 8px 0 0; justify-content: center; }
  .dropdown-menu {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    margin: 2px 0 0;
  }
  .chevron { display: none; }
}

/* Hero */
.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(240, 151, 43, 0.28) 0%, transparent 48%),
    radial-gradient(circle at 85% 15%, rgba(20, 161, 154, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 85% 85%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-darker) 100%);
  color: #ffffff;
  padding: 96px 0 88px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(240, 151, 43, 0.14);
  border: 1px solid rgba(240, 151, 43, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.hero-sub {
  font-size: 1.1rem;
  color: #c3dced;
  margin: 0 auto 34px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Category grid (home) */
.category-grid-section { padding: 72px 0 88px; }
.section-heading { text-align: center; margin-bottom: 40px; }
.section-title { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.section-sub { color: var(--text-muted); margin: 0; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}
.category-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.category-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: transparent;
  text-decoration: none;
}
.category-card.cat-vehicle-service:hover { border-color: var(--cat-vs-1); }
.category-card.cat-transportation:hover { border-color: var(--cat-tr-1); }
.category-card.cat-vehicle-wash:hover { border-color: var(--cat-vw-1); }
.category-card.cat-aviation-military:hover { border-color: var(--cat-am-1); }
.category-card.cat-concrete-construction:hover { border-color: var(--cat-cc-1); }
.category-card.cat-floor-care:hover { border-color: var(--cat-fc-1); }
.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cat-vs-1) 0%, var(--cat-vs-2) 100%);
  color: #ffffff;
  margin-bottom: 18px;
}
.category-icon svg { width: 28px; height: 28px; }
.category-card h3 { margin: 0 0 8px; font-size: 1.15rem; color: var(--navy-dark); }
.category-card p { color: var(--text-muted); margin: 0 0 16px; font-size: 0.92rem; }
.category-count {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Category page hero */
.category-hero {
  background: linear-gradient(135deg, #f3ede2 0%, #eee6d8 100%);
  border-bottom: 1px solid var(--border);
  padding: 32px 0 40px;
}
.breadcrumb {
  color: var(--text-soft);
  font-size: 0.85rem;
  margin-bottom: 20px;
  font-weight: 500;
}
.breadcrumb span { margin: 0 6px; }
.category-hero-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.category-hero-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cat-vs-1) 0%, var(--cat-vs-2) 100%);
  color: #ffffff;
  box-shadow: var(--shadow);
}
.category-hero-icon svg { width: 34px; height: 34px; }

/* Per-category color coding */
.cat-vehicle-service.category-icon,
.cat-vehicle-service.category-hero-icon { background: linear-gradient(135deg, var(--cat-vs-1) 0%, var(--cat-vs-2) 100%); }
.cat-transportation.category-icon,
.cat-transportation.category-hero-icon { background: linear-gradient(135deg, var(--cat-tr-1) 0%, var(--cat-tr-2) 100%); }
.cat-vehicle-wash.category-icon,
.cat-vehicle-wash.category-hero-icon { background: linear-gradient(135deg, var(--cat-vw-1) 0%, var(--cat-vw-2) 100%); }
.cat-aviation-military.category-icon,
.cat-aviation-military.category-hero-icon { background: linear-gradient(135deg, var(--cat-am-1) 0%, var(--cat-am-2) 100%); }
.cat-concrete-construction.category-icon,
.cat-concrete-construction.category-hero-icon { background: linear-gradient(135deg, var(--cat-cc-1) 0%, var(--cat-cc-2) 100%); }
.cat-floor-care.category-icon,
.cat-floor-care.category-hero-icon { background: linear-gradient(135deg, var(--cat-fc-1) 0%, var(--cat-fc-2) 100%); }

.cat-band.cat-vehicle-service { border-top: 4px solid var(--cat-vs-1); }
.cat-band.cat-transportation { border-top: 4px solid var(--cat-tr-1); }
.cat-band.cat-vehicle-wash { border-top: 4px solid var(--cat-vw-1); }
.cat-band.cat-aviation-military { border-top: 4px solid var(--cat-am-1); }
.cat-band.cat-concrete-construction { border-top: 4px solid var(--cat-cc-1); }
.cat-band.cat-floor-care { border-top: 4px solid var(--cat-fc-1); }
.category-hero-inner h1 { font-size: 1.9rem; font-weight: 800; margin-bottom: 6px; }
.category-desc { color: var(--text-muted); max-width: 640px; margin: 0; }

.category-page { padding: 44px 0 72px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.product-media {
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f2eee5 0%, #faf8f4 100%);
  border-bottom: 1px solid var(--border);
}
.product-media img {
  max-height: 140px;
  max-width: 85%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(11, 40, 60, 0.12));
}
.product-media-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
}

.product-body { padding: 18px 20px; flex: 1; }
.product-name {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
}
.product-tagline {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.product-desc { margin: 0 0 12px; font-size: 0.9rem; color: var(--text-muted); }
.product-features {
  margin: 0 0 12px;
  padding-left: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.product-features li {
  margin-bottom: 5px;
  padding-left: 20px;
  position: relative;
}
.product-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-soft);
}
.product-meta span {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 12px;
  font-weight: 600;
}

.product-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: #fbfcfd;
}
.product-price {
  font-weight: 800;
  color: var(--navy-dark);
  font-size: 1.1rem;
  font-family: var(--font-heading);
}
.product-price small { font-weight: 500; font-size: 0.72rem; color: var(--text-soft); font-family: var(--font-body); }

/* Unit-of-measure tooltip */
.product-uom {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted var(--text-soft);
  outline: none;
}
.uom-tip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--navy-dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
  width: max-content;
  max-width: 220px;
  padding: 8px 11px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 40;
  pointer-events: none;
  white-space: normal;
  text-align: left;
}
.uom-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--navy-dark);
}
.product-uom:hover .uom-tip,
.product-uom:focus .uom-tip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.product-price-contact {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--accent-dark);
  font-weight: 700;
}
.product-price-contact::after { content: "\2192"; margin-left: 6px; transition: transform 0.15s ease; }
.product-price-contact:hover::after { transform: translateX(3px); }

/* About page */
.about-page { padding: 56px 0 88px; }
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.about-copy h2 { font-size: 1.4rem; margin: 28px 0 14px; }
.about-copy h2:first-child { margin-top: 0; }
.about-copy p { color: var(--text-muted); margin: 0 0 14px; }
.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
}
.about-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--border);
}
.about-list li:last-child { border-bottom: none; }
.about-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--accent-dark);
  font-weight: 700;
}
.about-cta-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  text-align: center;
  position: sticky;
  top: 96px;
}
.about-cta-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.about-cta-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 20px; }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-cta-card { position: static; }
}

/* Contact page */
.contact-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-darker) 100%);
  color: #fff;
  padding: 72px 0 56px;
  text-align: center;
}
.contact-hero h1 { color: #fff; font-size: 2.3rem; font-weight: 800; margin-bottom: 12px; }
.contact-hero p { color: #c3dced; margin: 0 auto; max-width: 480px; }

.contact-page { padding: 48px 0 88px; max-width: 560px; }
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
  text-align: center;
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.contact-card h2 { font-size: 1.2rem; margin-bottom: 10px; }
.contact-card a { font-size: 1.1rem; font-weight: 700; }

/* Footer */
.site-footer {
  background: var(--navy-darker);
  color: #a9c2d3;
  padding: 56px 0 0;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand { max-width: 320px; }
.footer-logo {
  height: 40px;
  background: #ffffff;
  border-radius: 8px;
  padding: 8px 12px;
  display: inline-block;
  margin-bottom: 14px;
}
.footer-brand p { font-size: 0.9rem; color: #8fabbf; margin: 0; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #a9c2d3; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding: 22px 24px 32px;
  text-align: center;
}
.footer-note { font-size: 0.78rem; color: #6f8ba0; max-width: 620px; margin: 0 auto 8px; }
.footer-copy { font-size: 0.78rem; color: #5c7a90; margin: 0; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 64px 0; }
  .hero h1 { font-size: 2.1rem; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .main-nav { gap: 2px; }
  .category-hero-inner { flex-direction: column; align-items: flex-start; }
}

/* Search page */
.search-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-darker) 100%);
  color: #fff;
  padding: 56px 0 44px;
  text-align: center;
}
.search-hero h1 { color: #fff; font-size: 2.1rem; font-weight: 800; margin-bottom: 8px; }
.search-hero > .container > p { color: #c3dced; margin: 0 auto 24px; max-width: 520px; }
.search-box {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}
.search-box .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-soft);
  pointer-events: none;
}
#search-input {
  width: 100%;
  font-size: 1.05rem;
  font-family: var(--font-body);
  padding: 16px 18px 16px 50px;
  border: none;
  border-radius: 999px;
  box-shadow: var(--shadow);
  outline: none;
  color: var(--text);
}
#search-input:focus {
  box-shadow: 0 0 0 3px rgba(240, 151, 43, 0.5), var(--shadow);
}
.search-status {
  color: #b9d6ea;
  font-size: 0.9rem;
  margin: 18px 0 0;
  min-height: 1.2em;
}
.search-results-section { padding: 36px 0 72px; }
.search-cat-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.search-cat-tag a {
  color: var(--accent-dark);
  background: rgba(240, 151, 43, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
}
.search-cat-tag a:hover { background: rgba(240, 151, 43, 0.2); text-decoration: none; }
.search-empty {
  text-align: center;
  padding: 48px 0;
  color: var(--text-muted);
}
.search-empty-sub { font-size: 0.9rem; }

/* Search link in nav */
.nav-search svg { color: var(--navy); }
.nav-search:hover svg { color: var(--navy-dark); }
