﻿:root {
  --lime: #71b515;
  --lime-deep: #5a920f;
  --lime-glow: rgba(113, 181, 21, 0.22);
  --black: #0a0a0a;
  --ink: #111111;
  --panel: #161616;
  --panel-2: #1c1c1c;
  --line: #2a2a2a;
  --white: #f4f4f1;
  --muted: #a8a8a0;
  --max: 1180px;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow", system-ui, sans-serif;
  background-color: var(--black);
  background-image:
    linear-gradient(180deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.78) 40%, rgba(10, 10, 10, 0.9) 100%),
    url("../images/AtlasHardwareBackground.png");
  background-size: auto, cover;
  background-position: center, center 42%;
  background-attachment: scroll, fixed;
  background-repeat: no-repeat;
  color: var(--white);
  line-height: 1.55;
  min-height: 100vh;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--lime);
  color: var(--black);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 160px;
  padding: 0.85rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-link img {
  height: 140px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--lime);
}

.nav-cta {
  background: var(--lime);
  color: var(--black) !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #82c922 !important;
  color: var(--black) !important;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 4px auto;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.28) 48%, rgba(10, 10, 10, 0.62) 100%);
}

.hero-inner {
  padding: 5.5rem 0 4.2rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--lime);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--lime);
}

.hero h1 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 11ch;
}

.hero h1 span {
  color: var(--lime);
}

.hero-copy {
  margin-top: 1.3rem;
  max-width: 38rem;
  color: #d7d7d0;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--lime);
  color: var(--black);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #82c922;
}

.btn-ghost {
  border-color: #3a3a3a;
  background: rgba(0, 0, 0, 0.35);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 42rem;
}

.hero-meta div strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.hero-meta div span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Departments */
.section {
  padding: 5.2rem 0;
}

.section-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2.2rem;
  max-width: 40rem;
}

.section-head h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.section-head p {
  color: var(--muted);
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dept-card {
  background: rgba(22, 22, 22, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem 1.2rem;
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 0.7rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dept-card:hover {
  transform: translateY(-3px);
  border-color: var(--lime);
  box-shadow: 0 0 0 4px var(--lime-glow);
}

.dept-icon {
  width: 44px;
  height: 44px;
  color: var(--lime);
}

.dept-card h3 {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.35rem;
}

.dept-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Brands */
.brand-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.8rem;
}

.brand-tile {
  min-height: 110px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 1rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.brand-tile img {
  width: 100%;
  max-height: 58px;
  object-fit: contain;
}

.brand-milwaukee {
  background: #f12d39;
}

.brand-bosch,
.brand-festool,
.brand-einhell {
  background: #f4f4f1;
}

.brand-makita {
  background: #ec1b24;
}

.brand-ingco {
  background: #111;
}

.brand-dewalt {
  background: #111;
}

/* About */
.about {
  position: relative;
  background: rgba(10, 10, 10, 0.42);
  border-block: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 46rem);
  gap: 2.4rem;
  align-items: center;
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.badge-row img {
  width: 148px;
  height: 148px;
}

.about h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 1rem;
}

.about p {
  color: #cfcfc7;
  margin-bottom: 0.9rem;
}

.value-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.value-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--white);
}

.value-list svg {
  color: var(--lime);
  margin-top: 0.2rem;
}

/* Stores */
.store-search {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.store-search input[type="search"] {
  width: 100%;
  background: rgba(22, 22, 22, 0.88);
  border: 1px solid var(--line);
  color: var(--white);
  border-radius: 999px;
  padding: 0.95rem 1.2rem;
  font: inherit;
}

.store-search input[type="search"]:focus {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.store-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-btn {
  background: rgba(22, 22, 22, 0.78);
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

.filter-btn.is-active,
.filter-btn:hover,
.filter-btn:focus-visible {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}

.store-count {
  color: var(--muted);
  margin-bottom: 1rem;
}

.store-locator {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.2rem;
}

.store-list {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  max-height: 640px;
  overflow: auto;
  padding-right: 0.2rem;
}

.store-card {
  text-align: left;
  background: rgba(22, 22, 22, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  padding: 1rem 1.05rem;
  display: grid;
  gap: 0.25rem;
  cursor: pointer;
}

.store-card strong {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.15rem;
}

.store-card span:last-child {
  color: var(--muted);
  font-size: 0.95rem;
}

.store-card.is-selected,
.store-card:hover,
.store-card:focus-visible {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px var(--lime-glow);
}

.store-status {
  width: fit-content;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.store-status.open {
  background: var(--lime);
  color: var(--black);
}

.store-status.coming {
  background: #2a2a2a;
  color: #d7d7d0;
}

.store-map-panel {
  display: grid;
  gap: 1rem;
}

.store-detail,
.map-card {
  background: rgba(22, 22, 22, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.store-detail {
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.store-detail-head h3 {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.7rem;
  margin-top: 0.45rem;
}

.store-empty {
  color: var(--muted);
}

.contact-item {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-item span {
  color: var(--lime);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
}

.contact-item a,
.contact-item p {
  font-size: 1.12rem;
}

.contact-item a:hover,
.contact-item a:focus-visible {
  color: var(--lime);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.2rem;
  color: var(--muted);
  background: rgba(10, 10, 10, 0.72);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-row strong {
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .dept-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .store-locator {
    grid-template-columns: 1fr;
  }

  .store-list {
    max-height: none;
  }

  .map-card iframe {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-block;
  }

  .logo-link img {
    height: 96px;
  }

  .nav {
    min-height: 116px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 116px;
    left: 0;
    right: 0;
    background: #0f0f0f;
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.2rem 1.2rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-inner {
    padding-top: 3.4rem;
  }

  .dept-grid {
    grid-template-columns: 1fr;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body {
    background-attachment: scroll, scroll;
  }
}

/* Catalogue pages */
.site-header.compact .nav { min-height: 96px; padding: 0.5rem 0; }
.site-header.compact .logo-link img { height: 72px; }
.crumbs { background: rgba(10, 10, 10, 0.6); border-bottom: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.7rem 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--lime); }
.page-hero { padding: 3.2rem 0 2.2rem; }
.page-hero h1 { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 0.95; letter-spacing: 0.02em; text-transform: uppercase; max-width: 22ch; }
.page-hero .lead { margin-top: 1rem; max-width: 46rem; color: #d7d7d0; font-size: 1.08rem; }
.inner .section { padding: 2.6rem 0; }
.narrow { max-width: 52rem; }
.h2 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.9rem; line-height: 1; margin-bottom: 1rem; }
.h3 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.25rem; margin: 1.2rem 0 0.7rem; }
.spaced { margin-top: 2.4rem; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hub .card-grid, .inner main > section > .wrap > .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: grid; align-content: start; gap: 0.4rem; background: rgba(22, 22, 22, 0.8); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; transition: transform 0.2s ease, border-color 0.2s ease; }
.card:hover, .card:focus-visible { transform: translateY(-2px); border-color: var(--lime); }
.card h3 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.2rem; }
.card p { color: var(--muted); font-size: 0.93rem; }
.count { color: var(--lime); font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: 0.06em; font-size: 0.95rem; }
.brand-logo { display: grid; place-items: center; width: 150px; min-height: 70px; padding: 0.7rem; border-radius: 10px; background: #fff; margin-bottom: 1rem; }
.brand-logo img { max-height: 46px; width: auto; object-fit: contain; }
.brand-milwaukee { background: #f12d39; }
.brand-makita { background: #fff; }
.brand-festool, .brand-bosch { background: #fff; }
.brand-ingco { background: #fff; }
.brand-dewalt { background: #fff; }
.brand-einhell { background: #fff; }
.brand-card .brand-logo { width: 100%; margin-bottom: 0.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.chip { display: inline-block; padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(22, 22, 22, 0.8); font-size: 0.95rem; }
a.chip:hover, a.chip:focus-visible { border-color: var(--lime); color: var(--lime); }
.small-label { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.visit-card { background: rgba(22, 22, 22, 0.88); border: 1px solid var(--lime); border-radius: var(--radius); padding: 1.2rem; display: grid; gap: 0.7rem; margin-bottom: 1.4rem; }
.visit-card .h3 { margin: 0; }
.visit-card .btn { margin: 0.2rem 0.3rem 0 0; }
.side-links { list-style: none; display: grid; gap: 0.4rem; }
.side-links a { color: var(--muted); }
.side-links a:hover, .side-links a:focus-visible { color: var(--lime); }
.filter-row { display: flex; align-items: center; gap: 1rem; margin: 0.8rem 0; }
.filter-row input, .catalogue-search input { width: 100%; max-width: 28rem; padding: 0.75rem 1rem; border-radius: 10px; border: 1px solid var(--line); background: rgba(22, 22, 22, 0.9); color: var(--white); font: inherit; }
.catalogue-search { margin-top: 1.4rem; }
.catalogue-search input { max-width: 36rem; font-size: 1.1rem; }
.filter-count { color: var(--muted); font-size: 0.9rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: rgba(16, 16, 16, 0.85); }
.product-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.product-table th, .product-table td { text-align: left; padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.product-table thead th { color: var(--lime); font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: 0.08em; position: sticky; top: 0; background: #111; }
.product-table tbody th { font-weight: 500; }
.product-table .code { color: var(--muted); white-space: nowrap; font-size: 0.85rem; }
.product-table a:hover, .product-table a:focus-visible { color: var(--lime); }
.more-note { color: var(--muted); font-size: 0.9rem; margin-top: 0.7rem; }
.more-note a { color: var(--lime); }
.faq details { border-bottom: 1px solid var(--line); padding: 0.9rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.faq details p { margin-top: 0.6rem; color: #d7d7d0; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.footer-h { color: var(--white); font-family: "Barlow Condensed", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.6rem; }
.footer-links { list-style: none; columns: 2; column-gap: 1.5rem; }
.footer-links li { margin-bottom: 0.3rem; }
.footer-links a:hover, .footer-links a:focus-visible, .footer-links-row a:hover, address a:hover { color: var(--lime); }
address { font-style: normal; line-height: 1.7; }
.footer-links-row { margin-top: 0.8rem; }
.popular { margin-top: 1.6rem; }
@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; }
  .card-grid.cols-4, .inner main > section > .wrap > .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .card-grid, .card-grid.cols-4, .inner main > section > .wrap > .card-grid { grid-template-columns: 1fr; }
  .site-header.compact .nav { min-height: 80px; }
  .site-header.compact .nav-links { top: 80px; }
  .footer-links { columns: 1; }
}
/* Home additions */
.brand-tile a { display: grid; place-items: center; width: 100%; height: 100%; }
.brand-more { margin-top: 1.2rem; color: var(--muted); }
.brand-more a, .stock-copy a { color: var(--lime); }
.stock-copy { margin-top: 1.4rem; max-width: 52rem; color: #d7d7d0; }
.stock .catalogue-search input { max-width: 36rem; }
#faq .h2 { font-family: "Barlow Condensed", sans-serif; }
