/**
 * Page Builder Theme Classes
 * These CSS classes are used by the page builder renderer output.
 * Theme CSS custom properties (--lp-*) are set per-site by the compiled theme.
 * This file provides the structural definitions and sensible defaults.
 */

/* ── Theme Custom Property Defaults ────────────────────────── */
:root {
  --lp-primary: #435071;
  --lp-button: #3F4C6C;
  --lp-accent: #B01D18;
  --lp-link: #435071;
  --lp-header-bg: #ffffff;
  --lp-footer-bg: #333333;
  --lp-page-bg: #ffffff;
  --lp-card-bg: #ffffff;
  --lp-heading-color: #212529;
  --lp-body-color: #333333;
  --lp-heading-font: 'Inter', sans-serif;
  --lp-body-font: 'Inter', sans-serif;
  --lp-border-radius: 8px;
  --lp-btn-radius: 6px;
  --lp-card-radius: 12px;
  --lp-nav-bg: var(--lp-primary);
  --lp-nav-text: #ffffff;
  --lp-btn-hover: var(--lp-accent);
  /* Look and feel (theme page): defaults keep the original look */
  --lp-shadow: none;
  --lp-shadow-hover: none;
  --lp-space: 1;
}

/* ── Container ─────────────────────────────────────────────── */
.lp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.lp-container-full {
  width: 100%;
  padding: 0;
}

/* ── Row ───────────────────────────────────────────────────── */
.lp-row {
  width: 100%;
}

/* ── Column Grid ───────────────────────────────────────────── */
.lp-columns {
  display: grid;
  gap: 20px;
}

.lp-grid-1 { grid-template-columns: 1fr; }
.lp-grid-2 { grid-template-columns: 1fr 1fr; }
.lp-grid-1-2 { grid-template-columns: 1fr 2fr; }
.lp-grid-2-1 { grid-template-columns: 2fr 1fr; }
.lp-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.lp-grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

.lp-col {
  min-height: 1px;
  min-width: 0; /* let wide content (tables) scroll inside the column instead of widening the page */
}

@media (max-width: 768px) {
  .lp-columns {
    grid-template-columns: 1fr !important;
  }
}

/* ── Spacing ───────────────────────────────────────────────── */
/* Scaled by the theme's spacing setting (--lp-space: compact 0.75, normal 1, airy 1.35) */
.lp-spacing-xs { padding-top: calc(8px * var(--lp-space)); padding-bottom: calc(8px * var(--lp-space)); }
.lp-spacing-sm { padding-top: calc(16px * var(--lp-space)); padding-bottom: calc(16px * var(--lp-space)); }
.lp-spacing-md { padding-top: calc(32px * var(--lp-space)); padding-bottom: calc(32px * var(--lp-space)); }
.lp-spacing-lg { padding-top: calc(64px * var(--lp-space)); padding-bottom: calc(64px * var(--lp-space)); }
.lp-spacing-xl { padding-top: calc(96px * var(--lp-space)); padding-bottom: calc(96px * var(--lp-space)); }

/* ── Background Variants ───────────────────────────────────── */
/* Override Bootstrap bg-* to use theme colors */
.builder-row-content.bg-primary,
.lp-row.bg-primary   { background-color: var(--lp-primary) !important; color: #fff; }
.builder-row-content.bg-dark,
.lp-row.bg-dark       { background-color: #212529 !important; color: #fff; }
.builder-row-content.bg-light,
.lp-row.bg-light      { background-color: #f8f9fa !important; }
.builder-row-content.bg-white,
.lp-row.bg-white      { background-color: #ffffff !important; }
.builder-row-content.bg-accent,
.lp-row.bg-accent     { background-color: var(--lp-accent) !important; color: #fff; }

.bg-accent {
  background-color: var(--lp-accent) !important;
  color: #fff;
}

/* ── Text Component ────────────────────────────────────────── */
.lp-text {
  font-family: var(--lp-body-font);
  color: var(--lp-body-color);
  line-height: 1.6;
}

.lp-text h1, .lp-text h2, .lp-text h3, .lp-text h4, .lp-text h5, .lp-text h6 {
  font-family: var(--lp-heading-font);
  color: var(--lp-heading-color);
}

/* ── Hero ──────────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.lp-hero-sm { min-height: 200px; }
.lp-hero-md { min-height: 400px; }
.lp-hero-lg { min-height: 600px; }
.lp-hero-xl { min-height: 800px; }
.lp-hero-full { min-height: 100vh; }

.lp-hero-overlay {
  position: absolute;
  inset: 0;
}

.lp-overlay-light { background: rgba(0, 0, 0, 0.2); }
.lp-overlay-medium { background: rgba(0, 0, 0, 0.45); }
.lp-overlay-heavy { background: rgba(0, 0, 0, 0.7); }

.lp-hero-content {
  position: relative;
  z-index: 1;
  padding: 40px;
  max-width: 800px;
}

/* ── Divider ───────────────────────────────────────────────── */
.lp-divider {
  border: 0;
  margin: 0 auto;
}

.lp-divider-full { width: 100%; }
.lp-divider-75 { width: 75%; }
.lp-divider-50 { width: 50%; }
.lp-divider-25 { width: 25%; }

.lp-divider-light { border-top: 1px solid #dee2e6; }
.lp-divider-medium { border-top: 2px solid #dee2e6; }
.lp-divider-heavy { border-top: 4px solid #dee2e6; }

.lp-divider-dashed { border-top-style: dashed !important; }
.lp-divider-dotted { border-top-style: dotted !important; }

/* ── Spacer ────────────────────────────────────────────────── */
.lp-spacer-xs { height: 16px; }
.lp-spacer-sm { height: 24px; }
.lp-spacer-md { height: 40px; }
.lp-spacer-lg { height: 64px; }
.lp-spacer-xl { height: 96px; }

/* ── Map ───────────────────────────────────────────────────── */
.lp-map {
  position: relative;
  overflow: hidden;
  border-radius: var(--lp-border-radius);
}

.lp-map-sm { height: 200px; }
.lp-map-md { height: 300px; }
.lp-map-lg { height: 450px; }

.lp-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Testimonial ───────────────────────────────────────────── */
.lp-testimonial {
  text-align: center;
}

.lp-testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
  font-family: var(--lp-body-font);
}

.lp-testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.lp-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.lp-testimonial-name {
  font-weight: 600;
  font-family: var(--lp-heading-font);
}

.lp-testimonial-title {
  font-size: 0.85rem;
  color: #6c757d;
}

.lp-stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* ── Form Embed ────────────────────────────────────────────── */
.lp-form-embed {
  border-radius: var(--lp-border-radius);
}

/* ── CTA Banner ────────────────────────────────────────────── */
.lp-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 48px 24px;
  border-radius: var(--lp-border-radius);
  font-family: var(--lp-body-font);
}
.lp-cta.text-start { align-items: flex-start; }
.lp-cta.text-end { align-items: flex-end; }
.lp-cta.bg-primary { background-color: var(--lp-primary) !important; }
.lp-cta.bg-accent { background-color: var(--lp-accent) !important; }
.lp-cta.bg-dark { background-color: #212529 !important; }
.lp-cta.bg-light { background-color: #f8f9fa !important; }
.lp-cta.bg-white { background-color: #ffffff !important; }
.lp-cta.text-white, .lp-cta.text-white h1, .lp-cta.text-white h2, .lp-cta.text-white h3, .lp-cta.text-white p { color: #fff; }
.lp-cta.text-dark, .lp-cta.text-dark p { color: var(--lp-body-color); }
.lp-cta.text-dark h1, .lp-cta.text-dark h2, .lp-cta.text-dark h3 { color: var(--lp-heading-color); }
.lp-cta-content { max-width: 720px; }
.lp-cta-content h1, .lp-cta-content h2, .lp-cta-content h3 { font-family: var(--lp-heading-font); margin-bottom: 8px; }
.lp-cta-content p:last-child { margin-bottom: 0; }

/* ── Services Grid ─────────────────────────────────────────── */
.lp-services {
  display: grid;
  gap: 20px;
}
.lp-services-2 { grid-template-columns: repeat(2, 1fr); }
.lp-services-3 { grid-template-columns: repeat(3, 1fr); }
.lp-services-4 { grid-template-columns: repeat(4, 1fr); }

.lp-service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid #e9ecef;
  border-radius: var(--lp-card-radius);
  background-color: var(--lp-card-bg);
  font-family: var(--lp-body-font);
  box-shadow: var(--lp-shadow);
  transition: box-shadow .2s ease;
}
.lp-service-card:hover { box-shadow: var(--lp-shadow-hover); }
.lp-service-card.bg-light { background-color: #f8f9fa !important; }
.lp-service-card.bg-white { background-color: #ffffff !important; }
/* Optional icon above the title (item icon, Bootstrap Icons) */
.lp-service-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--lp-primary); color: #fff; font-size: 1.6rem; line-height: 1;
}
.lp-service-title {
  margin: 0;
  font-family: var(--lp-heading-font);
  font-size: 1.2rem;
  color: var(--lp-heading-color);
}
.lp-service-text { margin: 0; flex: 1; line-height: 1.5; color: var(--lp-body-color); }
.lp-service-link { font-weight: 600; color: var(--lp-link); text-decoration: none; }
.lp-service-link::after { content: ' \2192'; }
.lp-service-link:hover { text-decoration: underline; }

/* ── Trust Badges ──────────────────────────────────────────── */
.lp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--lp-body-font);
}
.lp-badges.text-center { justify-content: center; }
.lp-badges.text-end { justify-content: flex-end; }
.lp-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #e9ecef;
  border-radius: 999px;
  background: #f8f9fa;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lp-heading-color);
}
.lp-badge-check { color: var(--lp-primary); font-weight: 700; }

/* ── Service Areas ─────────────────────────────────────────── */
.lp-areas { font-family: var(--lp-body-font); color: var(--lp-body-color); }
.lp-areas-intro { margin-bottom: 16px; }
.lp-areas-intro h1, .lp-areas-intro h2, .lp-areas-intro h3 { font-family: var(--lp-heading-font); color: var(--lp-heading-color); }
.lp-areas-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px 20px;
}
.lp-areas-2 { grid-template-columns: repeat(2, 1fr); }
.lp-areas-3 { grid-template-columns: repeat(3, 1fr); }
.lp-areas-4 { grid-template-columns: repeat(4, 1fr); }
.lp-areas-list li {
  padding: 8px 12px;
  border-radius: var(--lp-border-radius);
  background: #f8f9fa;
}
.lp-areas-list li::before {
  content: '\25CF';
  margin-right: 8px;
  font-size: 0.7rem;
  vertical-align: middle;
  color: var(--lp-accent);
}

@media (max-width: 768px) {
  .lp-services { grid-template-columns: 1fr !important; }
  .lp-areas-list { grid-template-columns: 1fr 1fr !important; }
}

/* ── Bootstrap overrides: theme colors win over Bootstrap's palette ── */
.lp-hero.bg-primary, .lp-text.bg-primary, .lp-testimonial.bg-primary, .lp-form-embed.bg-primary { background-color: var(--lp-primary) !important; color: #fff; }
.lp-hero.bg-accent { background-color: var(--lp-accent) !important; color: #fff; }
.lp-hero.bg-dark, .lp-text.bg-dark, .lp-testimonial.bg-dark, .lp-form-embed.bg-dark { background-color: #212529 !important; color: #fff; }
.lp-hero.text-white h1, .lp-hero.text-white h2, .lp-hero.text-white h3, .lp-hero.text-white p,
.lp-text.bg-primary h1, .lp-text.bg-primary h2, .lp-text.bg-primary h3, .lp-text.bg-dark h1, .lp-text.bg-dark h2, .lp-text.bg-dark h3 { color: #fff; }
.lp-hero.text-dark h1, .lp-hero.text-dark h2, .lp-hero.text-dark h3 { color: var(--lp-heading-color); }
.lp-hero.text-primary h1, .lp-hero.text-primary h2, .lp-hero.text-primary h3, .lp-hero.text-primary p { color: var(--lp-primary); }
.lp-hero h1, .lp-hero h2, .lp-hero h3 { font-family: var(--lp-heading-font); }
.lp-hero p { font-family: var(--lp-body-font); }
.btn { border-radius: var(--lp-btn-radius); font-family: var(--lp-body-font); }
.btn-primary { background-color: var(--lp-button); border-color: var(--lp-button); }
.btn-primary:hover, .btn-primary:focus { background-color: var(--lp-btn-hover); border-color: var(--lp-btn-hover); }
.btn-outline-primary { color: var(--lp-button); border-color: var(--lp-button); }
.btn-outline-primary:hover { background-color: var(--lp-button); border-color: var(--lp-button); }
.btn-danger { background-color: var(--lp-accent); border-color: var(--lp-accent); }
.btn-outline-danger { color: var(--lp-accent); border-color: var(--lp-accent); }
.btn-outline-danger:hover { background-color: var(--lp-accent); border-color: var(--lp-accent); }
body { background: var(--lp-page-bg); font-family: var(--lp-body-font); color: var(--lp-body-color); }

/* ── FAQ ───────────────────────────────────────────────────── */
.lp-faq { font-family: var(--lp-body-font); color: var(--lp-body-color); }
.lp-faq.bg-light { background-color: #f8f9fa !important; padding: 24px; border-radius: var(--lp-card-radius); }
.lp-faq.bg-white { background-color: #ffffff !important; padding: 24px; border-radius: var(--lp-card-radius); }
.lp-faq-title { font-family: var(--lp-heading-font); color: var(--lp-heading-color); margin: 0 0 16px; }
.lp-faq-list { display: flex; flex-direction: column; gap: 10px; }
.lp-faq-item {
  border: 1px solid #e3e8ee;
  border-radius: var(--lp-border-radius);
  background: var(--lp-card-bg);
}
.lp-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--lp-heading-color);
}
.lp-faq-q::-webkit-details-marker { display: none; }
.lp-faq-q::after {
  content: '+';
  flex: 0 0 auto;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--lp-primary);
}
.lp-faq-item[open] > .lp-faq-q::after { content: '\2212'; }
.lp-faq-a { padding: 0 18px 16px; line-height: 1.6; }
.lp-faq-a > :last-child { margin-bottom: 0; }
.lp-faq-placeholder { border: 1px dashed #ced4da; border-radius: var(--lp-border-radius); }

/* ── Reviews ───────────────────────────────────────────────── */
.lp-reviews { font-family: var(--lp-body-font); color: var(--lp-body-color); }
.lp-reviews.bg-light { background-color: #f8f9fa !important; padding: 24px; border-radius: var(--lp-card-radius); }
.lp-reviews.bg-white { background-color: #ffffff !important; padding: 24px; border-radius: var(--lp-card-radius); }
.lp-reviews-title { font-family: var(--lp-heading-font); color: var(--lp-heading-color); margin: 0 0 10px; }
.lp-reviews-aggregate { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 18px; font-size: 1rem; }
.lp-reviews-aggregate .lp-stars { margin: 0; }
.lp-reviews-aggregate strong { font-size: 1.15rem; color: var(--lp-heading-color); }
.lp-reviews-link { font-weight: 600; color: var(--lp-link); text-decoration: none; }
.lp-reviews-link::after { content: ' \2192'; }
.lp-reviews-link:hover { text-decoration: underline; }
.lp-reviews-items { display: grid; gap: 16px; }
.lp-reviews-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.lp-reviews-list-layout { grid-template-columns: 1fr; }
.lp-review {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid #e9ecef;
  border-radius: var(--lp-card-radius);
  background: var(--lp-card-bg);
  box-shadow: var(--lp-shadow);
}
.lp-review .lp-stars { margin: 0; }
.lp-review-body { margin: 0; flex: 1; font-style: normal; line-height: 1.6; }
.lp-review-body p { margin: 0 0 8px; }
.lp-review-body p:last-child { margin-bottom: 0; }
.lp-review-meta { display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; }
.lp-review-author { font-weight: 600; color: var(--lp-heading-color); }
.lp-review-detail { color: #6c757d; font-size: 0.82rem; }
.lp-reviews-placeholder { border: 1px dashed #ced4da; border-radius: var(--lp-border-radius); }

/* ── Pricing table (published rates from the business profile) ── */
.lp-pricing { font-family: var(--lp-body-font); color: var(--lp-body-color); }
.lp-pricing.bg-light { background-color: #f8f9fa !important; padding: 24px; border-radius: var(--lp-card-radius); }
.lp-pricing.bg-white { background-color: #ffffff !important; padding: 24px; border-radius: var(--lp-card-radius); }
.lp-pricing-title { font-family: var(--lp-heading-font); color: var(--lp-heading-color); margin: 0 0 14px; }
.lp-pricing-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 18px; }
.lp-pricing-table { width: 100%; min-width: 420px; border-collapse: collapse; background: #fff; border: 1px solid #dee2e6; border-radius: var(--lp-card-radius); overflow: hidden; }
.lp-pricing-table th, .lp-pricing-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #dee2e6; }
.lp-pricing-table thead th { background: var(--lp-primary); color: #fff; font-family: var(--lp-heading-font); font-weight: 600; border-bottom: 0; }
.lp-pricing-table tbody th { font-weight: 600; color: var(--lp-heading-color); width: 50%; }
.lp-pricing-table tbody td { font-weight: 600; white-space: nowrap; }
.lp-pricing-table tbody tr:last-child th, .lp-pricing-table tbody tr:last-child td { border-bottom: 0; }
.lp-pricing-includes { display: block; margin-top: 4px; font-weight: 400; font-size: .875rem; color: var(--lp-body-color); opacity: .8; }
.lp-pricing-quoted td { font-weight: 400; white-space: normal; font-style: italic; }
.lp-pricing-policies { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lp-pricing-policies li { padding-left: 1.5em; position: relative; }
.lp-pricing-policies li::before { content: '\2713'; position: absolute; left: 0; color: var(--lp-accent); font-weight: 700; }
.lp-pricing-policies strong { color: var(--lp-heading-color); }
@media (max-width: 576px) {
  /* Phones: each rate becomes a card, so the emergency column is never off-screen */
  .lp-pricing-table { min-width: 0; border: 0; background: transparent; }
  .lp-pricing-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lp-pricing-table tbody, .lp-pricing-table tr, .lp-pricing-table th, .lp-pricing-table td, .lp-pricing-table tbody th { display: block; width: auto; }
  .lp-pricing-table tbody tr { background: #fff; border: 1px solid #dee2e6; border-radius: var(--lp-card-radius); margin-bottom: 10px; padding: 4px 0; }
  .lp-pricing-table tbody th, .lp-pricing-table tbody td, .lp-pricing-table tbody tr:last-child th, .lp-pricing-table tbody tr:last-child td { border-bottom: 0; padding: 6px 14px; }
  .lp-pricing-table td[data-label] { display: flex; justify-content: space-between; gap: 12px; white-space: normal; }
  .lp-pricing-table td[data-label]::before { content: attr(data-label); font-weight: 400; color: var(--lp-body-color); }
}

/* ── Gallery: grid and slider (no Bootstrap grid) ── */
.lp-gallery { --lp-gallery-gap: 16px; --lp-per-view: 3; }
.lp-gallery.lp-gap-none { --lp-gallery-gap: 0px; }
.lp-gallery.lp-gap-sm { --lp-gallery-gap: 8px; }
.lp-gallery.lp-gap-md { --lp-gallery-gap: 16px; }
.lp-gallery.lp-gap-lg { --lp-gallery-gap: 24px; }
.lp-gallery.lp-cols-2 { --lp-per-view: 2; }
.lp-gallery.lp-cols-3 { --lp-per-view: 3; }
.lp-gallery.lp-cols-4 { --lp-per-view: 4; }
.lp-gallery-grid { display: grid; grid-template-columns: repeat(var(--lp-per-view), minmax(0, 1fr)); gap: var(--lp-gallery-gap); }
.lp-gallery-item { display: block; overflow: hidden; border-radius: var(--lp-card-radius); background: #f1f3f5; }
.lp-gallery-item img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
a.lp-gallery-item { cursor: zoom-in; color: inherit; text-decoration: none; }
a.lp-gallery-item:hover img, a.lp-gallery-item:focus-visible img { transform: scale(1.03); }
/* Any slider ([data-lp-slider]): gallery slider, reviews carousel. --lp-per-view and --lp-slider-gap set per block */
.lp-slider { position: relative; --lp-slider-gap: 16px; }
.lp-gallery.lp-slider { --lp-slider-gap: var(--lp-gallery-gap); }
.lp-slider-track { position: relative; display: flex; align-items: stretch; gap: var(--lp-slider-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.lp-slider-track::-webkit-scrollbar { display: none; }
.lp-slider-track > * { flex: 0 0 calc((100% - (var(--lp-per-view) - 1) * var(--lp-slider-gap)) / var(--lp-per-view)); scroll-snap-align: start; }
.lp-slider-track:focus-visible { outline: 2px solid var(--lp-primary); outline-offset: 4px; }
.lp-slider-prev, .lp-slider-next { position: absolute; top: calc(50% - 22px); transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--lp-heading-color); font-size: 1.8rem; line-height: 1; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); cursor: pointer; z-index: 2; }
.lp-slider-prev { left: 8px; }
.lp-slider-next { right: 8px; }
.lp-slider-prev:disabled, .lp-slider-next:disabled { opacity: 0; pointer-events: none; }
.lp-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.lp-slider-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #ced4da; cursor: pointer; }
.lp-slider-dots button[aria-current="true"] { background: var(--lp-primary); transform: scale(1.25); }
@media (max-width: 768px) {
  .lp-gallery-grid.lp-cols-3, .lp-gallery-grid.lp-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-gallery.lp-gallery-slider { --lp-per-view: 1.2; }
}

/* ── Component looks (BuilderSchema::STYLES; site default on the theme page) ── */

/* Hero: split, image beside the text (stacked on phones) */
.lp-hero--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; justify-content: stretch; gap: 32px; padding: 32px; }
.lp-hero--split:not(:has(.lp-hero-media)) { grid-template-columns: minmax(0, 1fr); }
.lp-hero--split .lp-hero-content { padding: 8px; max-width: none; }
.lp-hero--split .lp-hero-media { align-self: stretch; display: flex; }
.lp-hero--split .lp-hero-media img { width: 100%; height: 100%; min-height: 240px; max-height: 560px; object-fit: cover; border-radius: var(--lp-card-radius); box-shadow: var(--lp-shadow); }
/* Hero: minimal, a headline on the page background */
.lp-hero--minimal { display: block; min-height: 0; background: none; border-bottom: 1px solid #e9ecef; }
.lp-hero--minimal .lp-hero-content { padding: 24px 0; max-width: 900px; }
.lp-hero--minimal.text-center .lp-hero-content { margin: 0 auto; }
.lp-hero--minimal h1, .lp-hero--minimal h2 { color: var(--lp-heading-color); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .5rem; }
.lp-hero--minimal p { color: var(--lp-body-color); font-size: 1.15rem; }
@media (max-width: 768px) {
  .lp-hero--split { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 16px; }
  .lp-hero--split .lp-hero-media { order: -1; }
  .lp-hero--split .lp-hero-media img { max-height: 280px; }
}

/* Reviews: large quote */
.lp-reviews-quotes { grid-template-columns: 1fr; gap: 40px; }
.lp-reviews--quote .lp-reviews-title, .lp-reviews--quote .lp-reviews-aggregate { text-align: center; justify-content: center; }
.lp-reviews--quote .lp-review { max-width: 780px; margin: 0 auto; padding: 0; border: 0; background: transparent; box-shadow: none; align-items: center; text-align: center; }
.lp-reviews--quote .lp-review-body { font-family: var(--lp-heading-font); font-size: 1.35rem; line-height: 1.55; color: var(--lp-heading-color); }
.lp-reviews--quote .lp-review-body::before { content: '\201C'; display: block; font-family: Georgia, serif; font-size: 4.5rem; line-height: .8; height: .45em; color: var(--lp-accent); }
.lp-reviews--quote .lp-review-meta { justify-content: center; }
/* Reviews: minimal list */
.lp-reviews--minimal .lp-review { padding: 18px 0; border: 0; border-bottom: 1px solid #e9ecef; border-radius: 0; background: transparent; box-shadow: none; }
.lp-reviews--minimal .lp-review:last-child { border-bottom: 0; }
/* Reviews: carousel of cards */
.lp-reviews-items.lp-slider { display: block; --lp-per-view: 3; }
/* Controls sit in a row under the cards, so the arrows never cover review text */
.lp-reviews-items.lp-slider { padding-bottom: 52px; }
.lp-reviews-items.lp-slider .lp-slider-prev, .lp-reviews-items.lp-slider .lp-slider-next { top: auto; bottom: 0; transform: none; width: 40px; height: 40px; border: 1px solid #dee2e6; box-shadow: none; }
.lp-reviews-items.lp-slider .lp-slider-prev { left: 0; }
.lp-reviews-items.lp-slider .lp-slider-next { right: 0; }
.lp-reviews-items.lp-slider .lp-slider-prev:disabled, .lp-reviews-items.lp-slider .lp-slider-next:disabled { opacity: .35; }
.lp-reviews-items.lp-slider .lp-slider-dots { position: absolute; left: 50px; right: 50px; bottom: 15px; margin: 0; }
@media (max-width: 992px) { .lp-reviews-items.lp-slider { --lp-per-view: 2; } }
@media (max-width: 576px) { .lp-reviews-items.lp-slider { --lp-per-view: 1.15; } }

/* Gallery: natural shapes (masonry in a grid) */
.lp-gallery--natural .lp-gallery-item img { aspect-ratio: auto; height: auto; }
.lp-gallery-grid.lp-gallery--natural { display: block; columns: var(--lp-per-view); column-gap: var(--lp-gallery-gap); }
.lp-gallery-grid.lp-gallery--natural .lp-gallery-item { break-inside: avoid; margin-bottom: var(--lp-gallery-gap); }
.lp-gallery-slider.lp-gallery--natural .lp-slider-track { align-items: flex-start; }
/* Gallery: framed, a white mat and caption */
.lp-gallery--framed .lp-gallery-item { padding: 10px 10px 12px; border-radius: 4px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10); }
.lp-gallery--framed .lp-gallery-item img { height: auto; border-radius: 2px; }
.lp-gallery-caption { display: block; margin-top: 8px; font-size: .9rem; text-align: center; color: var(--lp-body-color); font-family: var(--lp-body-font); }
@media (max-width: 768px) { .lp-gallery-grid.lp-gallery--natural { columns: 2; } }

/* ══ Blocks added for the leadpointe.com build (Oct 2026) ══════════════════
   callout, steps, timeline, cost list, price card, return by source, sweep,
   plus looks for the services grid and call to action. "On dark" means inside
   a row (or block) with the primary, dark or accent background. */

/* Item grids: lp-n-N columns, two on tablets, one on phones */
.lp-n-1 { --lp-n: 1; } .lp-n-2 { --lp-n: 2; } .lp-n-3 { --lp-n: 3; }
.lp-n-4 { --lp-n: 4; } .lp-n-5 { --lp-n: 5; } .lp-n-6 { --lp-n: 6; }
.lp-callout, .lp-steps, .lp-timeline { display: grid; grid-template-columns: repeat(var(--lp-n, 3), minmax(0, 1fr)); gap: 24px; }
@media (max-width: 992px) { .lp-callout:not(.lp-n-1), .lp-steps, .lp-timeline--across { grid-template-columns: repeat(min(var(--lp-n, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 576px) { .lp-callout, .lp-steps, .lp-timeline { grid-template-columns: 1fr !important; } }

/* Short lists with check marks (item points, price card) */
.lp-points { list-style: none; padding: 0; margin: 12px 0 0; }
.lp-points li { position: relative; padding: 3px 0 3px 1.7em; }
.lp-points li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.15em; height: 1.15em; background: var(--lp-check-color, #2E9E5B);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/%3E%3C/svg%3E") center / contain no-repeat;
}
:is(.bg-primary, .bg-dark, .bg-accent, .lp-price-card--dark) .lp-points li::before { background: currentColor; }

/* ── Services grid looks ── */
.lp-services--tiles .lp-service-card { text-align: center; align-items: center; }
.lp-services--tiles .lp-service-icon { border-radius: 50%; }
.lp-services--tiles .lp-points { text-align: left; }
.lp-services--features .lp-service-card { padding: 0; border: 0; background: transparent !important; box-shadow: none; }
.lp-services--features .lp-service-icon { width: 72px; height: 72px; border-radius: 16px; font-size: 2rem; box-shadow: 0 10px 22px -10px var(--lp-primary); }
.lp-services--features .lp-service-card:nth-child(3n+2) .lp-service-icon { background: var(--lp-accent); box-shadow: 0 10px 22px -10px var(--lp-accent); }
.lp-services--features .lp-service-title { font-size: 1.35rem; margin-top: 6px; }
:is(.bg-primary, .bg-dark, .bg-accent) .lp-services--features :is(.lp-service-title, .lp-service-text) { color: inherit; }

/* ── Call to action: phone line, split look ── */
.lp-cta-phone { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--lp-heading-font); font-size: 1.5rem; font-weight: 600; color: inherit; text-decoration: none; }
.lp-cta-phone:hover { opacity: .85; color: inherit; }
.lp-cta--split { display: grid; grid-template-columns: 1fr 1fr; padding: 0; gap: 0; overflow: hidden; background: var(--lp-primary); color: #fff; align-items: stretch; }
.lp-cta--split .lp-cta-main { padding: 52px 48px 52px 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.lp-cta--split .lp-cta-content :is(h1, h2, h3, p) { color: #fff; }
.lp-cta--split .lp-cta-content p { opacity: .85; }
.lp-cta--split .lp-cta-phone { margin-top: 18px; }
.lp-cta--split .lp-cta-side { background: var(--lp-accent); clip-path: polygon(90px 0, 100% 0, 100% 100%, 0 100%); padding: 52px 40px 52px 120px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }
.lp-cta-slogan { margin: 0; font-family: var(--lp-heading-font); font-weight: 700; text-transform: uppercase; font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.35rem); line-height: 1.08; color: #fff; }
@media (max-width: 992px) {
  .lp-cta--split { grid-template-columns: 1fr; }
  .lp-cta--split .lp-cta-main { padding: 40px 24px; }
  .lp-cta--split .lp-cta-side { clip-path: none; padding: 36px 24px; }
}

/* ── Callout ── */
.lp-callout-item { text-align: center; }
.lp-callout-icon { font-size: 1.6rem; color: var(--lp-primary); margin-bottom: 6px; }
.lp-callout-big { font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.1; color: var(--lp-primary); }
.lp-callout-small { margin-top: 4px; font-size: .95rem; color: var(--lp-body-color); opacity: .85; }
.lp-callout--boxes .lp-callout-item { padding: 24px 16px; border-radius: var(--lp-card-radius); background: color-mix(in srgb, var(--lp-primary) 7%, transparent); }
.lp-callout--strip { gap: 0; }
.lp-callout--strip .lp-callout-item { padding: 8px 16px; }
.lp-callout--strip .lp-callout-item + .lp-callout-item { border-left: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.lp-callout--bold .lp-callout-item { padding: 26px 16px; border-radius: var(--lp-card-radius); background: var(--lp-primary); color: #fff; box-shadow: var(--lp-shadow); }
.lp-callout--bold .lp-callout-item:nth-child(3n+2) { background: var(--lp-accent); }
.lp-callout--bold :is(.lp-callout-big, .lp-callout-small, .lp-callout-icon) { color: #fff; }
.lp-callout--badge .lp-callout-item { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 12px 16px; border: 1px dashed #c6cdd8; border-radius: var(--lp-border-radius); background: color-mix(in srgb, #fff 70%, transparent); }
.lp-callout--badge .lp-callout-icon { display: none; }
.lp-callout--badge .lp-callout-big { flex: none; margin-top: 2px; padding: 3px 8px; border-radius: 4px; background: var(--lp-primary); color: #fff; font-family: var(--lp-body-font); font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1.3; }
.lp-callout--badge .lp-callout-small { margin: 0; font-size: .95rem; }
:is(.bg-primary, .bg-dark, .bg-accent) :is(.lp-callout--boxes, .lp-callout--strip) :is(.lp-callout-big, .lp-callout-small, .lp-callout-icon) { color: inherit; }
:is(.bg-primary, .bg-dark, .bg-accent) .lp-callout--boxes .lp-callout-item { background: rgba(255, 255, 255, .1); }
@media (max-width: 576px) { .lp-callout--strip .lp-callout-item + .lp-callout-item { border-left: 0; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); } }

/* ── Steps ── */
.lp-steps { list-style: none; margin: 0; padding: 0; }
.lp-step { position: relative; }
.lp-step-title { font-family: var(--lp-heading-font); font-size: 1.3rem; color: var(--lp-heading-color); margin: 0 0 4px; }
.lp-step-note { font-size: .9rem; font-weight: 600; opacity: .7; margin-bottom: 6px; }
.lp-step-text { margin: 0; line-height: 1.55; }
.lp-step-mark { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.lp-steps--numbered .lp-step { padding-left: 68px; }
.lp-steps--numbered .lp-step-mark { position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--lp-primary); color: #fff; font-family: var(--lp-heading-font); font-weight: 700; font-size: 1.35rem; }
.lp-steps--numbered .lp-step:nth-child(3n+2) .lp-step-mark { background: var(--lp-accent); }
.lp-steps--icons .lp-step-mark { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 14px; background: color-mix(in srgb, var(--lp-primary) 10%, transparent); color: var(--lp-primary); font-family: var(--lp-heading-font); font-weight: 700; font-size: 1.4rem; }
.lp-steps--band { gap: 0; }
.lp-steps--band .lp-step { display: flex; gap: 16px; align-items: flex-start; padding: 8px 24px; }
.lp-steps--band .lp-step:first-child { padding-left: 0; }
.lp-steps--band .lp-step + .lp-step { border-left: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.lp-steps--band .lp-step-mark { font-size: 2.2rem; line-height: 1; font-family: var(--lp-heading-font); font-weight: 700; margin-top: 2px; }
.lp-steps--band .lp-step-title { font-size: 1.4rem; }
.lp-steps--band .lp-step-text { font-size: .92rem; opacity: .85; line-height: 1.5; }
:is(.bg-primary, .bg-dark, .bg-accent) .lp-steps :is(.lp-step-title, .lp-step-text) { color: inherit; }
:is(.bg-primary, .bg-dark, .bg-accent) .lp-steps--icons .lp-step-mark { background: rgba(255, 255, 255, .14); color: #fff; }
@media (max-width: 992px) {
  .lp-steps--band .lp-step { padding: 16px 0; }
  .lp-steps--band .lp-step + .lp-step { border-left: 0; }
}

/* ── Timeline ── */
.lp-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.lp-tl-dot { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--lp-primary); color: #fff; font-family: var(--lp-heading-font); font-weight: 700; font-size: 1.35rem; }
.lp-tl-title { font-family: var(--lp-heading-font); font-size: 1.3rem; color: var(--lp-heading-color); margin: 0 0 2px; }
.lp-tl-note { font-size: .9rem; font-weight: 600; opacity: .7; }
.lp-tl-text { margin: 8px 0 0; line-height: 1.55; }
.lp-tl-body .lp-points { margin-top: 10px; font-size: .95rem; }
.lp-timeline--across::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 3px; background: color-mix(in srgb, currentColor 18%, transparent); }
.lp-timeline--across .lp-tl-dot { margin-bottom: 16px; }
.lp-timeline--down { grid-template-columns: 1fr !important; gap: 28px; }
.lp-timeline--down::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 3px; background: color-mix(in srgb, currentColor 18%, transparent); }
.lp-timeline--down .lp-tl-item { display: flex; gap: 20px; align-items: flex-start; }
.lp-timeline--down .lp-tl-body { padding-top: 12px; }
:is(.bg-primary, .bg-dark, .bg-accent) .lp-timeline .lp-tl-dot { background: #fff; color: var(--lp-primary); }
:is(.bg-primary, .bg-dark, .bg-accent) .lp-timeline :is(.lp-tl-title, .lp-tl-text) { color: inherit; }
@media (max-width: 768px) {
  .lp-timeline--across { grid-template-columns: 1fr !important; gap: 28px; }
  .lp-timeline--across::before { left: 27px; right: auto; top: 8px; bottom: 8px; width: 3px; height: auto; }
  .lp-timeline--across .lp-tl-item { display: flex; gap: 20px; align-items: flex-start; }
  .lp-timeline--across .lp-tl-dot { margin: 0; }
  .lp-timeline--across .lp-tl-body { padding-top: 12px; }
}

/* ── Cost list ── */
.lp-cost-list { list-style: none; margin: 0; padding: 0; }
.lp-cost-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid #e2e6ec; }
.lp-cost-list li:last-child { border-bottom: 0; }
.lp-cost-item { font-weight: 600; }
.lp-cost-item small { display: block; font-weight: 400; font-size: .88rem; opacity: .7; }
.lp-cost-amt { font-family: var(--lp-heading-font); font-weight: 600; font-size: 1.25rem; white-space: nowrap; text-align: right; color: var(--lp-heading-color); }
.lp-cost-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 4px; padding-top: 16px; border-top: 2px solid var(--lp-heading-color); font-weight: 600; }
.lp-cost-total .lp-cost-amt { font-size: 1.6rem; color: var(--lp-accent); }
:is(.bg-primary, .bg-dark, .bg-accent) .lp-costs .lp-cost-amt { color: inherit; }
@media (max-width: 576px) { .lp-cost-amt { white-space: normal; font-size: 1.1rem; max-width: 46%; } }

/* ── Price card ── */
.lp-price-card { border-radius: calc(var(--lp-card-radius) + 4px); padding: 36px 32px; }
.lp-price-card--dark { background: var(--lp-primary); color: #fff; box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--lp-primary) 70%, #000); }
.lp-price-card--light { background: #fff; color: var(--lp-body-color); border: 1px solid #e2e6ec; box-shadow: 0 20px 40px -24px rgba(27, 45, 69, .35); }
.lp-price-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.lp-price-eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.lp-price { margin-top: 4px; font-family: var(--lp-heading-font); font-weight: 700; font-size: clamp(3rem, 2.4rem + 2vw, 4.25rem); line-height: 1; }
.lp-price small { margin-left: .4rem; font-family: var(--lp-body-font); font-weight: 400; font-size: 1rem; opacity: .7; }
.lp-price-card--light .lp-price { color: var(--lp-primary); }
.lp-price-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; font-size: 1.5rem; background: rgba(255, 255, 255, .12); }
.lp-price-card--light .lp-price-icon { background: color-mix(in srgb, var(--lp-primary) 10%, transparent); color: var(--lp-primary); }
.lp-price-note { margin-top: 10px; font-weight: 600; font-size: .95rem; color: var(--lp-price-note, #F0B429); }
.lp-price-card--light .lp-price-note { color: var(--lp-accent); }
.lp-price-card .lp-points { margin-top: 20px; font-size: .95rem; }
.lp-price-btn { display: block; width: 100%; margin-top: 24px; }

/* ── Return by source ── */
.lp-roi { background: #fff; color: #1B2D45; border-radius: calc(var(--lp-card-radius) + 4px); overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .45); }
.lp-roi-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; background: #1B2D45; color: #fff; font-family: var(--lp-heading-font); font-weight: 600; font-size: 1.05rem; }
.lp-roi-period { font-family: var(--lp-body-font); font-weight: 400; font-size: .85rem; opacity: .7; }
.lp-roi-scroll { overflow-x: auto; }
.lp-roi-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.lp-roi-table th, .lp-roi-table td { padding: 12px 16px; border-bottom: 1px solid #e2e6ec; text-align: left; white-space: nowrap; }
.lp-roi-table thead th { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #7A8A9E; padding-top: 10px; padding-bottom: 10px; }
.lp-roi-table tbody th { font-weight: 600; white-space: normal; min-width: 9em; }
.lp-roi-table tbody th .bi { margin-right: 8px; color: var(--lp-primary); }
.lp-roi-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.lp-roi-ret { font-family: var(--lp-heading-font); font-weight: 700; font-size: 1.1rem; }
.lp-roi-ret.good { color: #2E9E5B; }
.lp-roi-ret.bad { color: var(--lp-accent); }
.lp-roi-total { background: #f4f5f7; }
.lp-roi-total th, .lp-roi-total td { font-weight: 700; border-bottom: 2px solid #1B2D45; }
.lp-roi-free th, .lp-roi-free td { color: #4b5a70; }
.lp-roi-free .lp-roi-ret { font-family: var(--lp-body-font); font-weight: 600; font-size: .9rem; color: #2E9E5B; }
.lp-roi-note { display: flex; gap: 10px; align-items: flex-start; margin: 16px 20px 20px; padding: 12px 14px; border-left: 4px solid var(--lp-accent); border-radius: 6px; background: #f4f6fa; font-size: .92rem; }
.lp-roi-note .bi { color: var(--lp-accent); font-size: 1.1rem; margin-top: 1px; }
@media (max-width: 576px) {
  .lp-roi-jobs { display: none; }
  .lp-roi-table th, .lp-roi-table td { padding: 10px 12px; }
}

/* ── Section sweep (alone in a full-width row with no spacing) ── */
.lp-sweep svg { display: block; width: 100%; height: 110px; margin-bottom: -1px; }
.lp-sweep-sm svg { height: 64px; }
.lp-sweep-lg svg { height: 150px; }
@media (max-width: 768px) { .lp-sweep svg { height: 60px; } .lp-sweep-lg svg { height: 80px; } .lp-sweep-sm svg { height: 40px; } }
.lp-fill-bg-primary { fill: var(--lp-primary); }
.lp-fill-bg-dark { fill: #212529; }
.lp-fill-bg-accent { fill: var(--lp-accent); }
.lp-fill-bg-light { fill: #f8f9fa; }
.lp-fill-bg-white { fill: #ffffff; }
.lp-band-accent { fill: var(--lp-accent); }
.lp-band-primary { fill: var(--lp-primary); }

/* Cards with points: the list takes the spare height (not the text), so lists line up across a row */
.lp-service-card:has(.lp-points) .lp-service-text { flex: none; }
.lp-service-card .lp-points { flex: 1; margin-top: 0; }

/* Text blocks on a dark row: headings take the row's light text */
:is(.lp-row, .builder-row-content):is(.bg-primary, .bg-dark, .bg-accent) .lp-text:not(.bg-light, .bg-white),
:is(.lp-row, .builder-row-content):is(.bg-primary, .bg-dark, .bg-accent) .lp-text:not(.bg-light, .bg-white) :is(h1, h2, h3, h4, h5, h6) { color: inherit; }
:is(.lp-row, .builder-row-content):is(.bg-primary, .bg-dark, .bg-accent) .lp-text:not(.bg-light, .bg-white) a { color: inherit; text-decoration: underline; }

/* Split call to action across a full-width row: square edges, text in line with the page content */
.lp-container-full .lp-cta--split { border-radius: 0; }
@media (min-width: 993px) {
  .lp-container-full .lp-cta--split .lp-cta-main { padding-left: max(40px, calc(50vw - 580px)); }
  .lp-container-full .lp-cta--split .lp-cta-side { padding-right: max(40px, calc(50vw - 580px)); }
}

/* ── Hero buttons and note (every look) ── */
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.lp-hero.text-center .lp-hero-actions { justify-content: center; }
.lp-hero.text-end .lp-hero-actions { justify-content: flex-end; }
.lp-hero-btn2 { background: transparent; border: 2px solid currentColor; color: inherit; }
.lp-hero.text-dark .lp-hero-btn2, .lp-hero--minimal .lp-hero-btn2 { color: var(--lp-primary); }
.lp-hero.text-primary .lp-hero-btn2 { color: var(--lp-primary); }
.lp-hero-btn2:hover, .lp-hero-btn2:focus-visible { background: color-mix(in srgb, currentColor 12%, transparent); color: inherit; border-color: currentColor; }
.lp-hero-note { margin: 18px 0 0; font-size: .92rem; opacity: .75; }

/* ── Hero: feature (large headline, framed screenshot) ── */
.lp-hero--feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; justify-content: stretch; gap: 48px; padding: 56px 40px; }
.lp-hero--feature:not(:has(.lp-hero-media)) { grid-template-columns: minmax(0, 1fr); }
.lp-hero--feature .lp-hero-content { padding: 0; max-width: 36rem; }
.lp-hero--feature.text-center .lp-hero-content { margin: 0 auto; }
.lp-hero--feature h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.4rem); font-weight: 700; line-height: 1.03; margin-bottom: 0; }
.lp-hero--feature :is(h1, h2) em { display: block; font-style: normal; color: var(--lp-accent); }
.lp-hero--feature.bg-accent :is(h1, h2) em { color: inherit; opacity: .85; }
.lp-hero--feature h1::after { content: ""; display: block; width: 140px; height: 6px; border-radius: 3px; background: var(--lp-accent); margin-top: 1.4rem; }
.lp-hero--feature.text-center h1::after { margin-left: auto; margin-right: auto; }
.lp-hero--feature.bg-accent h1::after { background: currentColor; }
.lp-hero--feature p { font-size: 1.2rem; line-height: 1.6; margin-top: 1.4rem; }
.lp-hero--feature::before { content: ""; position: absolute; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; right: -22vw; top: -34vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, .3) 58%, rgba(255, 255, 255, 0) 71%); }
.lp-hero--feature:is(.bg-primary, .bg-dark, .bg-accent)::before { background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 65%); }
.lp-hero--feature::after { content: ""; position: absolute; right: 4%; top: 7%; width: 180px; height: 120px; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, currentColor 22%, transparent) 1.4px, transparent 1.6px); background-size: 22px 22px; }
.lp-hero--feature .lp-hero-media { position: relative; z-index: 1; }
.lp-device { border: 3px solid var(--lp-primary); border-radius: 14px; background: var(--lp-primary); overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(27, 45, 69, .45), 0 10px 24px -10px rgba(27, 45, 69, .25);
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.lp-hero--feature:is(.bg-primary, .bg-dark) .lp-device { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .12); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.lp-device-bar { height: 22px; display: flex; align-items: center; gap: 6px; padding-left: 12px; }
.lp-device-bar i { display: block; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.lp-device img { display: block; width: 100%; height: auto; border-radius: 10px; }
@media (prefers-reduced-motion: reduce) { .lp-device { transform: none; } }
@media (max-width: 992px) {
  .lp-hero--feature { grid-template-columns: minmax(0, 1fr); padding: 40px 20px; gap: 32px; }
  .lp-hero--feature::after { display: none; }
  .lp-device { transform: none; }
}

/* ── Eyebrow (a label above a heading) ── */
.lp-eyebrow { display: flex; align-items: center; gap: 14px; }
.lp-eyebrow.text-center { justify-content: center; }
.lp-eyebrow.text-end { justify-content: flex-end; }
.lp-eyebrow-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--lp-accent); color: #fff;
  font-family: var(--lp-heading-font); font-weight: 700; font-size: 1.7rem; box-shadow: 0 10px 22px -10px var(--lp-accent); }
.lp-eyebrow-text { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--lp-heading-font); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em; color: var(--lp-primary); }
:is(.bg-primary, .bg-dark, .bg-accent) .lp-eyebrow-text { color: inherit; }

/* Feature hero across a full-width row: text and screenshot in line with the page content */
@media (min-width: 993px) { .lp-container-full .lp-hero--feature { padding-left: max(40px, calc(50vw - 580px)); padding-right: max(40px, calc(50vw - 580px)); } }
