/* ─── Design tokens — overridable via campaign theme JSON ── */
:root {
  --lp-primary:      #154212;
  --lp-secondary:    #79564b;
  --lp-bg:           #faf9f5;
  --lp-text:         #1a1c1a;
  --lp-accent:       #244100;
  --lp-font-heading: "Newsreader", Georgia, serif;
  --lp-font-body:    "Manrope", system-ui, sans-serif;
  --lp-radius:       12px;
  --lp-section-pad:  80px 48px;
  --lp-inner-width:  1080px;
}

/* ─── Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.lp {
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--lp-font-body);
  min-height: 100vh;
}

/* ─── Primary CTA ──────────────────────────────────────── */
.lp-cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--lp-primary);
  color: #fff;
  font-family: var(--lp-font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--lp-radius);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(21, 66, 18, 0.15);
  transition: transform 0.15s;
}
.lp-cta:hover { transform: translateY(-2px); }

.lp-cta--ghost {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--lp-primary);
  box-shadow: none;
}
.lp-cta--ghost:hover { background: rgba(255, 255, 255, 0.9); }

/* ─── Hero corner shadows ──────────────────────────────── */
.lp-hero-corners {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 0% 0%,   rgba(0,0,0,0.5) 0%, transparent 100%),
    radial-gradient(ellipse 70% 70% at 100% 100%, rgba(0,0,0,0.5) 0%, transparent 100%);
  transform-origin: center;
  animation:
    lp-burst   4s   cubic-bezier(0.16, 1, 0.3, 1) forwards,
    lp-breathe  8s  ease-in-out 8s infinite;
}

@keyframes lp-burst {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes lp-breathe {
  0%, 100% { opacity: 0.75; }
  50%      { opacity: 1;    }
}

/* ─── Hero ─────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  min-height: 795px;
  display: flex;
  align-items: center;
  padding: 0 64px;
  overflow: hidden;
  background-color: var(--lp-primary);
}

/* image background */
.lp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lp-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lp-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(250, 249, 245, 0.85) 0%,
    rgba(250, 249, 245, 0.25) 55%,
    transparent 100%
  );
}

/* no-image fallback overlay */
.lp-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.40);
}

.lp-hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* text colors: with image → dark; no image → white */
.lp-hero--no-image .lp-hero__eyebrow { color: rgba(255, 255, 255, 0.65); }
.lp-hero--no-image .lp-hero__heading { color: #fff; }
.lp-hero--no-image .lp-hero__sub     { color: rgba(255, 255, 255, 0.8); }

.lp-hero__eyebrow {
  display: block;
  color: var(--lp-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.lp-hero__heading {
  font-family: var(--lp-font-heading);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  color: var(--lp-primary);
  letter-spacing: -0.025em;
  line-height: 1.06;
}
.lp-hero__sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--lp-secondary);
  line-height: 1.65;
  max-width: 520px;
}
.lp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
}

/* ─── Section layout ───────────────────────────────────── */
.lp-section {
  padding: var(--lp-section-pad);
  background: var(--lp-bg);
}
.lp-section--alt {
  background: #f3f2ee;
}
.lp-section__inner {
  max-width: var(--lp-inner-width);
  margin: 0 auto;
}
.lp-section__heading {
  font-family: var(--lp-font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--lp-primary);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.lp-section__divider {
  width: 80px;
  height: 2px;
  background: rgba(21, 66, 18, 0.08);
  margin: 0 auto 56px;
  border: none;
}

/* ─── Services ─────────────────────────────────────────── */
.lp-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.lp-service {
  display: flex;
  flex-direction: column;
  background: var(--lp-bg);
  border-radius: var(--lp-radius);
  overflow: hidden;
}

.lp-service__image {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: var(--lp-radius);
}
.lp-service__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.lp-service:hover .lp-service__image img { transform: scale(1.08); }
.lp-service__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 66, 18, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.lp-service:hover .lp-service__image::after { opacity: 1; }

.lp-service__content {
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.lp-service__heading {
  font-family: var(--lp-font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--lp-primary);
  letter-spacing: -0.01em;
}
.lp-service__body {
  font-size: 14px;
  color: var(--lp-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.lp-service__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.lp-service__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.lp-service__btn--outline {
  color: var(--lp-primary);
  background: rgba(21, 66, 18, 0.06);
}
.lp-service__btn--outline:hover { background: rgba(21, 66, 18, 0.1); }
.lp-service__btn--primary {
  background: var(--lp-primary);
  color: #fff;
}
.lp-service__btn--primary:hover { opacity: 0.88; }

/* ─── Videos ───────────────────────────────────────────── */
.lp-videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.lp-video {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--lp-radius);
  box-shadow: 0 8px 40px rgba(21, 66, 18, 0.05);
  overflow: hidden;
}
.lp-video__heading {
  font-family: var(--lp-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--lp-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-align: center;
  padding: 24px 24px 16px;
}
.lp-video__player {
  aspect-ratio: 16 / 9;
  background: #18181b;
}
.lp-video__el {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.lp-video__sub {
  font-size: 13px;
  color: var(--lp-secondary);
  line-height: 1.6;
  text-align: center;
  padding: 16px 24px 24px;
}

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --lp-section-pad: 56px 24px; }
  .lp-hero { padding: 0 24px; min-height: 600px; }
}
