/* Pelon Remodeling — design system.
   Job-site / blueprint theme: deep navy + concrete + safety orange.
   Bold sans-serif, angular cards, hazard-stripe accents — deliberately NOT
   the cream/serif/terracotta AI-default look. */

:root {
  --pr-navy: #16212b;
  --pr-navy-2: #1e2e3b;
  --pr-slate: #2e3d4c;
  --pr-steel: #6b7a89;
  --pr-steel-light: #9fb0bd;
  --pr-concrete: #f2efe9;
  --pr-concrete-2: #e7e2d8;
  --pr-white: #ffffff;
  --pr-orange: #e8622c;
  --pr-orange-dark: #c94f1f;
  --pr-yellow: #f0a202;
  --pr-line: rgba(255, 255, 255, 0.12);
  --pr-line-dark: rgba(22, 33, 43, 0.12);
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 4px 16px rgba(22, 33, 43, 0.15);
  --shadow-lg: 0 12px 32px rgba(22, 33, 43, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--pr-navy);
  background: var(--pr-concrete);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--pr-orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-base);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--pr-navy);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pr-orange-dark);
  margin-bottom: 10px;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--pr-slate); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section-dark { background: var(--pr-navy); color: var(--pr-white); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark p { color: var(--pr-white); }
.section-dark p { color: var(--pr-steel-light); }

/* ── Hazard stripe divider — construction-tape motif ─────────────────────── */
.hazard-stripe {
  height: 10px;
  background: repeating-linear-gradient(
    45deg, var(--pr-yellow), var(--pr-yellow) 16px, var(--pr-navy) 16px, var(--pr-navy) 32px
  );
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  min-height: 48px;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--pr-orange); color: var(--pr-white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--pr-orange-dark); }

.btn-outline { background: transparent; border-color: currentColor; color: var(--pr-white); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

.btn-outline-dark { background: transparent; border-color: var(--pr-navy); color: var(--pr-navy); }
.btn-outline-dark:hover { background: rgba(22, 33, 43, 0.06); }

.btn-block { width: 100%; }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--pr-navy);
  border-bottom: 3px solid var(--pr-orange);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pr-white);
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px;
  background: var(--pr-orange);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--pr-navy);
  font-weight: 900;
  flex-shrink: 0;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--pr-steel-light);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.nav-links a:hover { color: var(--pr-white); text-decoration: none; }
.nav-cta { display: none; }
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 2px solid var(--pr-line);
  border-radius: var(--radius);
  color: var(--pr-white);
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--pr-navy-2);
  border-top: 1px solid var(--pr-line);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px 20px;
  color: var(--pr-white);
  font-weight: 700;
  border-bottom: 1px solid var(--pr-line);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}
.mobile-menu a:hover { text-decoration: none; background: rgba(255,255,255,0.04); }
.mobile-menu .btn { margin: 16px 20px; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ── Sticky mobile quote bar ─────────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--pr-navy);
  border-top: 3px solid var(--pr-orange);
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.sticky-cta .btn { width: 100%; }
@media (min-width: 900px) {
  .sticky-cta { display: none; }
}
body { padding-bottom: 76px; }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  background:
    linear-gradient(rgba(22,33,43,0.88), rgba(22,33,43,0.94)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 40px),
    var(--pr-navy);
  color: var(--pr-white);
  padding: 56px 0 64px;
}
.hero h1 { color: var(--pr-white); }
.hero p { max-width: 560px; color: var(--pr-steel-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ── Cards / grids ─────────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--pr-white);
  border: 1px solid var(--pr-line-dark);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 46px; height: 46px;
  background: var(--pr-navy);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--pr-orange);
  margin-bottom: 16px;
}
.card .price-range {
  display: inline-block;
  margin-top: 10px;
  font-weight: 800;
  color: var(--pr-orange-dark);
  font-size: 0.92rem;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pr-yellow);
  color: var(--pr-navy);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Gallery placeholder tiles ────────────────────────────────────────────── */
.gallery-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--pr-white);
  border: 1px solid var(--pr-line-dark);
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tile .stage-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--pr-navy); color: var(--pr-white);
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  padding: 4px 9px; border-radius: 4px; letter-spacing: 0.04em;
}
.gallery-tile.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background:
    repeating-linear-gradient(45deg, var(--pr-concrete-2), var(--pr-concrete-2) 14px, var(--pr-concrete) 14px, var(--pr-concrete) 28px);
}
.gallery-tile.placeholder .ribbon {
  position: absolute; top: 14px; right: -34px;
  background: var(--pr-orange); color: var(--pr-white);
  font-weight: 800; font-size: 0.68rem; letter-spacing: 0.05em;
  padding: 4px 40px; transform: rotate(40deg);
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.gallery-tile.placeholder .ph-icon {
  width: 44px; height: 44px; color: var(--pr-steel); margin-bottom: 10px;
}
.gallery-tile.placeholder strong {
  color: var(--pr-navy); font-size: 0.95rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.gallery-tile.placeholder span { color: var(--pr-steel); font-size: 0.82rem; margin-top: 4px; }

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.category-tabs button {
  padding: 9px 16px;
  border-radius: 999px;
  border: 2px solid var(--pr-line-dark);
  background: var(--pr-white);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--pr-slate);
}
.category-tabs button.active {
  background: var(--pr-navy);
  border-color: var(--pr-navy);
  color: var(--pr-white);
}

/* ── Forms ─────────────────────────────────────────────────────────────── */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--pr-navy);
}
.field .hint { font-size: 0.78rem; color: var(--pr-steel); margin-top: 4px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius);
  border: 2px solid var(--pr-line-dark);
  font-size: 16px;
  font-family: var(--font-base);
  background: var(--pr-white);
  color: var(--pr-navy);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pr-orange);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row-2 { grid-template-columns: 1fr 1fr; } }

.form-card {
  background: var(--pr-white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}
.form-msg { padding: 14px; border-radius: var(--radius); margin-bottom: 18px; font-weight: 700; display: none; }
.form-msg.success { background: #e4f4ea; color: #1f7a45; display: block; }
.form-msg.error { background: #fbe6e0; color: #a5321a; display: block; }

.file-drop {
  border: 2px dashed var(--pr-line-dark);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: var(--pr-steel);
  font-size: 0.88rem;
  cursor: pointer;
}
.file-drop input { display: none; }
.file-drop.has-file { border-color: var(--pr-orange); color: var(--pr-navy); }

/* ── FAQ accordion ─────────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--pr-line-dark);
  padding: 18px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 800;
  gap: 12px;
}
.faq-q .plus { flex-shrink: 0; font-size: 1.3rem; color: var(--pr-orange-dark); transition: transform 0.15s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { display: none; margin-top: 10px; color: var(--pr-slate); }
.faq-item.open .faq-a { display: block; }

/* ── Service area chips ───────────────────────────────────────────────── */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 16px;
  background: var(--pr-white);
  border: 1px solid var(--pr-line-dark);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--pr-navy);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--pr-navy);
  color: var(--pr-steel-light);
  padding: 48px 0 28px;
}
.site-footer h4 { color: var(--pr-white); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; }
.site-footer p { color: var(--pr-steel-light); }
.site-footer .notice { color: var(--pr-slate); }
.site-footer a { color: var(--pr-steel-light); }
.site-footer a:hover { color: var(--pr-white); }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; margin-bottom: 30px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-bottom {
  border-top: 1px solid var(--pr-line);
  padding-top: 20px;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.footer-bottom a { margin-right: 14px; }

/* ── Compliance / licensing notice ────────────────────────────────────── */
.notice {
  background: var(--pr-concrete-2);
  border-left: 4px solid var(--pr-orange);
  padding: 16px 18px;
  border-radius: 4px;
  font-size: 0.92rem;
  color: var(--pr-slate);
}

/* ── Utilities ─────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.max-w-prose { max-width: 680px; }
.center { margin-left: auto; margin-right: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--pr-orange); color: white; padding: 12px 16px; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }
