/* ============================================================
   LION PRO GARAGE DOORS, Ads Landing Page
   Consolidated shared + dynamic CSS for the GenerateBlocks build.
   Holds only what GB per-block css cannot: brand tokens, keyframes,
   marquee, gallery hover/overlay, brand greyscale, FAQ accordion,
   hero accents, sticky mobile call bar, reduced-motion guards.
   Per-block layout/spacing/colour/type lives in each GB block.
   Font-sizes in rem. No em/en dashes.
   Enqueue this on the landing page only.
   ============================================================ */

/* ---------- Brand tokens (referenced by GB blocks) ---------- */
:root {
  --lp-ink:      #16181d;
  --lp-ink-2:    #20232b;
  --lp-ink-3:    #2c3038;
  --lp-slate:    #4a4f5a;
  --lp-slate-2:  #6b7280;
  --lp-line:     #e6e4df;
  --lp-paper:    #fafaf8;
  --lp-paper-2:  #f1f0ec;
  --lp-white:    #ffffff;
  --lp-red:      #dc2626;
  --lp-red-700:  #b91c1c;
  --lp-red-100:  #fdecec;
  --lp-gold:     #c9a227;
  --lp-radius:   1.4rem;
  --lp-radius-sm:1rem;
  --lp-shadow-sm: 0 .1rem .2rem rgba(22,24,29,.06), 0 .2rem .6rem rgba(22,24,29,.05);
  --lp-shadow-md: 0 1.2rem 3rem rgba(22,24,29,.10), 0 .3rem 1rem rgba(22,24,29,.06);
  --lp-shadow-lg: 0 3rem 7rem rgba(22,24,29,.22);
  --lp-ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Signature seam motif ---------- */
.lp-seam {
  height: .4rem;
  width: 100%;
  max-width: 6rem;
  background: linear-gradient(90deg, var(--lp-red) 0 50%, var(--lp-ink) 50% 100%);
  border-radius: 4rem;
}

/* ---------- Hero headline accent (red word + seam underline) ---------- */
.lp-accent {
  color: var(--lp-red);
  position: relative;
  white-space: nowrap;
}
.lp-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.4rem;
  height: .5rem;
  background: linear-gradient(90deg, var(--lp-red) 0 60%, var(--lp-ink) 60% 100%);
  border-radius: 4rem;
}
.lp-accent-soft { color: #ff7a7a; }

/* ---------- Live "available now" dot (hero pill) ---------- */
.lp-live-dot {
  position: relative;
  width: 1rem;
  height: 1rem;
  flex: none;
  display: inline-block;
}
.lp-live-dot::before,
.lp-live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--lp-red);
}
.lp-live-dot::after { animation: lp-ping 1.8s var(--lp-ease) infinite; }
@keyframes lp-ping {
  0%   { transform: scale(1);   opacity: .7; }
  80%, 100% { transform: scale(2.6); opacity: 0; }
}

/* ---------- Eyebrow tick before label ---------- */
.lp-eyebrow::before {
  content: "";
  width: 2.8rem;
  height: .3rem;
  background: linear-gradient(90deg, var(--lp-red) 0 55%, var(--lp-ink) 55% 100%);
  border-radius: 4rem;
  flex: none;
  display: inline-block;
}

/* ============================================================
   REPAIRS MARQUEE (auto-sliding row, pause on hover)
   ============================================================ */
.lp-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4rem, #000 calc(100% - 4rem), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 4rem, #000 calc(100% - 4rem), transparent 100%);
}
.lp-marquee-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  padding-block: 1rem;
  animation: lp-marquee 36s linear infinite;
  will-change: transform;
}
.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }
@keyframes lp-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   GALLERY (hover zoom + persistent overlay labels)
   ============================================================ */
.lp-gitem { position: relative; overflow: hidden; }
.lp-gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--lp-ease);
}
.lp-gitem:hover img { transform: scale(1.08); }
.lp-gitem::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(22,24,29,.62) 100%);
  opacity: .55;
  transition: opacity .25s var(--lp-ease);
  pointer-events: none;
}
.lp-gitem:hover::after { opacity: 1; }
/* mono caption (bottom) */
.lp-gcap {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .8rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}
.lp-gcap .lp-bullet {
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: var(--lp-red);
  flex: none;
}
/* handwritten script tag (top) */
.lp-gtag {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: #fff;
  transform: rotate(-5deg);
  text-shadow: 0 .2rem .8rem rgba(0,0,0,.5);
}
.lp-gtag::before {
  content: "";
  position: absolute;
  left: -.4rem;
  right: -.4rem;
  bottom: -.3rem;
  height: .3rem;
  background: var(--lp-red);
  border-radius: 4rem;
  transform: rotate(.5deg);
}

/* ============================================================
   BRAND TILES (greyscale to colour on hover)
   ============================================================ */
.lp-brand-tile img {
  filter: grayscale(1);
  opacity: .66;
  transition: filter .2s var(--lp-ease), opacity .2s var(--lp-ease);
}
.lp-brand-tile:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ============================================================
   HOW IT WORKS (dotted connecting track behind the steps)
   ============================================================ */
.lp-steps { position: relative; }
.lp-steps::before {
  content: "";
  position: absolute;
  top: 3.4rem;
  left: 12%;
  right: 12%;
  height: .2rem;
  background: repeating-linear-gradient(90deg, var(--lp-line) 0 1.2rem, transparent 1.2rem 2.4rem);
  z-index: 0;
}
@media (max-width: 860px) {
  .lp-steps::before { display: none; }
}

/* ============================================================
   FAQ ACCORDION (native details/summary, no JS)
   ============================================================ */
.lp-faq-item {
  border: .1rem solid var(--lp-line);
  border-radius: var(--lp-radius);
  overflow: hidden;
  background: var(--lp-paper);
  transition: border-color .2s var(--lp-ease), box-shadow .2s var(--lp-ease), background-color .2s var(--lp-ease);
}
.lp-faq-item[open] {
  border-color: rgba(220,38,38,.35);
  box-shadow: var(--lp-shadow-md);
  background: var(--lp-white);
}
.lp-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 2.2rem 2.4rem;
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 2vw, 1.95rem);
  color: var(--lp-ink);
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item .lp-pm {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: .15rem solid var(--lp-line);
  display: grid;
  place-items: center;
  flex: none;
  transition: transform .25s var(--lp-ease), background-color .2s var(--lp-ease), border-color .2s var(--lp-ease);
}
.lp-faq-item .lp-pm svg { width: 2rem; height: 2rem; color: var(--lp-red); }
.lp-faq-item[open] .lp-pm {
  background: var(--lp-red);
  border-color: var(--lp-red);
  transform: rotate(45deg);
}
.lp-faq-item[open] .lp-pm svg { color: #fff; }
.lp-faq-item .lp-ans {
  padding: 0 2.4rem 2.4rem;
  color: var(--lp-slate);
  font-size: 1.6rem;
  line-height: 1.7;
}

/* ============================================================
   STICKY MOBILE CALL BAR
   ============================================================ */
.lp-sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: none;
  padding: 1rem 1.4rem calc(1rem + env(safe-area-inset-bottom));
  background: rgba(22,24,29,.96);
  -webkit-backdrop-filter: blur(1rem);
          backdrop-filter: blur(1rem);
  border-top: .1rem solid var(--lp-ink-3);
}
.lp-sticky-call a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  min-height: 5.6rem;
  border-radius: 1.2rem;
  background: var(--lp-red);
  color: #fff;
  text-decoration: none;
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  box-shadow: 0 .6rem 1.8rem rgba(220,38,38,.5);
}
.lp-sticky-call a svg { width: 2.2rem; height: 2.2rem; }
@media (max-width: 760px) {
  .lp-sticky-call { display: block; }
  body { padding-bottom: 7.6rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .lp-marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
  .lp-live-dot::after { animation: none; }
  .lp-gitem img { transition: none; }
  .lp-gitem:hover img { transform: none; }
}

/* ============ Landing page: strip GeneratePress chrome, go full-bleed ============ */
.site-header, .top-bar, #site-navigation, .main-navigation, .gen-sidebar-nav,
.site-footer, .footer-widgets, .widget-area, #right-sidebar, #left-sidebar { display: none !important; }
.site-content { padding: 0 !important; margin: 0 !important; }
.site-content .container, .site-content .grid-container { max-width: none !important; width: 100% !important; padding: 0 !important; }
.content-area { width: 100% !important; max-width: none !important; float: none !important; }
article.page, .inside-article { padding: 0 !important; border: 0 !important; margin: 0 !important; box-shadow: none !important; }
.entry-content { margin: 0 !important; max-width: none !important; }
.entry-content > * { margin-block: 0; }
