/* ==========================================================================
   Jersey Strong Home Improvement — Design Tokens
   Navy #0B1730 / #142443, Red #C8102E, White, Off-white #F4F5F7
   Display: Oswald | Body: Source Sans 3
   Signature: angled "roofline" section dividers (clip-path)
   ========================================================================== */

:root{
  --navy-deep: #0A1530;
  --navy: #142443;
  --navy-soft: #1D3160;
  --red: #C8102E;
  --red-dark: #9C0C23;
  --white: #FFFFFF;
  --off-white: #F4F5F7;
  --line: #E3E6EC;
  --text: #232733;
  --text-mute: #616779;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;

  --wrap: 1180px;
  --radius: 6px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
p{ margin: 0 0 1em; }

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

.skip-link{
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus{ left: 16px; top: 16px; }

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

/* -------- Buttons -------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .85rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary{ background: var(--red); color: #fff; }
.btn-primary:hover{ background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost{ border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover{ background: rgba(255,255,255,.12); }
.btn-lg{ padding: 16px 32px; font-size: .95rem; }
.btn-block{ width: 100%; }

.icon{ width: 18px; height: 18px; fill: currentColor; margin-right: 8px; flex-shrink: 0; }

/* -------- Eyebrow labels -------- */
.eyebrow{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--red);
  margin: 0 0 .6em;
}
.eyebrow-dark{ color: var(--red); }
.eyebrow-light{ color: #FF6B7F; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-deep);
  border-bottom: 3px solid var(--red);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 10px 24px;
}
.brand-logo{ height: 58px; width: auto; }
.main-nav{ display: flex; gap: 28px; }
.main-nav a{
  color: #fff; font-family: var(--font-display);
  font-size: .92rem; letter-spacing: .04em; text-transform: uppercase;
  position: relative; padding: 6px 2px;
}
.main-nav a::after{
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--red); transition: width .2s ease;
}
.main-nav a:hover::after{ width: 100%; }

.header-cta{ display: flex; align-items: center; gap: 18px; }
.phone-link{
  display: flex; align-items: center; color: #fff;
  font-family: var(--font-display); font-size: 1rem; letter-spacing: .02em;
}
.phone-link .icon{ fill: var(--red); }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.nav-toggle span{ width: 24px; height: 2px; background: #fff; display: block; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{ position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media{ position: absolute; inset: 0; }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-scrim{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,21,48,.55) 0%, rgba(10,21,48,.35) 35%, rgba(10,21,48,.92) 100%);
}
.hero-content{ position: relative; color: #fff; padding-bottom: 90px; padding-top: 60px; max-width: 780px; }
.hero-content .eyebrow{ color: #FF8A97; }
.hero h1{
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .3em;
}
.hero-sub{ font-size: 1.15rem; color: #E7EAF2; max-width: 620px; }
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.5em; }

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar{ background: var(--navy); padding: 34px 0; }
.trust-grid{
  display: grid;
  grid-template-columns: auto repeat(3, 1fr);
  align-items: center;
  gap: 32px;
}
.trust-item{ display: flex; flex-direction: column; color: #fff; }
.gaf-img{ height: 78px; width: auto; }
.trust-num{ font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; }
.trust-label{ font-size: .88rem; color: #B9C2D6; }

/* ==========================================================================
   Roofline pitch divider — signature element
   ========================================================================== */
.pitch-divider{ height: 60px; background: var(--off-white); position: relative; }
.pitch-down{ clip-path: polygon(0 0, 100% 100%, 100% 0); background: var(--navy); }
.pitch-up{ clip-path: polygon(0 100%, 100% 0, 100% 100%); background: var(--off-white); margin-top: -1px; }
.pitch-red{ background: var(--red); height: 42px; }
.gallery + .about .pitch-divider{ background: var(--red); }

/* ==========================================================================
   Services
   ========================================================================== */
.services{ background: var(--off-white); padding: 90px 0 100px; }
.services h2{ font-size: clamp(1.8rem, 3.4vw, 2.5rem); text-transform: uppercase; color: var(--navy); max-width: 680px; }
.section-sub{ max-width: 640px; color: var(--text-mute); font-size: 1.05rem; }

.service-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 2.5em;
}
.service-card{
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(10,21,48,.08);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{ transform: translateY(-4px); box-shadow: 0 14px 28px rgba(10,21,48,.14); }
.service-img{ aspect-ratio: 4/3; overflow: hidden; background: var(--navy); }
.service-img img{ width: 100%; height: 100%; object-fit: cover; }
.service-img-icon{ display: flex; align-items: center; justify-content: center; background: var(--navy); }
.gutter-icon{ width: 46%; height: 46%; color: #fff; }
.service-body{ padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.service-body h3{ font-size: 1.3rem; text-transform: uppercase; color: var(--navy); }
.service-body p{ color: var(--text-mute); font-size: .96rem; flex: 1; }
.service-link{
  font-family: var(--font-display); text-transform: uppercase; font-size: .85rem;
  letter-spacing: .03em; color: var(--red); margin-top: .4em;
}
.service-link:hover{ color: var(--red-dark); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery{ padding: 90px 0 100px; background: #fff; }
.gallery h2{ font-size: clamp(1.8rem, 3.4vw, 2.5rem); text-transform: uppercase; color: var(--navy); }
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
  margin-top: 2em;
}
.gallery-item{ position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery-wide{ grid-column: span 2; grid-row: span 2; }
.gallery-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img{ transform: scale(1.06); }
.gallery-item figcaption{
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(10,21,48,.88), transparent);
  color: #fff; font-size: .85rem; padding: 14px 14px 10px;
}

/* ==========================================================================
   Service subpages — breadcrumb, features, process, FAQ, related
   ========================================================================== */
.hero-inner{ min-height: 62vh; }
.breadcrumb{
  font-size: .82rem; color: #B9C2D6; margin-bottom: 1.2em;
  text-transform: uppercase; letter-spacing: .03em;
}
.breadcrumb a{ color: #fff; }
.breadcrumb a:hover{ color: var(--red); }

.feature-grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 2.2em;
}
.feature-card{
  background: #fff; border-left: 3px solid var(--red);
  border-radius: 4px; padding: 24px 26px; box-shadow: 0 1px 3px rgba(10,21,48,.06);
}
.feature-card h3{ font-size: 1.1rem; text-transform: uppercase; color: var(--navy); margin-bottom: .4em; }
.feature-card p{ color: var(--text-mute); font-size: .95rem; margin: 0; }

.process{ background: var(--navy-deep); color: #fff; padding: 90px 0; }
.process h2{ color: #fff; text-transform: uppercase; font-size: clamp(1.8rem, 3.2vw, 2.4rem); max-width: 640px; }
.process-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 2.4em;
}
.process-step{ position: relative; padding-top: 10px; }
.process-num{
  font-family: var(--font-display); font-size: 2.4rem; color: var(--red);
  display: block; margin-bottom: .2em; line-height: 1;
}
.process-step h3{ font-size: 1.05rem; text-transform: uppercase; color: #fff; margin-bottom: .4em; }
.process-step p{ color: #B9C2D6; font-size: .9rem; margin: 0; }

.faq{ background: #fff; padding: 90px 0; }
.faq h2{ font-size: clamp(1.8rem, 3.2vw, 2.4rem); text-transform: uppercase; color: var(--navy); max-width: 640px; }
.faq-list{ margin-top: 2em; display: flex; flex-direction: column; gap: 18px; max-width: 780px; }
.faq-item{
  background: var(--off-white); border-radius: var(--radius); padding: 22px 26px;
}
.faq-item h3{ font-size: 1.02rem; color: var(--navy); margin-bottom: .4em; }
.faq-item p{ color: var(--text-mute); font-size: .93rem; margin: 0; }

.related{ background: var(--off-white); padding: 90px 0; }
.related h2{ font-size: clamp(1.8rem, 3.2vw, 2.4rem); text-transform: uppercase; color: var(--navy); }
.related-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2em; }
.related-card{
  display: block; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 3px rgba(10,21,48,.08); transition: transform .2s ease, box-shadow .2s ease;
}
.related-card:hover{ transform: translateY(-4px); box-shadow: 0 14px 28px rgba(10,21,48,.14); }
.related-card img{ width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.related-body{ padding: 18px 20px 22px; }
.related-body h3{ font-size: 1.05rem; text-transform: uppercase; color: var(--navy); margin-bottom: .3em; }
.related-body p{ color: var(--text-mute); font-size: .88rem; margin: 0; }

/* ==========================================================================
   Service Area
   ========================================================================== */
.service-area{ background: var(--off-white); padding: 90px 0 100px; }
.service-area h2{ font-size: clamp(1.8rem, 3.4vw, 2.5rem); text-transform: uppercase; color: var(--navy); max-width: 700px; }
.area-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 2.2em;
}
.area-col{
  background: #fff;
  border-radius: var(--radius);
  border-top: 3px solid var(--red);
  padding: 26px 24px;
  box-shadow: 0 1px 3px rgba(10,21,48,.06);
}
.area-col h3{
  font-size: 1.05rem; text-transform: uppercase; color: var(--navy);
  letter-spacing: .03em; margin-bottom: .5em;
}
.area-col p{ color: var(--text-mute); font-size: .92rem; margin: 0; line-height: 1.7; }
.area-note{ margin-top: 2em; color: var(--text-mute); font-size: .95rem; font-style: italic; }

/* ==========================================================================
   About
   ========================================================================== */
.about{ background: var(--navy-deep); color: #fff; padding: 100px 0; }
.about-grid{ display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: center; }
.about h2{ color: #fff; text-transform: uppercase; font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.about p{ color: #C4CADA; }
.about-list{ margin: 1.4em 0 1.8em; }
.about-list li{
  padding-left: 28px; position: relative; margin-bottom: .6em; color: #E7EAF2;
}
.about-list li::before{
  content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px;
  background: var(--red); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.about-badge{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 40px 30px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.about-badge img{ max-width: 220px; }
.about-gaf{ max-width: 130px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact{ background: var(--navy); color: #fff; padding: 90px 0 100px; }
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact h2{ color: #fff; text-transform: uppercase; font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.contact-copy p{ color: #C4CADA; }
.contact-details{ display: flex; flex-direction: column; gap: 14px; margin-top: 1.6em; }
.contact-line{ display: flex; align-items: center; font-size: 1.05rem; color: #fff; }
.contact-line .icon{ fill: var(--red); }

.contact-form{
  background: #fff; color: var(--text); border-radius: var(--radius);
  padding: 34px; display: flex; flex-direction: column; gap: 6px;
}
.contact-form label{
  font-family: var(--font-display); font-size: .8rem; text-transform: uppercase;
  letter-spacing: .04em; color: var(--navy); margin-top: 12px;
}
.contact-form input, .contact-form select, .contact-form textarea{
  font-family: var(--font-body); font-size: 1rem;
  padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--off-white); color: var(--text);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus{
  outline: none; border-color: var(--red); background: #fff;
}
.contact-form button{ margin-top: 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--navy-deep); color: #B9C2D6; padding: 60px 0 20px; }
.footer-grid{
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo{ height: 54px; margin-bottom: 14px; }
.footer-brand p{ font-size: .9rem; color: #97A0B8; }
.footer-links h4, .footer-contact h4{
  font-family: var(--font-display); color: #fff; text-transform: uppercase;
  font-size: .88rem; letter-spacing: .04em; margin-bottom: 14px;
}
.footer-links a, .footer-contact a, .footer-contact span{
  display: block; font-size: .92rem; margin-bottom: 10px; color: #B9C2D6;
}
.footer-links a:hover, .footer-contact a:hover{ color: var(--red); }
.footer-bottom{ padding-top: 20px; font-size: .82rem; color: #7B8399; }

/* ==========================================================================
   Mobile sticky call bar
   ========================================================================== */
.mobile-call-bar{
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--red); color: #fff; text-align: center;
  align-items: center; justify-content: center;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .03em;
  padding: 14px; font-size: .95rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .main-nav{
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-deep); flex-direction: column; gap: 0;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .main-nav.nav-open{ display: flex; }
  .main-nav a{ padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-toggle{ display: flex; }
  .header-cta .phone-link{ display: none; }
  .trust-grid{ grid-template-columns: repeat(2, 1fr); }
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .gallery-wide{ grid-column: span 2; }
  .area-grid{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: 1fr; }
  .process-grid{ grid-template-columns: repeat(2, 1fr); }
  .related-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .service-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-wide{ grid-column: span 2; grid-row: span 1; }
  .footer-grid{ grid-template-columns: 1fr; }
  .hero-content{ padding-bottom: 130px; }
  .mobile-call-bar{ display: flex; }
  body{ padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
  html{ scroll-behavior: auto; }
}
