/* ============================================================
   catalog.css â€” Shared styles for materials.html and hardware.html
   ============================================================ */


/* Reset & Base
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red:      #D30100;
  --red-dark: #A50000;
  --dark:     #0E0E0E;
  --marine:   #0A2540;
  --bone:     #F4F1EC;
  --amber:    #FEBD59;
  --steel:    #6E7479;
  --g4:       #6E7479;
  --g1:       #F4F1EC;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--dark);
  background: #fff;
  overflow-x: clip;
}


/* Hero
   ------------------------------------------------------------ */
.page-hero {
  background: var(--marine);
  padding: 55px 28px 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(211, 1, 0, 0.12) 0%, transparent 65%);
}

.page-hero::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--amber);
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}


/* Breadcrumb
   ------------------------------------------------------------ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #fff;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
}


/* Hero Badge & Typography
   ------------------------------------------------------------ */
.hero-badge {
  display: inline-flex;
  background: rgba(254, 189, 89, .15);
  border: 1px solid rgba(254, 189, 89, .4);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 22px;
  font-family: 'Montserrat', sans-serif;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 16px;
}

h1 span {
  color: var(--amber);
}

.hero-subtitle {
  font-size: 16px;
  color: #fff;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 32px;
}


/* Hero CTAs
   ------------------------------------------------------------ */
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--red);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
}

.btn-red:hover {
  background: var(--red-dark);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: transparent;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.2s;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
}


/* Page Body
   ------------------------------------------------------------ */
.page-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.page-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.lead-text {
  font-size: 15px;
  color: var(--g4);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 720px;
}


/* Section Headings
   ------------------------------------------------------------ */
.subsection-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  margin-top: 48px;
  letter-spacing: -0.01em;
  padding-left: 16px;
  position: relative;
}

.subsection-heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: var(--amber);
  border-radius: 2px;
}


/* Category Grid & Cards
   ------------------------------------------------------------ */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.catalog-card {
  background: var(--bone);
  border: 1.5px solid rgba(10, 37, 64, 0.08);
  border-radius: 12px;
  padding: 26px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.catalog-card:hover {
  box-shadow: 0 6px 28px rgba(10, 37, 64, 0.1);
  border-color: rgba(10, 37, 64, 0.2);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.08);
}

.catalog-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.catalog-card p {
  font-size: 13px;
  color: var(--g4);
  line-height: 1.65;
  margin-bottom: 12px;
}


/* Tag List
   ------------------------------------------------------------ */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag-item {
  padding: 3px 9px;
  background: #fff;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  color: var(--marine);
  font-family: 'IBM Plex Mono', monospace;
  border: 1px solid rgba(10, 37, 64, 0.12);
}


/* SEO Block
   ------------------------------------------------------------ */
.seo-block {
  background: var(--g1);
  border-radius: 12px;
  padding: 28px;
  margin-top: 12px;
}

.seo-block h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
}

.seo-block p {
  font-size: 14px;
  color: var(--g4);
  line-height: 1.75;
  margin-bottom: 10px;
}


/* CTA Band
   ------------------------------------------------------------ */
.cta-band {
  background: var(--marine);
  border-radius: 14px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 100% 50%, rgba(254, 189, 89, 0.08) 0%, transparent 60%);
}

.cta-band h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
}

.cta-band p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  position: relative;
}

.btn-amber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--amber);
  color: var(--marine);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  position: relative;
  transition: opacity 0.2s;
}

.btn-amber:hover {
  opacity: 0.9;
}


/* Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
  }
}
