/* =========================================================
   St Nicks Christmas Lights — stylesheet
   Clean & minimal with holiday accents.
   All colors and spacing are defined as CSS variables below,
   so you can retheme the site by changing ~10 lines.
   ========================================================= */

:root {
  --red:        #c8102e;
  --red-deep:   #9c0a1f;
  --pine:       #1f5f3a;
  --ink:        #0f1419;
  --ink-soft:   #2a3038;
  --muted:      #5b6370;
  --line:       #e6e2db;
  --paper:      #ffffff;
  --cream:      #faf7f2;
  --cream-2:    #f2ece2;

  --radius:     14px;
  --radius-lg:  22px;
  --shadow-sm:  0 1px 2px rgba(15, 20, 25, 0.06), 0 2px 6px rgba(15, 20, 25, 0.04);
  --shadow-md:  0 6px 18px rgba(15, 20, 25, 0.08), 0 2px 6px rgba(15, 20, 25, 0.04);
  --shadow-lg:  0 20px 48px rgba(15, 20, 25, 0.12);

  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-disp:  'Fraunces', Georgia, serif;

  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-disp);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.005em; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  margin: 0 0 .7rem;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .85em 1.4em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-decoration: none;
  font-family: inherit;
}
.btn-lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--red-deep);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: #fff;
  text-decoration: none;
}
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  text-decoration: none;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.96rem;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: .55em 1.1em;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--red); }

/* mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 38px; height: 38px;
  padding: 9px 8px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: .5rem 1.25rem 1.1rem;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-nav a {
  padding: .8rem 0;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-cta { color: var(--red) !important; font-weight: 600 !important; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a0509 0%, #2a0a12 45%, #3a0f1a 100%);
  color: #fff;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4.5rem, 10vw, 8rem);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .9;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 400px at 15% 20%, rgba(200,16,46,0.25), transparent 60%),
    radial-gradient(800px 500px at 85% 30%, rgba(31,95,58,0.18), transparent 60%);
}
.lights-svg {
  position: absolute;
  top: 4%;
  left: 0;
  width: 100%;
  height: 100px;
}
.hero-inner { position: relative; max-width: 860px; }
.hero .eyebrow { color: #ffc9c2; }
.hero-title {
  color: #fff;
  margin-bottom: 1.2rem;
}
.hero-title .accent {
  color: #ffb9bd;
  font-style: italic;
}
.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.12rem;
  max-width: 640px;
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.2rem;
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.6rem;
  color: rgba(255,255,255,0.78);
  font-size: 0.94rem;
}
.hero-bullets li { white-space: nowrap; }

/* tiny twinkling bulbs (generated in JS) */
.bulb { animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.3rem 0;
  text-align: center;
}
.trust-grid > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-grid strong {
  font-family: var(--font-disp);
  font-size: 1.5rem;
  color: var(--red);
}
.trust-grid span {
  font-size: 0.84rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.section-alt {
  background: var(--cream);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head .lede {
  color: var(--muted);
  font-size: 1.06rem;
}

/* =========================================================
   GRIDS / CARDS
   ========================================================= */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem 1.6rem;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d7d1c6;
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff5f3;
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; color: var(--ink-soft); }

.also {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  margin-top: 2rem;
  padding: 1.1rem 1.4rem;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.96rem;
}
.also-label { color: var(--red); font-weight: 600; }

/* WHY US grid */
.whys .why {
  padding: 1.5rem 0 0;
  border-top: 2px solid var(--ink);
}
.whys .why h3 { color: var(--ink); margin-bottom: .35rem; }
.whys .why p { color: var(--ink-soft); margin: 0; }

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.about-card h3 { margin-bottom: 1rem; }
.about-card ul { list-style: none; padding: 0; margin: 0; }
.about-card li {
  padding: .65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.about-card li:last-child { border-bottom: none; }
.about-card strong { color: var(--red); font-family: var(--font-disp); font-size: 1.1rem; margin-right: .4em; }

/* PRICING */
.pricing .price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem 1.8rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing .price-card.featured {
  border-color: var(--red);
  box-shadow: 0 10px 28px rgba(200,16,46,0.12);
  transform: translateY(-6px);
}
.pricing .badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: .35em .9em;
  border-radius: 999px;
}
.pricing h3 { font-size: 1.25rem; }
.price-desc { color: var(--muted); margin-bottom: 1rem; }
.pricing ul { list-style: none; padding: 0; margin: 0 0 1.4rem; flex: 1; }
.pricing li {
  padding: .55rem 0 .55rem 1.6rem;
  position: relative;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.pricing li:last-child { border-bottom: none; }
.pricing li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--red);
  transform: translateY(-50%);
  opacity: 0.18;
}
.fine-print {
  text-align: center;
  color: var(--muted);
  font-size: 0.96rem;
  margin-top: 2rem;
}

/* TESTIMONIALS */
.quotes .quote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  position: relative;
}
.quotes blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-disp);
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.45;
}
.quotes figcaption {
  color: var(--muted);
  font-size: 0.92rem;
}
.placeholder-note {
  color: #b69e66;
  font-style: italic;
  font-size: 0.85rem;
  margin-left: .3rem;
}

/* FAQ */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq { display: flex; flex-direction: column; gap: .6rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1.2rem;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.faq details[open] {
  border-color: #d7d1c6;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  font-weight: 600;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--red);
  transition: transform .15s ease;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  padding-bottom: 1rem;
  margin: 0;
  color: var(--ink-soft);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact-methods {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: flex; flex-direction: column; gap: .8rem;
}
.contact-methods li {
  display: flex; flex-direction: column;
  gap: .2rem;
  padding: .9rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-label {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.reveal-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--red);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.reveal-btn:hover { text-decoration: underline; }
.reveal-btn.revealed { color: var(--ink); text-decoration: none; }
.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--red);
  font: inherit;
  cursor: pointer;
}
.link-btn:hover { text-decoration: underline; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input[type=text],
.contact-form input[type=tel],
.contact-form input[type=email],
.contact-form textarea {
  width: 100%;
  padding: .8em 1em;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--cream);
  font: inherit;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
}
.hint { color: var(--muted); font-weight: 400; font-size: .84rem; }
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem .8rem;
  margin-top: .3rem;
}
.check {
  flex-direction: row !important;
  align-items: center;
  gap: .55rem !important;
  font-weight: 400 !important;
  font-size: .95rem !important;
  color: var(--ink-soft) !important;
  cursor: pointer;
}
.check input { margin: 0; accent-color: var(--red); }
.hp { position: absolute; left: -9999px; top: auto; height: 0; width: 0; overflow: hidden; }
.form-note { color: var(--muted); font-size: .84rem; margin: 0; text-align: center; }

.form-success {
  background: #f1f9f4;
  border: 1px solid #c3e6cf;
  color: #1f5f3a;
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 500;
}
.form-error {
  background: #fef2f3;
  border: 1px solid #f6c7cc;
  color: var(--red-deep);
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 500;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: #c7ccd1;
  padding: 3.5rem 0 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.2rem;
}
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-sub { color: #8f98a3; }
.footer-blurb {
  color: #8f98a3;
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 320px;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 .9rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.site-footer a {
  color: #c7ccd1;
}
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer .link-btn { color: #c7ccd1; }
.site-footer .link-btn:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #1f2730;
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  color: #6b7280;
  font-size: .82rem;
  text-align: center;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .site-header.open .mobile-nav { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .pricing .price-card.featured { transform: none; }
  .contact-form .row { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
