/**
 * Landing Premium Design System
 * Standalone CSS for real-estate landing pages (WordPress + Next).
 * Namespace: lpds- (Landing Page Design System)
 * No dependency on theme style.css. Safe to enqueue/import separately.
 */

/* --------------------------------------------------------------------------
   Design tokens (override per brand in a small overrides file or inline)
   -------------------------------------------------------------------------- */
:root {
  /* Brand-agnostic defaults; replace for each developer */
  --lpds-color-navy: #0f172a;
  --lpds-color-navy-soft: #1e293b;
  --lpds-color-navy-muted: rgba(15, 23, 42, 0.65);
  --lpds-color-navy-faint: rgba(15, 23, 42, 0.08);
  --lpds-color-surface: #ffffff;
  --lpds-color-surface-elevated: #f8fafc;
  --lpds-color-border: rgba(15, 23, 42, 0.1);
  --lpds-color-accent: #38bdf8;
  --lpds-color-accent-strong: #0ea5e9;
  --lpds-color-whatsapp: #25d366;
  --lpds-color-whatsapp-hover: #1da851;
  --lpds-color-urgent: #dc2626;
  --lpds-color-success: #15803d;
  --lpds-color-error: #b91c1c;

  --lpds-font-display: "Tajawal", "Cairo", system-ui, sans-serif;
  --lpds-font-body: "Tajawal", "Cairo", system-ui, sans-serif;

  --lpds-radius-sm: 8px;
  --lpds-radius-md: 12px;
  --lpds-radius-lg: 16px;
  --lpds-radius-xl: 24px;
  --lpds-radius-pill: 999px;

  --lpds-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --lpds-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --lpds-shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.14);
  --lpds-shadow-glow-accent: 0 0 0 1px rgba(56, 189, 248, 0.35), 0 12px 40px rgba(56, 189, 248, 0.2);
  --lpds-shadow-glow-wa: 0 0 0 1px rgba(37, 211, 102, 0.35), 0 12px 40px rgba(37, 211, 102, 0.25);

  --lpds-space-xs: 4px;
  --lpds-space-sm: 8px;
  --lpds-space-md: 16px;
  --lpds-space-lg: 24px;
  --lpds-space-xl: 32px;
  --lpds-space-2xl: 48px;
  --lpds-space-3xl: 64px;
  --lpds-space-4xl: 96px;

  --lpds-container: 1200px;
  --lpds-header-offset: 72px;
  --lpds-safe-bottom: env(safe-area-inset-bottom, 0px);
  --lpds-safe-top: env(safe-area-inset-top, 0px);

  --lpds-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --lpds-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --lpds-duration-fast: 0.2s;
  --lpds-duration-normal: 0.35s;
  --lpds-duration-slow: 0.6s;
}

/* --------------------------------------------------------------------------
   Base scope: wrap sections in .lpds-root or apply to body
   -------------------------------------------------------------------------- */
.lpds-root {
  font-family: var(--lpds-font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--lpds-color-navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 1279px) {
  .lpds-root {
    font-size: 16px;
  }
}

.lpds-root *,
.lpds-root *::before,
.lpds-root *::after {
  box-sizing: border-box;
}

.lpds-root img {
  max-width: 100%;
  height: auto;
  display: block;
}

.lpds-root a {
  color: inherit;
  text-decoration: none;
}

.lpds-root--preview {
  background: var(--lpds-color-surface);
}

.lpds-preview-header {
  position: sticky;
  top: 0;
  z-index: 1002;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.lpds-preview-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lpds-space-md);
  min-height: 72px;
  padding-block: 12px;
}

.lpds-preview-header__brand {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--lpds-font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lpds-preview-header__lang {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: var(--lpds-radius-pill);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(14, 165, 233, 0.34) 100%);
  color: #fff;
  font-family: var(--lpds-font-body);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.18);
  transition:
    transform var(--lpds-duration-fast) var(--lpds-ease-out),
    box-shadow var(--lpds-duration-fast) var(--lpds-ease-out),
    filter var(--lpds-duration-fast) var(--lpds-ease-out);
}

.lpds-preview-header__lang:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 16px 32px rgba(56, 189, 248, 0.24);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.lpds-display {
  font-family: var(--lpds-font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--lpds-color-navy);
}

.lpds-h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
}

.lpds-h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.lpds-h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.lpds-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--lpds-color-navy-muted);
  font-weight: 500;
}

.lpds-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--lpds-space-md);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lpds-color-accent-strong);
}

.lpds-eyebrow::before,
.lpds-eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.lpds-container {
  width: 100%;
  max-width: var(--lpds-container);
  margin-inline: auto;
  padding-inline: var(--lpds-space-lg);
}

.lpds-section {
  padding-block: var(--lpds-space-3xl);
  scroll-margin-top: calc(var(--lpds-header-offset) + var(--lpds-space-md));
}

.lpds-stats {
  scroll-margin-top: calc(var(--lpds-header-offset) + var(--lpds-space-md));
}

.lpds-section--tight {
  padding-block: var(--lpds-space-2xl);
}

.lpds-section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--lpds-space-2xl);
}

@media (max-width: 1279px) {
  .lpds-container {
    max-width: 1120px;
  }

  .lpds-section {
    padding-block: 56px;
  }

  .lpds-section-header {
    max-width: 680px;
    margin-bottom: 40px;
  }
}

.lpds-grid-2 {
  display: grid;
  gap: var(--lpds-space-xl);
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .lpds-grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.lpds-grid-3 {
  display: grid;
  gap: var(--lpds-space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .lpds-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lpds-grid-4 {
  display: grid;
  gap: var(--lpds-space-lg);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .lpds-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Surfaces (glass / elevated)
   -------------------------------------------------------------------------- */
.lpds-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--lpds-radius-lg);
  box-shadow: var(--lpds-shadow-lg);
}

.lpds-panel {
  background: var(--lpds-color-surface);
  border: 1px solid var(--lpds-color-border);
  border-radius: var(--lpds-radius-lg);
  box-shadow: var(--lpds-shadow-md);
}

.lpds-panel--dark {
  background: linear-gradient(145deg, var(--lpds-color-navy) 0%, var(--lpds-color-navy-soft) 100%);
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.08);
}

.lpds-panel--dark .lpds-lead,
.lpds-panel--dark .lpds-display {
  color: #f8fafc;
}

.lpds-panel--dark .lpds-lead {
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */
.lpds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--lpds-space-sm);
  padding: 14px 28px;
  font-family: var(--lpds-font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  border: none;
  border-radius: var(--lpds-radius-md);
  cursor: pointer;
  transition:
    transform var(--lpds-duration-fast) var(--lpds-ease-out),
    box-shadow var(--lpds-duration-fast) var(--lpds-ease-out),
    background var(--lpds-duration-fast) var(--lpds-ease-out);
}

.lpds-btn:focus-visible {
  outline: 2px solid var(--lpds-color-accent);
  outline-offset: 3px;
}

.lpds-btn--primary-wa {
  background: linear-gradient(135deg, var(--lpds-color-whatsapp) 0%, var(--lpds-color-whatsapp-hover) 100%);
  color: #fff;
  box-shadow: var(--lpds-shadow-glow-wa);
}

.lpds-btn--primary-wa:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.lpds-btn--accent {
  background: linear-gradient(135deg, var(--lpds-color-accent) 0%, var(--lpds-color-accent-strong) 100%);
  color: #0f172a;
  box-shadow: var(--lpds-shadow-glow-accent);
}

.lpds-btn--accent:hover {
  transform: translateY(-2px);
}

.lpds-btn--outline {
  background: transparent;
  color: var(--lpds-color-navy);
  border: 2px solid var(--lpds-color-navy-faint);
  box-shadow: none;
}

.lpds-btn--outline:hover {
  border-color: var(--lpds-color-accent);
  background: rgba(56, 189, 248, 0.08);
}

.lpds-panel--dark .lpds-btn--outline {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.25);
}

.lpds-panel--dark .lpds-btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lpds-btn--lg {
  padding: 18px 36px;
  font-size: 1.0625rem;
  border-radius: var(--lpds-radius-md);
}

.lpds-btn--block {
  width: 100%;
}

.lpds-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lpds-space-md);
  align-items: center;
}

[dir="rtl"] .lpds-btn-row {
  flex-direction: row-reverse;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.lpds-hero {
  position: relative;
  min-height: min(100vh, 900px);
  min-height: min(100dvh, 900px);
  display: flex;
  align-items: center;
  padding-block: calc(var(--lpds-space-4xl) + var(--lpds-safe-top));
  overflow: hidden;
  color: #f8fafc;
  isolation: isolate;
}

.lpds-hero::before,
.lpds-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
  animation: lpds-float-orb 12s ease-in-out infinite;
}

.lpds-hero::before {
  width: 360px;
  height: 360px;
  top: 10%;
  inset-inline-start: -120px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, rgba(56, 189, 248, 0) 68%);
}

.lpds-hero::after {
  width: 420px;
  height: 420px;
  bottom: -140px;
  inset-inline-end: -100px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.18) 0%, rgba(37, 211, 102, 0) 68%);
  animation-delay: -6s;
}

.lpds-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lpds-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.lpds-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(15, 23, 42, 0.55) 45%,
    rgba(15, 23, 42, 0.88) 100%
  );
}

.lpds-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--lpds-space-2xl);
  align-items: center;
}

@media (min-width: 960px) {
  .lpds-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.lpds-hero__content .lpds-display {
  color: #fff;
  margin-bottom: var(--lpds-space-lg);
}

.lpds-hero__content .lpds-lead {
  color: rgba(248, 250, 252, 0.88);
  max-width: 36rem;
  margin-bottom: var(--lpds-space-xl);
}

[dir="rtl"] .lpds-hero__content .lpds-lead {
  margin-inline-start: auto;
  margin-inline-end: 0;
}

.lpds-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lpds-space-sm);
  margin-bottom: var(--lpds-space-lg);
}

.lpds-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--lpds-radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  transition:
    transform var(--lpds-duration-fast) var(--lpds-ease-out),
    background var(--lpds-duration-fast) var(--lpds-ease-out),
    border-color var(--lpds-duration-fast) var(--lpds-ease-out);
}

.lpds-badge:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.lpds-hero__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lpds-space-md);
  margin-top: var(--lpds-space-xl);
  max-width: 520px;
}

.lpds-hero__proof-item {
  text-align: center;
  padding: var(--lpds-space-md);
  border-radius: var(--lpds-radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lpds-hero__proof-item strong {
  display: block;
  font-family: var(--lpds-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--lpds-color-accent);
}

.lpds-hero__proof-item span {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.75);
}

.lpds-hero__form-wrap {
  max-width: 420px;
  margin-inline: auto;
}

@media (min-width: 960px) {
  [dir="ltr"] .lpds-hero__form-wrap {
    margin-inline-start: auto;
    margin-inline-end: 0;
  }
  [dir="rtl"] .lpds-hero__form-wrap {
    margin-inline-start: 0;
    margin-inline-end: auto;
  }
}

.lpds-form-kicker {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lpds-color-navy);
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.25), rgba(56, 189, 248, 0.08));
  border-radius: var(--lpds-radius-md) var(--lpds-radius-md) 0 0;
  margin: calc(-1 * var(--lpds-space-lg)) calc(-1 * var(--lpds-space-lg)) var(--lpds-space-md);
  border-bottom: 1px solid var(--lpds-color-border);
}

.lpds-hero-form .lpds-form-kicker {
  margin-top: calc(-1 * var(--lpds-space-xl));
}

/* --------------------------------------------------------------------------
   Stats bar
   -------------------------------------------------------------------------- */
.lpds-stats {
  background: var(--lpds-color-surface-elevated);
  border-block: 1px solid var(--lpds-color-border);
  padding-block: var(--lpds-space-2xl);
}

.lpds-stat-card {
  text-align: center;
  padding: var(--lpds-space-lg);
  border-radius: var(--lpds-radius-md);
  background: var(--lpds-color-surface);
  border: 1px solid var(--lpds-color-border);
  box-shadow: var(--lpds-shadow-sm);
  transition: transform var(--lpds-duration-normal) var(--lpds-ease-out);
}

.lpds-stat-card:hover {
  transform: translateY(-3px);
}

.lpds-stat-value {
  font-family: var(--lpds-font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--lpds-color-navy);
  line-height: 1.1;
}

.lpds-stat-label {
  margin-top: var(--lpds-space-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lpds-color-navy-muted);
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.lpds-trust {
  padding-block: var(--lpds-space-xl);
  background: var(--lpds-color-surface);
}

.lpds-trust__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--lpds-space-xl);
}

.lpds-trust__item {
  display: inline-flex;
  align-items: center;
  gap: var(--lpds-space-sm);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--lpds-color-navy-muted);
}

.lpds-trust__item svg {
  flex-shrink: 0;
  color: var(--lpds-color-accent-strong);
}

/* --------------------------------------------------------------------------
   Project cards
   -------------------------------------------------------------------------- */
.lpds-project-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: var(--lpds-radius-lg);
  border: 1px solid var(--lpds-color-border);
  background: var(--lpds-color-surface);
  box-shadow: var(--lpds-shadow-md);
  transition:
    box-shadow var(--lpds-duration-normal) var(--lpds-ease-out),
    transform var(--lpds-duration-normal) var(--lpds-ease-out);
}

@media (min-width: 900px) {
  .lpds-project-card {
    grid-template-columns: 1fr 1fr;
  }
  .lpds-project-card--reverse .lpds-project-card__media {
    order: 2;
  }
}

.lpds-project-card:hover {
  box-shadow: var(--lpds-shadow-lg);
  transform: translateY(-2px);
}

.lpds-project-card__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.lpds-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--lpds-duration-slow) var(--lpds-ease-out);
}

.lpds-project-card:hover .lpds-project-card__media img {
  transform: scale(1.04);
}

.lpds-project-card__tag {
  position: absolute;
  top: var(--lpds-space-lg);
  inset-inline-start: var(--lpds-space-lg);
  padding: 8px 18px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--lpds-color-accent-strong);
  border-radius: var(--lpds-radius-sm);
  z-index: 2;
}

.lpds-project-card__body {
  padding: var(--lpds-space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lpds-project-card__location {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--lpds-color-accent-strong);
  margin-bottom: var(--lpds-space-sm);
}

.lpds-project-card__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lpds-space-sm);
  margin-block: var(--lpds-space-lg);
}

.lpds-fact {
  text-align: center;
  padding: var(--lpds-space-md);
  border: 1px solid var(--lpds-color-border);
  border-radius: var(--lpds-radius-sm);
  background: var(--lpds-color-surface-elevated);
}

.lpds-fact__value {
  display: block;
  font-family: var(--lpds-font-display);
  font-size: 1.25rem;
  font-weight: 800;
}

.lpds-fact__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lpds-color-navy-muted);
  margin-top: 4px;
}

.lpds-project-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lpds-space-md);
}

/* --------------------------------------------------------------------------
   Feature grid
   -------------------------------------------------------------------------- */
.lpds-features {
  background: var(--lpds-color-surface-elevated);
}

.lpds-feature {
  padding: var(--lpds-space-xl);
  background: var(--lpds-color-surface);
  border: 1px solid var(--lpds-color-border);
  border-radius: var(--lpds-radius-md);
  text-align: center;
  transition: background var(--lpds-duration-normal) var(--lpds-ease-out);
}

.lpds-feature:hover {
  background: rgba(56, 189, 248, 0.06);
}

.lpds-feature__icon {
  width: 56px;
  height: 56px;
  margin-inline: auto;
  margin-bottom: var(--lpds-space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--lpds-color-accent);
  color: var(--lpds-color-accent-strong);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.lpds-form-title {
  font-family: var(--lpds-font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: var(--lpds-space-lg);
  color: var(--lpds-color-navy);
}

.lpds-field {
  min-width: 0;
  margin-bottom: var(--lpds-space-md);
}

.lpds-label {
  display: flex;
  align-items: center;
  gap: var(--lpds-space-sm);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--lpds-color-navy-muted);
  margin-bottom: 6px;
}

.lpds-input,
.lpds-select,
.lpds-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--lpds-font-body);
  font-size: 1rem;
  color: var(--lpds-color-navy);
  background: var(--lpds-color-surface);
  border: 2px solid var(--lpds-color-border);
  border-radius: var(--lpds-radius-md);
  transition:
    border-color var(--lpds-duration-fast) var(--lpds-ease-out),
    box-shadow var(--lpds-duration-fast) var(--lpds-ease-out);
}

[dir="rtl"] .lpds-input,
[dir="rtl"] .lpds-select,
[dir="rtl"] .lpds-textarea {
  direction: rtl;
  text-align: right;
}

[dir="ltr"] .lpds-input,
[dir="ltr"] .lpds-select,
[dir="ltr"] .lpds-textarea {
  direction: ltr;
}

.lpds-input:focus,
.lpds-select:focus,
.lpds-textarea:focus {
  outline: none;
  border-color: var(--lpds-color-accent);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
}

.lpds-root .iti {
  width: 100%;
  display: block;
  min-width: 0;
  --lpds-phone-slot-width: 108px;
}

.lpds-root .iti__tel-input {
  width: 100%;
  min-height: 54px;
}

.lpds-root .iti__country-container {
  inset-inline-start: 0;
  inset-inline-end: auto;
  width: var(--lpds-phone-slot-width);
  padding: 0;
}

.lpds-root .iti__selected-country {
  justify-content: flex-start;
  gap: 10px;
  height: 100%;
  width: 100%;
  margin: 0;
  padding-inline: 8px 10px;
  border-radius: var(--lpds-radius-md) 0 0 var(--lpds-radius-md);
  background: rgba(15, 23, 42, 0.05);
  border-inline-end: 1px solid var(--lpds-color-border);
}

.lpds-root .iti--separate-dial-code .iti__selected-dial-code {
  margin-inline-start: 0;
  color: #000;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.lpds-root .iti__selected-country,
.lpds-root .iti__selected-country-primary,
.lpds-root .iti__arrow {
  color: #000;
}

.lpds-root .iti--separate-dial-code input.lpds-input {
  padding-left: calc(var(--lpds-phone-slot-width) + 18px) !important;
}

.lpds-root .iti__arrow {
  margin-inline-start: auto;
  flex: 0 0 auto;
}

.lpds-root .iti__flag {
  transform: scale(1.05);
}

[dir="rtl"] .lpds-root .iti__country-container {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

[dir="rtl"] .lpds-root .iti__selected-country {
  border-inline-end: none;
  border-inline-start: 1px solid var(--lpds-color-border);
  border-radius: 0 var(--lpds-radius-md) var(--lpds-radius-md) 0;
}

[dir="rtl"] .lpds-root .iti--separate-dial-code input.lpds-input {
  padding-left: 16px !important;
  padding-right: calc(var(--lpds-phone-slot-width) + 18px) !important;
  text-align: right;
}

.iti--container,
.iti__dropdown-content {
  z-index: 10040 !important;
}

.lpds-form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--lpds-space-sm);
  margin-top: var(--lpds-space-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--lpds-color-navy-muted);
}

.lpds-form-message {
  margin-top: var(--lpds-space-md);
  padding: var(--lpds-space-md);
  border-radius: var(--lpds-radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  display: none;
}

.lpds-form-message--success {
  display: block;
  background: #ecfdf5;
  color: var(--lpds-color-success);
  border: 1px solid #a7f3d0;
}

.lpds-form-message--error {
  display: block;
  background: #fef2f2;
  color: var(--lpds-color-error);
  border: 1px solid #fecaca;
}

.lpds-hero-form {
  padding: var(--lpds-space-xl);
}

/* --------------------------------------------------------------------------
   Sticky mobile CTA bar
   -------------------------------------------------------------------------- */
.lpds-sticky-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 996;
  display: none;
  gap: var(--lpds-space-sm);
  padding: var(--lpds-space-sm) var(--lpds-space-md) calc(var(--lpds-space-sm) + var(--lpds-safe-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--lpds-color-border);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
}

@media (max-width: 768px) {
  .lpds-sticky-bar {
    display: flex;
  }
}

.lpds-sticky-bar .lpds-btn {
  flex: 1;
  min-height: 46px;
  padding: 12px 10px;
  font-size: 0.8125rem;
  line-height: 1.15;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Floating WhatsApp
   -------------------------------------------------------------------------- */
.lpds-float-wa {
  position: fixed;
  bottom: calc(var(--lpds-space-lg) + var(--lpds-safe-bottom));
  inset-inline-start: var(--lpds-space-lg);
  z-index: 997;
  display: inline-flex;
  align-items: center;
  gap: var(--lpds-space-sm);
  padding: 14px 18px;
  background: var(--lpds-color-whatsapp);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--lpds-radius-pill);
  box-shadow: var(--lpds-shadow-glow-wa);
  transition: transform var(--lpds-duration-fast) var(--lpds-ease-out);
}

[dir="rtl"] .lpds-float-wa {
  inset-inline-start: auto;
  inset-inline-end: var(--lpds-space-lg);
}

.lpds-float-wa:hover {
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 768px) {
  .lpds-float-wa {
    bottom: calc(84px + var(--lpds-safe-bottom));
  }
  .lpds-float-wa__label {
    display: none;
  }
  .lpds-float-wa {
    padding: 14px;
    border-radius: 50%;
  }
}

/* --------------------------------------------------------------------------
   Popup shell (markup-agnostic overlay + modal)
   -------------------------------------------------------------------------- */
.lpds-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding:
    calc(clamp(12px, 2vw, var(--lpds-space-md)) + var(--lpds-safe-top))
    clamp(12px, 2vw, var(--lpds-space-md))
    calc(clamp(12px, 2vw, var(--lpds-space-md)) + var(--lpds-safe-bottom));
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--lpds-duration-normal) ease,
    visibility var(--lpds-duration-normal) ease;
}

.lpds-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.lpds-popup {
  width: 100%;
  max-width: 440px;
  max-height: calc(100dvh - 24px);
  background: var(--lpds-color-surface);
  border-radius: var(--lpds-radius-xl);
  overflow: hidden;
  box-shadow: var(--lpds-shadow-lg);
  display: flex;
  flex-direction: column;
  margin: auto;
  transform: scale(0.92) translateY(24px);
  transition: transform var(--lpds-duration-slow) var(--lpds-ease-spring);
}

.lpds-popup-overlay.is-open .lpds-popup {
  transform: scale(1) translateY(0);
}

.lpds-popup__urgent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--lpds-space-sm);
  padding: var(--lpds-space-md) var(--lpds-space-lg);
  background: linear-gradient(135deg, var(--lpds-color-urgent) 0%, #b91c1c 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
}

.lpds-popup__body {
  overflow-y: auto;
  padding:
    clamp(56px, 7vw, 68px)
    clamp(18px, 3vw, var(--lpds-space-xl))
    clamp(18px, 3vw, var(--lpds-space-xl));
  text-align: center;
}

.lpds-popup__close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--lpds-color-navy-faint);
  color: var(--lpds-color-navy-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--lpds-duration-fast) var(--lpds-ease-out);
}

.lpds-popup__close:hover {
  background: rgba(15, 23, 42, 0.15);
}

.lpds-popup--compact {
  max-width: min(92vw, 400px);
  max-height: calc(100dvh - 36px);
}

.lpds-popup--compact .lpds-popup__body {
  padding:
    52px
    18px
    18px;
}

.lpds-popup {
  position: relative;
}

/* --------------------------------------------------------------------------
   Scroll progress
   -------------------------------------------------------------------------- */
.lpds-scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 10000;
  background: transparent;
  pointer-events: none;
}

.lpds-scroll-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--lpds-color-accent) 0%, var(--lpds-color-whatsapp) 100%);
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.35);
}

/* --------------------------------------------------------------------------
   Motion utilities (stagger / reveal)
   -------------------------------------------------------------------------- */
.lpds-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 0.7s var(--lpds-ease-out),
    transform 0.7s var(--lpds-ease-out),
    filter 0.7s var(--lpds-ease-out);
}

.lpds-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.lpds-reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.lpds-reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.lpds-reveal[data-delay="3"] {
  transition-delay: 0.24s;
}
.lpds-reveal[data-delay="4"] {
  transition-delay: 0.32s;
}

@keyframes lpds-pulse-cta {
  0%,
  100% {
    box-shadow: var(--lpds-shadow-glow-wa);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.5), 0 16px 48px rgba(37, 211, 102, 0.35);
    transform: translateY(-2px) scale(1.015);
  }
}

.lpds-btn--pulse {
  animation: lpds-pulse-cta 2.2s ease-in-out infinite;
}

@keyframes lpds-float-orb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(14px, -18px, 0) scale(1.06);
  }
}

@keyframes lpds-sheen {
  0% {
    transform: translateX(-75%) rotate(8deg);
  }
  100% {
    transform: translateX(75%) rotate(8deg);
  }
}

@keyframes lpds-video-pulse {
  0%,
  100% {
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.24), 0 0 0 0 rgba(255, 255, 255, 0.18);
  }
  50% {
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.28), 0 0 0 14px rgba(255, 255, 255, 0);
  }
}

@keyframes lpds-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.lpds-shimmer-text {
  background: linear-gradient(
    90deg,
    var(--lpds-color-navy) 0%,
    var(--lpds-color-accent-strong) 50%,
    var(--lpds-color-navy) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lpds-shimmer 4s linear infinite;
}

/* --------------------------------------------------------------------------
   Requested landing sections
   -------------------------------------------------------------------------- */
.lpds-hero__spotlight {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--lpds-radius-xl);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--lpds-shadow-lg);
  transform: perspective(1200px) rotateX(var(--lpds-tilt-y, 0deg)) rotateY(var(--lpds-tilt-x, 0deg)) translateY(0);
  transition: transform var(--lpds-duration-normal) var(--lpds-ease-out), box-shadow var(--lpds-duration-normal) var(--lpds-ease-out);
}

.lpds-hero__spotlight img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform var(--lpds-duration-slow) var(--lpds-ease-out);
}

.lpds-hero__spotlight::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(120deg, transparent 36%, rgba(255, 255, 255, 0.18) 50%, transparent 64%);
  transform: translateX(-70%) rotate(8deg);
  animation: lpds-sheen 7s linear infinite;
  z-index: 1;
}

.lpds-hero__spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.75) 100%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.32), transparent 34%);
}

.lpds-hero__spotlight:hover img {
  transform: scale(1.09);
}

.lpds-hero__spotlight-badge,
.lpds-hero__spotlight-caption {
  position: absolute;
  z-index: 2;
}

.lpds-hero__spotlight-badge {
  top: var(--lpds-space-lg);
  inset-inline-start: var(--lpds-space-lg);
  display: inline-flex;
  align-items: center;
  gap: var(--lpds-space-sm);
  padding: 10px 14px;
  border-radius: var(--lpds-radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.lpds-hero__spotlight-caption {
  inset-inline: var(--lpds-space-lg);
  bottom: var(--lpds-space-lg);
  display: flex;
  justify-content: space-between;
  gap: var(--lpds-space-md);
  align-items: end;
}

.lpds-hero__spotlight-caption strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1.125rem;
}

.lpds-hero__spotlight-caption span,
.lpds-hero__spotlight-caption small {
  color: rgba(248, 250, 252, 0.82);
  font-weight: 600;
}

.lpds-hero__spotlight-caption small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--lpds-radius-pill);
  background: rgba(15, 23, 42, 0.42);
}

.lpds-value-stack {
  display: grid;
  gap: var(--lpds-space-sm);
  margin-block: var(--lpds-space-lg) var(--lpds-space-xl);
}

.lpds-value-item {
  display: flex;
  align-items: start;
  gap: var(--lpds-space-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.9);
}

.lpds-value-item::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lpds-color-accent) 0%, var(--lpds-color-whatsapp) 100%);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}

.lpds-why-project {
  display: grid;
  gap: var(--lpds-space-lg);
  grid-template-columns: repeat(3, 1fr);
}

.lpds-info-card {
  padding: var(--lpds-space-xl);
  border-radius: var(--lpds-radius-lg);
  background: var(--lpds-color-surface);
  border: 1px solid var(--lpds-color-border);
  box-shadow: var(--lpds-shadow-md);
  transition:
    transform var(--lpds-duration-normal) var(--lpds-ease-out),
    box-shadow var(--lpds-duration-normal) var(--lpds-ease-out);
}

.lpds-info-card:hover,
.lpds-proof-project:hover {
  transform: translateY(-4px);
  box-shadow: var(--lpds-shadow-lg);
}

.lpds-info-card__label {
  display: inline-flex;
  align-items: center;
  gap: var(--lpds-space-sm);
  margin-bottom: var(--lpds-space-sm);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lpds-color-accent-strong);
}

.lpds-info-card__value {
  font-family: var(--lpds-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--lpds-color-navy);
  margin-bottom: 6px;
}

.lpds-info-card__meta {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--lpds-color-navy-muted);
}

.lpds-location-visual {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 340px;
  padding: 0;
  border-radius: var(--lpds-radius-xl);
  border: 1px solid var(--lpds-color-border);
  background: var(--lpds-color-surface-elevated);
  box-shadow: var(--lpds-shadow-lg);
  appearance: none;
  cursor: zoom-in;
  transform: perspective(1200px) rotateX(var(--lpds-tilt-y, 0deg)) rotateY(var(--lpds-tilt-x, 0deg));
  transition: transform var(--lpds-duration-normal) var(--lpds-ease-out), box-shadow var(--lpds-duration-normal) var(--lpds-ease-out);
}

.lpds-location-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lpds-location-visual::after {
  content: none;
}

.lpds-location-visual__overlay {
  display: none;
}

.lpds-location-visual__overlay strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.lpds-location-visual__overlay span {
  font-size: 0.875rem;
  color: rgba(248, 250, 252, 0.82);
}

.lpds-image-popup {
  width: min(100%, 1040px);
  max-width: min(92vw, 1040px);
  background: transparent;
  box-shadow: none;
}

.lpds-image-popup .lpds-popup__body {
  overflow: visible;
  padding:
    clamp(52px, 6vw, 60px)
    clamp(12px, 2vw, 18px)
    clamp(12px, 2vw, 18px);
}

.lpds-image-popup img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: min(84vh, 920px);
  object-fit: contain;
  margin-inline: auto;
  border-radius: var(--lpds-radius-xl);
  box-shadow: var(--lpds-shadow-lg);
}

.lpds-image-popup .lpds-popup__close {
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);
}

.lpds-usp-list {
  display: grid;
  gap: var(--lpds-space-md);
}

.lpds-usp-list--rectangles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--lpds-space-lg);
}

.lpds-usp-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--lpds-space-md);
  align-items: start;
  padding: var(--lpds-space-md);
  border-radius: var(--lpds-radius-md);
  background: var(--lpds-color-surface);
  border: 1px solid var(--lpds-color-border);
  box-shadow: var(--lpds-shadow-sm);
}

.lpds-usp-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.lpds-usp-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--lpds-color-navy-muted);
}

.lpds-usp-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  color: var(--lpds-color-accent-strong);
}

.lpds-gallery-shell {
  display: grid;
  gap: var(--lpds-space-lg);
}

@media (min-width: 960px) {
  .lpds-gallery-shell {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    align-items: stretch;
  }
}

.lpds-gallery-stage {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--lpds-radius-xl);
  background: var(--lpds-color-surface-elevated);
  border: 1px solid var(--lpds-color-border);
  box-shadow: var(--lpds-shadow-lg);
  transform: perspective(1200px) rotateX(var(--lpds-tilt-y, 0deg)) rotateY(var(--lpds-tilt-x, 0deg));
  transition: transform var(--lpds-duration-normal) var(--lpds-ease-out), box-shadow var(--lpds-duration-normal) var(--lpds-ease-out);
}

.lpds-gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--lpds-duration-slow) var(--lpds-ease-out);
}

.lpds-gallery-stage:hover img {
  transform: scale(1.03);
}

.lpds-gallery-stage::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

.lpds-gallery-stage__caption {
  position: absolute;
  right: var(--lpds-space-lg);
  left: var(--lpds-space-lg);
  bottom: var(--lpds-space-lg);
  padding: var(--lpds-space-md);
  border-radius: var(--lpds-radius-md);
  background: rgba(15, 23, 42, 0.58);
  color: #fff;
  backdrop-filter: blur(10px);
  z-index: 2;
}

.lpds-gallery-stage__caption strong {
  display: block;
  margin-bottom: 4px;
}

.lpds-gallery-thumbs {
  display: grid;
  gap: var(--lpds-space-md);
}

.lpds-gallery-thumb {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: var(--lpds-space-md);
  width: 100%;
  padding: 10px;
  text-align: start;
  border: 1px solid var(--lpds-color-border);
  border-radius: var(--lpds-radius-md);
  background: var(--lpds-color-surface);
  cursor: pointer;
  transition:
    transform var(--lpds-duration-fast) var(--lpds-ease-out),
    border-color var(--lpds-duration-fast) var(--lpds-ease-out),
    box-shadow var(--lpds-duration-fast) var(--lpds-ease-out),
    background var(--lpds-duration-fast) var(--lpds-ease-out);
}

.lpds-gallery-thumb:hover,
.lpds-gallery-thumb.is-active {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: var(--lpds-shadow-md);
  transform: translateY(-2px);
  background: linear-gradient(180deg, #fff 0%, rgba(56, 189, 248, 0.06) 100%);
}

.lpds-gallery-thumb img {
  width: 100%;
  height: 76px;
  object-fit: cover;
  border-radius: 10px;
}

.lpds-gallery-thumb strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.lpds-gallery-thumb span {
  font-size: 0.825rem;
  color: var(--lpds-color-navy-muted);
}

.lpds-gallery-snap {
  position: relative;
}

.lpds-gallery-snap__controls {
  display: flex;
  justify-content: flex-end;
  gap: var(--lpds-space-sm);
  margin-bottom: var(--lpds-space-md);
}

.lpds-gallery-snap__controls button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--lpds-color-border);
  border-radius: 50%;
  background: var(--lpds-color-surface);
  color: var(--lpds-color-navy);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--lpds-shadow-sm);
  transition:
    transform var(--lpds-duration-fast) var(--lpds-ease-out),
    box-shadow var(--lpds-duration-fast) var(--lpds-ease-out),
    border-color var(--lpds-duration-fast) var(--lpds-ease-out);
}

.lpds-gallery-snap__controls button:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: var(--lpds-shadow-md);
}

.lpds-gallery-snap__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 72%);
  gap: var(--lpds-space-lg);
  overflow-x: auto;
  padding: 8px calc(50% - min(36vw, 260px)) 12px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.lpds-gallery-snap__track::-webkit-scrollbar {
  display: none;
}

.lpds-gallery-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  scroll-snap-align: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: calc(var(--lpds-radius-xl) + 4px);
  background: var(--lpds-color-surface-elevated);
  box-shadow: var(--lpds-shadow-lg);
  cursor: pointer;
  transform: scale(0.9);
  opacity: 0.68;
  transition:
    transform var(--lpds-duration-normal) var(--lpds-ease-out),
    opacity var(--lpds-duration-normal) var(--lpds-ease-out),
    box-shadow var(--lpds-duration-normal) var(--lpds-ease-out),
    border-color var(--lpds-duration-fast) var(--lpds-ease-out);
}

.lpds-gallery-card.is-active {
  transform: scale(1);
  opacity: 1;
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.2);
}

.lpds-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--lpds-duration-slow) var(--lpds-ease-out);
}

.lpds-gallery-card:hover img,
.lpds-gallery-card.is-active img {
  transform: scale(1.04);
}

.lpds-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.04) 0%, rgba(15, 23, 42, 0.72) 100%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 28%);
}

.lpds-gallery-card__overlay {
  position: absolute;
  inset-inline: var(--lpds-space-lg);
  bottom: var(--lpds-space-lg);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--lpds-space-md);
  border-radius: var(--lpds-radius-md);
  background: rgba(15, 23, 42, 0.42);
  color: #fff;
  backdrop-filter: blur(10px);
}

.lpds-gallery-card__overlay strong {
  font-family: var(--lpds-font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 800;
}

.lpds-gallery-card__overlay span {
  font-size: 0.9rem;
  color: rgba(248, 250, 252, 0.82);
}

.lpds-project-squares {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: var(--lpds-space-lg);
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.lpds-project-squares::-webkit-scrollbar {
  display: none;
}

.lpds-project-square {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--lpds-color-border);
  border-radius: var(--lpds-radius-xl);
  background: var(--lpds-color-surface-elevated);
  box-shadow: var(--lpds-shadow-lg);
  cursor: pointer;
  text-align: start;
  padding: 0;
  transform: translateY(0);
  transition:
    transform var(--lpds-duration-normal) var(--lpds-ease-out),
    box-shadow var(--lpds-duration-normal) var(--lpds-ease-out),
    border-color var(--lpds-duration-fast) var(--lpds-ease-out);
}

.lpds-project-square:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.18);
}

.lpds-project-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--lpds-duration-slow) var(--lpds-ease-out);
}

.lpds-project-square:hover img {
  transform: scale(1.05);
}

.lpds-project-square__overlay {
  position: absolute;
  inset-inline: var(--lpds-space-lg);
  bottom: var(--lpds-space-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--lpds-space-md);
  border-radius: var(--lpds-radius-md);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.72) 100%);
  color: #fff;
  backdrop-filter: blur(10px);
}

.lpds-project-square__overlay strong {
  font-family: var(--lpds-font-display);
  font-size: 1.25rem;
  font-weight: 800;
}

.lpds-project-square__overlay span {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.82);
}

.lpds-project-popup {
  width: min(100%, 900px);
  max-width: min(90vw, 900px);
}

.lpds-project-popup .lpds-popup__body {
  overflow: visible;
  display: grid;
  gap: var(--lpds-space-md);
  padding:
    clamp(56px, 7vw, 64px)
    clamp(18px, 2.6vw, 24px)
    clamp(18px, 2.6vw, 22px);
}

.lpds-project-popup__head {
  text-align: center;
  margin-bottom: 0;
}

.lpds-project-popup__stage {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: clamp(300px, 42vw, 460px);
  max-height: min(54vh, 500px);
  width: 100%;
  margin-inline: auto;
  border-radius: var(--lpds-radius-xl);
  border: 1px solid var(--lpds-color-border);
  background: var(--lpds-color-surface-elevated);
  box-shadow: var(--lpds-shadow-lg);
}

.lpds-project-popup__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lpds-project-popup__thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--lpds-space-md);
  overflow: visible;
  padding-top: var(--lpds-space-md);
  padding-bottom: 0;
}

.lpds-project-popup__thumb {
  flex: 0 0 124px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--lpds-radius-md);
  overflow: hidden;
  background: var(--lpds-color-surface);
  cursor: pointer;
  transition:
    transform var(--lpds-duration-fast) var(--lpds-ease-out),
    border-color var(--lpds-duration-fast) var(--lpds-ease-out),
    box-shadow var(--lpds-duration-fast) var(--lpds-ease-out);
}

.lpds-project-popup__thumb img {
  width: 100%;
  height: 82px;
  object-fit: cover;
  display: block;
}

.lpds-project-popup__thumb:hover,
.lpds-project-popup__thumb.is-active {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: var(--lpds-shadow-md);
}

.lpds-video-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--lpds-radius-xl);
  border: 1px solid var(--lpds-color-border);
  background: #000;
  box-shadow: var(--lpds-shadow-lg);
}

.lpds-video-card::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.lpds-video-frame,
.lpds-video-poster {
  position: absolute;
  inset: 0;
}

.lpds-video-poster img,
.lpds-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.lpds-video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0.72) 100%);
}

.lpds-video-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.24);
  transition:
    transform var(--lpds-duration-fast) var(--lpds-ease-out),
    background var(--lpds-duration-fast) var(--lpds-ease-out);
  animation: lpds-video-pulse 2.6s ease-in-out infinite;
}

.lpds-video-trigger:hover {
  transform: translate(-50%, -50%) scale(1.05);
  background: rgba(255, 255, 255, 0.24);
}

.lpds-video-trigger svg {
  margin-inline-start: 4px;
}

.lpds-video-card.is-playing .lpds-video-poster,
.lpds-video-card.is-playing .lpds-video-trigger {
  display: none;
}

.lpds-pricing-hook {
  padding: var(--lpds-space-2xl);
  border-radius: var(--lpds-radius-xl);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 30%),
    linear-gradient(145deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow: var(--lpds-shadow-lg);
}

.lpds-pricing-hook__grid {
  display: grid;
  gap: var(--lpds-space-lg);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 900px) {
  .lpds-pricing-hook__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.lpds-pricing-hook__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lpds-space-sm);
  margin-bottom: var(--lpds-space-md);
}

.lpds-price-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--lpds-radius-pill);
  background: rgba(15, 23, 42, 0.06);
  color: var(--lpds-color-navy);
  font-size: 0.8125rem;
  font-weight: 700;
}

.lpds-pricing-matrix {
  display: grid;
  gap: var(--lpds-space-md);
  grid-template-columns: repeat(2, 1fr);
}

.lpds-pricing-box {
  padding: var(--lpds-space-lg);
  border-radius: var(--lpds-radius-lg);
  background: var(--lpds-color-surface);
  border: 1px solid var(--lpds-color-border);
  box-shadow: var(--lpds-shadow-md);
  transition:
    transform var(--lpds-duration-fast) var(--lpds-ease-out),
    box-shadow var(--lpds-duration-fast) var(--lpds-ease-out),
    border-color var(--lpds-duration-fast) var(--lpds-ease-out);
}

.lpds-pricing-box:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(56, 189, 248, 0.42);
  box-shadow: var(--lpds-shadow-lg);
}

.lpds-pricing-box__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lpds-color-accent-strong);
}

.lpds-pricing-box__value {
  font-family: var(--lpds-font-display);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  color: var(--lpds-color-navy);
}

.lpds-pricing-box__hint {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--lpds-color-navy-muted);
}

.lpds-social-proof {
  display: grid;
  gap: var(--lpds-space-xl);
}

@media (min-width: 960px) {
  .lpds-social-proof {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: stretch;
  }
}

.lpds-company-proof {
  padding: var(--lpds-space-2xl);
}

.lpds-company-proof__stats {
  display: grid;
  gap: var(--lpds-space-md);
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--lpds-space-xl);
}

.lpds-company-proof__stat {
  padding: var(--lpds-space-md);
  text-align: center;
  border-radius: var(--lpds-radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lpds-company-proof__stat strong {
  display: block;
  font-family: var(--lpds-font-display);
  font-size: 1.35rem;
  color: var(--lpds-color-accent);
}

.lpds-company-proof__stat span {
  font-size: 0.75rem;
  color: rgba(248, 250, 252, 0.7);
}

.lpds-proof-browser {
  display: grid;
  gap: var(--lpds-space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .lpds-proof-browser {
    grid-template-columns: 280px 1fr;
  }
}

.lpds-proof-projects {
  display: grid;
  gap: var(--lpds-space-md);
}

.lpds-proof-project {
  width: 100%;
  text-align: start;
  padding: var(--lpds-space-md);
  border-radius: var(--lpds-radius-md);
  border: 1px solid var(--lpds-color-border);
  background: var(--lpds-color-surface);
  cursor: pointer;
  transition:
    border-color var(--lpds-duration-fast) var(--lpds-ease-out),
    transform var(--lpds-duration-fast) var(--lpds-ease-out),
    box-shadow var(--lpds-duration-fast) var(--lpds-ease-out),
    background var(--lpds-duration-fast) var(--lpds-ease-out);
}

.lpds-proof-project.is-active {
  border-color: rgba(56, 189, 248, 0.62);
  box-shadow: var(--lpds-shadow-glow-accent);
  background: linear-gradient(180deg, #fff 0%, rgba(56, 189, 248, 0.06) 100%);
}

.lpds-proof-project strong {
  display: block;
  margin-bottom: 4px;
}

.lpds-proof-project span {
  font-size: 0.85rem;
  color: var(--lpds-color-navy-muted);
}

.lpds-proof-viewer {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--lpds-radius-xl);
  border: 1px solid var(--lpds-color-border);
  box-shadow: var(--lpds-shadow-lg);
  background: var(--lpds-color-surface-elevated);
  transform: perspective(1200px) rotateX(var(--lpds-tilt-y, 0deg)) rotateY(var(--lpds-tilt-x, 0deg));
  transition: transform var(--lpds-duration-normal) var(--lpds-ease-out), box-shadow var(--lpds-duration-normal) var(--lpds-ease-out);
}

.lpds-proof-viewer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lpds-proof-viewer__overlay {
  position: absolute;
  inset-inline: var(--lpds-space-lg);
  bottom: var(--lpds-space-lg);
  display: flex;
  justify-content: space-between;
  gap: var(--lpds-space-md);
  align-items: end;
  padding: var(--lpds-space-md);
  border-radius: var(--lpds-radius-md);
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  backdrop-filter: blur(10px);
}

.lpds-proof-viewer__overlay strong {
  display: block;
  margin-bottom: 4px;
}

.lpds-proof-nav {
  display: inline-flex;
  gap: var(--lpds-space-sm);
}

.lpds-proof-nav button {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
}

.lpds-footer-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.2), transparent 24%),
    linear-gradient(145deg, var(--lpds-color-navy) 0%, #1e293b 100%);
  color: #fff;
}

.lpds-footer-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.24) 100%);
  pointer-events: none;
}

.lpds-footer-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--lpds-space-2xl);
  align-items: center;
}

@media (min-width: 960px) {
  .lpds-footer-cta__inner {
    grid-template-columns: 1fr 420px;
  }
}

.lpds-footer-cta .lpds-display,
.lpds-footer-cta .lpds-lead {
  color: #fff;
}

.lpds-footer-cta .lpds-lead {
  opacity: 0.82;
}

.lpds-footer-form {
  padding: var(--lpds-space-xl);
}

.lpds-footer-form .lpds-field-row {
  grid-template-columns: 1fr;
}

.lpds-legal-footer {
  padding: var(--lpds-space-xl) 0 var(--lpds-space-3xl);
  text-align: center;
  color: var(--lpds-color-navy-muted);
  background: var(--lpds-color-surface-elevated);
}

.lpds-legal-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--lpds-space-md);
}

.lpds-legal-footer__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: var(--lpds-radius-pill);
  border: 1px solid var(--lpds-color-border);
  background: #fff;
  color: var(--lpds-color-navy);
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    border-color var(--lpds-duration-fast) var(--lpds-ease-out),
    transform var(--lpds-duration-fast) var(--lpds-ease-out);
}

.lpds-legal-footer__links a:hover {
  border-color: rgba(56, 189, 248, 0.42);
  transform: translateY(-1px);
}

.lpds-legal-footer__note {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.lpds-legal-footer__meta {
  margin: 10px 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  opacity: 0.78;
}

.lpds-legal-footer__credit {
  margin: 12px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.lpds-legal-footer__credit a {
  color: var(--lpds-color-accent-strong);
  text-decoration: none;
}

.lpds-legal-footer__credit a:hover {
  text-decoration: underline;
}

/* Breadcrumb: markup stays in HTML for SEO / microdata; not shown in UI */
.lpds-breadcrumb {
  display: none;
}

/* Project specs (semantic dl) */
.lpds-specs {
  scroll-margin-top: calc(var(--lpds-header-offset) + var(--lpds-space-md));
}

.lpds-specs__dl {
  margin: var(--lpds-space-xl) 0 0;
  padding: 0;
  border: 1px solid var(--lpds-color-border);
  border-radius: var(--lpds-radius-lg);
  overflow: hidden;
  background: var(--lpds-color-surface-elevated);
}

.lpds-specs__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-bottom: 1px solid var(--lpds-color-border);
}

.lpds-specs__row:last-child {
  border-bottom: none;
}

@media (min-width: 640px) {
  .lpds-specs__row {
    grid-template-columns: minmax(160px, 32%) 1fr;
  }
}

.lpds-specs__row:nth-child(even) {
  background: rgba(15, 23, 42, 0.02);
}

.lpds-specs dt,
.lpds-specs dd {
  margin: 0;
  padding: var(--lpds-space-md) var(--lpds-space-lg);
  font-size: 0.95rem;
  line-height: 1.5;
}

.lpds-specs dt {
  font-weight: 800;
  color: var(--lpds-color-navy);
  border-bottom: 1px solid var(--lpds-color-border);
}

@media (min-width: 640px) {
  .lpds-specs dt {
    border-bottom: none;
    border-inline-end: 1px solid var(--lpds-color-border);
  }
}

.lpds-specs dd {
  font-weight: 600;
  color: var(--lpds-color-navy-muted);
}

/* FAQ accordion */
.lpds-faq {
  scroll-margin-top: calc(var(--lpds-header-offset) + var(--lpds-space-md));
}

.lpds-faq__list {
  margin: var(--lpds-space-xl) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--lpds-space-sm);
}

.lpds-faq__item {
  border: 1px solid var(--lpds-color-border);
  border-radius: var(--lpds-radius-md);
  background: var(--lpds-color-surface-elevated);
  overflow: hidden;
}

.lpds-faq__q {
  list-style: none;
  cursor: pointer;
  padding: var(--lpds-space-md) var(--lpds-space-lg);
  padding-inline-end: calc(var(--lpds-space-lg) + 28px);
  font-weight: 800;
  font-size: 1rem;
  color: var(--lpds-color-navy);
  position: relative;
  transition: background var(--lpds-duration-fast) var(--lpds-ease-out);
}

.lpds-faq__q::-webkit-details-marker {
  display: none;
}

.lpds-faq__q::after {
  content: "";
  position: absolute;
  inset-inline-end: var(--lpds-space-lg);
  top: 50%;
  width: 10px;
  height: 10px;
  border-inline-end: 2px solid var(--lpds-color-navy-muted);
  border-block-end: 2px solid var(--lpds-color-navy-muted);
  transform: translateY(-60%) rotate(45deg);
  transition: transform var(--lpds-duration-fast) var(--lpds-ease-out);
}

.lpds-faq__item[open] .lpds-faq__q::after {
  transform: translateY(-20%) rotate(225deg);
}

.lpds-faq__q:hover {
  background: rgba(56, 189, 248, 0.06);
}

.lpds-faq__a {
  padding: 0 var(--lpds-space-lg) var(--lpds-space-md);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--lpds-color-navy-muted);
  border-top: 1px solid var(--lpds-color-border);
}

.lpds-faq__item[open] .lpds-faq__a {
  padding-top: var(--lpds-space-md);
}

@media (prefers-reduced-motion: reduce) {
  .lpds-faq__q,
  .lpds-faq__q::after {
    transition: none;
  }
}

.lpds-seo-copy {
  scroll-margin-top: calc(var(--lpds-header-offset) + var(--lpds-space-md));
}

.lpds-seo-copy__grid {
  display: grid;
  gap: var(--lpds-space-lg);
  margin-top: var(--lpds-space-xl);
}

@media (min-width: 960px) {
  .lpds-seo-copy__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lpds-seo-copy__card {
  padding: var(--lpds-space-xl);
  border: 1px solid var(--lpds-color-border);
  border-radius: var(--lpds-radius-lg);
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.04), rgba(56, 189, 248, 0)),
    var(--lpds-color-surface-elevated);
  box-shadow: var(--lpds-shadow-sm);
}

.lpds-seo-copy__card .lpds-h3 {
  margin-bottom: var(--lpds-space-sm);
}

.lpds-seo-copy__card p {
  margin: 0;
  color: var(--lpds-color-navy-muted);
  font-weight: 600;
  line-height: 1.7;
}

.lpds-seo-copy__intro {
  max-width: 84ch;
}

.lpds-seo-copy__intro p {
  margin: 0;
  color: var(--lpds-color-navy-muted);
  font-weight: 600;
  line-height: 1.8;
}

.lpds-field-row {
  display: grid;
  gap: var(--lpds-space-md);
  grid-template-columns: 1fr;
}

.lpds-field-row > * {
  min-width: 0;
}

@media (min-width: 640px) {
  .lpds-field-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lpds-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lpds-space-md);
  margin-top: var(--lpds-space-lg);
}

.lpds-bottom-cta {
  position: fixed;
  left: 50%;
  bottom: calc(var(--lpds-space-lg) + var(--lpds-safe-bottom));
  z-index: 995;
  display: inline-flex;
  align-items: center;
  gap: var(--lpds-space-sm);
  padding: 14px 22px;
  border-radius: var(--lpds-radius-pill);
  background: linear-gradient(135deg, var(--lpds-color-accent) 0%, var(--lpds-color-accent-strong) 100%);
  color: #0f172a;
  box-shadow: var(--lpds-shadow-glow-accent);
  transform: translateX(-50%);
  font-size: 0.95rem;
  font-weight: 800;
}

.lpds-bottom-cta:hover {
  transform: translateX(-50%) translateY(-2px);
}

.lpds-hover-lift {
  transition:
    transform var(--lpds-duration-fast) var(--lpds-ease-out),
    box-shadow var(--lpds-duration-fast) var(--lpds-ease-out);
}

.lpds-hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--lpds-shadow-lg);
}

@media (max-width: 959px) {
  .lpds-preview-header__inner {
    min-height: 68px;
  }

  .lpds-popup__body {
    padding:
      clamp(54px, 7vw, 64px)
      clamp(18px, 3vw, 24px)
      clamp(18px, 3vw, 24px);
  }

  .lpds-popup--compact {
    max-width: min(92vw, 388px);
  }

  .lpds-popup--compact .lpds-popup__body {
    padding:
      50px
      16px
      16px;
  }

  .lpds-section {
    padding-block: clamp(var(--lpds-space-xl), 5vw, var(--lpds-space-2xl));
  }

  .lpds-h1 {
    font-size: clamp(2rem, 5vw, 2.9rem);
    line-height: 1.16;
  }

  .lpds-h2 {
    font-size: clamp(1.6rem, 3.8vw, 2.15rem);
    line-height: 1.2;
  }

  .lpds-lead {
    font-size: 1rem;
    line-height: 1.7;
  }

  .lpds-why-project,
  .lpds-usp-list--rectangles,
  .lpds-company-proof__stats,
  .lpds-pricing-matrix {
    grid-template-columns: 1fr;
  }

  .lpds-hero__inner,
  .lpds-social-proof,
  .lpds-footer-cta__inner {
    gap: var(--lpds-space-xl);
  }

  .lpds-hero__form-wrap {
    max-width: 100%;
  }

  .lpds-section-header {
    max-width: 100%;
    margin-bottom: 32px;
  }

  .lpds-hero__spotlight {
    min-height: 340px;
  }

  .lpds-location-visual {
    min-height: 280px;
  }

  .lpds-hero__spotlight-caption,
  .lpds-proof-viewer__overlay {
    flex-direction: column;
    align-items: start;
  }

  .lpds-gallery-thumbs,
  .lpds-proof-projects {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .lpds-gallery-thumbs::-webkit-scrollbar,
  .lpds-proof-projects::-webkit-scrollbar {
    display: none;
  }

  .lpds-gallery-snap__track {
    grid-auto-columns: minmax(300px, 80%);
    padding-inline: calc(50% - min(40vw, 230px));
  }

  .lpds-gallery-card {
    min-height: 420px;
  }

  .lpds-gallery-card__overlay {
    inset-inline: 20px;
    bottom: 20px;
    padding: 14px;
  }

  .lpds-project-squares {
    grid-auto-columns: minmax(260px, 320px);
  }

  .lpds-project-square {
    min-height: 380px;
  }

  .lpds-project-popup__stage {
    min-height: 340px;
    max-height: min(48vh, 420px);
  }

  .lpds-project-popup {
    width: min(94vw, 760px);
    max-width: min(94vw, 760px);
  }

  .lpds-project-popup .lpds-popup__body {
    gap: 14px;
    padding:
      54px
      18px
      18px;
  }

  .lpds-project-popup__thumb {
    flex-basis: 108px;
  }

  .lpds-bottom-cta {
    padding: 12px 18px;
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
  .lpds-root .iti {
    --lpds-phone-slot-width: 100px;
  }

  .lpds-root .iti--separate-dial-code input.lpds-input {
    padding-left: calc(var(--lpds-phone-slot-width) + 16px) !important;
  }

  [dir="rtl"] .lpds-root .iti--separate-dial-code input.lpds-input {
    padding-left: 14px !important;
    padding-right: calc(var(--lpds-phone-slot-width) + 16px) !important;
  }

  .lpds-preview-header__inner {
    min-height: 64px;
    padding-block: 10px;
  }

  .lpds-preview-header__brand {
    font-size: 1rem;
  }

  .lpds-preview-header__lang {
    min-width: 98px;
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .lpds-popup__body {
    padding:
      54px
      16px
      16px;
  }

  .lpds-popup--compact {
    max-width: min(94vw, 360px);
  }

  .lpds-popup--compact .lpds-popup__body {
    padding:
      48px
      14px
      14px;
  }

  .lpds-section {
    padding-block: clamp(var(--lpds-space-lg), 5vw, var(--lpds-space-xl));
  }

  .lpds-container {
    padding-inline: clamp(14px, 4vw, var(--lpds-space-md));
  }

  .lpds-root {
    font-size: 15.5px;
  }

  .lpds-h1 {
    font-size: clamp(1.85rem, 7vw, 2.35rem);
    line-height: 1.2;
  }

  .lpds-h2 {
    font-size: clamp(1.4rem, 5.2vw, 1.9rem);
    line-height: 1.24;
  }

  .lpds-h3 {
    font-size: 1.18rem;
  }

  .lpds-section-header {
    margin-bottom: 24px;
  }

  .lpds-hero {
    min-height: auto;
    padding-block: calc(var(--lpds-space-3xl) + var(--lpds-safe-top)) var(--lpds-space-xl);
  }

  .lpds-hero__inner {
    gap: var(--lpds-space-lg);
  }

  .lpds-hero__badges {
    gap: 6px;
    margin-bottom: var(--lpds-space-md);
  }

  .lpds-badge {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  .lpds-value-stack {
    gap: 10px;
    margin-block: var(--lpds-space-md);
  }

  .lpds-value-item {
    font-size: 0.875rem;
  }

  .lpds-hero__proof,
  .lpds-project-card__facts {
    display: none;
  }

  .lpds-gallery-stage,
  .lpds-proof-viewer {
    min-height: 280px;
  }

  .lpds-gallery-snap__controls {
    justify-content: center;
  }

  .lpds-gallery-snap__controls button {
    width: 42px;
    height: 42px;
  }

  .lpds-gallery-snap__track {
    grid-auto-columns: 84%;
    gap: var(--lpds-space-md);
    padding-inline: 8%;
  }

  .lpds-gallery-card {
    min-height: 360px;
  }

  .lpds-gallery-card__overlay strong {
    font-size: 1.1rem;
  }

  .lpds-gallery-card__overlay span {
    font-size: 0.82rem;
  }

  .lpds-project-squares {
    grid-auto-columns: minmax(240px, 280px);
    gap: var(--lpds-space-md);
  }

  .lpds-project-square {
    min-height: 320px;
  }

  .lpds-gallery-thumb {
    grid-template-columns: 72px 1fr;
    min-width: 240px;
  }

  .lpds-gallery-thumb img {
    height: 62px;
  }

  .lpds-pricing-hook,
  .lpds-company-proof,
  .lpds-footer-form {
    padding: var(--lpds-space-lg);
  }

  .lpds-project-popup {
    width: min(100%, 680px);
    max-width: 100%;
  }

  .lpds-project-popup__stage {
    min-height: 260px;
    max-height: min(42vh, 320px);
  }

  .lpds-project-popup .lpds-popup__body {
    gap: 12px;
    padding:
      50px
      14px
      14px;
  }

  .lpds-project-popup__thumbs {
    gap: var(--lpds-space-sm);
    padding-top: 12px;
  }

  .lpds-project-popup__thumb {
    flex-basis: 92px;
  }

  .lpds-company-proof__stats {
    gap: var(--lpds-space-sm);
  }

  .lpds-footer-actions,
  .lpds-btn-row,
  .lpds-project-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lpds-btn-row .lpds-btn,
  .lpds-footer-actions .lpds-btn,
  .lpds-project-card__actions .lpds-btn {
    width: 100%;
  }

  .lpds-bottom-cta {
    display: none;
  }

  .lpds-sticky-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-inline: 12px;
  }

  .lpds-sticky-bar .lpds-btn {
    min-width: 0;
    flex: 1 1 0;
    min-height: 44px;
    padding-inline: 10px;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .lpds-root .iti {
    --lpds-phone-slot-width: 94px;
  }

  .lpds-root .iti__selected-country {
    padding-inline: 10px 8px;
  }

  .lpds-root .iti--separate-dial-code .iti__selected-dial-code {
    font-size: 0.82rem;
  }

  .lpds-root .iti--separate-dial-code input.lpds-input {
    padding-left: calc(var(--lpds-phone-slot-width) + 14px) !important;
  }

  [dir="rtl"] .lpds-root .iti--separate-dial-code input.lpds-input {
    padding-left: 12px !important;
    padding-right: calc(var(--lpds-phone-slot-width) + 14px) !important;
  }

  .lpds-preview-header__inner {
    min-height: 60px;
  }

  .lpds-preview-header__brand {
    font-size: 0.94rem;
  }

  .lpds-preview-header__lang {
    min-width: 92px;
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  .lpds-popup-overlay {
    align-items: start;
  }

  .lpds-popup--compact {
    max-width: 100%;
  }

  .lpds-popup--compact .lpds-popup__body {
    padding:
      46px
      12px
      12px;
  }

  .lpds-root {
    font-size: 15px;
  }

  .lpds-hero__spotlight {
    min-height: 260px;
  }

  .lpds-location-visual {
    min-height: 220px;
  }

  .lpds-hero__spotlight-caption strong {
    font-size: 1rem;
  }

  .lpds-eyebrow {
    gap: 10px;
    font-size: 0.75rem;
  }

  .lpds-eyebrow::before,
  .lpds-eyebrow::after {
    width: 20px;
  }

  .lpds-sticky-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding-inline: 10px;
  }

  .lpds-sticky-bar .lpds-btn {
    min-height: 42px;
    padding: 11px 6px;
    font-size: 0.72rem;
  }

  .lpds-gallery-thumb,
  .lpds-proof-project {
    min-width: 210px;
  }

  .lpds-project-squares {
    grid-auto-columns: 84vw;
  }

  .lpds-project-square {
    min-height: 280px;
  }

  .lpds-gallery-snap__track {
    grid-auto-columns: 88%;
    padding-inline: 6%;
  }

  .lpds-gallery-card {
    min-height: 300px;
  }

  .lpds-gallery-card__overlay {
    inset-inline: var(--lpds-space-md);
    bottom: var(--lpds-space-md);
    padding: 12px;
  }

  .lpds-project-square__overlay {
    inset-inline: var(--lpds-space-md);
    bottom: var(--lpds-space-md);
  }

  .lpds-project-popup__thumb img {
    height: 74px;
  }

  .lpds-project-popup .lpds-popup__body {
    gap: 10px;
    padding:
      46px
      12px
      12px;
  }

  .lpds-project-popup__stage {
    min-height: 220px;
    max-height: min(34vh, 260px);
  }

  .lpds-project-popup__thumb {
    flex-basis: 84px;
  }

  .lpds-popup {
    max-height: calc(100dvh - 16px);
  }

  .lpds-popup__close {
    top: 10px;
    inset-inline-end: 10px;
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lpds-reveal,
  .lpds-reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .lpds-btn--pulse {
    animation: none;
  }
  .lpds-video-trigger,
  .lpds-hero::before,
  .lpds-hero::after,
  .lpds-hero__spotlight::before {
    animation: none;
  }
  .lpds-shimmer-text {
    animation: none;
    color: var(--lpds-color-navy);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
  }
  .lpds-project-card:hover .lpds-project-card__media img {
    transform: none;
  }
  .lpds-stat-card:hover {
    transform: none;
  }
  .lpds-popup {
    transition: none;
  }
  .lpds-popup-overlay.is-open .lpds-popup {
    transform: none;
  }
  .lpds-gallery-stage:hover img,
  .lpds-bottom-cta:hover,
  .lpds-hover-lift:hover,
  .lpds-info-card:hover,
  .lpds-proof-project:hover {
    transform: none;
  }
  .lpds-hero__spotlight,
  .lpds-gallery-stage,
  .lpds-proof-viewer,
  .lpds-gallery-card,
  .lpds-project-square,
  [data-motion-surface] {
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   Section alternating backgrounds
   -------------------------------------------------------------------------- */
.lpds-section--alt {
  background: var(--lpds-color-surface-elevated);
}
