/* ============================================
   CONESTOGA USA — Modern Redesign
   Industrial / Utilitarian Aesthetic
   Color Palette: Deep Navy + Steel Blue + Amber
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@300;400;500;600&family=Share+Tech+Mono&display=swap');

/* ─── CSS Variables ─────────────────────────── */
:root {
  --navy:      #0d1b2a;
  --navy-mid:  #1a2e42;
  --navy-lt:   #243b55;
  --steel:     #4a7fa5;
  --steel-lt:  #6ea8ce;
  --amber:     #e07b1f;
  --amber-lt:  #f09840;
  --amber-dim: #b3601a;
  --white:     #f4f6f8;
  --gray-lt:   #e0e6ec;
  --gray-mid:  #8ea3b4;
  --gray-dk:   #3a4f61;
  --text:      #1e2e3e;
  --text-lt:   #4a607a;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-mono:    'Share Tech Mono', monospace;

  --shadow-sm:  0 2px 8px rgba(13,27,42,0.15);
  --shadow-md:  0 6px 24px rgba(13,27,42,0.22);
  --shadow-lg:  0 16px 48px rgba(13,27,42,0.3);
  --radius:     4px;
  --transition: 0.22s ease;
}

/* ─── Reset & Base ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--amber); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--amber-lt); }

/* ─── Typography ────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─── Layout Utilities ──────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--alt { background: #eef2f6; }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ─── Top Bar ───────────────────────────────── */
.topbar {
  background: var(--navy);
  color: var(--gray-mid);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  padding: 6px 0;
  border-bottom: 1px solid var(--navy-lt);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: var(--gray-mid); }
.topbar a:hover { color: var(--amber); }

/* ─── Header / Nav ──────────────────────────── */
.site-header {
  background: var(--navy-mid);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
  border-bottom: 2px solid var(--amber);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.logo-wrap img {
  height: 80px;
  width: auto;
  filter: brightness(1.1);
}
.logo-wrap span {
  display: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav > ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}

.site-nav a {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-lt);
  border-radius: var(--radius);
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--amber);
  border-bottom-color: var(--amber);
  background: rgba(224,123,31,0.08);
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  border: 1px solid var(--navy-lt);
  border-top: 2px solid var(--amber);
  min-width: 180px;
  box-shadow: var(--shadow-md);
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 200;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  padding: 10px 18px;
  display: block;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--navy-lt);
  border-radius: 0;
}
.dropdown a:last-child { border-bottom: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.25s;
}

/* ─── Hero ──────────────────────────────────── */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 90px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 28px
    );
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  color: var(--amber);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero h1 {
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero-sub {
  color: var(--gray-mid);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-item {
  border-left: 3px solid var(--amber);
  padding-left: 14px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--gray-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.hero-image-wrap {
  position: relative;
}
.hero-image-wrap > img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid var(--amber);
  border-radius: var(--radius);
  z-index: 0;
  opacity: 0.4;
}
.hero-image-wrap > img { position: relative; z-index: 1; }

/* ─── Buttons ───────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-lt);
  border-color: var(--amber-lt);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(224,123,31,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(244,246,248,0.4);
}
.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-steel {
  background: var(--steel);
  color: var(--white);
  border-color: var(--steel);
}
.btn-steel:hover {
  background: var(--steel-lt);
  border-color: var(--steel-lt);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── Product Cards ─────────────────────────── */
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--steel);
}

.product-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--navy);
  display: grid;
  padding: 24px;
}
.product-card__img img {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  max-height: 180px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.product-card__img .img-hover {
  opacity: 0;
}
.product-card:hover .product-card__img img {
  transform: scale(1.05);
}
.product-card:hover .product-card__img .img-base {
  opacity: 0;
}
.product-card:hover .product-card__img .img-hover {
  opacity: 1;
}

.product-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}
.product-card__body h3 {
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 1.3rem;
}
.product-card__body p {
  color: var(--text-lt);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
}
.product-card__footer {
  padding: 0 24px 24px;
}

/* ─── Page Hero (inner pages) ───────────────── */
.page-hero {
  background: var(--navy);
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--steel), transparent);
}
.page-hero .breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gray-mid);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.page-hero .breadcrumb a { color: var(--steel-lt); }
.page-hero .breadcrumb a:hover { color: var(--amber); }
.page-hero h1 {
  color: var(--white);
  text-transform: uppercase;
}
.page-hero p {
  color: var(--gray-mid);
  font-size: 1.05rem;
  max-width: 600px;
  margin-top: 10px;
}

/* ─── Content Sections ──────────────────────── */
.content-block {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.content-block h2 {
  color: var(--navy);
  border-bottom: 2px solid var(--amber);
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 1.7rem;
  text-transform: uppercase;
}

.content-block h3 {
  color: var(--navy-mid);
  margin: 20px 0 10px;
  font-size: 1.25rem;
}

.content-block p, .content-block li {
  color: var(--text-lt);
  font-size: 0.97rem;
  line-height: 1.72;
}

.content-block ul.feature-list {
  list-style: none;
  padding: 0;
}
.content-block ul.feature-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  border-bottom: 1px solid var(--gray-lt);
}
.content-block ul.feature-list li:last-child { border-bottom: none; }
.content-block ul.feature-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 0.85rem;
}

/* ─── Data Tables ───────────────────────────── */
.spec-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius);
  border: 1px solid var(--gray-lt);
  box-shadow: var(--shadow-sm);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  font-family: var(--font-body);
}
.spec-table thead {
  background: var(--navy);
  color: var(--white);
}
.spec-table thead th {
  padding: 12px 14px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  border-right: 1px solid var(--navy-lt);
}
.spec-table thead th:last-child { border-right: none; }
.spec-table tbody tr {
  border-bottom: 1px solid var(--gray-lt);
  transition: background var(--transition);
}
.spec-table tbody tr:last-child { border-bottom: none; }
.spec-table tbody tr:hover { background: rgba(74,127,165,0.06); }
.spec-table tbody tr:nth-child(even) { background: rgba(238,242,246,0.6); }
.spec-table tbody tr:nth-child(even):hover { background: rgba(74,127,165,0.08); }
.spec-table td {
  padding: 10px 14px;
  border-right: 1px solid var(--gray-lt);
  color: var(--text);
  white-space: nowrap;
}
.spec-table td:last-child { border-right: none; }
.spec-table td.part-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--steel);
  font-weight: 600;
}

.table-section {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.table-section__header {
  background: var(--navy-mid);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.table-section__header h3 {
  color: var(--white);
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: 0;
}
.table-section__header .subtitle {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gray-mid);
  letter-spacing: 0.1em;
}
.table-section__imgs {
  display: flex;
  gap: 24px;
  padding: 20px 24px 0;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.table-section__imgs figure {
  text-align: center;
}
.table-section__imgs img {
  max-height: 80px;
  width: auto;
  border-radius: var(--radius);
  border: 1px solid var(--gray-lt);
  padding: 6px;
  background: var(--white);
}
.table-section__imgs figcaption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gray-mid);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.table-subsection-label {
  background: var(--navy-lt);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 24px;
}

/* ─── Wire Config Grid (Series 200) ─────────── */
.wire-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.wire-grid2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.wire-grid2 .wire-item img {
  height: 250px;
}
.wire-item {
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--navy-lt);
  text-align: center;
}
.wire-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  cursor: pointer;
  padding: 10px;
  background: var(--navy-mid);
}
.wire-item__label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--amber);
  padding: 6px 4px;
  letter-spacing: 0.05em;
}
.wire-item__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  padding: 0 4px 8px;
}

/* ─── Figure Gallery ─────────────────────────── */
.figure-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin: 20px 0;
  align-items: center;
}
.figure-item {
  text-align: center;
  cursor: pointer;
}
.figure-item img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--gray-lt);
  transition: all var(--transition);
}
.figure-item:hover img {
  border-color: var(--steel);
  box-shadow: var(--shadow-sm);
}
.figure-item figcaption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gray-mid);
  margin-top: 6px;
  letter-spacing: 0.05em;
}

/* ─── PDF Download Card ─────────────────────── */
.pdf-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
  border: 1px solid var(--navy-lt);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.pdf-card:hover {
  border-color: var(--amber);
  background: var(--navy-mid);
}
.pdf-icon {
  flex-shrink: 0;
  color: var(--amber);
  display: flex;
}
.pdf-icon svg {
  width: 2.2rem;
  height: 2.2rem;
}
.pdf-card__info { flex: 1; }
.pdf-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pdf-card__sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gray-mid);
  letter-spacing: 0.08em;
}
.pdf-card__cta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ─── Contact Page ──────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-card__icon {
  margin-bottom: 12px;
  color: var(--steel);
}
.contact-card__icon svg {
  width: 1.8rem;
  height: 1.8rem;
}
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}
.contact-card h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.contact-card p, .contact-card address {
  color: var(--text-lt);
  font-style: normal;
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ─── About Page ────────────────────────────── */
.about-lead {
  font-size: 1.12rem;
  color: var(--text);
  line-height: 1.8;
  border-left: 4px solid var(--amber);
  padding-left: 20px;
  margin: 20px 0 24px;
}

/* ─── Machine Shop Page ─────────────────────── */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.cap-item {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 22px 20px;
  border-left: 3px solid var(--amber);
}
.cap-item h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.05rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cap-item p {
  color: var(--gray-mid);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

/* ─── Section Headers ───────────────────────── */
.section-header {
  margin-bottom: 44px;
  text-align: center;
}
.section-header .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}
.section-header h2 { color: var(--navy); }
.section--dark .section-header h2 { color: var(--white); }
.section-header p {
  color: var(--text-lt);
  max-width: 560px;
  margin: 12px auto 0;
  font-size: 1rem;
}

/* ─── Why Choose Us / Features Strip ────────── */
.features-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--navy-mid);
  border-top: 3px solid var(--amber);
}
.feature-block {
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.feature-block:last-child { border-right: none; }
.feature-block__icon {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  color: var(--amber);
}
.feature-block__icon svg {
  width: 2rem;
  height: 2rem;
}
.feature-block h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.feature-block p {
  color: var(--gray-mid);
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0;
}

/* ─── CTA Banner ────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--steel) 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: 'CONESTOGA';
  position: absolute;
  font-family: var(--font-display);
  font-size: 18vw;
  font-weight: 800;
  color: rgba(255,255,255,0.03);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.08em;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: var(--gray-mid); margin-bottom: 28px; font-size: 1.05rem; }
.cta-banner .btn { margin: 0 8px; }

/* ─── Footer ────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: var(--gray-mid);
  border-top: 3px solid var(--navy-lt);
}
.footer-top {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand img {
  height: 44px;
  margin-bottom: 14px;
  filter: brightness(0.85);
}
.footer-brand p {
  font-size: 0.87rem;
  line-height: 1.65;
  color: var(--gray-mid);
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--navy-lt);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: var(--gray-mid);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--amber); }
.footer-col address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--gray-mid);
}
.footer-col address a { color: var(--steel-lt); }
.footer-col address a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid var(--navy-lt);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.footer-bottom .seo-tags span {
  display: inline-block;
  background: var(--navy-lt);
  padding: 3px 8px;
  border-radius: 2px;
  margin-right: 6px;
  font-size: 0.72rem;
}

/* ─── Showcase Grid ──────────────────────────── */
/* Square container that holds its aspect ratio, divided evenly into cells.
   To add/remove images: add/remove a .showcase-item block in the HTML.
   To change the column count: edit the "3" in grid-template-columns below. */
.showcase-grid {
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 6px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(13,27,42,0.2);
}
.showcase-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--navy-mid, #1a2e42);
}
.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition, 0.25s ease);
}
.showcase-item:hover img {
  transform: scale(1.08);
}

/* ─── Modal ─────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: fixed;
  top: 20px;
  right: 28px;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 1001;
  line-height: 1;
  opacity: 0.8;
  transition: opacity var(--transition);
}
.modal-close:hover { opacity: 1; }

/* ─── Utility ───────────────────────────────── */
.text-amber { color: var(--amber); }
.text-steel { color: var(--steel); }
.text-mono  { font-family: var(--font-mono); }
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.mb-20 { margin-bottom: 20px; }
.note {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-lt);
  background: #eef2f6;
  padding: 10px 14px;
  border-left: 3px solid var(--steel);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 14px 0;
}

/* ─── Responsive ────────────────────────────── */
@media (max-width: 960px) {
  .grid-2, .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .features-strip { grid-template-columns: 1fr 1fr; }
  .feature-block { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-image-wrap { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .grid-3 { grid-template-columns: 1fr; }
  .features-strip { grid-template-columns: 1fr; }
  .wire-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .topbar .container { flex-direction: column; gap: 2px; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    border-top: 2px solid var(--amber);
    padding: 16px;
  }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 12px 16px; }
  .dropdown { position: static; display: none; border: none; margin-left: 16px; box-shadow: none; }
  .has-dropdown.open .dropdown { display: block; }
  .site-header { position: relative; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
}

/* ─── Print ─────────────────────────────────── */
@media print {
  .site-header, .site-footer, .hero { display: none; }
}

/* ── Hero Slideshow ─────────────────────────────────────────────────────────
   Add these rules to the bottom of css/styles.css
   ─────────────────────────────────────────────────────────────────────────── */

.hero-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}
