/* =========================================================
   LANDING PAGE — extra styles for pages with <body class="lp">
   (bookkeeping-consultation.html). Loaded after style.css.
   Vivid gradient bands, wave edges, a sample dashboard in the hero,
   a scrolling software strip, cards with coloured tops, accordions.
   ========================================================= */
.lp {
  --lp-soft: #f2f8f7;
  --lp-grad: linear-gradient(120deg, var(--teal-deep) 0%, var(--teal) 48%, #17a68f 100%);
  --lp-glow: radial-gradient(60% 80% at 85% 0%, rgba(195,177,225,.45), transparent 60%), radial-gradient(45% 60% at 0% 100%, rgba(59,217,38,.22), transparent 65%);
  --lp-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23f2f8f7' d='M0 120V70C240 120 520 128 820 84 1080 46 1260 8 1440 0v120z'/%3E%3C/svg%3E");
}
.lp .lp-title { color: var(--teal); }
.lp .btn-sm { padding: .6em 1.2em; font-size: .9rem; }

/* ---------- Hero: light glow on top of the Page heroes colour, wave bottom ---------- */
.lp .hero-block:not(.hero--has-img)::before {
  width: auto; height: auto; inset: 0; border-radius: 0; right: 0; top: 0; background: var(--lp-glow);
}
.lp .hero-block::after {
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: -1px; top: auto;
  width: auto; height: clamp(50px, 8vw, 110px); border-radius: 0; background: var(--lp-wave) center bottom / 100% 100% no-repeat;
}
.lp .hero-grid { padding-bottom: calc(76px + clamp(40px, 6vw, 90px)); }
.lp .hero-main h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }

/* Sample dashboard (hero side panel) */
.lp-dash {
  position: relative; background: var(--white); color: var(--ink); border-radius: 18px; padding: 22px;
  box-shadow: 0 30px 70px rgba(0,0,0,.28); font-size: .85rem; line-height: 1.4;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .5s ease;
}
.lp-dash:hover { transform: none; }
.lp-dash-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.lp-dash-head b { font-family: var(--font-head); font-size: 1.05rem; }
.lp-dash-head span { font-size: .75rem; color: var(--muted); background: var(--lav-soft); padding: 3px 10px; border-radius: 999px; }
.lp-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-kpis > div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; }
.lp-kpis span { color: var(--muted); font-size: .75rem; }
.lp-kpis b { font-family: var(--font-head); font-size: 1.25rem; }
.lp-kpis em { font-style: normal; font-size: .75rem; font-weight: 600; color: #1f8f12; }
.lp-kpis em.due { color: var(--teal); }
.lp-chart { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin: 16px 0 12px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.lp-chart i { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(var(--teal), #17a68f); }
.lp-chart i:nth-child(3n) { background: linear-gradient(var(--green), var(--green-dark)); }
.lp-dash-foot { font-weight: 600; color: var(--teal); font-size: .82rem; }
.lp .hero-side { position: relative; padding-bottom: 20px; }
.lp-hero-photo {
  position: relative; z-index: 1; display: block; width: 52%; height: auto; margin: -64px -18px 0 auto;
  border-radius: 16px; border: 5px solid var(--white); box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.lp-float {
  position: absolute; z-index: 2; left: -18px; bottom: 44px; width: max-content; max-width: 46%;
  background: var(--white); color: var(--ink); border-radius: 14px; padding: 12px 18px; font-family: var(--font-head); font-weight: 600;
  box-shadow: 0 16px 40px rgba(0,0,0,.22); border-left: 5px solid var(--green);
}
.lp-float b { color: #1f8f12; margin-right: 4px; }

/* ---------- Software strip (scrolls sideways) ---------- */
.lp-logos { background: var(--lp-soft); padding: 8px 0 46px; text-align: center; overflow: hidden; }
.lp-logos > p { margin: 0 0 18px; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.lp-marquee { display: flex; width: max-content; animation: lp-scroll 38s linear infinite; }
.lp-marquee:hover { animation-play-state: paused; }
.lp-marquee ul { display: flex; gap: 64px; margin: 0; padding: 0 32px; list-style: none; }
.lp-marquee li { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: #9aa6a4; white-space: nowrap; }
@keyframes lp-scroll { to { transform: translateX(-50%); } }

/* ---------- Two-column sections ---------- */
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lp-intro { background: var(--lp-soft); padding-top: 40px; }
.lp-industries .lp-split { align-items: start; }

/* Photo with a floating stats bar */
.lp-visual { position: relative; padding-bottom: 40px; }
.lp-photo { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.lp-stats {
  position: absolute; left: 8%; right: -4%; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white); border: 3px solid var(--green); border-radius: 14px; box-shadow: var(--shadow-lg);
}
.lp-stats div { padding: 12px 16px; display: grid; }
.lp-stats div + div { border-left: 1px solid var(--line); }
.lp-stats span { font-size: .75rem; color: var(--muted); }
.lp-stats b { font-family: var(--font-head); font-size: 1.15rem; }

/* ---------- Gradient band: services, reasons, pills ---------- */
.lp-band { position: relative; color: var(--white); background: var(--lp-glow), var(--lp-grad); padding: 110px 0 90px; }
.lp-band::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: clamp(40px, 6vw, 80px);
  background: var(--lp-wave) center top / 100% 100% no-repeat; transform: scale(-1, -1);
}
.lp-band h2 { color: var(--white); }
.lp-band-title { text-align: center; margin: 90px auto 40px; max-width: 760px; }
.lp-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 34px; box-shadow: 0 20px 50px rgba(0,0,0,.18); display: flex; flex-direction: column; }
.lp-card p { color: var(--muted); flex: 1; }
.lp-card .btn { align-self: flex-start; }
.lp-feature { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 28px; border-top: 6px solid var(--teal); box-shadow: 0 14px 34px rgba(0,0,0,.14); }
.lp-feature:nth-child(3n+2) { border-top-color: var(--green); }
.lp-feature:nth-child(3n) { border-top-color: var(--lavender); }
.lp-feature h3 { color: var(--teal); font-size: 1.2rem; }
.lp-feature p { color: var(--muted); margin: 0; font-size: .96rem; }
.lp-feature .icon-badge { width: 46px; height: 46px; margin-bottom: 14px; }
.lp-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }
.lp-pills span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 12px; background: var(--teal-deep); border: 2px solid var(--green); font-family: var(--font-head); font-weight: 600; }
.lp-pills .ic { width: 20px; height: 20px; color: var(--green); }

/* ---------- Industries accordion ---------- */
.lp-photo-quote { margin-top: 30px; }
.lp-photo-quote .lp-photo { aspect-ratio: 805 / 470; object-fit: cover; }
.lp-photo-quote .lp-quote { margin: -60px 24px 0; }
.lp-quote { background: var(--lp-grad); color: var(--white); border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden; }
.lp-quote .ic { width: 36px; height: 36px; color: var(--green); margin-bottom: 12px; }
.lp-quote p { margin: 0; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.4; }
.lp-accordion details { border-bottom: 3px solid #bfe9df; }
.lp-accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--teal-deep); }
.lp-accordion summary::-webkit-details-marker { display: none; }
.lp-accordion summary::before { content: "+"; flex: 0 0 auto; width: 26px; text-align: center; font-size: 1.7rem; line-height: 1; color: var(--teal); font-weight: 500; }
.lp-accordion details[open] summary::before { content: "–"; }
.lp-accordion details > div { padding: 0 0 22px 40px; }
.lp-accordion details > div p { margin-top: 0; color: var(--muted); font-size: 1.05rem; }

/* ---------- Reviews (Admin → Client stories) on the gradient ---------- */
.lp-reviews .section { background: var(--lp-glow), var(--lp-grad); }
.lp-reviews .section-head h2, .lp-reviews .section-head .lead { color: var(--white); }
.lp-reviews .eyebrow { background: rgba(0,0,0,.2); color: var(--white); }
.lp-reviews .testimonial { box-shadow: 0 20px 50px rgba(0,0,0,.18); }

/* ---------- Who we are ---------- */
.lp-facts { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 16px; }
.lp-facts li { padding: 4px 0 4px 18px; border-left: 4px solid var(--teal); font-size: 1.05rem; }
.lp-facts li:nth-child(2) { border-color: var(--green); }
.lp-facts li:nth-child(3) { border-color: var(--lavender); }
.lp-facts li:nth-child(4) { border-color: #17a68f; }
.team-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.team-mosaic img, .team-mosaic span { width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover; }
.team-mosaic span { display: grid; place-items: center; background: var(--teal); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; }
.team-mosaic span:nth-child(3n+2) { background: var(--lav-mid); color: var(--teal-deep); }
.team-mosaic span:nth-child(3n) { background: var(--teal-deep); color: var(--green); }

/* ---------- FAQ with a coloured edge ---------- */
.lp-faq details { border-left: 5px solid var(--teal); background: var(--lp-soft); }
.lp-faq details:nth-child(even) { border-left-color: var(--green); }

/* ---------- Final call to action ---------- */
.lp-final { position: relative; text-align: center; color: var(--white); background: var(--lp-glow), var(--lp-grad); padding: calc(70px + clamp(40px, 6vw, 80px)) 0 90px; }
.lp-final::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: clamp(40px, 6vw, 80px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 120V70C240 120 520 128 820 84 1080 46 1260 8 1440 0v120z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
  transform: scale(-1, -1);
}
.lp-final h2 { color: var(--white); max-width: 760px; margin: 0 auto .4em; }
.lp-final p { max-width: 640px; margin: 0 auto 1.6em; color: #d8efeb; font-size: 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .lp-split { grid-template-columns: 1fr; gap: 40px; }
  .lp-dash { transform: none; }
  .lp-hero-photo { margin-right: 0; }
  .lp-float { left: 0; }
  .lp-band-title { margin-top: 64px; }
}
@media (max-width: 640px) {
  .lp-band { padding: 80px 0 64px; }
  .lp-card, .lp-feature { padding: 24px; }
  .lp-kpis b { font-size: 1.05rem; }
  .lp-stats { position: relative; z-index: 1; left: auto; right: auto; margin: -20px 10px 0; grid-template-columns: 1fr 1fr 1fr; }
  .lp-stats div { padding: 10px; }
  .lp-stats b { font-size: .95rem; }
  .lp-visual { padding-bottom: 0; }
  .lp-hero-photo { width: 64%; margin-top: -40px; }
  .lp-float { bottom: 30px; max-width: 48%; padding: 10px 12px; font-size: .85rem; }
  .lp-photo-quote .lp-quote { margin: -40px 12px 0; padding: 22px; }
  .lp-quote p { font-size: 1.1rem; }
  .lp-marquee li { font-size: 1.1rem; }
  .lp-accordion details > div { padding-left: 0; }
  .team-mosaic { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .team-mosaic span { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .lp-marquee ul[aria-hidden] { display: none; }
  .lp-marquee ul { flex-wrap: wrap; justify-content: center; gap: 16px 40px; }
  .lp-dash { transform: none; transition: none; }
}
