/* ============================================================
   LumaChoice — services.css  (v2 — Card Grid + Modal)
   Namespaces used:
     lc-sp-  existing hero / category / CTA styles (unchanged)
     lc-sg-  NEW service card grid  (LumaChoice Services Grid)
     lc-sm-  NEW service modal      (LumaChoice Services Modal)
   Zero overlap with styles.css or main.js.
   ============================================================ */


/* ══════════════════════════════════════════════════════════════
   SECTION: LC_SP_PAGE_HERO START
   ══════════════════════════════════════════════════════════════ */
#lc-sp-hero {
  position: relative;
  background:
    linear-gradient(160deg, rgba(8,18,28,.94) 0%, rgba(15,30,50,.88) 50%, rgba(8,20,35,.94) 100%),
    url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1920&q=80') center / cover no-repeat;
  padding-block: var(--lf-sp-24) var(--lf-sp-20);
  overflow: hidden;
}
#lc-sp-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 60%, rgba(184,151,58,.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 85% 30%, rgba(13,27,42,.08) 0%, transparent 55%);
  pointer-events: none;
}
#lc-sp-hero .lc-sp-hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: var(--lf-sp-6);
  max-width: 760px;
}
#lc-sp-hero .lc-sp-hero-title {
  font-family: var(--lf-font-display);
  font-size: clamp(var(--lf-text-4xl), 6vw, var(--lf-text-7xl));
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--lf-text-light);
}
#lc-sp-hero .lc-sp-hero-title em {
  font-style: italic;
  background: var(--lf-grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
#lc-sp-hero .lc-sp-hero-sub {
  font-size: var(--lf-text-lg);
  color: rgba(255,255,255,.68);
  line-height: 1.65;
  max-width: 560px;
}
#lc-sp-hero .lc-sp-hero-breadcrumb {
  display: flex; align-items: center; gap: var(--lf-sp-2);
  font-size: var(--lf-text-xs);
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}
#lc-sp-hero .lc-sp-hero-breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--lf-dur-fast); }
#lc-sp-hero .lc-sp-hero-breadcrumb a:hover { color: var(--lf-gold-light); }
#lc-sp-hero .lc-sp-hero-breadcrumb .lc-sp-sep { color: rgba(255,255,255,.25); }
#lc-sp-hero .lc-sp-hero-stats {
  display: flex; gap: var(--lf-sp-12); margin-top: var(--lf-sp-4);
  padding-top: var(--lf-sp-8);
  border-top: 1px solid rgba(255,255,255,.1);
  width: 100%;
}
#lc-sp-hero .lc-sp-stat-num {
  font-family: var(--lf-font-display);
  font-size: var(--lf-text-3xl);
  font-weight: 500;
  color: var(--lf-gold-light);
  letter-spacing: -.02em;
  line-height: 1;
}
#lc-sp-hero .lc-sp-stat-lbl {
  font-size: var(--lf-text-xs);
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: 3px;
  font-weight: 500;
}
/* SECTION: LC_SP_PAGE_HERO END */


/* ══════════════════════════════════════════════════════════════
   SECTION: LC_SP_SERVICES_BODY START
   ══════════════════════════════════════════════════════════════ */
#lc-services-page {
  background: var(--lf-bg);
  padding-block: var(--lf-sp-24);
}
/* Wider container to fit 3-col card grid */
#lc-services-page .lf-container {
  max-width: var(--lf-container-xl);
}

/* ── Category divider ────────────────────────────────── */
.lc-sp-category { margin-bottom: var(--lf-sp-20); }
.lc-sp-category:last-child { margin-bottom: 0; }

.lc-sp-category-header {
  display: flex;
  align-items: center;
  gap: var(--lf-sp-6);
  margin-bottom: var(--lf-sp-8);
}

.lc-sp-category-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: var(--lf-navy);
  border-radius: var(--lf-r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lf-gold);
  box-shadow: var(--lf-shadow-md);
}

.lc-sp-category-icon svg {
  width: 22px;
  height: 22px;
}

.lc-sp-category-info {
  flex: 1;
  min-width: 0;
  padding-left: var(--lf-sp-2);
}

.lc-sp-category-name {
  font-family: var(--lf-font-display);
  font-size: var(--lf-text-2xl);
  font-weight: 600;
  color: var(--lf-navy);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.lc-sp-category-desc {
  font-size: var(--lf-text-sm);
  color: var(--lf-text-muted);
  margin-top: var(--lf-sp-1);
}
.lc-sp-category-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--lf-border-gold) 0%, transparent 100%);
}
.lc-sp-category-count {
  flex-shrink: 0;
  font-size: var(--lf-text-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lf-text-muted);
  white-space: nowrap;
  background: var(--lf-gold-pale);
  border: 1px solid var(--lf-border-gold);
  border-radius: var(--lf-r-pill);
  padding: 3px 10px;
}
/* SECTION: LC_SP_SERVICES_BODY END */


/* ══════════════════════════════════════════════════════════════
   SECTION: LC_SG_CARD_GRID START
   3-column card layout replacing the old accordion rows.
   Each card opens a modal — no in-page expansion.
   ══════════════════════════════════════════════════════════════ */
.lc-sg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lf-sp-6);
}

/* ── Card shell ─────────────────────────────────────── */
.lc-sg-card {
  background: var(--lf-surface);
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-r-xl);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  outline: none;
  position: relative;
  transition:
    border-color var(--lf-dur-base) var(--lf-ease-out),
    box-shadow   var(--lf-dur-base) var(--lf-ease-out),
    transform    var(--lf-dur-base) var(--lf-ease-out);
  /* GPU layer hint for smooth transforms */
  will-change: transform;
}
.lc-sg-card:hover,
.lc-sg-card:focus-visible {
  border-color: var(--lf-gold);
  box-shadow: var(--lf-shadow-gold);
  transform: translateY(-5px);
}
.lc-sg-card:focus-visible {
  outline: 2px solid var(--lf-gold);
  outline-offset: 2px;
}
.lc-sg-card:active { transform: translateY(-2px); }

/* ── Card media (image area) ─────────────────────────── */
.lc-sg-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--lf-navy);
  flex-shrink: 0;
}
.lc-sg-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms var(--lf-ease-out);
  pointer-events: none;
}
.lc-sg-card:hover .lc-sg-card-media img,
.lc-sg-card:focus-visible .lc-sg-card-media img {
  transform: scale(1.06);
}

/* Category icon badge — bottom-left of image */
.lc-sg-card-cat-badge {
  position: absolute;
  bottom: var(--lf-sp-3);
  left: var(--lf-sp-3);
  width: 34px; height: 34px;
  background: var(--lf-navy);
  border-radius: var(--lf-r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--lf-gold);
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.lc-sg-card-cat-badge svg { width: 16px; height: 16px; }

/* Play hint — centered on image */
.lc-sg-card-play-hint {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: rgba(13,27,42,.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(184,151,58,.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--lf-gold);
  opacity: 1;
  transition: opacity var(--lf-dur-base) var(--lf-ease-out),
              transform var(--lf-dur-base) var(--lf-ease-out);
  pointer-events: none;
}
.lc-sg-card-play-hint svg { width: 20px; height: 20px; margin-left: 3px; }
.lc-sg-card:hover .lc-sg-card-play-hint,
.lc-sg-card:focus-visible .lc-sg-card-play-hint {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ── Card body ───────────────────────────────────────── */
.lc-sg-card-body {
  padding: var(--lf-sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--lf-sp-4);
  flex: 1;
  box-sizing: border-box;
}

.lc-sg-card-title {
  font-family: var(--lf-font-display);
  font-size: var(--lf-text-lg);
  font-weight: 600;
  color: var(--lf-navy);
  line-height: 1.3;
  letter-spacing: -.01em;
  transition: color var(--lf-dur-fast);
  padding-inline: var(--lf-sp-1);
}
.lc-sg-card:hover .lc-sg-card-title,
.lc-sg-card:focus-visible .lc-sg-card-title {
  color: var(--lf-gold);
}

.lc-sg-card-teaser {
  font-size: var(--lf-text-sm);
  color: var(--lf-text-muted);
  line-height: 1.6;
  flex: 1;
  padding-inline: var(--lf-sp-1);
}

.lc-sg-card-cta-row {
  display: flex;
  align-items: center;
  gap: var(--lf-sp-2);
  padding-top: var(--lf-sp-3);
  padding-inline: var(--lf-sp-1);
  border-top: 1px solid var(--lf-border);
  margin-top: auto;
  font-size: var(--lf-text-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lf-gold);
  transition: gap var(--lf-dur-base) var(--lf-ease-out);
  box-sizing: border-box;
}
.lc-sg-card-cta-row svg {
  width: 14px; height: 14px;
  transition: transform var(--lf-dur-base) var(--lf-ease-out);
  flex-shrink: 0;
}
.lc-sg-card:hover .lc-sg-card-cta-row svg,
.lc-sg-card:focus-visible .lc-sg-card-cta-row svg {
  transform: translateX(4px);
}
/* SECTION: LC_SG_CARD_GRID END */


/* ══════════════════════════════════════════════════════════════
   SECTION: LC_SM_MODAL START
   Full-screen on mobile, centered panel on desktop.
   Video at top, content below, sticky close bar at bottom.
   Zero conflict with main.js — driven by inline script in
   services.php only.
   ══════════════════════════════════════════════════════════════ */

/* ── Overlay backdrop ────────────────────────────────── */
#lc-sm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(8,18,28,.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--lf-sp-6);
  /* hidden state */
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--lf-ease-out);
}
#lc-sm-overlay.lc-sm-open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Modal panel ─────────────────────────────────────── */
#lc-sm-panel {
  position: relative;
  background: var(--lf-surface);
  border-radius: var(--lf-r-2xl);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 32px 80px rgba(13,27,42,.6),
    0 0 0 1px var(--lf-border-gold);
  /* entry animation */
  transform: scale(.96) translateY(20px);
  transition: transform 360ms var(--lf-ease-out);
  /* scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: var(--lf-border-gold) transparent;
}
#lc-sm-overlay.lc-sm-open #lc-sm-panel {
  transform: scale(1) translateY(0);
}
#lc-sm-panel::-webkit-scrollbar { width: 4px; }
#lc-sm-panel::-webkit-scrollbar-track { background: transparent; }
#lc-sm-panel::-webkit-scrollbar-thumb { background: var(--lf-border-gold); border-radius: 4px; }

/* ── Video / preview zone ────────────────────────────── */
#lc-sm-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--lf-navy);
  border-radius: var(--lf-r-2xl) var(--lf-r-2xl) 0 0;
  overflow: hidden;
  flex-shrink: 0;
}
#lc-sm-video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Placeholder shown when video src is empty */
#lc-sm-preview-zone {
  position: absolute; inset: 0;
  display: none; /* toggled by JS */
}
#lc-sm-preview-zone img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: .55;
}
#lc-sm-preview-zone .lc-sm-play-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--lf-sp-3);
  color: rgba(255,255,255,.8);
}
#lc-sm-preview-zone .lc-sm-play-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(184,151,58,.2);
  border: 2px solid rgba(184,151,58,.6);
  display: flex; align-items: center; justify-content: center;
  color: var(--lf-gold-light);
}
#lc-sm-preview-zone .lc-sm-play-circle svg { width: 28px; height: 28px; margin-left: 4px; }
#lc-sm-preview-zone .lc-sm-soon-label {
  font-family: var(--lf-font-body);
  font-size: var(--lf-text-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* ── Content area ────────────────────────────────────── */
#lc-sm-content {
  padding: var(--lf-sp-8) var(--lf-sp-8) var(--lf-sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--lf-sp-5);
}

/* Tags row */
#lc-sm-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lf-sp-2);
}
.lc-sm-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px;
  background: var(--lf-gold-pale);
  border: 1px solid var(--lf-border-gold);
  border-radius: var(--lf-r-pill);
  font-size: var(--lf-text-xs);
  font-weight: 500;
  color: var(--lf-navy);
  letter-spacing: .04em;
}
.lc-sm-tag::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--lf-gold);
  flex-shrink: 0;
}

/* Title */
#lc-sm-title-el {
  font-family: var(--lf-font-display);
  font-size: clamp(var(--lf-text-2xl), 3.5vw, var(--lf-text-3xl));
  font-weight: 600;
  color: var(--lf-navy);
  letter-spacing: -.025em;
  line-height: 1.2;
}

/* Description */
#lc-sm-desc-el {
  font-size: var(--lf-text-base);
  color: var(--lf-text-body);
  line-height: 1.78;
}

/* CTA in modal */
#lc-sm-content .lf-btn { align-self: flex-start; }

/* ── Close bar — sticky at bottom of panel ───────────── */
#lc-sm-close-bar {
  position: sticky;
  bottom: 0;
  padding: var(--lf-sp-4) var(--lf-sp-8);
  background: var(--lf-navy);
  border-radius: 0 0 var(--lf-r-2xl) var(--lf-r-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--lf-sp-3);
  cursor: pointer;
  border: none;
  font-family: var(--lf-font-body);
  font-size: var(--lf-text-sm);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lf-gold-light);
  transition: background var(--lf-dur-fast), color var(--lf-dur-fast);
  width: 100%;
  flex-shrink: 0;
}
#lc-sm-close-bar:hover { background: var(--lf-navy-soft); color: #fff; }
#lc-sm-close-bar:focus-visible { outline: 2px solid var(--lf-gold); outline-offset: -2px; }
#lc-sm-close-bar svg { width: 16px; height: 16px; }
/* SECTION: LC_SM_MODAL END */


/* ══════════════════════════════════════════════════════════════
   SECTION: LC_SP_CTA_FOOTER START
   ══════════════════════════════════════════════════════════════ */
#lc-sp-bottom-cta {
  background: var(--lf-navy);
  padding-block: var(--lf-sp-24);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#lc-sp-bottom-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(184,151,58,.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(184,151,58,.06) 0%, transparent 50%);
  pointer-events: none;
}
#lc-sp-bottom-cta .lf-container { position: relative; z-index: 1; }
#lc-sp-bottom-cta .lc-sp-cta-title {
  font-family: var(--lf-font-display);
  font-size: clamp(var(--lf-text-3xl), 4vw, var(--lf-text-5xl));
  font-weight: 400;
  color: var(--lf-text-light);
  letter-spacing: -.025em;
  line-height: 1.12;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: var(--lf-sp-4);
}
#lc-sp-bottom-cta .lc-sp-cta-title em {
  font-style: italic;
  background: var(--lf-grad-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
#lc-sp-bottom-cta p {
  color: rgba(255,255,255,.6);
  font-size: var(--lf-text-lg);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: var(--lf-sp-10);
  line-height: 1.6;
}
#lc-sp-bottom-cta .lc-sp-cta-btns {
  display: flex; gap: var(--lf-sp-4); justify-content: center;
  flex-wrap: wrap;
}
/* SECTION: LC_SP_CTA_FOOTER END */


/* ══════════════════════════════════════════════════════════════
   SECTION: LC_SG_LC_SM_RESPONSIVE START
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .lc-sg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .lc-sg-grid { grid-template-columns: 1fr; }
  .lc-sp-category-line,
  .lc-sp-category-count { display: none; }
  #lc-sp-hero .lc-sp-hero-stats { flex-direction: column; gap: var(--lf-sp-4); }
}

/* Modal: full screen on mobile */
@media (max-width: 640px) {
  #lc-sm-overlay {
    padding: 0;
    align-items: stretch;
  }
  #lc-sm-panel {
    max-width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }
  #lc-sm-video-wrap { border-radius: 0; }
  #lc-sm-close-bar  { border-radius: 0; }
  #lc-sm-content { padding: var(--lf-sp-6) var(--lf-sp-5) var(--lf-sp-4); }
}
/* SECTION: LC_SG_LC_SM_RESPONSIVE END */1