/* =========================================================
   OLS Corporation — Services page
   Extends ols-styles.css (same brand system / tokens).
   Only NEW component styles live here.
   ========================================================= */

/* Sub-page hero — same finish as the landing hero, tuned for a page header */
.shero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 180px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.shero__shader-wrap {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.shero__shader-wrap canvas { width: 100%; height: 100%; display: block; }
.shero__shader-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 42% 40%, transparent 0%, rgba(10,18,32,0.5) 70%, var(--bg) 100%),
    linear-gradient(180deg, rgba(10,18,32,0) 55%, var(--bg) 100%);
  pointer-events: none;
}
.shero__title {
  font-size: clamp(56px, 9vw, 150px);
  margin: 0 0 30px;
  max-width: 14ch;
}
.shero__lead {
  font-size: clamp(18px, 1.5vw, 26px);
  line-height: 1.45;
  color: var(--text-dim);
  max-width: 50ch;
  margin: 0;
  font-weight: 300;
}
.shero__lead em { font-style: italic; color: var(--gold-light); }

/* Hero marquee — sits below the content group, like the landing */
.shero .marquee { margin-top: clamp(40px, 6vh, 88px); }

/* Breadcrumb / index row under the eyebrow */
.shero__index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.shero__index a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  transition: color 0.3s;
}
.shero__index a::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  transition: transform 0.4s var(--ease-out);
}
.shero__index a:hover { color: var(--gold-light); }
.shero__index a:hover::before { transform: rotate(45deg) scale(1.4); }

/* =========================================================
   Service detail blocks
   ========================================================= */
.svc-section { padding: 60px 0 40px; }

.svc {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
  padding: clamp(72px, 9vw, 140px) 0;
  border-top: 1px solid var(--border);
}
.svc--reverse .svc__copy { order: 2; }
.svc--reverse .svc__visual { order: 1; }

.svc__copy { display: flex; flex-direction: column; }
.svc__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.svc__tag::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--gold);
}
.svc__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 30px;
}
.svc__title em { font-style: italic; color: var(--gold); }

.svc__body { display: flex; flex-direction: column; gap: 20px; }
.svc__body p {
  font-size: clamp(15.5px, 1.12vw, 17.5px);
  line-height: 1.72;
  color: var(--text-dim);
  margin: 0;
  max-width: 60ch;
  text-wrap: pretty;
}
.svc__body p:first-child {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.6;
  color: var(--text);
}
.svc__body strong { color: var(--text); font-weight: 500; }
.svc__body em { font-style: italic; color: var(--gold-light); }

.svc__cta {
  margin-top: 38px;
  align-self: flex-start;
}

/* Sticky visual column */
.svc__visual {
  position: sticky;
  top: 118px;
  align-self: start;
}
@media (max-width: 880px) {
  .svc__visual { position: static; }
}

.svc__panel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #0E1A30, #0A1220);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 60px 120px -44px rgba(0,0,0,0.6),
    0 24px 50px -30px rgba(201, 169, 97, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transform: perspective(1600px) rotateY(-7deg) rotateX(3deg) rotate(-1deg);
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}
.svc--reverse .svc__panel { transform: perspective(1600px) rotateY(7deg) rotateX(3deg) rotate(1deg); }
.svc__panel:hover { transform: perspective(1600px) rotateY(0) rotateX(0) rotate(0); }
.svc__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(255,255,255,0.06) 0%, transparent 30%, transparent 70%, rgba(201,169,97,0.05) 100%);
  pointer-events: none;
}

/* Caption under each visual */
.svc__caption {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.svc__caption span { color: var(--gold); }

@media (max-width: 880px) {
  .svc { grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
  .svc--reverse .svc__copy { order: 1; }
  .svc--reverse .svc__visual { order: 2; }
  .svc__panel, .svc--reverse .svc__panel { transform: none; }
}

/* =========================================================
   Mockups — built in CSS (navy + gold)
   ========================================================= */
.mk {
  position: relative;
  width: 100%;
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.mk__chrome {
  display: flex; align-items: center; gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.mk__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.mk__dot.gold { background: var(--gold); }
.mk__url {
  margin-left: 8px; font-size: 10px; color: var(--text-muted); letter-spacing: 0.08em;
}
.mk__label {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}

/* ---- SVC 01 — Website + Lighthouse ---- */
.mk-web { display: grid; grid-template-columns: 1fr 132px; gap: 14px; aspect-ratio: 16/12; }
.mk-web__page { display: flex; flex-direction: column; gap: 10px; }
.mk-web__nav { display: flex; gap: 8px; align-items: center; }
.mk-web__nav .b { height: 8px; border-radius: 3px; background: var(--border-strong); }
.mk-web__hero {
  border: 1px solid var(--border); border-radius: 8px; padding: 14px;
  background: linear-gradient(135deg, rgba(201,169,97,0.07), rgba(19,31,54,0.5));
  display: flex; flex-direction: column; gap: 8px;
}
.mk-web__h { height: 16px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); width: 78%; }
.mk-web__h.s { height: 8px; width: 56%; background: var(--border-strong); }
.mk-web__pill { margin-top: 6px; width: 84px; height: 22px; border-radius: 999px; background: var(--gold); }
.mk-web__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.mk-web__cell { height: 44px; border: 1px solid var(--border); border-radius: 6px; background: rgba(19,31,54,0.5); }
.mk-web__side {
  border: 1px solid var(--gold-dark); border-radius: 10px; padding: 12px;
  background: rgba(201,169,97,0.04);
  display: flex; flex-direction: column; align-items: center; gap: 10px; justify-content: center;
}
.gauge {
  --v: 98;
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(closest-side, var(--bg) 76%, transparent 77% 100%),
    conic-gradient(var(--gold) calc(var(--v) * 1%), var(--border) 0);
}
.gauge__v {
  font-family: var(--font-display); font-style: italic; font-size: 26px;
  color: var(--gold-light); line-height: 1;
}
.mk-web__metrics { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.mk-web__metric {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9px; letter-spacing: 0.08em; color: var(--text-muted);
}
.mk-web__metric b { color: var(--gold); font-weight: 600; }

/* ---- SVC 02 — Phone ---- */
.mk-app { display: flex; gap: 16px; align-items: stretch; aspect-ratio: 16/12; }
.phone {
  width: 150px; flex-shrink: 0;
  border: 1.5px solid var(--border-strong); border-radius: 22px;
  background: linear-gradient(180deg, #0E1A30, #0A1220);
  padding: 12px 10px; position: relative;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.02);
  display: flex; flex-direction: column; gap: 8px;
}
.phone::before {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 4px; border-radius: 999px; background: var(--border-strong);
}
.phone__top { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.phone__avatar { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.phone__bar { height: 7px; border-radius: 3px; background: var(--border-strong); }
.phone__bar.s { width: 60%; }
.phone__card {
  border: 1px solid var(--gold-dark); border-radius: 10px; padding: 8px;
  background: rgba(201,169,97,0.05); display: flex; flex-direction: column; gap: 6px;
}
.phone__nav {
  margin-top: auto; display: flex; justify-content: space-around; padding-top: 8px;
  border-top: 1px solid var(--border);
}
.phone__nav i { width: 14px; height: 14px; border-radius: 4px; background: var(--border-strong); display: block; }
.phone__nav i.on { background: var(--gold); }
.mk-app__notes { flex: 1; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.mk-note {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: 8px; padding: 9px 11px;
  background: rgba(19,31,54,0.4); font-size: 10px; color: var(--text-dim);
}
.mk-note b { color: var(--gold); }
.mk-note__ic {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px;
  border: 1px solid var(--gold-dark); color: var(--gold);
  display: grid; place-items: center; font-size: 11px;
}
.mk-app__os {
  display: flex; gap: 6px; margin-top: 2px;
}
.mk-app__os span {
  font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--border); border-radius: 4px; padding: 3px 7px; color: var(--text-muted);
}

/* ---- SVC 03 — Business dashboard ---- */
.mk-dash { display: flex; flex-direction: column; gap: 10px; aspect-ratio: 16/12; }
.mk-dash__top { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.mk-stat {
  border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px;
  background: rgba(19,31,54,0.5); display: flex; flex-direction: column; gap: 4px;
}
.mk-stat .v { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--gold-light); line-height: 1; }
.mk-stat .l { font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.mk-dash__body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; flex: 1; }
.mk-dash__chart {
  border: 1px solid var(--border); border-radius: 8px; padding: 12px;
  background: rgba(19,31,54,0.5); display: flex; flex-direction: column; gap: 8px;
}
.mk-bars { display: flex; align-items: flex-end; gap: 7px; height: 92px; }
.mk-bars i { flex: 1; background: var(--border-strong); border-radius: 3px 3px 0 0; display: block; }
.mk-bars i.g { background: linear-gradient(180deg, var(--gold), var(--gold-dark)); }
.mk-dash__list { display: flex; flex-direction: column; gap: 6px; }
.mk-row {
  display: flex; justify-content: space-between; align-items: center;
  border: 1px solid var(--border); border-radius: 6px; padding: 7px 9px;
  background: var(--bg); font-size: 9.5px;
}
.mk-row .pill { font-size: 8px; padding: 2px 6px; border-radius: 3px; letter-spacing: 0.08em; }
.mk-row .pill.ok { background: rgba(201,169,97,0.12); color: var(--gold); }
.mk-row .pill.run { background: rgba(143,160,188,0.12); color: var(--text-muted); }

/* ---- SVC 04 — SERP + AI overview ---- */
.mk-serp { display: flex; flex-direction: column; gap: 10px; aspect-ratio: 16/12; }
.mk-serp__search {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-strong); border-radius: 999px; padding: 8px 14px;
  background: rgba(19,31,54,0.5); font-size: 10px; color: var(--text-dim);
}
.mk-serp__search .mag {
  width: 12px; height: 12px; border: 1.5px solid var(--gold); border-radius: 50%; position: relative;
}
.mk-serp__search .mag::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 5px; height: 1.5px; background: var(--gold); transform: rotate(45deg); }
.mk-ai {
  border: 1px solid var(--gold-dark); border-radius: 10px; padding: 12px;
  background: linear-gradient(135deg, rgba(201,169,97,0.10), rgba(201,169,97,0.02));
  display: flex; flex-direction: column; gap: 7px; position: relative; overflow: hidden;
}
.mk-ai__head { display: flex; align-items: center; gap: 8px; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.mk-ai__head .star { width: 16px; height: 16px; border-radius: 5px; background: var(--gold); color: var(--bg); display: grid; place-items: center; font-size: 10px; }
.mk-ai__line { height: 7px; border-radius: 3px; background: var(--border-strong); }
.mk-ai__line.s { width: 72%; }
.mk-ai__cite {
  margin-top: 4px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 9px; color: var(--gold-light);
}
.mk-ai__cite .src { padding: 2px 7px; border: 1px solid var(--gold-dark); border-radius: 999px; background: rgba(201,169,97,0.06); }
.mk-serp__cwv { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.mk-cwv {
  border: 1px solid var(--border); border-radius: 8px; padding: 9px;
  background: rgba(19,31,54,0.5); display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.mk-cwv .ring {
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--bg) 70%, transparent 71%), conic-gradient(var(--gold) 90%, var(--border) 0);
}
.mk-cwv .k { font-size: 8px; letter-spacing: 0.08em; color: var(--text-muted); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 140px 0 120px; }
.faq__layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.faq__aside { position: sticky; top: 120px; }
.faq__aside .section-head { margin-bottom: 0; }
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(21px, 1.9vw, 28px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.3s;
}
.faq__q:hover { color: var(--gold-light); }
.faq__icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  position: relative;
  transition: border-color 0.4s, background 0.4s, transform 0.5s var(--ease-out);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.faq__icon::before { width: 11px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 11px; }
.faq__item.is-open .faq__icon { border-color: var(--gold); background: rgba(201,169,97,0.08); transform: rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.faq__a {
  overflow: hidden;
  height: 0;
  transition: height 0.55s var(--ease-out);
}
.faq__a-inner {
  padding: 0 4px 32px;
  max-width: 64ch;
}
.faq__a-inner p {
  margin: 0;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--text-dim);
  text-wrap: pretty;
}
.faq__a-inner p + p { margin-top: 14px; }
.faq__a-inner em { font-style: italic; color: var(--gold-light); }
.faq__a-inner strong { color: var(--text); font-weight: 500; }

@media (max-width: 880px) {
  .faq__layout { grid-template-columns: 1fr; gap: 40px; }
  .faq__aside { position: static; }
}

/* =========================================================
   Method tweaks for this page (concise descriptions)
   ========================================================= */
.method--page { padding: 130px 0 150px; }

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .svc__panel, .svc--reverse .svc__panel { transform: none !important; }
  .faq__a { transition: none !important; }
}
