/* ===========================
   Pyramid Design & Construction
   Homepage Stylesheet
=========================== */

:root {
  --orange: #E07B10;
  --orange-dark: #B35A00;
  --brown: #7A4A12;
  --brown-dark: #4A2E0A;
  --charcoal: #211F1C;
  --charcoal-light: #322E29;
  --grey-bg: #F4F1EC;
  --white: #FFFFFF;
  --text: #2B2620;
  --text-light: #6B6259;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(33, 31, 28, 0.12);
  --container-width: 1180px;
  --font-head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange-dark);
  margin-bottom: 12px;
}

.eyebrow-light { color: #FFC98A; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
}

h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

.section-heading { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-sub { color: var(--text-light); margin-top: 10px; font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-outline {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-light.btn-primary { background: var(--white); color: var(--orange-dark); }
.btn-light.btn-primary:hover { background: #FFE9CF; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo img { height: 48px; width: auto; }

.main-nav > ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}
.main-nav a {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--charcoal);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover { color: var(--orange-dark); border-color: var(--orange); }
.main-nav a.nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
}
.main-nav a.nav-cta:hover { background: var(--orange-dark); border-color: transparent; color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--charcoal);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,16,12,0.92) 10%, rgba(20,16,12,0.72) 45%, rgba(33,31,28,0.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 720px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 14px;
}
.hero-sub {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  letter-spacing: 0.04em;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-text {
  font-size: 1.1rem;
  color: #E9E4DC;
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== About ===== */
.about { padding: 96px 0; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.about-copy p { color: var(--text-light); margin-bottom: 18px; font-size: 1.05rem; }
.about-copy h2 { margin-bottom: 22px; }
.about-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.about-badges li {
  font-family: var(--font-head);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--brown-dark);
  background: var(--grey-bg);
  border: 1px solid #E4DDD2;
  padding: 10px 18px;
  border-radius: 999px;
}

/* ===== Services ===== */
.services { padding: 96px 0; background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(33,31,28,0.16); }
.service-img { height: 200px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-img img { transform: scale(1.06); }
.service-body { padding: 28px; }
.service-body h3 { margin-bottom: 12px; }
.service-body p { color: var(--text-light); margin-bottom: 16px; }
.card-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--orange-dark);
}
.card-link:hover { color: var(--brown-dark); }

/* ===== Customers ===== */
.customers { padding: 96px 0; background: var(--grey-bg); }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.logo-tile img {
  max-height: 60px;
  width: auto;
  filter: grayscale(35%);
  opacity: 0.85;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}
.logo-tile:hover img { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }

/* ===== CTA Strip ===== */
.cta-strip {
  background: linear-gradient(120deg, var(--brown-dark), var(--orange-dark));
  padding: 72px 0;
  text-align: center;
  color: var(--white);
}
.cta-strip h2 { color: var(--white); margin-bottom: 10px; }
.cta-strip p { font-size: 1.1rem; color: #F8E9D6; margin-bottom: 28px; }

/* ===== Footer ===== */
.site-footer { background: var(--charcoal); color: #C9C2B8; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 24px 40px;
}
.footer-logo { height: 40px; margin-bottom: 16px; filter: brightness(1.15); }
.footer-brand p { font-size: 0.92rem; line-height: 1.6; max-width: 280px; }
.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-location p, .footer-contact a {
  font-size: 0.92rem;
  color: #C9C2B8;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-contact p { line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
}
.footer-bottom p { font-size: 0.82rem; color: #8A8378; text-align: center; }

/* ===== Page Hero (subpages) ===== */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,16,12,0.90) 15%, rgba(33,31,28,0.55) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 640px;
  padding: 70px 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero-text { font-size: 1.1rem; color: #E9E4DC; margin-top: 4px; }

/* ===== Contact Page ===== */
.contact-info { padding: 96px 0; background: var(--grey-bg); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
}
.contact-card {
  background: var(--white);
  border: 1px solid #E4DDD2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(33,31,28,0.16); }
.contact-label {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange-dark);
  margin-bottom: 10px;
}
.contact-value {
  display: block;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
}
a.contact-value:hover { color: var(--orange-dark); }

/* ===== Service Detail Sections ===== */
.service-detail { padding: 132px 0; background: var(--white); }
.service-detail.alt { background: var(--grey-bg); }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.service-gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
  height: 420px;
}
.gallery-main { height: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; height: 100%; }
.gallery-side img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Safety Solutions (Maintenance): bottom side image keeps its native aspect ratio
   so the full photo shows with no cropping and no letterbox bars; the top side
   image fills whatever height remains. */
#safety-solutions .gallery-side { grid-template-rows: 1fr auto; }
#safety-solutions .gallery-side img.ratio-fit { height: auto; aspect-ratio: 818 / 536; object-fit: cover; }

.service-copy h2 { margin-bottom: 18px; }
.service-copy p { color: var(--text-light); font-size: 1.05rem; margin-bottom: 18px; }
.spec-list { list-style: none; margin: 26px 0 28px; }
.spec-list li { font-size: 0.98rem; color: var(--text); margin-bottom: 12px; padding-left: 22px; position: relative; }
.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}
.spec-list strong {
  display: block;
  font-family: var(--font-head);
  color: var(--brown-dark);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-image img { height: 360px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .service-detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-gallery { height: 360px; }

  .contact-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 680px) {
  .header-inner { height: 72px; }
  .logo img { height: 38px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    transform: translateY(-110%);
    transition: transform 0.25s ease;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
  }
  .main-nav li { border-bottom: 1px solid #EFEAE2; }
  .main-nav a { display: block; padding: 16px 4px; }
  .main-nav a.nav-cta { margin: 16px 0 4px; text-align: center; }

  .hero { min-height: 92vh; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .services-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; padding: 48px 24px 32px; }
  .about, .services, .customers { padding: 64px 0; }

  .page-hero { min-height: 56vh; }
  .service-detail { padding: 76px 0; }
  .service-gallery { grid-template-columns: 1fr; height: auto; }
  .gallery-main { height: 260px; }
  .gallery-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; height: 150px; }
  .service-gallery.gallery-single .gallery-main { height: 280px; }
  .service-gallery.gallery-one-side .gallery-side { grid-template-columns: 1fr; height: 150px; }
  #safety-solutions .gallery-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; height: 150px; }
  #safety-solutions .gallery-side img.ratio-fit { height: 100%; aspect-ratio: auto; object-fit: cover; }

  /* Mobile dropdown nav -> accordion */
  .has-dropdown > a { display: flex; align-items: center; justify-content: space-between; }
  .dropdown-arrow { display: inline-block; }
  .services-dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    padding: 0;
    background: var(--grey-bg);
  }
  .has-dropdown.nav-open .services-dropdown { display: block; }
  .dropdown-category { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
  .dropdown-category > a { flex: 1; padding: 14px 0; }
  .submenu-toggle { display: inline-flex; }
  .services-submenu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    width: 100%;
    margin-top: 10px;
    padding: 0;
    background: transparent;
  }
  .has-submenu.submenu-open .services-submenu { display: block; }
  .services-submenu li a { padding: 12px 0 12px 16px; }

  .subsection-nav .container { gap: 8px; flex-wrap: wrap; }
  .subsection-nav a { font-size: 0.78rem; padding: 10px 14px; }
}

/* ===== Dropdown / Flyout Services Nav (desktop only - mobile accordion lives in the max-width:680px block above) ===== */
.has-dropdown { position: relative; }

@media (min-width: 681px) {
  .has-dropdown > a .dropdown-arrow { margin-left: 6px; font-size: 0.7em; transition: transform 0.2s ease; }

  .services-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 280px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(33,31,28,0.18);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
    z-index: 200;
  }

  .has-dropdown:hover .services-dropdown,
  .has-dropdown.nav-open .services-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .dropdown-category { position: relative; border-radius: var(--radius); }
  .dropdown-category > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    font-family: var(--font-head);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
    color: var(--charcoal);
    border-radius: var(--radius);
    border-bottom: none !important;
  }
  .dropdown-category:hover > a,
  .dropdown-category.submenu-open > a { background: var(--grey-bg); color: var(--orange-dark); }
  .submenu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
  }
  .submenu-caret { display: inline-block; font-size: 0.7em; color: var(--text-light); transition: color 0.2s ease; }
  .dropdown-category:hover .submenu-caret,
  .dropdown-category.submenu-open .submenu-caret { color: var(--orange-dark); }

  .services-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 8px;
    width: 260px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(33,31,28,0.18);
    padding: 6px;
    list-style: none;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
    z-index: 250;
  }
  .dropdown-category.flyout-left .services-submenu { left: auto; right: 100%; margin-left: 0; margin-right: 8px; }

  .dropdown-category:hover .services-submenu,
  .dropdown-category.submenu-open .services-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .services-submenu li { display: block; }
  .services-submenu li a {
    display: block;
    padding: 11px 14px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    color: var(--text);
    border-bottom: none !important;
  }
  .services-submenu li a:hover { background: var(--grey-bg); color: var(--orange-dark); }
}

/* ===== Subsection in-page nav ===== */
.subsection-nav {
  background: var(--grey-bg);
  border-bottom: 1px solid #E4DDD2;
  position: sticky;
  top: 84px;
  z-index: 50;
}
.subsection-nav .container {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.subsection-nav a {
  font-family: var(--font-head);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--text-light);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.subsection-nav a:hover { color: var(--orange-dark); border-color: var(--orange); }

/* ===== Image Placeholder Block ===== */
.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, #EFEAE2 0px, #EFEAE2 12px, #F4F1EC 12px, #F4F1EC 24px);
  border: 2px dashed #D8D0C2;
  border-radius: var(--radius);
}
.image-placeholder-inner {
  text-align: center;
  padding: 24px;
  color: var(--text-light);
}
.image-placeholder-inner .ph-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--orange);
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
}
.image-placeholder-inner p {
  font-family: var(--font-head);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin: 0;
}

/* ===== Gallery layout variants ===== */
.service-gallery.gallery-single { grid-template-columns: 1fr; }
.service-gallery.gallery-single .gallery-main { height: 100%; }
.service-gallery.gallery-one-side .gallery-side { grid-template-rows: 1fr; }

/* Stacked variant: two full-width images, one above the other, each kept at its
   native aspect ratio (no cropping). Box height is intentionally auto since the
   combined stack runs taller than the standard 420px gallery height. */
.service-gallery.gallery-stack { grid-template-columns: 1fr; height: auto; }
.gallery-stack .gallery-main {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.gallery-stack .gallery-main img {
  width: 100%;
  height: auto;
  object-fit: initial;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Category overview cards (services.html) ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.category-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(33,31,28,0.16); }
.category-img { height: 220px; overflow: hidden; }
.category-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.category-card:hover .category-img img { transform: scale(1.06); }
.category-body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.category-body h3 { font-size: 1.5rem; margin-bottom: 12px; }
.category-body p { color: var(--text-light); margin-bottom: 20px; flex: 1; }
.category-sub-list {
  list-style: none;
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-sub-list li {
  font-size: 0.78rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
  color: var(--brown-dark);
  background: var(--grey-bg);
  border: 1px solid #E4DDD2;
  padding: 6px 12px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .category-grid { grid-template-columns: 1fr; }
  .subsection-nav { top: 72px; }
}
