/* Northtown Painting — styles.css
   Palette locked to the yard sign. No frameworks, no webfonts (system stack
   renders instantly and matches the sign's grotesque feel).
   Rule: gold is used ONLY for the phone number and the primary call button.
*/

:root {
  --navy: #12243B;
  --cream: #F5F1E8;
  --gold: #DEB254;
  --ink: #1C1F23;
  --slate: #6B7683;
  --rule: #D9D2C4;
  --maxw: 46rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 0.5em;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.5rem; margin-top: 2.2em; }
h3 { font-size: 1.12rem; margin-top: 1.6em; }

p { margin: 0 0 1.1em; }

a { color: var(--navy); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.15rem;
}

/* ---------- header: the sign's lockup, reused ---------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.lockup {
  display: block;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.02em;
  font-size: 1.02rem;
  text-transform: uppercase;
}

.lockup span { display: block; }

.header-phone {
  font-weight: 700;
  text-decoration: none;
  color: var(--gold);
  font-size: 1.02rem;
  white-space: nowrap;
  /* gold on cream needs weight, not size, to read */
  text-shadow: 0 0 0 currentColor;
}

nav.pages {
  border-bottom: 1px solid var(--rule);
}

nav.pages ul {
  list-style: none;
  margin: 0;
  padding: 0.55rem 0;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

nav.pages a {
  text-decoration: none;
  color: var(--slate);
}

nav.pages a[aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
}

/* ---------- hero ---------- */

.hero { padding: 2.2rem 0 1rem; }

.hero h1 { margin-bottom: 0.45em; }

.hero .sub {
  font-size: 1.12rem;
  color: #33383D;
  max-width: 34rem;
}

/* ---------- the call button: the most important element on the site ---------- */

.callbtn {
  display: block;
  width: 100%;
  max-width: 30rem;
  margin: 1.6rem 0 0.6rem;
  padding: 1.15rem 1rem;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.15;
  border: 2px solid var(--navy);
  border-radius: 0;          /* square corners — matches the sign */
}

.callbtn:hover { background: #E8C069; }

.callbtn small {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 0.35rem;
  letter-spacing: 0.01em;
}

.callnote {
  font-size: 0.95rem;
  color: var(--slate);
  margin: 0 0 0.4rem;
}

/* ---------- sections ---------- */

section { padding-bottom: 1rem; }

hr.rule {
  border: 0;
  border-top: 3px solid var(--navy);
  margin: 2.4rem 0 0;
  width: 3.5rem;
}

ul.plain { padding-left: 1.1rem; }
ul.plain li { margin-bottom: 0.5em; }

ol.steps {
  padding-left: 1.35rem;
  counter-reset: step;
  list-style: none;
}

ol.steps li {
  position: relative;
  margin-bottom: 0.85em;
}

ol.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -1.35rem;
  font-weight: 700;
  color: var(--navy);
}

.area {
  background: #EFEADE;
  border-left: 4px solid var(--navy);
  padding: 1rem 1.15rem;
  margin: 1.4rem 0;
  font-size: 0.98rem;
}

.close-cta {
  border-top: 1px solid var(--rule);
  margin-top: 2.6rem;
  padding: 1.8rem 0 0;
}

/* ---------- contact form ---------- */

form { margin-top: 1.4rem; }

label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

input, textarea, select {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.6rem;
  margin-bottom: 1.1rem;
  border: 1px solid #B9B2A4;
  background: #FFFDF8;
  color: var(--ink);
  border-radius: 0;
}

input:focus, textarea:focus, select:focus {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
}

button.submit {
  font: inherit;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.95rem 1.4rem;
  background: var(--navy);
  color: var(--cream);
  border: 2px solid var(--navy);
  border-radius: 0;
  cursor: pointer;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy);
  color: #C9CFD8;
  margin-top: 3rem;
  padding: 2rem 0 2.4rem;
  font-size: 0.95rem;
}

.site-footer a { color: var(--gold); text-decoration: none; font-weight: 700; }

.site-footer .fk {
  color: var(--cream);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.site-footer p { margin: 0 0 0.5em; }

/* ---------- utilities ---------- */

.muted { color: var(--slate); font-size: 0.95rem; }
.skip {
  position: absolute; left: -9999px;
}
.skip:focus {
  position: static; display: inline-block; padding: 0.5rem; background: var(--gold);
}

@media (min-width: 40rem) {
  body { font-size: 19px; }
  h1 { font-size: 2.7rem; }
  h2 { font-size: 1.7rem; }
  .callbtn { font-size: 1.5rem; }
}

/* Print: people still print estimates and pages. */
@media print {
  .site-footer, nav.pages, .callbtn { display: none; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a[href^="tel"]::after { content: " " attr(href); }
}
