/* ── NORCON HOME SOLUTIONS – SHARED STYLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #C70000;
  --red-dark:   #9E0000;
  --red-muted:  #E87070;
  --charcoal:   #1A1A1A;
  --dark2:      #2A2A2A;
  --mid:        #555;
  --stone:      #F2EDE8;
  --warm-white: #FAFAF8;
  --border:     #E0D9D2;
  --display:    'Barlow Condensed', sans-serif;
  --body:       'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--charcoal); background: var(--warm-white); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--charcoal);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4vw;
  height: 64px;
  border-bottom: 3px solid var(--red);
}
.nav-logo a {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-toggle {
  display: none; background: none; border: none;
  color: #fff; font-size: 1.6rem; cursor: pointer; padding: 0.25rem;
}
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  color: #bbb; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.nav-cta {
  background: var(--red) !important; color: #fff !important;
  padding: 0.45rem 1.1rem; border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--red); color: #fff;
  font-size: 0.95rem; font-weight: 600;
  padding: 0.85rem 2rem; border-radius: 4px;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer; font-family: var(--body);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.35); color: #fff;
  font-size: 0.95rem; font-weight: 600;
  padding: 0.85rem 2rem; border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline {
  display: inline-block;
  border: 2px solid var(--charcoal); color: var(--charcoal);
  font-size: 0.9rem; font-weight: 600;
  padding: 0.75rem 2rem; border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--charcoal); color: #fff; }

/* ── SECTION SHARED ── */
section { padding: 5rem 5vw; }
.section-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; text-transform: uppercase;
  line-height: 1; color: var(--charcoal);
}
.section-sub {
  margin-top: 0.75rem; color: var(--mid);
  font-size: 1rem; line-height: 1.65; max-width: 560px;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--red);
  display: flex; justify-content: center;
  align-items: center; flex-wrap: wrap;
}
.trust-item {
  color: #fff; padding: 1rem 2rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; gap: 0.5rem;
}
.trust-item:last-child { border-right: none; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--charcoal);
  padding: 5rem 5vw 4rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(26,26,26,0.97) 40%, rgba(26,26,26,0.7) 100%);
  z-index: 1;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.35;
}
.page-hero-content { position: relative; z-index: 2; max-width: 680px; }
.page-hero .eyebrow {
  display: inline-block; background: var(--red); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 0.3rem 0.8rem;
  border-radius: 2px; margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800; color: #fff;
  text-transform: uppercase; line-height: 0.95;
  letter-spacing: -0.01em; margin-bottom: 1rem;
}
.page-hero h1 em { color: var(--red-muted); font-style: normal; }
.page-hero p { color: #c0b8b0; font-size: 1.05rem; line-height: 1.6; max-width: 500px; margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 6px; padding: 2rem 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--red); transform: scaleX(0);
  transform-origin: left; transition: transform 0.25s;
}
.service-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); transform: translateY(-2px); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 {
  font-family: var(--display); font-size: 1.4rem;
  font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.02em; margin-bottom: 0.5rem;
}
.service-card p { font-size: 0.9rem; color: var(--mid); line-height: 1.55; }

/* ── WHY / DARK SECTION ── */
.dark-section { background: var(--dark2); padding: 5rem 5vw; }
.dark-section .section-label { color: var(--red-muted); }
.dark-section .section-title { color: #fff; }
.dark-section .section-sub { color: #b0a89f; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.why-card { border-left: 3px solid var(--red-muted); padding: 0 0 0 1.5rem; }
.why-card h4 { color: #f0ece8; font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.why-card p { color: #a09890; font-size: 0.9rem; line-height: 1.6; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--stone);
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  padding: 2.5rem 3rem; text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--display);
  font-size: 3rem; font-weight: 800;
  color: var(--red); line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--mid); margin-top: 0.3rem; letter-spacing: 0.05em; text-transform: uppercase; }

/* ── REVIEWS ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.review-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 6px; padding: 1.75rem;
}
.stars { color: var(--red); font-size: 1rem; margin-bottom: 0.75rem; }
.review-text { font-size: 0.95rem; line-height: 1.65; color: var(--mid); margin-bottom: 1rem; }
.review-author { font-weight: 700; font-size: 0.85rem; }
.review-location { font-size: 0.8rem; color: #999; }

/* ── GALLERY GRID ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 2.5rem;
}
.gallery-grid .g-item {
  overflow: hidden; border-radius: 4px;
  background: var(--stone); height: 240px;
}
.gallery-grid .g-item.tall {
  grid-row: span 2; height: auto;
}
.gallery-grid .g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.gallery-grid .g-item:hover img { transform: scale(1.04); }
.gallery-footer { margin-top: 1.5rem; text-align: center; }

/* ── CONTACT FORM ── */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.contact-detail { display: flex; gap: 0.75rem; margin-top: 1.5rem; align-items: flex-start; }
.contact-detail-icon {
  width: 40px; height: 40px; background: var(--red);
  border-radius: 4px; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #999; margin-bottom: 2px; }
.contact-detail-text a, .contact-detail-text span { font-size: 1rem; font-weight: 600; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1.5px solid var(--border); border-radius: 4px;
  background: var(--warm-white); font-family: var(--body);
  font-size: 0.95rem; color: var(--charcoal);
  transition: border-color 0.2s; outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--red); }
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--red); padding: 4rem 5vw;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: #fff; text-transform: uppercase;
  line-height: 1; margin-bottom: 0.75rem;
}
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 1.75rem; }
.cta-band .btn-white {
  display: inline-block; background: #fff; color: var(--red);
  font-size: 0.95rem; font-weight: 700;
  padding: 0.9rem 2.25rem; border-radius: 4px;
  margin: 0 0.5rem 0.5rem;
  transition: background 0.2s, transform 0.15s;
}
.cta-band .btn-white:hover { background: #f0ece8; transform: translateY(-1px); }
.cta-band .btn-white-outline {
  display: inline-block; border: 2px solid rgba(255,255,255,0.6); color: #fff;
  font-size: 0.95rem; font-weight: 600;
  padding: 0.85rem 2rem; border-radius: 4px;
  margin: 0 0.5rem 0.5rem;
  transition: border-color 0.2s, background 0.2s;
}
.cta-band .btn-white-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ── FOOTER ── */
footer { background: var(--charcoal); border-top: 3px solid var(--red); }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding: 3.5rem 5vw 2.5rem;
}
.footer-logo {
  font-family: var(--display); font-size: 1.3rem;
  font-weight: 800; color: #fff;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--red); }
.footer-brand p { color: #777; font-size: 0.85rem; line-height: 1.6; max-width: 280px; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a { color: #888; font-size: 0.8rem; transition: color 0.2s; }
.footer-social a:hover { color: #fff; }
.footer-links-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links-col strong { color: #fff; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.25rem; }
.footer-links-col a, .footer-links-col span { color: #777; font-size: 0.85rem; transition: color 0.2s; line-height: 1.5; }
.footer-links-col a:hover { color: #ccc; }
.footer-bottom {
  border-top: 1px solid #2d2d2d;
  padding: 1.25rem 5vw;
}
.footer-bottom p { color: #555; font-size: 0.78rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 67px; left: 0; right: 0;
    background: var(--charcoal); padding: 1.5rem 2rem;
    gap: 1.25rem; border-bottom: 2px solid var(--red);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.9rem; }
  .trust-item { padding: 0.75rem 1rem; font-size: 0.7rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .g-item.tall { grid-row: span 1; height: 200px; }
  .gallery-grid .g-item { height: 180px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .stat-item { padding: 1.75rem 1.5rem; }
  .stats-bar { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
