/* ── Subpage layout — shares design tokens with site.css :root ── */

.subpage main { display: block; }

/* Page hero band */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 72px 32px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: -150px; right: -150px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(1,136,199,0.14) 0%, transparent 70%);
}
.page-hero-inner { max-width: 1160px; margin: 0 auto; position: relative; z-index: 2; }
.breadcrumb {
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55); margin-bottom: 22px;
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--blue-soft); }
.breadcrumb .sep { margin: 0 8px; color: rgba(255,255,255,0.3); }
.page-hero .section-eyebrow { color: var(--blue); }
.page-hero h1 {
  font-weight: 800; font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 20px;
}
.page-hero h1 .accent { color: var(--blue); }
.page-hero .page-hero-sub {
  font-size: 18px; line-height: 1.65; color: rgba(255,255,255,0.82);
  max-width: 680px; margin-bottom: 34px;
}
.page-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Generic sections */
.page-section { padding: 84px 32px; }
.page-section.alt { background: var(--cream); }
.page-section.tight { padding: 56px 32px; }
.page-inner { max-width: 1160px; margin: 0 auto; }
.page-inner.narrow { max-width: 820px; }
.page-section .section-head { margin-bottom: 48px; }
.section-head.left { text-align: left; }
.section-head.left p { margin: 0; }

/* Prose (about, legal, long-form) */
.prose { color: var(--text-soft); font-size: 16.5px; line-height: 1.75; }
.prose h2 {
  font-weight: 800; font-size: 26px; letter-spacing: -0.02em;
  color: var(--navy); margin: 40px 0 14px;
}
.prose h3 {
  font-weight: 800; font-size: 19px; color: var(--navy); margin: 28px 0 10px;
}
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--blue); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--text); }

/* Card grids */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.info-card {
  background: #fff; border: 1px solid var(--rule); border-radius: 18px;
  padding: 30px 28px; box-shadow: 0 1px 3px rgba(11,28,51,0.04);
  transition: all 0.25s ease;
}
.info-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(11,28,51,0.08); }
.info-card h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.015em; }
.info-card p { color: var(--text-soft); font-size: 15.5px; line-height: 1.65; }
.info-card .info-card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--blue); font-weight: 700; font-size: 15px; }
.info-card .info-card-link:hover { gap: 12px; }

/* Checklist */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative; padding-left: 34px; margin-bottom: 14px;
  color: var(--text-soft); font-size: 16px; line-height: 1.6;
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat, linear-gradient(#fff,#fff);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat, linear-gradient(#fff,#fff);
  -webkit-mask-composite: destination-out; mask-composite: exclude;
}
.check-list li strong { color: var(--text); }

/* Two-column split */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }

/* Dark CTA button on light background */
.btn-navy { background: var(--navy); color: #fff; border: 1.5px solid var(--navy); }
.btn-navy:hover { background: var(--navy-soft); border-color: var(--navy-soft); transform: translateY(-2px); }

/* Contact form */
.contact-form { background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: 36px 32px; box-shadow: 0 1px 3px rgba(11,28,51,0.05); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 15px; font-size: 15.5px; font-family: var(--font);
  color: var(--text); background: var(--cream);
  border: 1.5px solid var(--rule); border-radius: 10px;
  transition: border-color 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-submit { width: 100%; }

/* Contact info card */
.contact-aside .info-card { margin-bottom: 20px; }
.contact-aside .info-card h3 { display: flex; align-items: center; gap: 10px; }
.big-phone { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.big-phone:hover { color: var(--orange); }

/* Fact table (reused pattern) */
.fact-table { border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; }
.fact-table .fact-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--rule-soft); background: #fff; }
.fact-table .fact-row:last-child { border-bottom: none; }
.fact-table .fact-label { color: var(--muted); font-size: 14.5px; font-weight: 600; }
.fact-table .fact-value { color: var(--navy); font-size: 14.5px; font-weight: 700; text-align: right; }

/* CTA band on subpages (mirrors homepage final CTA) */
.page-cta { background: var(--navy); padding: 84px 32px; text-align: center; position: relative; overflow: hidden; }
.page-cta::before { content: ''; position: absolute; top: -120px; right: -120px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(1,136,199,0.1) 0%, transparent 70%); }
.page-cta .final-cta-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }

@media (max-width: 900px) {
  .card-grid, .card-grid.two { grid-template-columns: 1fr; gap: 20px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .page-hero { padding: 52px 20px 60px; }
  .page-section { padding: 60px 20px; }
}

/* ── Job photo galleries (real before/after proof) ── */
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.photo-grid.three { grid-template-columns: repeat(3, 1fr); }
.photo-card {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--rule); background: #fff;
  box-shadow: 0 1px 3px rgba(11,28,51,0.06); margin: 0;
}
.photo-card img { display: block; width: 100%; height: 340px; object-fit: cover; }
.photo-grid.three .photo-card img { height: 280px; }
.photo-card figcaption {
  padding: 14px 18px; font-size: 14.5px; color: var(--text-soft); line-height: 1.5;
}
.photo-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff; padding: 6px 12px; border-radius: 999px;
}
.photo-tag.before { background: rgba(17, 24, 39, 0.82); }
.photo-tag.after { background: var(--blue); }
.photo-tag.plain { background: var(--orange); }
@media (max-width: 900px) {
  .photo-grid, .photo-grid.three { grid-template-columns: 1fr; gap: 20px; }
  .photo-card img, .photo-grid.three .photo-card img { height: 300px; }
}

/* Homepage coverage: dadsgaragedoors-style area grid of pin links */
.area-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 8px 16px; margin-top: 8px; text-align: left;
}
.area-link {
  display: flex; align-items: center; gap: 6px; padding: 8px 4px;
  font-size: 0.9rem; font-weight: 600; color: var(--navy);
  transition: color 0.2s ease; border-bottom: 1px solid var(--rule-soft);
}
.area-link:hover { color: var(--orange); }
.area-pin { display: inline-flex; }
.area-pin-icon { width: 13px; height: 13px; color: var(--orange); }
.area-grid-more { margin-top: 22px; text-align: center; }
.area-grid-more a { color: var(--orange); font-weight: 700; font-size: 15px; }
.area-grid-more a:hover { text-decoration: underline; }
@media (max-width: 1024px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Header logo: larger, more prominent ── */
header .nav-inner { padding: 10px 32px; }
header .brand-logo { height: 118px; }
@media (max-width: 900px) {
  header .nav-inner { padding: 8px 20px; }
  header .brand-logo { height: 88px; }
}

/* ── Hero lead form (homepage, right column of .hero-inner) ── */
.hero-form {
  position: relative; z-index: 3;
  background: #fff; border-radius: 18px;
  padding: 30px 28px 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
  width: 100%; max-width: 460px; justify-self: end;
}
.hero-form h3 {
  color: var(--navy); font-size: 23px; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 6px;
}
.hero-form .hero-form-sub {
  color: var(--text-soft); font-size: 14.5px; line-height: 1.55;
  margin-bottom: 18px;
}
.hero-form .form-field { margin-bottom: 14px; }
.hero-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-form .form-field label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.hero-form input, .hero-form select {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: var(--font);
  color: var(--text); background: var(--cream);
  border: 1.5px solid var(--rule); border-radius: 10px;
  transition: border-color 0.2s ease;
}
.hero-form input:focus, .hero-form select:focus {
  outline: none; border-color: var(--blue); background: #fff;
}
.hero-form .form-submit { width: 100%; justify-content: center; margin-top: 4px; }
.hero-form .hero-form-fineprint {
  margin-top: 14px; font-size: 12.5px; line-height: 1.5;
  color: var(--muted); text-align: center;
}
.hero-form .hero-form-fineprint a { color: var(--navy); font-weight: 700; }
.hero-form .hero-form-fineprint a:hover { color: var(--orange); }
@media (max-width: 1024px) {
  .hero-form { justify-self: stretch; max-width: 100%; }
}
