/* ======================================================================== */
/* Services / Products landing + group pages                                */
/* Loaded only by those pages (@push('head')). Builds on modern-theme.css    */
/* tokens (--ink-*, --brand-*) and its .shop-card / .tag-chip components.    */
/* ======================================================================== */

/* ---- hero ---------------------------------------------------------------- */
.lp-hero {
  position: relative;
  color: #fff;
  background: linear-gradient(120deg, var(--ink-900), var(--brand-purple-dark) 65%, var(--brand-purple));
  padding: 2.25rem 0 2.75rem;
  overflow: hidden;
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .22;
  filter: saturate(.6);
}

.lp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 10%, rgba(232, 162, 60, .18), transparent 55%);
  pointer-events: none;
}

.lp-hero > .container { position: relative; z-index: 1; }

.lp-hero .breadcrumb { background: transparent; padding: 0; margin-bottom: .75rem; }
.lp-hero .breadcrumb-item a { color: rgba(255, 255, 255, .65); }
.lp-hero .breadcrumb-item a:hover { color: #fff; }
.lp-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .4); }
.lp-hero .breadcrumb-item.current a { color: var(--brand-orange); }

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: .6rem;
}

.lp-hero h1 {
  color: #fff;
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: .75rem;
}

.lp-hero-lead {
  color: rgba(255, 255, 255, .75);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 1.25rem;
}

.lp-hero-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 162, 60, .16);
  color: var(--brand-orange);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.lp-hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }

.lp-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.lp-stat strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.lp-stat span { font-size: .78rem; color: rgba(255, 255, 255, .55); text-transform: uppercase; letter-spacing: .08em; }

.lp-hero .tag-chip { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .15); }

@media (max-width: 767px) {
  .lp-hero h1 { font-size: 1.75rem; }
  .lp-stats { gap: 1.1rem; }
}

/* ---- quick search ---------------------------------------------------------- */
.lp-search { position: relative; max-width: 560px; }

.lp-search-input {
  width: 100%;
  border: 0;
  border-radius: 50px;
  padding: .9rem 1.25rem .9rem 3rem;
  font-size: .98rem;
  background: #fff;
  color: var(--ink-900);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}

.lp-search-input:focus { outline: 3px solid rgba(232, 162, 60, .55); outline-offset: 0; }

.lp-search > i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #8a94a6;
  z-index: 2;
}

.lp-search-results {
  position: absolute;
  z-index: 30;
  top: calc(100% + .5rem);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 22px 50px rgba(11, 20, 32, .25);
  max-height: 360px;
  overflow-y: auto;
  padding: .4rem;
  display: none;
}

.lp-search-results.is-open { display: block; }

.lp-search-result {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem .65rem;
  border-radius: 10px;
  color: var(--ink-900);
}

.lp-search-result:hover,
.lp-search-result.is-active { background: #f3f5f8; color: var(--ink-900); text-decoration: none; }

.lp-search-result img { width: 46px; height: 36px; object-fit: cover; border-radius: 6px; flex: none; background: #eef1f4; }
.lp-search-result strong { display: block; font-size: .88rem; line-height: 1.25; }
.lp-search-result small { color: #8a94a6; font-size: .74rem; }
.lp-search-empty { padding: .9rem; color: #8a94a6; font-size: .88rem; }

/* ---- section scaffolding ------------------------------------------------------ */
.lp-section { padding: 3.25rem 0; }
.lp-section.is-tinted { background: #f5f7f9; }

.lp-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.lp-section-head h2 { font-weight: 700; font-size: 1.7rem; color: var(--ink-900); margin: 0; }
.lp-section-head p { color: #6b7280; margin: .35rem 0 0; max-width: 620px; }
.lp-section-head .lp-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-orange); }

.lp-link-more { font-weight: 600; color: var(--brand-purple); white-space: nowrap; }
.lp-link-more:hover { color: var(--brand-orange); text-decoration: none; }

/* ---- explorer: left group list, right panel ------------------------------------- */
.lp-explorer {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(11, 20, 32, .07);
  box-shadow: 0 18px 48px rgba(11, 20, 32, .08);
  overflow: hidden;
  min-height: 520px;
}

.lp-explorer-nav {
  background: linear-gradient(180deg, var(--ink-900), var(--brand-purple-dark));
  padding: 1rem .75rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.lp-explorer-tab {
  display: flex;
  align-items: center;
  gap: .85rem;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 12px;
  padding: .8rem .9rem;
  color: rgba(255, 255, 255, .78);
  transition: background .18s ease, color .18s ease;
}

.lp-explorer-tab:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.lp-explorer-tab:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: -2px; }

.lp-explorer-tab.active { background: rgba(232, 162, 60, .14); color: #fff; }

.lp-explorer-tab-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
  font-size: 1rem;
}

.lp-explorer-tab.active .lp-explorer-tab-icon { background: var(--brand-orange); color: var(--ink-900); }

.lp-explorer-tab-text { flex: 1; min-width: 0; }
.lp-explorer-tab-text strong { display: block; font-family: "Sora", sans-serif; font-size: .92rem; font-weight: 600; }
.lp-explorer-tab-text small { display: block; color: rgba(255, 255, 255, .5); font-size: .74rem; }

.lp-explorer-tab > .fa-chevron-right { font-size: .7rem; opacity: 0; transform: translateX(-4px); transition: all .18s ease; }
.lp-explorer-tab.active > .fa-chevron-right { opacity: .8; transform: none; color: var(--brand-orange); }

.lp-explorer-panel { display: none; padding: 1.75rem 2rem 2rem; animation: lpFade .25s ease; }
.lp-explorer-panel.active { display: block; }

@keyframes lpFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.lp-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #eef0f3;
}

.lp-panel-head h3 { font-weight: 700; font-size: 1.35rem; margin: 0 0 .3rem; color: var(--ink-900); }
.lp-panel-head p { color: #6b7280; margin: 0; max-width: 520px; font-size: .92rem; }

.lp-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.lp-mini-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid #eceff3;
  overflow: hidden;
  color: var(--ink-900);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.lp-mini-card:hover {
  color: var(--ink-900);
  text-decoration: none;
  transform: translateY(-3px);
  border-color: rgba(232, 162, 60, .55);
  box-shadow: 0 12px 26px rgba(11, 20, 32, .1);
}

.lp-mini-card-media { aspect-ratio: 16 / 10; background: #f1f3f6; overflow: hidden; }
.lp-mini-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.lp-mini-card:hover .lp-mini-card-media img { transform: scale(1.06); }
.lp-mini-card-body { padding: .75rem .85rem .9rem; }
.lp-mini-card-body strong { display: block; font-size: .9rem; line-height: 1.3; margin-bottom: .25rem; }
.lp-mini-card-body small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #8a94a6;
  font-size: .74rem;
  line-height: 1.4;
}

/* Product shots are mostly cut-outs on white: show the whole machine instead of cropping it. */
.lp-mini-card.is-product .lp-mini-card-media { background: #fff; }
.lp-mini-card.is-product .lp-mini-card-media img { object-fit: contain; padding: .5rem; }
.lp-mini-card-go { margin-top: auto; padding: 0 .85rem .8rem; font-size: .78rem; font-weight: 600; color: var(--brand-orange); }

.lp-subtabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }

.lp-subtab {
  border: 1px solid #e3e7ec;
  background: #fff;
  border-radius: 50px;
  padding: .4rem .95rem;
  font-size: .82rem;
  font-weight: 600;
  color: #495568;
  transition: all .15s ease;
}

.lp-subtab:hover { border-color: var(--brand-orange); color: var(--ink-900); }
.lp-subtab.active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.lp-subtab .tab-count { margin-left: .35rem; opacity: .6; font-weight: 500; }

.lp-subpane { display: none; }
.lp-subpane.active { display: block; animation: lpFade .2s ease; }

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

@media (max-width: 991px) {
  .lp-explorer { grid-template-columns: 1fr; min-height: 0; }
  .lp-explorer-nav { flex-direction: row; overflow-x: auto; padding: .75rem; scrollbar-width: none; }
  .lp-explorer-nav::-webkit-scrollbar { display: none; }
  .lp-explorer-tab { flex: none; width: auto; padding: .55rem .8rem; }
  .lp-explorer-tab-text small, .lp-explorer-tab > .fa-chevron-right { display: none; }
  .lp-explorer-tab-icon { width: 32px; height: 32px; font-size: .85rem; }
  .lp-explorer-panel { padding: 1.25rem; }
}

@media (max-width: 575px) {
  .lp-mini-grid { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .lp-mini-card-body small { display: none; }
}

/* ---- group switcher (on group pages) ------------------------------------------- */
.lp-switcher {
  position: sticky;
  top: 70px;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eceff3;
}

.lp-switcher-track {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  padding: .7rem 0;
  scrollbar-width: none;
}

.lp-switcher-track::-webkit-scrollbar { display: none; }

/* Wide screens: wrap instead of hiding the last groups off-screen. */
@media (min-width: 992px) {
  .lp-switcher-track { flex-wrap: wrap; overflow-x: visible; }
}

.lp-switcher a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .95rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  color: #495568;
  border: 1px solid transparent;
}

.lp-switcher a:hover { background: #f3f5f8; color: var(--ink-900); text-decoration: none; }
.lp-switcher a.active { background: var(--ink-900); color: #fff; }
.lp-switcher a i { color: var(--brand-orange); font-size: .8rem; }

/* ---- tiles (product types, other methods / groups) ------------------------------ */
.lp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.lp-tiles.is-4 { grid-template-columns: repeat(4, 1fr); }

.lp-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  padding: 1.4rem;
  background: var(--ink-800);
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}

.lp-tile:hover { color: #fff; text-decoration: none; transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 20, 32, .25); }

.lp-tile-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .5s ease; }
.lp-tile:hover .lp-tile-bg { transform: scale(1.07); }
.lp-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 20, 32, .2), rgba(11, 20, 32, .88) 75%); }

.lp-tile-icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(232, 162, 60, .9); color: var(--ink-900); display: inline-flex; align-items: center; justify-content: center; margin-bottom: auto; }
.lp-tile h3 { color: #fff; font-size: 1.15rem; font-weight: 700; margin: 1rem 0 .3rem; }
.lp-tile p { color: rgba(255, 255, 255, .72); font-size: .84rem; margin: 0 0 .6rem; }
.lp-tile-meta { font-size: .76rem; font-weight: 600; color: var(--brand-orange); }

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

@media (max-width: 575px) {
  .lp-tiles, .lp-tiles.is-4 { grid-template-columns: 1fr; }
}

/* ---- group-page body ---------------------------------------------------------- */
.lp-prose { color: #374151; line-height: 1.75; max-width: 860px; }

.lp-tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  border-bottom: 1px solid #e5e8ec;
  margin-bottom: 1.25rem;
}

.lp-tabbar button {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: .75rem 1.1rem;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: .95rem;
  color: #6b7280;
  margin-bottom: -1px;
}

.lp-tabbar button:hover { color: var(--ink-900); }
.lp-tabbar button.active { color: var(--ink-900); border-bottom-color: var(--brand-orange); }
.lp-tabbar .tab-count { display: inline-block; min-width: 1.6rem; margin-left: .35rem; padding: .05rem .45rem; border-radius: 50px; background: #f1f3f5; font-size: .72rem; color: #495568; }
.lp-tabbar button.active .tab-count { background: var(--brand-orange); color: var(--ink-900); }

.lp-grid-item { display: flex; }
.lp-grid-item > .shop-card { width: 100%; }

.lp-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 2px dashed #e3e7ec;
  border-radius: 14px;
  color: #8a94a6;
}

/* ---- CTA band ---------------------------------------------------------------- */
.lp-cta {
  border-radius: 20px;
  padding: 2.25rem 2.5rem;
  background: linear-gradient(120deg, var(--brand-purple-dark), var(--brand-purple));
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.lp-cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(232, 162, 60, .18); }
.lp-cta h3 { color: #fff; font-weight: 700; margin: 0 0 .35rem; }
.lp-cta p { color: rgba(255, 255, 255, .72); margin: 0; }
.lp-cta .lp-hero-actions { margin: 0; position: relative; z-index: 1; }
