/* Ameriform Metal Treatments, LLC — site stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Spectral:wght@400;500;600;700&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --navy-dark: #0a1330;
  --navy-mid: #14285f;
  --navy-deep: #0d1a44;
  --cream: #f4f1ea;
  --paper: #f7f3ec;
  --white: #ffffff;
  --rust: #c1602e;
  --rust-light: #e07f45;
  --text-body: #33405c;
  --text-muted: #4b5468;
  --max-width: 1320px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Public Sans', -apple-system, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text-body);
}

h1, h2, h3 {
  font-family: 'Spectral', Georgia, 'Times New Roman', serif;
  margin: 0;
  color: var(--navy-mid);
  font-weight: 600;
}

p { margin: 0; }

a { color: var(--rust); text-decoration: none; }
a:hover { color: var(--rust-light); }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 60px;
  padding-right: 60px;
}

/* ---------- HEADER ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark { flex-shrink: 0; height: 34px; width: auto; }
.footer-mark { flex-shrink: 0; height: 24px; width: auto; }

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name .name {
  font-family: 'Spectral', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--paper);
}

.brand-name .sub {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(247,243,236,0.5);
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(247,243,236,0.82);
  letter-spacing: 0.2px;
}

.main-nav a:hover { color: var(--paper); }

.main-nav a.current { color: var(--rust-light); }

.main-nav a.btn-contact {
  font-weight: 700;
  color: var(--paper);
  padding: 10px 20px;
  background: var(--rust);
  border-radius: 4px;
}

.main-nav a.btn-contact:hover { background: var(--rust-light); color: var(--paper); }

.nav-toggle { display: none; }
.hamburger { display: none; }

/* ---------- HERO (home) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 60px 120px;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-deep) 62%, var(--navy-dark) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 42px);
  pointer-events: none;
}

.hero-graphic {
  position: absolute;
  right: -30px;
  bottom: -70px;
  opacity: 0.16;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  max-width: 620px;
}

.hero .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--rust-light);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.08;
  color: var(--paper);
}

.hero p.lead {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(247,243,236,0.82);
  margin-top: 22px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 16px 32px;
  background: var(--rust);
  color: var(--paper);
  font-weight: 700;
  font-size: 15px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.btn-primary:hover { background: var(--rust-light); color: var(--paper); }

.hero-ctas .phone-link {
  font-size: 15px;
  color: rgba(247,243,236,0.7);
  font-weight: 500;
}

/* ---------- PAGE TITLE BAND (inner pages) ---------- */

.page-title-band {
  position: relative;
  overflow: hidden;
  padding: 60px 60px 52px;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-deep) 62%, var(--navy-dark) 100%);
}

.page-title-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 42px);
  pointer-events: none;
}

.page-title-inner { position: relative; max-width: 760px; margin: 0 auto; }

.page-title-band .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--rust-light);
  margin-bottom: 14px;
}

.page-title-band h1 {
  font-size: 40px;
  line-height: 1.12;
  color: var(--paper);
}

.page-title-band p.lead {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(247,243,236,0.75);
  margin-top: 16px;
  max-width: 600px;
}

.page-title-band.light {
  background: var(--cream);
  padding-top: 36px;
  padding-bottom: 44px;
}

.page-title-band.light::before { display: none; }

.page-title-band.light .eyebrow { color: var(--rust); }
.page-title-band.light h1 { color: var(--navy-mid); }
.page-title-band.light p.lead { color: var(--text-body); }

.breadcrumb {
  padding: 20px 0 0;
  background: var(--cream);
}

.breadcrumb a { font-size: 13px; font-weight: 700; }

/* ---------- STATS ---------- */

.stats {
  background: var(--cream);
  padding: 56px 60px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  flex: 1;
  min-width: 200px;
  border-left: 3px solid var(--rust);
  padding-left: 24px;
}

.stat .num {
  font-family: 'Spectral', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--rust);
  line-height: 1;
}

.stat .caption {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 12px;
  max-width: 260px;
}

/* ---------- TWO COLUMN CONTENT ---------- */

.two-col {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  padding: 80px 60px;
}

.two-col.tight { padding-top: 16px; }

.two-col > .col { flex: 1; }
.two-col > .col.wide { flex: 1.25; }

.spec-card {
  background: var(--cream);
  border-radius: 6px;
  padding: 32px;
  border-top: 3px solid var(--rust);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(20,40,95,0.12);
}

.spec-row:first-child { padding-top: 0; }
.spec-row:last-child { border-bottom: none; padding-bottom: 0; }

.spec-row .label { font-size: 13px; color: var(--text-muted); }
.spec-row .value { font-size: 15px; font-weight: 700; color: var(--navy-mid); }

/* ---------- GALLERY (navy band) ---------- */

.gallery {
  background: var(--navy-mid);
  padding: 88px 60px;
}

.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-head h2 { color: var(--paper); font-size: 32px; }
.gallery-head .tag { font-size: 14px; color: rgba(247,243,236,0.55); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.gallery-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 32px;
}

.gallery-card .tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--rust-light);
  margin-bottom: 16px;
}

.gallery-card p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(247,243,236,0.78);
  margin-top: 20px;
}

/* ---------- CARD GRID (Cost Reductions hub) ---------- */

.card-grid-section { background: var(--cream); padding: 64px 60px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.card {
  display: block;
  background: var(--white);
  border-radius: 6px;
  padding: 32px;
  border-top: 3px solid var(--rust);
}

.card h2 { font-size: 21px; margin-top: 16px; }
.card p.desc { font-size: 14px; line-height: 1.65; color: var(--text-muted); margin-top: 12px; }
.card .stat-line {
  margin-top: 16px;
  font-family: 'Spectral', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--rust);
}
.card .stat-line .note {
  font-family: 'Public Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.card .more { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--rust); }

/* ---------- BULLET LISTS ---------- */

ul.bullets {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

ul.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.5;
}

ul.bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rust);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ---------- CASE HISTORY CALLOUT ---------- */

.case-history {
  background: var(--navy-mid);
  border-radius: 6px;
  padding: 32px;
  border-top: 3px solid var(--rust);
}

.case-history .tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--rust-light);
  margin-bottom: 14px;
}

.case-history .num {
  font-family: 'Spectral', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1;
}

.case-history p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247,243,236,0.8);
  margin-top: 16px;
}

.case-history + .case-history { margin-top: 24px; }

/* ---------- DIFFERENTIATION BAND ---------- */

.band-navy { background: var(--navy-mid); padding: 60px 60px; }
.band-navy h2 { color: var(--paper); font-size: 24px; max-width: 900px; margin: 0 auto; }
.band-navy p { color: rgba(247,243,236,0.82); font-size: 16px; line-height: 1.75; margin: 18px auto 0; max-width: 900px; }

/* ---------- ADVANTAGE / GLANCE GRID ---------- */

.advantage-section { padding: 64px 60px; }
.advantage-section h2 { font-size: 24px; }
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.advantage-tile {
  background: var(--cream);
  border-radius: 6px;
  padding: 26px;
  border-top: 3px solid var(--rust);
}
.advantage-tile p { font-size: 15px; line-height: 1.65; color: var(--text-body); }

/* ---------- PLACEHOLDER PANEL ---------- */

.placeholder-panel {
  margin-top: 16px;
  border: 1px dashed rgba(20,40,95,0.35);
  border-radius: 6px;
  padding: 22px;
  background: var(--cream);
}

.placeholder-panel .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: var(--rust);
  margin-bottom: 8px;
}

.placeholder-panel p { font-size: 14px; line-height: 1.7; color: var(--text-muted); }

/* ---------- PHOTO PLACEHOLDER GRID ---------- */

.photo-grid-section { padding: 60px 60px; }
.photo-grid-section h2 { font-size: 22px; }
.photo-grid-section .note { font-size: 13px; color: var(--text-muted); margin-top: 6px; max-width: 600px; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.photo-tile {
  aspect-ratio: 1;
  background: repeating-linear-gradient(45deg, #e4dfd2 0 10px, #ece7db 10px 20px);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20,40,95,0.1);
}

.photo-tile span {
  font-size: 11px;
  letter-spacing: 1px;
  color: #8a8368;
}

.photo-tile { overflow: hidden; padding: 0; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

.feature-photo {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.facility-section { padding: 0 60px 64px; text-align: center; }
.facility-photo { max-width: 620px; width: 100%; border-radius: 8px; border: 1px solid rgba(20,40,95,0.1); }
.facility-caption { margin-top: 16px; font-size: 13px; letter-spacing: 0.5px; color: var(--text-muted); }
@media (max-width: 900px) { .facility-section { padding-left: 20px; padding-right: 20px; } }

/* ---------- CONTACT CARD ---------- */

.contact-wrap { padding: 72px 60px; display: flex; justify-content: center; }

.contact-card {
  width: 100%;
  max-width: 560px;
  background: var(--cream);
  border-radius: 8px;
  padding: 44px;
  border-top: 3px solid var(--rust);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(20,40,95,0.12);
}

.contact-row:first-child { padding-top: 0; }
.contact-row:last-of-type { border-bottom: none; }

.contact-row span.text { font-size: 17px; font-weight: 600; color: var(--navy-mid); }

.contact-card .btn-primary {
  display: block;
  text-align: center;
  margin-top: 30px;
  background: var(--rust);
}

/* ---------- CTA BAND ---------- */

.cta-band {
  background: var(--rust);
  padding: 60px 60px;
  text-align: center;
}

.cta-band h2 {
  color: var(--paper);
  font-size: 28px;
  max-width: 640px;
  margin: 0 auto;
}

.cta-band .btn-white {
  display: inline-block;
  margin-top: 26px;
  padding: 15px 32px;
  background: var(--paper);
  color: var(--rust);
  font-weight: 700;
  font-size: 15px;
  border-radius: 4px;
}

.cta-band .btn-white:hover { color: var(--rust-light); }

.cta-band .contact-line {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(247,243,236,0.85);
}

/* ---------- FOOTER ---------- */

.site-footer {
  background: var(--navy-dark);
  padding: 52px 60px 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .name { font-family: 'Spectral', serif; font-weight: 700; font-size: 17px; color: var(--paper); }
.footer-col .sub { font-size: 11px; letter-spacing: 1.7px; color: rgba(247,243,236,0.5); margin-top: 8px; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(247,243,236,0.7); }
.footer-links a:hover { color: var(--paper); }

.footer-contact .tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--rust-light);
  margin-bottom: 10px;
}

.footer-contact div.details { font-size: 14px; color: rgba(247,243,236,0.75); line-height: 1.9; }

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 13px;
  color: rgba(247,243,236,0.45);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .site-header { padding: 16px 20px; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 20px;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .main-nav a { padding: 12px 0; width: 100%; }
  .main-nav a.btn-contact { margin-top: 8px; display: inline-block; width: auto; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
  }
  .hamburger span { width: 24px; height: 2px; background: var(--paper); display: block; }

  .hero, .page-title-band { padding: 48px 20px 56px; }
  .hero h1 { font-size: 36px; }
  .hero p.lead { font-size: 16px; max-width: 100%; }
  .page-title-band h1 { font-size: 30px; }

  .stats { padding: 40px 20px; flex-direction: column; gap: 26px; }

  .two-col { flex-direction: column; padding: 56px 20px; gap: 36px; }
  .card-grid-section, .gallery, .band-navy, .advantage-section, .photo-grid-section, .cta-band, .contact-wrap, .site-footer, .card-grid-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .gallery { padding-top: 56px; padding-bottom: 56px; }
  .gallery-grid, .card-grid, .advantage-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { flex-direction: column; gap: 28px; }

  .breadcrumb { padding-left: 20px; padding-right: 20px; }
  .contact-card { padding: 30px; }
}
