/*
Theme Name: North Jersey Home Services Child
Theme URI: https://example.com/
Description: Blocksy child theme for the North Jersey Home Services Lovable-to-WordPress conversion.
Author: OpenAI
Template: blocksy
Version: 1.1.0
Text Domain: njhs-child
*/

:root {
  --njhs-background: #f6f8fb;
  --njhs-foreground: #081427;
  --njhs-card: #ffffff;
  --njhs-primary: #0e2340;
  --njhs-primary-light: #21385c;
  --njhs-primary-dark: #07111f;
  --njhs-accent: #f6ad11;
  --njhs-accent-light: #f7c85d;
  --njhs-accent-dark: #c98808;
  --njhs-muted: #eef2f6;
  --njhs-muted-text: #617086;
  --njhs-border: #dde3ea;
  --njhs-red: #d52a23;
  --njhs-cream: #fbf8f2;
  --njhs-radius: 14px;
  --njhs-radius-lg: 18px;
  --njhs-shadow: 0 14px 38px rgba(7, 17, 31, 0.08);
  --njhs-shadow-hover: 0 18px 44px rgba(7, 17, 31, 0.14);
}

body {
  background: var(--njhs-background);
  color: var(--njhs-foreground);
}

.njhs-section {
  padding: 72px 20px;
}

.njhs-section-sm {
  padding: 40px 20px;
}

.njhs-container,
.njhs-container-tight {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.njhs-container-tight {
  width: min(1080px, calc(100% - 32px));
}

.njhs-dark {
  background: linear-gradient(135deg, var(--njhs-primary-dark) 0%, var(--njhs-primary) 55%, var(--njhs-primary-light) 100%);
  color: #fff;
}

.njhs-cream {
  background: var(--njhs-cream);
}

.njhs-card,
.njhs-review,
.njhs-detail,
.njhs-chip,
.njhs-service-link {
  background: var(--njhs-card);
  border: 1px solid var(--njhs-border);
  border-radius: var(--njhs-radius);
  box-shadow: var(--njhs-shadow);
}

.njhs-hover-lift {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.njhs-hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--njhs-shadow-hover);
}

.njhs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(246, 173, 17, 0.14);
  color: var(--njhs-accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.njhs-title,
.njhs-content h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.njhs-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--njhs-primary);
}

.njhs-content h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--njhs-primary);
}

.njhs-title .njhs-gradient {
  background: linear-gradient(135deg, var(--njhs-accent) 0%, var(--njhs-accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.njhs-subtitle,
.njhs-dark .njhs-subtitle {
  color: #c8d3e1;
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 760px;
}

.njhs-content p,
.njhs-content li {
  color: var(--njhs-muted-text);
  line-height: 1.75;
}

.njhs-content ul {
  margin: 0;
  padding-left: 18px;
}

.njhs-hero-grid,
.njhs-split-grid,
.njhs-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
}

.njhs-split-grid.equal {
  grid-template-columns: 1fr 1fr;
}

.njhs-grid-2,
.njhs-grid-3,
.njhs-grid-4,
.njhs-grid-6 {
  display: grid;
  gap: 24px;
}

.njhs-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.njhs-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.njhs-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.njhs-grid-6 { grid-template-columns: repeat(6, minmax(0,1fr)); }

.njhs-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.njhs-btn-primary,
.njhs-btn-secondary,
.njhs-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s ease;
}

.njhs-btn-primary {
  background: var(--njhs-accent);
  color: #0a1525;
}

.njhs-btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
}

.njhs-btn-light {
  background: #fff;
  color: var(--njhs-primary);
  border: 1px solid var(--njhs-border);
}

.njhs-btn-primary:hover,
.njhs-btn-secondary:hover,
.njhs-btn-light:hover {
  transform: translateY(-1px);
}

.njhs-meta-row,
.njhs-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: rgba(255,255,255,.75);
  font-size: .94rem;
}

.njhs-trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--njhs-border);
}

.njhs-trust-bar .njhs-grid-4 {
  gap: 16px;
}

.njhs-stat,
.njhs-trust-item {
  text-align: center;
  font-weight: 700;
}

.njhs-card {
  padding: 24px;
}

.njhs-card p:last-child,
.njhs-review p:last-child {
  margin-bottom: 0;
}

.njhs-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(246, 173, 17, .12);
  color: var(--njhs-accent-dark);
  font-weight: 800;
  margin-bottom: 12px;
}

.njhs-service-link {
  display: block;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}

.njhs-service-link strong {
  display: block;
  color: var(--njhs-primary);
  margin-bottom: 8px;
}

.njhs-service-link span {
  display: inline-block;
  margin-top: 10px;
  color: var(--njhs-accent-dark);
  font-size: .95rem;
  font-weight: 700;
}

.njhs-glass {
  background: rgba(18, 33, 57, 0.82);
  border: 1px solid rgba(76, 94, 119, 0.55);
  border-radius: var(--njhs-radius-lg);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 28px;
}

.njhs-form-shell {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.njhs-form-shell.light {
  border-top-color: var(--njhs-border);
}

.njhs-cta-band {
  background: linear-gradient(90deg, #b91f1a 0%, var(--njhs-red) 100%);
  color: #fff;
}

.njhs-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.njhs-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: var(--njhs-foreground);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.njhs-chip:hover,
.njhs-service-link:hover {
  border-color: var(--njhs-accent);
}

.njhs-problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}

.njhs-problem-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.njhs-problem-list li {
  color: rgba(255,255,255,.84);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.njhs-problem-list li:last-child {
  border-bottom: 0;
}

.njhs-process-step {
  position: relative;
  padding: 24px;
  text-align: center;
}

.njhs-process-step .num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(246, 173, 17, .34);
}

.njhs-review {
  padding: 22px;
}

.njhs-stars {
  color: var(--njhs-accent-dark);
  letter-spacing: 2px;
  font-size: .95rem;
  margin-bottom: 10px;
}

.njhs-faq {
  display: grid;
  gap: 14px;
}

.njhs-faq details {
  background: #fff;
  border: 1px solid var(--njhs-border);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--njhs-shadow);
}

.njhs-faq summary {
  cursor: pointer;
  color: var(--njhs-primary);
  font-weight: 700;
}

.njhs-faq summary::-webkit-details-marker {
  display: none;
}

.njhs-faq .answer {
  margin-top: 12px;
  color: var(--njhs-muted-text);
}

.njhs-mini-note {
  font-size: .93rem;
  color: var(--njhs-muted-text);
}

.njhs-footer-note {
  font-size: .9rem;
  opacity: .75;
}

.njhs-spacer-top {
  margin-top: 24px;
}

.njhs-spacer-lg {
  margin-top: 38px;
}

@media (max-width: 991px) {
  .njhs-section {
    padding: 56px 20px;
  }

  .njhs-hero-grid,
  .njhs-split-grid,
  .njhs-contact-grid,
  .njhs-grid-2,
  .njhs-grid-3,
  .njhs-grid-4,
  .njhs-grid-6,
  .njhs-problem-grid {
    grid-template-columns: 1fr;
  }

  .njhs-btn-row,
  .njhs-meta-row,
  .njhs-trust-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
