/* ============================================================
   STYLE.CSS
   All the visual styling for the whole site lives in this one file.
   Colors and fonts are defined once at the top — change them here
   and they update everywhere on the site.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@700;800;900&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --navy: #0f2c4c;
  --navy-dark: #0a1f38;
  --yellow: #f7b500;
  --bg: #f5f6f8;
  --card: #ffffff;
  --border: #e2e5ea;
  --text: #1c2530;
  --muted: #5b6472;
  --muted-light: #8a94a3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Public Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.85; }

h1, h2, h3 { font-family: 'Archivo', sans-serif; font-weight: 800; margin: 0; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 40px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.logo { display: flex; align-items: center; gap: 12px; }

.logo-badge {
  width: 40px; height: 40px; border-radius: 8px; background: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text .name { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 19px; color: var(--navy); }
.logo-text .tagline { font-weight: 600; font-size: 10px; letter-spacing: 1.2px; color: var(--muted); text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 32px; height: 76px; }
.main-nav a { font-weight: 600; font-size: 15px; color: var(--muted); height: 100%; display: flex; align-items: center; border-bottom: 2px solid transparent; }
.main-nav a.active { color: var(--navy); border-bottom-color: var(--yellow); }

.header-right { display: flex; align-items: center; gap: 20px; }
.phone-line { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.phone-line svg { stroke: var(--navy); }

.btn-quote {
  background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 14px;
  padding: 11px 20px; border-radius: 6px; white-space: nowrap;
}

/* ---------- Buttons (general) ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; padding: 12px 20px; border-radius: 6px;
  border: none; cursor: pointer; font-family: 'Public Sans', sans-serif;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-outline { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline-light { background: transparent; border: 1.5px solid var(--border); color: var(--muted); }
.btn-block { display: flex; width: 100%; }

/* ---------- Hero + search ---------- */

.hero {
  background: var(--navy); padding: 64px 40px; display: flex; flex-direction: column;
  align-items: center; text-align: center;
}
.hero-inner { max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.eyebrow { font-weight: 700; font-size: 12px; letter-spacing: 1.4px; color: var(--yellow); text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: 38px; line-height: 1.2; color: #fff; margin-bottom: 14px; }
.hero p.sub { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.72); margin: 0 0 32px; max-width: 600px; }

.search-card { background: #fff; border-radius: 12px; padding: 10px; width: 100%; box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.search-toggle { display: flex; gap: 6px; margin-bottom: 10px; background: var(--bg); border-radius: 8px; padding: 4px; }
.search-toggle button {
  flex: 1; border: none; background: transparent; font-weight: 700; font-size: 13.5px;
  padding: 10px; border-radius: 6px; cursor: pointer; color: var(--muted); font-family: 'Public Sans', sans-serif;
}
.search-toggle button.active { background: var(--navy); color: #fff; }

.search-row { display: flex; gap: 8px; }
.search-input-wrap {
  flex: 1; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border);
  border-radius: 8px; padding: 0 16px; height: 52px; background: #fff;
}
.search-input-wrap svg { flex-shrink: 0; stroke: var(--muted); }
.search-input-wrap input {
  border: none; outline: none; font-size: 14.5px; color: var(--text); width: 100%; background: transparent;
  font-family: 'Public Sans', sans-serif;
}
.search-row .btn { height: 52px; padding: 0 32px; }

.popular-line { font-size: 13px; color: rgba(255,255,255,0.55); margin: 18px 0 0; }

/* ---------- Sections ---------- */

section.block { padding: 56px 40px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 10px; }
.block-head h2 { font-size: 24px; color: var(--text); margin-bottom: 6px; }
.block-head p { font-size: 14px; color: var(--muted); margin: 0; }

.grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }

/* ---------- Category tiles ---------- */

.category-tile { border: 1px solid var(--border); border-radius: 10px; padding: 20px 16px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.category-tile svg { stroke: var(--navy); }
.category-tile .label { font-weight: 700; font-size: 14px; color: var(--text); }
.category-tile .count { font-size: 12px; color: var(--muted-light); margin-top: 2px; }

/* ---------- Brand cards (home strip + directory) ---------- */

.brand-mini { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.brand-badge { width: 46px; height: 46px; border-radius: 10px; background: var(--navy); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 17px; flex-shrink: 0; }
.brand-mini .brand-name { font-weight: 700; font-size: 13.5px; color: var(--text); }

.brand-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.brand-card .brand-badge { width: 54px; height: 54px; font-size: 20px; }
.brand-card .brand-name { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 17px; color: var(--text); }
.brand-card .brand-specialty { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- Trust strip ---------- */

.trust-strip { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item svg { stroke: var(--yellow); flex-shrink: 0; }
.trust-item .stat { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 16px; color: var(--text); }
.trust-item .caption { font-size: 12.5px; color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-dark); display: flex; }
.footer-main { flex: 1; padding: 48px 40px 24px; min-width: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-grid h4 { font-weight: 700; font-size: 13px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--yellow); margin: 0 0 14px; }
.footer-grid a, .footer-grid span { display: block; color: rgba(255,255,255,0.75); font-size: 14px; margin-bottom: 10px; }
.footer-blurb { color: rgba(255,255,255,0.6); font-size: 13.5px; line-height: 1.7; max-width: 260px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; flex-wrap: wrap; gap: 8px; }
.footer-bottom span { color: rgba(255,255,255,0.45); font-size: 12.5px; }

/* ---------- Breadcrumb ---------- */

.breadcrumb { font-size: 13px; color: var(--muted-light); padding: 18px 40px 0; }
.breadcrumb span { color: var(--text); font-weight: 600; }

/* ---------- Search results layout ---------- */

.results-layout { display: flex; align-items: flex-start; padding: 32px 40px 56px; gap: 28px; }

.filters-card { width: 260px; flex-shrink: 0; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.filters-head span.title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 15px; color: var(--text); }
.filter-group { margin-bottom: 22px; border-top: 1px solid #eef0f3; padding-top: 18px; }
.filter-group:first-of-type { border-top: none; padding-top: 0; }
.filter-group .group-title { font-weight: 700; font-size: 13px; color: var(--text); margin-bottom: 10px; }
.filter-group label { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); margin-bottom: 9px; cursor: pointer; }
.filter-group label .count { margin-left: auto; color: var(--muted-light); }
.filter-group input[type="checkbox"] { accent-color: var(--navy); width: 15px; height: 15px; }

.results-main { flex: 1; min-width: 0; }
.results-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.results-top .count-line { font-size: 14.5px; color: var(--muted); }
.results-top .count-line strong { color: var(--text); }

/* ---------- Product cards ---------- */

.product-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.product-card .thumb { height: 130px; background: #eef1f5; display: flex; align-items: center; justify-content: center; }
.product-card .thumb svg { stroke: #aab2bd; }
.product-card .body { padding: 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.product-card .brand-row { display: flex; align-items: center; gap: 8px; }
.product-card .brand-row .brand-badge { width: 20px; height: 20px; font-size: 10px; border-radius: 4px; }
.product-card .brand-row span { font-size: 12px; font-weight: 600; color: var(--muted); }
.product-card .name { font-weight: 700; font-size: 14.5px; color: var(--text); }
.product-card .spec-line { font-size: 12px; color: var(--muted-light); }
.product-card .btn { margin-top: auto; }

/* ---------- Category pills ---------- */

.pill-row { display: flex; gap: 10px; flex-wrap: wrap; padding: 18px 40px; background: #fff; border-bottom: 1px solid var(--border); }
.pill { font-weight: 600; font-size: 13px; padding: 9px 18px; border-radius: 20px; border: 1px solid var(--border); color: var(--muted); background: #fff; cursor: pointer; }
.pill.active { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; }

/* ---------- Brand banner ---------- */

.brand-banner { background: var(--navy); padding: 32px 40px 40px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.brand-banner .logo-tile { width: 84px; height: 84px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-banner .logo-tile span { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 34px; color: var(--navy); }
.brand-banner h1 { font-size: 26px; color: #fff; margin-bottom: 8px; }
.brand-banner p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.72); margin: 0 0 14px; max-width: 640px; }
.brand-banner .stats { display: flex; gap: 26px; flex-wrap: wrap; }
.brand-banner .stats .num { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 16px; color: var(--yellow); }
.brand-banner .stats .lbl { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ---------- Product detail page ---------- */

.pd-layout { padding: 28px 40px 0; display: flex; gap: 44px; flex-wrap: wrap; }
.pd-gallery { width: 420px; flex-shrink: 0; }
.pd-gallery .main-image { height: 380px; background: #eef1f5; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.pd-gallery .main-image svg { stroke: #aab2bd; }
.pd-gallery .thumbs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.pd-gallery .thumbs div { height: 78px; background: #eef1f5; border-radius: 8px; }
.pd-gallery .thumbs div.selected { border: 2px solid var(--navy); }

.pd-info { flex: 1; min-width: 280px; }
.pd-info .brand-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.pd-info .brand-row .brand-badge { width: 22px; height: 22px; font-size: 11px; border-radius: 4px; }
.pd-info .brand-row span { font-weight: 700; font-size: 13.5px; color: var(--muted); }
.pd-info h1 { font-size: 24px; color: var(--text); margin-bottom: 10px; }
.pd-info .desc { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0 0 22px; max-width: 520px; }

.specs-table { width: 100%; max-width: 520px; border-collapse: collapse; margin-bottom: 20px; }
.specs-table td { padding: 11px 0; border-bottom: 1px solid #eef0f3; font-size: 13.5px; }
.specs-table td:first-child { color: var(--muted-light); }
.specs-table td:last-child { font-weight: 600; color: var(--text); text-align: right; }

.note-box { background: var(--bg); border-radius: 8px; padding: 14px 16px; font-size: 13px; color: var(--muted); margin-bottom: 24px; max-width: 520px; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.pd-actions .btn { padding: 15px 28px; font-size: 15px; }
.trust-line { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.trust-line svg { stroke: #1f7a3d; }

.related-section { padding: 48px 40px 56px; }
.related-section h2 { font-size: 19px; color: var(--text); margin-bottom: 18px; }

/* ---------- Brand directory search ---------- */

.brand-search-bar { display: flex; align-items: center; gap: 10px; max-width: 480px; background: #fff; border-radius: 8px; padding: 4px; }
.brand-search-bar input { flex: 1; border: none; outline: none; padding: 0 14px; height: 44px; font-size: 14px; color: var(--text); font-family: 'Public Sans', sans-serif; }
.brand-search-bar .btn { height: 44px; padding: 0 20px; }

/* ---------- Quote / enquiry form ---------- */

.quote-wrap { max-width: 560px; margin: 48px auto; padding: 0 40px; }
.quote-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 36px; }
.quote-card h1 { font-size: 22px; margin-bottom: 8px; }
.quote-card p.lead { font-size: 14px; color: var(--muted); margin: 0 0 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 13.5px; color: var(--text); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px;
  font-size: 14px; font-family: 'Public Sans', sans-serif; color: var(--text); outline: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.placeholder-banner {
  background: #fff8e6; border: 1px solid var(--yellow); border-radius: 8px; padding: 12px 16px;
  font-size: 13px; color: #7a5b00; margin-bottom: 24px;
}
.form-success { display: none; background: #eafaf0; border: 1px solid #1f7a3d; border-radius: 8px; padding: 16px; font-size: 14px; color: #1f7a3d; }

/* ---------- No results ---------- */

.no-results { padding: 60px 20px; text-align: center; color: var(--muted); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .main-nav { display: none; }
  .grid-6, .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .site-footer { flex-direction: column; }
  .footer-brand { width: auto; padding: 32px 40px; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .results-layout { flex-direction: column; }
  .filters-card { width: 100%; }
  .pd-layout { flex-direction: column; }
  .pd-gallery { width: 100%; }
}

@media (max-width: 520px) {
  .grid-6, .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .search-row { flex-direction: column; }
  .search-row .btn { height: 46px; }
}

.logo-img { height: 48px; width: auto; flex-shrink: 0; }

.footer-brand { background: var(--yellow); width: 440px; flex-shrink: 0; padding: 48px 32px; }
.footer-brand .footer-blurb { color: var(--navy); max-width: none; margin: 0; }
@media (max-width: 900px) {
  .footer-brand { width: auto; padding: 32px 40px; }
}

.field-group-title { font-weight: 700; font-size: 14.5px; color: var(--text); margin: 6px 0 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.field label.sub-label { font-weight: 500; font-size: 13px; color: var(--muted); }

.contact-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; line-height: 20px; }
.contact-row svg { stroke: var(--yellow); flex-shrink: 0; margin-top: 2px; }
.contact-row span { margin-bottom: 0; }

@media (min-width: 901px) {
  .footer-grid { grid-template-columns: auto auto; justify-content: start; gap: 250px; }
}
.contact-row:nth-of-type(2) svg { transform: translateY(-1px); }

@media (min-width: 901px) {
  .site-footer { zoom: 0.8; }
}

@media (min-width: 901px) {
  .footer-brand { padding: 34px 32px; }
  .footer-main { padding: 34px 40px 16px; }
  .footer-grid { padding-bottom: 20px; }
  .footer-grid h4 { margin-bottom: 10px; font-size: 12px; }
  .footer-grid a, .footer-grid span, .contact-row { font-size: 13px; margin-bottom: 7px; line-height: 19px; }
  .footer-blurb { font-size: 12.5px; line-height: 1.5; }
  .footer-brand .footer-blurb + .footer-blurb { margin-top: 8px !important; }
  .footer-bottom { padding-top: 12px; }
  .footer-bottom span { font-size: 12px; }
}

.req { color: #c0392b; }
.optional { font-weight: 400; color: var(--muted-light); font-size: 12.5px; }
.field-error { color: #c0392b; font-size: 12.5px; margin-top: 5px; display: none; }
.field input.invalid { border-color: #c0392b; }

.pd-label { font-weight: 700; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.6px; margin: 4px 0 10px; }
.company-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; max-width: 520px; }
.company-chip { border: 1px solid var(--border); background: #fff; border-radius: 20px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--text); }

.field select { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-size: 14px; font-family: 'Public Sans', sans-serif; color: var(--text); background: #fff; outline: none; }
.field select.invalid { border-color: #c0392b; }

.field textarea.invalid { border-color: #c0392b; }

.form-error { display: none; background: #fdecea; border: 1px solid #c0392b; border-radius: 8px; padding: 14px 16px; font-size: 14px; color: #c0392b; margin-top: 16px; }

/* ---------- Header: burger menu on phones/tablets ---------- */
.menu-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; }
.phone-line a { color: inherit; }

@media (max-width: 900px) {
  .site-header { height: auto; padding: 12px 20px; flex-wrap: wrap; align-items: center; }
  .logo { flex: 1; min-width: 0; }
  .logo-text .name { font-size: 16px; }
  .logo-text .tagline { font-size: 8.5px; letter-spacing: 0.6px; }
  .logo-img { height: 40px; }
  .menu-toggle { display: block; }
  .main-nav, .header-right { display: none; width: 100%; }
  .site-header.open .main-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; height: auto; margin-top: 10px; border-top: 1px solid var(--border); }
  .site-header.open .main-nav a { height: auto; padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 16px; }
  .site-header.open .main-nav a.active { border-bottom-color: var(--yellow); }
  .site-header.open .header-right { display: flex; padding: 14px 4px 6px; }
  .site-header.open .phone-line { font-size: 16px; }
}
