/* ===================================================================
   Superior Powder Coating — styles
   Industrial Charcoal + Safety Orange: charcoal base, safety-orange
   primary accent, amber secondary
   =================================================================== */

:root {
  /* Industrial Charcoal + Safety Orange palette */
  --twilight:  #16181d;
  --magenta:   #ff6a1a;  /* mapped: primary orange */
  --sunset:    #ff9c42;
  --cyan:      #ffb300;  /* mapped: amber secondary */
  --neon:      #ffb300;  /* mapped: amber */

  --bg:        #16181d;
  --bg-alt:    #1b1e24;
  --surface:   #20242c;
  --surface-2: #2a2f39;
  --line:      #2f343d;
  --text:      #eef1f5;
  --muted:     #9aa3b1;
  --accent:    #ff6a1a;
  --accent-2:  #ffb300;
  --accent-dk: #d8540c;
  --white:     #ffffff;
  --radius:    14px;
  --radius-sm: 9px;
  --maxw:      1140px;
  --shadow:    0 18px 40px rgba(0, 0, 0, 0.35);
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-mark {
  font-family: "Oswald", "Inter", sans-serif;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin: 0;
}

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

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

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-2);
  margin: 0 0 12px;
}

.hl { color: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s, box-shadow 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-accent {
  background: var(--accent);
  color: #1a1206;
  box-shadow: 0 10px 24px rgba(255, 106, 26, 0.34);
}
.btn-accent:hover { background: var(--accent-2); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--white); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 24, 29, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  background: var(--accent);
  color: #1a1206;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 10px;
  letter-spacing: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.02rem; font-family: "Oswald", sans-serif; letter-spacing: 0.4px; }
.brand-text small { color: var(--muted); font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 600; font-size: 0.94rem; color: var(--muted); transition: color 0.18s; }
.nav a:hover { color: var(--white); }
.nav .nav-cta { color: #1a1206; }
.nav .nav-cta:hover { color: #1a1206; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 560px at 82% -10%, rgba(255, 106, 26, 0.22), transparent 60%),
    radial-gradient(900px 520px at 8% 110%, rgba(255, 179, 0, 0.12), transparent 60%),
    radial-gradient(700px 420px at 50% 130%, rgba(216, 84, 12, 0.16), transparent 65%),
    linear-gradient(180deg, #1d2026 0%, #16181d 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(900px 500px at 70% 0%, #000, transparent 75%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  padding: 92px 22px 84px;
  max-width: 760px;
}
.hero h1 {
  font-size: clamp(2.7rem, 6.5vw, 4.6rem);
  font-weight: 700;
  margin-bottom: 18px;
}
.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: "Oswald", sans-serif;
  font-size: 1.9rem;
  color: var(--white);
}
.hero-stats span { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

/* ===== Trust bar ===== */
.trustbar { background: linear-gradient(90deg, var(--magenta) 0%, var(--neon) 100%); color: #1a1206; }
.trustbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== Sections ===== */
.section { padding: 86px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); font-weight: 700; }
.section-sub { color: var(--muted); margin: 14px 0 0; font-size: 1.05rem; }

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow); }
.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  background: var(--surface-2);
  border-radius: 12px;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ===== What We Coat ===== */
.coat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0 0 44px;
}
.coat-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 600;
  transition: border-color 0.2s, transform 0.15s var(--ease);
}
.coat-grid li:hover { border-color: var(--accent); transform: translateY(-3px); }
.coat-emoji { font-size: 1.4rem; }

.materials { text-align: center; }
.materials-label { color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.8rem; margin: 0 0 14px; }
.material-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.material-tags span {
  border: 1px solid var(--cyan);
  color: var(--cyan);
  border-radius: 999px;
  padding: 7px 18px;
  font-weight: 600;
  font-size: 0.9rem;
}
.coat-note {
  max-width: 760px;
  margin: 34px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 22px;
}
.coat-note strong { color: var(--text); }

/* ===== Process ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step-num {
  font-family: "Oswald", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(120deg, var(--magenta), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--magenta);
  display: block;
  margin-bottom: 8px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ===== Gallery ===== */
.gallery {
  column-count: 3;
  column-gap: 20px;
}
.shot {
  break-inside: avoid;
  margin: 0 0 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}
.shot:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  border-top: 1px solid var(--line);
}
.shot-pair .ba { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.ba-img { position: relative; display: block; }
.ba-img::after {
  content: attr(data-label);
  position: absolute;
  top: 8px; left: 8px;
  background: var(--accent);
  color: #1a1206;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
}
.ba-img:last-child::after { background: var(--cyan); color: #1a1206; }
.gallery-cta { text-align: center; margin: 34px 0 0; color: var(--muted); }
.gallery-cta a { color: var(--accent-2); font-weight: 600; }
.gallery-cta a:hover { color: var(--accent); }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 44px;
  align-items: start;
}
.about-text p { color: var(--muted); }
.about-text h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 18px; }
.about-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about-pills span {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 600;
}
.about-card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.about-card h3 { font-size: 1.3rem; margin-bottom: 18px; color: var(--white); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.ci-label {
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 1.5px;
  color: var(--accent-2);
  font-weight: 700;
}
.contact-list a:hover { color: var(--accent); }

.quote-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--muted);
}
.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.22);
}
.field textarea { resize: vertical; }
.form-status {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.form-status.is-ok { color: #ffffff; background: #1f8a4c; }
.form-status.is-err { color: #fff; background: var(--accent-dk); }
.form-note { text-align: center; color: var(--muted); font-size: 0.88rem; margin: 14px 0 0; }
.form-note a { color: var(--accent-2); font-weight: 600; }

/* ===== Map ===== */
.map-wrap { line-height: 0; border-top: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; filter: grayscale(0.25) contrast(1.05); }

/* ===== Footer ===== */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 30px;
  padding: 46px 22px;
  align-items: start;
}
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand strong { font-family: "Oswald", sans-serif; font-size: 1.1rem; }
.footer-brand p { color: var(--muted); margin: 4px 0 0; font-size: 0.88rem; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { color: var(--muted); }
.footer-contact a:first-child { color: var(--white); font-weight: 700; font-size: 1.15rem; font-family: "Oswald", sans-serif; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 22px;
  color: var(--muted);
  font-size: 0.84rem;
}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #1a1206;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(255, 106, 26, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 40;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ===== Reveal animation ===== */
.section, .hero-content { will-change: opacity, transform; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .gallery { column-count: 2; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    padding: 8px 22px 22px;
    transform: translateY(-130%);
    transition: transform 0.3s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav .nav-cta { margin-top: 12px; border-bottom: 0; text-align: center; }
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .gallery { column-count: 1; }
}

/* ===== Hero additions ===== */
.hero-kw {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: var(--cyan);
  margin: 6px 0 18px;
  letter-spacing: 0.3px;
}
.hero-microcopy {
  font-size: 0.92rem;
  color: var(--muted);
  margin: -28px 0 30px;
  max-width: 560px;
}
.hero-microcopy strong { color: var(--text); }
.hero-microcopy a { color: var(--accent-2); font-weight: 600; }

/* ===== Contact actions + Facebook badge ===== */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 22px 0 8px;
}
.fb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cyan);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  transition: border-color 0.2s, color 0.2s;
}
.fb-badge:hover { border-color: var(--cyan); color: var(--white); }

/* ===== Sticky mobile action bar ===== */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;
  background: rgba(22, 24, 29, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}
.mobile-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 4px calc(10px + env(safe-area-inset-bottom));
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
}
.mobile-bar a span { font-size: 1.25rem; }
.mobile-bar a:active { background: var(--surface-2); }
.mobile-bar a + a { border-left: 1px solid var(--line); }

/* ===== Lightbox ===== */
.lb { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 4, 12, 0.92);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 16px; right: 20px;
  width: 44px; height: 44px;
  font-size: 1.8rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox-close:hover { background: var(--accent); }

/* ===== Show mobile bar + lift back-to-top on small screens ===== */
@media (max-width: 720px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 64px; }
  .back-to-top { bottom: 78px; }
}
