/* Perrine Powder Coating - simple, mobile-first styles */
:root {
  --ink: #1d1f21;
  --muted: #5a5f66;
  --bg: #ffffff;
  --alt: #f3f2ef;
  --dark: #22262b;
  --accent: #d9661f;
  --accent-dark: #b4521a;
  --line: #ddd9d2;
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); }

/* Hero */
.hero {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 56px 0 48px;
  background-color: var(--dark);
  background-image:
    linear-gradient(180deg, rgba(18,20,23,.78) 0%, rgba(18,20,23,.70) 45%, rgba(18,20,23,.88) 100%),
    url("assets/hero-powder-coating-booth.jpg");
  background-size: cover;
  background-position: center 40%;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  color: #f0a46e;
  margin-bottom: .6em;
}
.hero h1 { font-size: 2.2rem; margin-bottom: .2em; }
.tagline { font-size: 1.25rem; color: #e6e6e6; margin-bottom: 1em; }
.lead { max-width: 640px; color: #cfd2d6; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.logo-wrap { margin: 0 0 1em; }
/* Text wordmark (Perrine Powder Coating) + shield mark. No name in the image, so it can be edited as text. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  background: #fff;
  color: #111;
  border-radius: var(--radius);
  padding: 14px 24px 14px 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
}
.logo-mark { display: block; width: 92px; height: auto; flex: none; }
.logo-text {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  line-height: 1;
  font-family: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 900;
}
.logo-name { font-size: 2.7rem; letter-spacing: .03em; }
.logo-sub { font-size: 1.32rem; letter-spacing: .055em; color: #6b6f74; margin-top: .14em; }
.logo-place {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .28em;
  color: #333;
  margin-top: .75em;
  padding-top: .55em;
  border-top: 1px solid #b9bcc0;
}
@media (max-width: 420px) {
  .logo { gap: 12px; padding: 12px 16px 12px 10px; }
  .logo-mark { width: 66px; }
  .logo-name { font-size: 2.05rem; }
  .logo-sub { font-size: 1rem; }
  .logo-place { font-size: .6rem; letter-spacing: .22em; }
}

/* Nav */
.topnav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topnav .wrap {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  white-space: nowrap;
  padding-top: 12px;
  padding-bottom: 12px;
}
.topnav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.topnav a:hover { color: var(--accent-dark); }

/* Sections */
.section { padding: 48px 0; }
.section.alt { background: var(--alt); }

.cards {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.cards li {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: #fff;
}
.cards p { margin: 0; color: var(--muted); }

.note { color: var(--ink); }
.highlight {
  background: #fff4ec;
  border: 1px solid #f3cfb4;
  border-radius: var(--radius);
  padding: 12px 16px;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.steps li {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--line);
}
.steps p { margin: 0; color: var(--muted); }
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Prices */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 1.2em 0; }
.price-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.price-block h3 { color: var(--accent-dark); }
table { width: 100%; border-collapse: collapse; }
td { padding: 8px 0; border-bottom: 1px solid #eee; vertical-align: top; }
tr:last-child td { border-bottom: none; }
td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; }
.fine { font-size: .9rem; color: var(--muted); }

/* Area */
.towns { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.towns li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 600;
}

/* Contact */
.contact-box {
  background: var(--alt);
  border-radius: var(--radius);
  padding: 18px 20px;
  max-width: 480px;
}
.contact-box p { margin: .3em 0; font-size: 1.1rem; }
.label {
  display: inline-block;
  min-width: 86px;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

.about { padding: 0 0 36px; }
.small { font-size: .9rem; color: var(--muted); }

.footer { background: var(--dark); color: #bfc3c8; padding: 20px 0; font-size: .85rem; }
.footer p { margin: 0; }

.cards li.wide { border-left-color: var(--dark); background: #fafaf8; }
.price-block.wide td:last-child { white-space: normal; }
.block-note { margin: 0 0 8px; font-size: .9rem; color: var(--muted); }
.price-block.wide .block-note:last-child { margin: 8px 0 0; }

.side-note {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--dark);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.side-note p { margin: 0; color: var(--muted); }

/* Wider screens */
@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .cards li.wide, .price-block.wide { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .hero { padding: 84px 0 72px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* Laser-cut logo, white on dark hero */
.site-logo { display:block; width:200px; max-width:60%; height:auto; margin:0 auto; }
@media (max-width: 640px) { .site-logo { width:150px; } }

/* Hero centered content + overlay helpers */
.hero .logo-wrap { margin: 0 0 1.1em; }
.hero .tagline { text-shadow: 0 2px 8px rgba(0,0,0,.6); font-weight: 600; }
.hero .lead { margin-left: auto; margin-right: auto; color: #e3e5e8; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.hero .cta-row { justify-content: center; }
.topnav .wrap { justify-content: center; }
@media (max-width: 640px) {
  .hero .lead { font-size: 1rem; }
  .topnav .wrap { justify-content: flex-start; }
}
.footer a, .contact-box a { color: inherit; }
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* Logo pinned to hero top-left (logo ratio 890x604) */
/* Desktop: logo centered above headline, larger */
.hero .logo-wrap { position:static; margin:0 0 .6em; line-height:0; }
.hero .site-logo { width:300px; max-width:80%; margin:0 auto; }
@media (max-width: 640px) {
  .hero .logo-wrap { position:absolute; margin:0; }
  .hero .site-logo { max-width:none; margin:0; }
}
@media (max-width: 640px) {
  .hero .logo-wrap { top:20px; left:20px; }
  .hero .site-logo { width:120px; }
  .hero { padding-top: 128px; }
}
@media (max-width: 640px) { .hero { position: relative; } }
