/* Jesus Pro Holiday Light Installation
   Midnight sky, snow, and the colors of the bulbs themselves. */

:root {
  --midnight: #0a1022;
  --night-2: #111a33;
  --night-3: #060b19;
  --pine: #124a36;
  --berry: #c8283c;
  --berry-dark: #a81d30;
  --gold: #ffc65a;
  --pumpkin: #ff7a1a;
  --plum: #5b2a86;
  --snow: #eef3f8;
  --ink: #14203a;
  --muted: #55627f;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: #d3dcea;
  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #e8edf7;
  background: var(--midnight);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-weight: 800;
}
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--midnight);
  padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 200; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--berry); color: #fff; }
.btn-red:hover { background: var(--berry-dark); }
.btn-gold { background: var(--gold); color: var(--midnight); }
.btn-gold:hover { background: #ffd47f; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-dark { background: var(--midnight); color: #fff; }
.btn-dark:hover { background: var(--night-2); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--night-3); font-size: 0.9rem; border-bottom: 1px solid var(--line-dark); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; flex-wrap: wrap; padding: 8px 0; }
.topbar a { text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.topbar .es { color: var(--gold); font-weight: 600; }
.ribbon { display: none; background: linear-gradient(90deg, var(--plum), #7a3ab0 50%, #d9640b); color: #fff; text-align: center; font-size: 0.92rem; font-weight: 600; padding: 7px 16px; }
.halloween .ribbon { display: block; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(10, 16, 34, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-dark); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { flex: none; overflow: visible; }
.logo-bulb { filter: drop-shadow(0 0 3px rgba(255,255,255,0.55)); animation: glow 3.4s ease-in-out infinite; }
.foot-logo { display: block; width: min(280px, 100%); margin-bottom: 14px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,0.14); }
.foot-logo img { width: 100%; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; letter-spacing: 0.01em; }
.brand-text small { font-size: 0.78rem; color: var(--gold); font-weight: 600; letter-spacing: 0.02em; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { text-decoration: none; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 0.97rem; }
.main-nav a:hover { background: rgba(255, 255, 255, 0.08); }
.main-nav a[aria-current="page"] { color: var(--gold); }
.main-nav a.nav-cta { background: var(--berry); color: #fff; margin-left: 8px; }
.main-nav a.nav-cta:hover { background: var(--berry-dark); }
.nav-toggle { display: none; background: none; border: 2px solid var(--line-dark); color: #fff; border-radius: 10px; padding: 8px 12px; font: 700 0.95rem var(--font-body); cursor: pointer; }

/* String of lights: drapes under the header, ripples on at page load */
.swag { position: absolute; left: 0; right: 0; top: 100%; height: 46px; overflow: hidden; pointer-events: none; }
.swag svg { display: block; }
.footer-swag { position: relative; height: 46px; overflow: hidden; margin-bottom: -2px; }
.footer-swag svg { display: block; }
.divider-swag { height: 46px; overflow: hidden; background: transparent; }
.bulb { animation: lights-on 0.7s ease-out backwards, glow 3.8s ease-in-out infinite; }
@keyframes lights-on { from { opacity: 0.12; } to { opacity: 1; } }
@keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.62; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(82vh, 760px); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 16, 34, 0.94) 0%, rgba(10, 16, 34, 0.78) 42%, rgba(10, 16, 34, 0.18) 100%), linear-gradient(0deg, rgba(10, 16, 34, 0.7), transparent 38%); }
.hero-inner { padding: 92px 0 100px; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.8rem); max-width: 13ch; margin-bottom: 0.4em; }
.hero p.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 52ch; color: #d7deee; }
.hero-phone { margin-top: 1.4rem; color: #c3cde2; font-size: 0.98rem; }
.hero-phone a { color: var(--gold); font-weight: 700; text-decoration: none; }
.page-hero { min-height: 380px; }
.page-hero .hero-inner { padding: 72px 0 84px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.moon { display: none; position: absolute; right: 4%; top: 34px; width: min(380px, 42vw); z-index: -1; pointer-events: none; }
.halloween .moon { display: block; }
.bat { fill: #05070f; }

/* ---------- Facts strip ---------- */
.facts { background: var(--night-3); border-block: 1px solid var(--line-dark); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 22px 20px; border-left: 1px solid var(--line-dark); font-size: 0.95rem; color: #b5c0d8; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-family: var(--font-display); font-size: 1.35rem; color: #fff; font-weight: 800; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--snow { background: var(--snow); color: var(--ink); }
.section--snow h2, .section--snow h3 { color: var(--ink); }
.section--night { background: var(--midnight); }
.section--deep { background: var(--night-2); }
.section--pine { background: var(--pine); }
.sec-head { max-width: 62ch; margin-bottom: 2.2rem; }
.sec-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.lede { font-size: 1.15rem; }
.section--snow .lede, .section--snow .muted { color: var(--muted); }
.sec-head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 2rem; }
.sec-head-row .sec-head { margin-bottom: 0; }
.text-link { font-weight: 700; color: var(--gold); text-decoration: none; border-bottom: 2px solid currentColor; }
.section--snow .text-link { color: var(--berry); }

/* Featured work mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.mosaic a { position: relative; overflow: hidden; border-radius: 16px; display: block; background: var(--night-2); }
.mosaic a:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.mosaic a:hover img { transform: scale(1.04); }
.cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 16px 14px; background: linear-gradient(0deg, rgba(5, 8, 18, 0.88), transparent); font-weight: 600; font-size: 0.95rem; color: #fff; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { background: #fff; border: 1px solid var(--line-light); border-top: 5px solid var(--berry); border-radius: 6px; padding: 26px 24px 22px; }
.svc:nth-child(4n+2) { border-top-color: var(--pine); }
.svc:nth-child(4n+3) { border-top-color: #e5a31e; }
.svc:nth-child(4n+4) { border-top-color: #2f6fd0; }
.svc:nth-child(5) { border-top-color: var(--pumpkin); }
.svc h3 { font-size: 1.28rem; margin-bottom: 0.4em; }
.svc p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Process: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { position: relative; padding-top: 58px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font: 800 1.2rem var(--font-display); color: var(--midnight); background: var(--gold);
  box-shadow: 0 0 0 6px rgba(255, 198, 90, 0.18), 0 0 22px rgba(255, 198, 90, 0.55);
}
.steps li:nth-child(2)::before { background: #ff6b7a; box-shadow: 0 0 0 6px rgba(255, 107, 122, 0.18), 0 0 22px rgba(255, 107, 122, 0.55); }
.steps li:nth-child(3)::before { background: #4fdca0; box-shadow: 0 0 0 6px rgba(79, 220, 160, 0.18), 0 0 22px rgba(79, 220, 160, 0.55); }
.steps li:nth-child(4)::before { background: #7fb6ff; box-shadow: 0 0 0 6px rgba(127, 182, 255, 0.18), 0 0 22px rgba(127, 182, 255, 0.55); }
.steps h3 { font-size: 1.2rem; }
.steps p { color: #b5c0d8; margin: 0; }

/* Why us */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 56px; max-width: 960px; }
.why h3 { font-size: 1.25rem; margin-bottom: 0.25em; }
.why p { color: var(--muted); margin: 0; }
.section--night .why p, .section--deep .why p { color: #b5c0d8; }
.section--night .why h3, .section--deep .why h3 { color: #fff; }

/* Reviews + forms */
.review-box { background: #fff; border-radius: 16px; padding: 16px; border: 1px solid var(--line-light); }
.review-box iframe { width: 100%; min-width: 100%; border: 0; min-height: 420px; }
.review-cta { margin-top: 28px; display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; }
.review-cta p { margin: 0; font-weight: 600; font-size: 1.1rem; }
.fallback { padding: 28px 24px; color: var(--ink); }
.fallback h3 { font-size: 1.4rem; color: var(--ink); }
.fallback p { color: var(--muted); }
.estimate { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.estimate h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.call-card { margin-top: 1.6rem; padding: 20px 22px; border-radius: 14px; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.18); }
.call-card a { font: 800 1.7rem var(--font-display); text-decoration: none; color: var(--gold); }
.call-card small { display: block; color: #cfe3d8; margin-top: 4px; }
.form-card { background: #fff; border-radius: 18px; padding: 10px; color: var(--ink); }
.form-card iframe { width: 100%; min-height: 1053px; border: 0; border-radius: 8px; }

/* Footer */
.site-footer { background: var(--night-3); padding-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 44px 0 36px; }
.site-footer h4 { font-size: 1.05rem; color: var(--gold); margin-bottom: 0.7em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45em; }
.site-footer a { text-decoration: none; color: #c8d1e6; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.logo-card { background: #fff7f1; border-radius: 14px; padding: 10px; width: 148px; margin-bottom: 14px; }
.foot-note { color: #93a0bd; font-size: 0.95rem; max-width: 36ch; }
.foot-bottom { border-top: 1px solid var(--line-dark); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 0.9rem; color: #93a0bd; }
.foot-bottom a { color: #93a0bd; }

/* ---------- Services page rows ---------- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: 28px 0; }
.svc-row + .svc-row { border-top: 1px solid var(--line-light); }
.svc-row:nth-child(even) .svc-media { order: 2; }
.svc-media img { border-radius: 18px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.svc-text ul { padding-left: 1.1em; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.swatch { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--night-2); border: 1px solid var(--line-dark); font-weight: 600; }
.dots { display: inline-flex; }
.dots i { width: 14px; height: 14px; border-radius: 50%; margin-left: -3px; border: 2px solid var(--night-2); }
.dots i:first-child { margin-left: 0; }
.faq details { border-bottom: 1px solid var(--line-light); padding: 18px 0; }
.faq summary { cursor: pointer; font: 700 1.15rem var(--font-display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--berry); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0.8em 0 0; color: var(--muted); max-width: 70ch; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { background: transparent; color: #fff; border: 2px solid var(--line-dark); border-radius: 999px; padding: 8px 18px; font: 700 0.95rem var(--font-body); cursor: pointer; }
.chip:hover { border-color: #fff; }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--midnight); }
.masonry { column-count: 3; column-gap: 16px; }
.g-item { position: relative; display: block; break-inside: avoid; margin: 0 0 16px; border-radius: 16px; overflow: hidden; background: var(--night-2); }
.g-item img { width: 100%; height: auto; transition: transform 0.5s ease; }
.g-item:hover img { transform: scale(1.03); }
.g-item[hidden] { display: none; }

.lb { position: fixed; inset: 0; z-index: 300; background: rgba(5, 8, 18, 0.95); display: none; place-items: center; padding: 20px; }
.lb.open { display: grid; }
.lb figure { margin: 0; max-width: 94vw; text-align: center; }
.lb img { max-width: 94vw; max-height: 80vh; margin: 0 auto; border-radius: 10px; }
.lb figcaption { margin-top: 12px; color: #c8d1e6; }
.lb button { position: absolute; background: rgba(255, 255, 255, 0.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lb button:hover { background: rgba(255, 255, 255, 0.25); }
.lb .lb-close { top: 18px; right: 18px; }
.lb .lb-prev { left: 14px; top: 50%; }
.lb .lb-next { right: 14px; top: 50%; }

/* ---------- Contact / legal / about ---------- */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--line-dark); }
.contact-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.contact-list b { display: block; color: var(--gold); font-size: 0.95rem; }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-grid .logo-card { width: min(460px, 100%); margin: 0 0 20px; padding: 0; background: none; overflow: hidden; border-radius: 18px; }
.about-grid .logo-card img { width: 100%; height: auto; }
.legal { max-width: 78ch; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal p, .legal li { color: #c3cde2; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--midnight); padding: 12px 20px 22px; border-bottom: 1px solid var(--line-dark); }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 14px; }
  .main-nav a.nav-cta { margin: 8px 0 0; text-align: center; }
  .swag { display: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .estimate, .about-grid { grid-template-columns: 1fr; }
  .masonry { column-count: 2; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .mosaic a:first-child { grid-column: span 2; grid-row: span 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: span 2; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-media { order: 0; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .hero { min-height: 0; }
  .moon { width: 170px; right: 0; top: 6px; opacity: 0.85; }
  .hero h1 { max-width: 11ch; }
  .hero-inner { padding: 64px 0 72px; }
  .hero-shade { background: linear-gradient(0deg, rgba(10, 16, 34, 0.95) 0%, rgba(10, 16, 34, 0.72) 60%, rgba(10, 16, 34, 0.5) 100%); }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { border-left: 0; padding: 16px 12px 16px 0; }
  .svc-grid, .steps, .why { grid-template-columns: 1fr; }
  .masonry { column-count: 1; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > :first-child { grid-column: auto; }
  .btn-row .btn { flex: 1 1 100%; }
  .brand-text b { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bulb, .logo-bulb { animation: none; }
  .btn, .mosaic img, .g-item img { transition: none; }
}
