/* ============================================================
   NightLight Pros — Shared Stylesheet
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --dark:       #060d17;
  --dark-mid:   #0c1a2e;
  --dark-soft:  #132030;
  --gold:       #c9a84c;
  --gold-light: #e8cc7a;
  --cream:      #faf7f2;
  --cream-dark: #f5f0e8;
  --white:      #ffffff;
  --text:       #1c1c1c;
  --text-soft:  #555555;
  --text-muted: #999999;
  --border:     rgba(201,168,76,0.2);
  --nav-h:      88px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Grain ──────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.03;
}

/* ── Eyebrow ─────────────────────────────────────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 44px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::before { display: none; }

/* ── Headings ────────────────────────────────────────────────── */
.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 300;
  line-height: 1.1;
}
.section-heading em { font-style: italic; color: var(--gold-light); }

.page-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
}
.page-h1 em { font-style: italic; color: var(--gold-light); }

/* ── Gold Rule ───────────────────────────────────────────────── */
.gold-rule {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 24px 0;
}
.gold-rule.centered { margin: 24px auto; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 36px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  border: none;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.4s ease;
}
.btn:hover::after { left: 100%; }
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold); color: var(--dark); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-gold { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--dark); }

/* ── Navigation ─────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(6,13,23,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
#nav.solid {
  background: rgba(6,13,23,0.97);
  border-bottom-color: var(--border);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--white);
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 10px 24px;
  transition: all 0.25s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--dark); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
}
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 950;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
  transition: color 0.25s ease;
}
#mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute;
  top: 28px; right: 24px;
  font-size: 28px;
  cursor: pointer;
  color: var(--white);
  background: none;
  border: none;
  line-height: 1;
}

/* ── Inner Page Hero Banner ──────────────────────────────────── */
.inner-hero {
  position: relative;
  padding-top: var(--nav-h);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.inner-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,13,23,0.95) 0%, rgba(6,13,23,0.5) 60%, rgba(6,13,23,0.3) 100%);
}
.inner-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 60px 60px;
  width: 100%;
  max-width: 900px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.breadcrumb a, .breadcrumb span {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color 0.25s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }

/* ── Sections ────────────────────────────────────────────────── */
.section-pad { padding: 100px 60px; }
.section-pad-sm { padding: 64px 60px; }
.container { max-width: 1200px; margin: 0 auto; }
.container-wide { max-width: 1400px; margin: 0 auto; }
.container-narrow { max-width: 820px; margin: 0 auto; }

/* ── Body copy ───────────────────────────────────────────────── */
.body-copy {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-soft);
  margin-bottom: 20px;
}
.body-copy-light {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

/* ── Service/Location content blocks ─────────────────────────── */
.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.content-grid.reversed { direction: rtl; }
.content-grid.reversed > * { direction: ltr; }
.content-photo {
  position: relative;
  height: 480px;
  overflow: hidden;
}
.content-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Feature List ────────────────────────────────────────────── */
.feature-list {
  list-style: none;
  margin: 24px 0 32px;
}
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 9px;
  flex-shrink: 0;
}
.feature-list.dark li { color: var(--text-soft); border-bottom-color: rgba(0,0,0,0.08); }

/* ── CTA Strip ───────────────────────────────────────────────── */
.cta-strip {
  background: var(--dark-mid);
  padding: 64px 60px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-strip h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-strip p { color: rgba(255,255,255,0.5); margin-bottom: 32px; font-size: 15px; }
.cta-strip .btn { margin: 0 8px; }

/* ── Info Grid (stats / facts) ───────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 48px 0;
}
.info-block {
  background: var(--dark-mid);
  padding: 40px 32px;
  text-align: center;
}
.info-block-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.info-block-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ── FAQ Component ───────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  transition: color 0.25s;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gold);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  padding: 0;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

/* ── Related Links Grid ──────────────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.related-card {
  background: var(--dark-mid);
  padding: 28px 28px 32px;
  position: relative;
  transition: background 0.3s ease;
  cursor: pointer;
}
.related-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.related-card:hover { background: var(--dark-soft); }
.related-card:hover::after { width: 100%; }
.related-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}
.related-card p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* ── Photo Grid (inner gallery) ──────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.photo-grid-item {
  position: relative;
  overflow: hidden;
  height: 280px;
  cursor: pointer;
}
.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-grid-item:hover img { transform: scale(1.06); }
.photo-grid-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,13,23,0);
  transition: background 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-grid-item:hover .overlay { background: rgba(6,13,23,0.4); }
.photo-grid-item .overlay svg {
  opacity: 0;
  transition: opacity 0.3s;
  width: 32px; height: 32px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.5;
}
.photo-grid-item:hover .overlay svg { opacity: 1; }

/* ── Lightbox ────────────────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6,13,23,0.96);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
}
.lb-close {
  position: absolute;
  top: 28px; right: 32px;
  font-size: 32px;
  cursor: pointer;
  color: var(--white);
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
  background: none; border: none;
  line-height: 1;
}
.lb-close:hover { opacity: 1; transform: rotate(90deg); }
.lb-caption {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  color: rgba(255,255,255,0.6);
}

/* ── Reveal utility ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); }

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: #030810;
  padding: 80px 60px 40px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  transition: color 0.25s;
}
.footer-contact a:hover { color: var(--gold); }
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--white);
  display: block;
  margin-bottom: 20px;
  text-decoration: none;
}
.footer-logo span { color: var(--gold); }
.footer-social { display: flex; gap: 14px; margin-top: 20px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid;
  transition: color 0.25s, border-color 0.25s, opacity 0.25s;
  text-decoration: none;
  opacity: 0.7;
}
.footer-social a:hover { opacity: 1; }
.footer-social a:nth-child(1) { color: #1877F2; border-color: rgba(24,119,242,0.3); }
.footer-social a:nth-child(1):hover { border-color: #1877F2; }
.footer-social a:nth-child(2) {
  color: #C13584;
  border: 1px solid transparent;
  background: linear-gradient(#030810, #030810) padding-box,
              linear-gradient(45deg, #405DE6, #C13584, #F77737) border-box;
}
.footer-social a:nth-child(2):hover { opacity: 1; }
.footer-social a:nth-child(3) { color: #FF0000; border-color: rgba(255,0,0,0.3); }
.footer-social a:nth-child(3):hover { border-color: #FF0000; }
.footer-social a:nth-child(4) { color: #69C9D0; border-color: rgba(105,201,208,0.3); }
.footer-social a:nth-child(4):hover { border-color: #69C9D0; }
.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  transition: color 0.25s ease;
  letter-spacing: 0.5px;
}
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 36px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.25); }
.footer-badges { display: flex; align-items: center; gap: 16px; }
.footer-badge {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 8px 18px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .section-pad { padding: 80px 40px; }
  .section-pad-sm { padding: 56px 40px; }
  .content-grid { grid-template-columns: 1fr; gap: 48px; }
  .content-photo { height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  #nav { padding: 0 32px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 72px; }
  .section-pad { padding: 64px 24px; }
  .section-pad-sm { padding: 48px 24px; }
  #nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .inner-hero-content { padding: 40px 24px 48px; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 60px 24px 32px; }
  .footer-badges { flex-wrap: wrap; gap: 8px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .cta-strip { padding: 48px 24px; }
  .cta-strip .btn { display: block; width: 100%; text-align: center; margin: 8px 0 0 0; }
  .chamber-badge { flex-direction: column; gap: 16px; }
  .content-photo { height: 280px; }
}
@media (max-width: 480px) {
  .section-pad { padding: 48px 20px; }
  .section-pad-sm { padding: 40px 20px; }
  .page-h1 { font-size: clamp(30px, 9vw, 48px); }
}
@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
