/* J2 Home Services — j2homeservicestn.com
   Design tokens mirror J2 Construction so the two divisions read as one company. */

:root {
  --charcoal: #231F20;
  --charcoal-light: #2D3335;
  --charcoal-band: #1C2321;
  --blueprint: #2B5D82;
  --cyanotype: #8BC0E8;
  --concrete: #E7E2D8;
  --concrete-alt: #EFEDE7;
  --paper: #F6F7F8;
  --safety: #D9622B;
  --safety-dark: #C1541F;
  --ink-muted: #4B5450;
  --line: rgba(231, 226, 216, 0.16);
  --line-strong: rgba(231, 226, 216, 0.28);
  --line-dark: rgba(28, 35, 33, 0.16);
  --line-dark-strong: rgba(28, 35, 33, 0.26);

  --font-display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --wrap: 1180px;
  --gutter: 32px;
  --section-y: 112px;
  --header-h: 100px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.01em;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

a { color: var(--blueprint); text-decoration: none; }
a:hover { color: var(--safety); }

:focus-visible {
  outline: 3px solid var(--safety);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--safety);
  color: #1A1A1A;
  font-weight: 600;
  padding: 14px 22px;
}
.skip-link:focus { left: 0; color: #1A1A1A; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 17px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--safety); color: #1A1A1A; }
.btn-primary:hover { background: var(--safety-dark); color: #1A1A1A; }
.btn-ghost { border-color: var(--line-strong); color: var(--concrete); background: transparent; }
.btn-ghost:hover { border-color: var(--concrete); color: var(--concrete); }
.btn-ghost-light { border-color: rgba(246, 247, 248, 0.55); color: var(--paper); background: transparent; }
.btn-ghost-light:hover { border-color: var(--paper); color: var(--paper); }
.btn-dark { background: var(--charcoal); color: var(--paper); }
.btn-dark:hover { background: var(--charcoal-light); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 35, 33, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-mark { height: 56px; width: auto; flex-shrink: 0; }
.brand-name {
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--paper);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyanotype);
}
a.brand:hover .brand-name { color: var(--paper); }

.nav-right { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-menu-cta { display: none; }
.nav-links a {
  white-space: nowrap;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--concrete);
}
.nav-links a:hover { color: var(--cyanotype); }
.nav-cta {
  font-weight: 600;
  font-size: 15px;
  color: var(--charcoal);
  background: var(--paper);
  padding: 13px 20px;
  border: 1px solid var(--paper);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover { background: transparent; color: var(--concrete); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  cursor: pointer;
}

/* ---------------------------------------------------------------- shared */
.section { padding: var(--section-y) 0; }
.section-dark { background: var(--charcoal); color: var(--paper); }
.section-cream { background: var(--concrete); }
.blueprint-grid {
  background-image:
    linear-gradient(rgba(139, 192, 232, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 192, 232, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blueprint);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.section-dark .eyebrow { color: var(--cyanotype); }

.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.section-head p { margin-top: 20px; font-size: 18px; color: var(--ink-muted); }
.section-dark .section-head p { color: var(--concrete); opacity: 0.9; }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
  align-items: start;
}

/* ---------------------------------------------------------------- hero */
.hero { padding: 116px 0 104px; background: var(--charcoal); color: var(--paper); }
.hero h1 { font-size: clamp(2.75rem, 7vw, 5rem); max-width: 920px; color: var(--paper); }
.hero-lede { margin-top: 28px; max-width: 660px; font-size: 20px; color: var(--concrete); }
.hero-sub { margin-top: 16px; max-width: 660px; font-size: 17.5px; color: var(--concrete); opacity: 0.86; }
.hero .btn-row { margin-top: 42px; }

/* ---------------------------------------------------------------- credentials */
.credentials { background: var(--concrete); border-bottom: 1px solid var(--line-dark); }
.credentials-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cred {
  padding: 34px 28px;
  border-right: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cred:first-child { padding-left: 0; }
.cred:last-child { border-right: 0; padding-right: 0; }
.cred-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blueprint);
}
.cred-value { font-size: 17px; font-weight: 600; }
.cred-note { font-size: 15.5px; color: var(--ink-muted); }

/* ---------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.step {
  background: var(--concrete);
  padding: 34px 28px 36px;
  border-top: 3px solid var(--blueprint);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step:first-child { border-top-color: var(--safety); }
.step-num { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; color: var(--blueprint); }
.step h3 { font-size: 26px; }
.step p, .step li { font-size: 16px; color: var(--ink-muted); }
.step ul { display: flex; flex-direction: column; gap: 9px; font-size: 15.5px; }

/* ---------------------------------------------------------------- repairs grid */
.repairs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.repairs li {
  background: var(--paper);
  padding: 26px 24px;
  font-size: 16.5px;
  font-weight: 500;
}
.repairs li:last-child { grid-column: span 2; }

.note {
  margin-top: 32px;
  border-left: 3px solid var(--blueprint);
  padding: 6px 0 6px 22px;
  max-width: 860px;
}
.note-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blueprint);
  margin-bottom: 8px;
}
.note p { font-size: 16px; color: var(--ink-muted); }

/* ---------------------------------------------------------------- realtor list */
.rule-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.rule-list li {
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--concrete);
}
.rule-list li:nth-child(even) { padding-left: 20px; padding-right: 0; }

.rule-list-light { border-top-color: var(--line-dark); grid-template-columns: 1fr; }
.rule-list-light li,
.rule-list-light li:nth-child(even) { border-bottom-color: var(--line-dark); color: var(--charcoal); padding: 15px 0; }

/* ---------------------------------------------------------------- packet */
.packet-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.packet-lead {
  background: var(--concrete);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.packet-lead h3 { font-size: 30px; }
.packet-lead p { font-size: 17px; color: var(--ink-muted); }
.packet-card {
  background: #FFFFFF;
  border: 1px solid var(--line-dark);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.packet-card .cred-label { margin-bottom: 0; }
.checks { display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--ink-muted); }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { flex-shrink: 0; margin-top: 3px; }

/* ---------------------------------------------------------------- track record */
.track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 72px; align-items: start; }
.track-lead h2 { font-size: clamp(2rem, 4vw, 2.875rem); }
.track-body { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-top: 6px; }
.track-body p { font-size: 17px; color: var(--ink-muted); }
.track-cta { align-self: flex-start; }
.stats { grid-column: 1 / -1; margin-top: 24px; display: flex; border-top: 1px solid var(--line-dark); }
.stat { flex: 1 1 0; padding: 26px 28px 0 0; border-right: 1px solid var(--line-dark); }
.stat:last-child { border-right: 0; padding-right: 0; }
.stat:not(:first-child) { padding-left: 28px; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; }
.stat-label { font-size: 14.5px; color: var(--ink-muted); margin-top: 6px; }

/* ---------------------------------------------------------------- about */
.about { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; }
.about img { width: 380px; height: 440px; object-fit: cover; object-position: 50% 20%; background: var(--charcoal-light); }
.about p { font-size: 18px; color: var(--concrete); max-width: 620px; }
.about p + p { margin-top: 18px; font-size: 17px; opacity: 0.86; }
.credential-row {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyanotype);
}


/* ---------------------------------------------------------------- faq */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.faq-item { background: var(--paper); padding: 32px 30px; display: flex; flex-direction: column; gap: 12px; }
.faq-item h3 { font-size: 23px; color: var(--charcoal); }
.faq-item p { font-size: 16px; color: var(--ink-muted); }
.faq-item:last-child:nth-child(odd) { grid-column: span 2; }

/* ---------------------------------------------------------------- form */
.form-points { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.form-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.form-points svg { flex-shrink: 0; margin-top: 3px; }
.disclaimer {
  margin-top: 36px;
  border-left: 3px solid var(--line-dark);
  padding-left: 22px;
  max-width: 460px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.form-card {
  background: #FFFFFF;
  border: 1px solid var(--line-dark);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.field .req { color: var(--safety); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="date"],
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--charcoal);
  background: var(--paper);
  border: 1px solid var(--line-dark-strong);
  border-radius: 0;
  padding: 14px 14px;
  width: 100%;
  min-height: 50px;
  transition: border-color 0.18s ease;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blueprint); }

.file-drop {
  position: relative;
  border: 1px dashed var(--line-dark-strong);
  background: var(--paper);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.file-drop:hover, .file-drop.is-dragging { border-color: var(--blueprint); background: #FFFFFF; }
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-drop span { font-size: 16px; color: var(--blueprint); font-weight: 500; }
.file-name { font-size: 14.5px; color: var(--ink-muted); }

.form-note { font-size: 14px; color: var(--ink-muted); text-align: center; }
.hp { position: absolute; left: -9999px; }

/* ---------------------------------------------------------------- also available */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.card {
  background: var(--paper);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card h3 { font-size: 28px; }
.card p { font-size: 16px; color: var(--ink-muted); }
.card-link { margin-top: 6px; font-size: 16px; font-weight: 600; }

/* ---------------------------------------------------------------- final cta */
.final-cta { background: var(--blueprint); padding: 96px 0; color: var(--paper); text-align: center; }
.final-cta .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final-cta h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); max-width: 840px; }
.final-cta p { font-size: 18px; opacity: 0.9; max-width: 640px; }
.final-cta .btn-row { margin-top: 14px; justify-content: center; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--charcoal); color: var(--concrete); padding: 68px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-logo { height: 150px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 15px; opacity: 0.85; margin-top: 8px; }
.footer-creds {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyanotype);
}
.footer-contact { display: flex; flex-direction: column; gap: 9px; font-size: 16px; }
.footer-contact a { color: var(--concrete); }
.footer-contact a:hover { color: var(--cyanotype); }
.footer-bottom {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-bottom p { font-size: 13.5px; opacity: 0.62; max-width: 820px; }
.footer-links { display: flex; gap: 22px; font-size: 13.5px; white-space: nowrap; }
.footer-links a { color: var(--concrete); opacity: 0.75; }
.footer-links a:hover { opacity: 1; color: var(--cyanotype); }

/* ---------------------------------------------------------------- thanks page */
.thanks { min-height: 60vh; display: flex; align-items: center; padding: 120px 0; }
.thanks h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.thanks p { margin-top: 22px; font-size: 18px; color: var(--ink-muted); max-width: 620px; }
.thanks .btn-row { margin-top: 38px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .repairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .repairs li:last-child { grid-column: span 2; }
  .track { grid-template-columns: 1fr; gap: 24px; }
  .about { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; }
  .about img { width: 300px; height: 360px; }
  .split { gap: 48px; }
  :root { --section-y: 88px; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.is-open .nav-links {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--charcoal-band);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .site-header.is-open .nav-links a {
    padding: 16px var(--gutter);
    font-size: 17px;
  }
  .site-header.is-open .nav-menu-cta {
    display: block;
    margin: 8px var(--gutter) 4px;
    padding: 16px 20px;
    background: var(--safety);
    color: #1A1A1A;
    font-weight: 600;
    text-align: center;
  }
  .nav { min-height: 76px; }
  .brand-mark { height: 44px; }
  .brand { gap: 11px; }
  .brand-name { font-size: 21px; }
  .footer-logo { height: 120px; }
  .brand-sub { font-size: 10px; }

  .split, .about, .packet-band, .cards, .field-pair, .faq { grid-template-columns: 1fr; }
  .faq-item:last-child:nth-child(odd) { grid-column: span 1; }
  .about img { width: 100%; height: 420px; }
  .credentials-grid { grid-template-columns: 1fr; }
  .cred { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .cred:last-child { border-bottom: 0; }
  .steps, .repairs { grid-template-columns: 1fr; }
  .repairs li:last-child { grid-column: span 1; }
  .rule-list { grid-template-columns: 1fr; }
  .rule-list li, .rule-list li:nth-child(even) { padding: 14px 0; }
  .stats { flex-direction: column; border-top: 0; }
  .stat, .stat:last-child, .stat:not(:first-child) {
    border-right: 0;
    border-top: 1px solid var(--line-dark);
    padding: 18px 0 0;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 20px; }
  .form-card { padding: 28px 22px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  :root { --section-y: 64px; --gutter: 20px; }
  .hero { padding: 56px 0 52px; }
  .final-cta { padding: 64px 0; text-align: left; }
  .final-cta .wrap { align-items: stretch; }
  .final-cta .btn-row { justify-content: stretch; }
  body { font-size: 16.5px; }
}
