/* ── Landing Page Template ───────────────────────────────── */

.lp-wrapper {
  padding: 1.5rem 1.5rem 4rem;
}

/* Section header */
.lp-section-header {
  padding-top: 2.5rem;
  padding-bottom: 0.5rem;
}

.lp-section-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
  margin: 0;
}

.lp-section-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 0.5rem 0 0.75rem;
}

/* 3-column grid, tight */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* Card — square via aspect-ratio */
.lp-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background-color: #111;
}

/* Image fills the card */
.lp-card__img {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #111;
  transition: transform 500ms ease;
  z-index: 1;
}

.lp-img-cover { background-size: cover; }
.lp-img-dark  { background-size: 60%; background-color: #000; }
.lp-img-brand { background-size: 45%; background-color: #e65400; }
.lp-img-light { background-size: 28%; background-color: #f0f0f0; }
.lp-img-logo  { background-size: 45%; background-color: #f0f0f0; }

/* Gradient overlay */
.lp-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    transparent 70%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.9rem 1rem;
  transition: background 300ms ease;
}

/* Hover — image zooms, overlay deepens slightly */
.lp-card:hover .lp-card__img {
  transform: scale(1.05);
}

.lp-card:hover .lp-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.1) 80%,
    transparent 100%
  );
}

.lp-card__title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #ffffff;
  margin: 0 0 0.2rem;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.lp-card__desc {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.3;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
  .lp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .lp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .lp-wrapper {
    padding: 1rem 0.75rem 3rem;
  }
}

/* ── Scroll-reveal ───────────────────────────────────────── */

.lp-animate {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.lp-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Dark mode ───────────────────────────────────────────── */

.dark .lp-section-title {
  color: #475569;
}

.dark .lp-section-divider {
  border-top-color: #1e293b;
}

.dark .lp-img-light,
.dark .lp-img-logo {
  background-color: #0f172a;
}
