/* ============================================================
   ARTinez v2 — Services
   Interactive: click to reveal layered info
   ============================================================ */

.services-hero {
  padding-top: 160px;
  padding-bottom: 60px;
  text-align: center;
}
.services-hero__title {
  max-width: 24ch;
  margin: 0 auto 24px;
}
.services-hero__lede {
  margin: 0 auto;
  max-width: 56ch;
}

.services {
  padding-top: 40px;
  padding-bottom: var(--section-y);
}

.services-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  max-width: max-content;
  margin-left: auto;
  margin-right: auto;
}
.services-tab {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--d-fast) var(--ease-out);
}
.services-tab:hover { color: #fff; }
.services-tab.is-active {
  background: var(--gold-grad);
  color: #0a0a12;
  font-weight: 600;
}

.service-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 48px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.005));
  border: 1px solid var(--line);
}
.service-panel.is-active { display: grid; }

/* Progressive enhancement. The tabs are driven by a small script, and the
   class "has-js" is put on <html> before the page renders. With the
   script running, one panel is shown at a time exactly as before.
   Without it — and for any crawler that does not run JavaScript, such
   as OAI-SearchBot — every panel is delivered in full, so the complete
   service descriptions are present in the HTML that is served. */
html.has-js .service-panel:not(.is-active) { display: none; }
html:not(.has-js) .service-panel { margin-bottom: 32px; }
@media (max-width: 880px) {
  .service-panel { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
}

.service-panel__head .rule { margin-bottom: 16px; }
.service-panel__head h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
}
.service-panel__head p.lede { margin-bottom: 28px; }

.service-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.service-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.025);
  border: 1px solid var(--line);
}
.service-point__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(212,175,55,.2), rgba(212,175,55,.05));
  border: 1px solid rgba(212,175,55,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-2);
}
.service-point__icon svg { width: 14px; height: 14px; }
.service-point__text strong { display: block; color: #fff; font-weight: 500; margin-bottom: 2px; }
.service-point__text span { color: var(--text-mute); font-size: 14px; }

.service-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #11111b, #050509);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,175,55,.18), transparent 60%);
}

.service-visual__inner {
  position: relative;
  text-align: center;
  padding: 32px;
  width: 100%;
}

.service-visual__big-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(212,175,55,.3), rgba(212,175,55,.05));
  border: 1px solid rgba(212,175,55,.3);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-1);
}
.service-visual__big-icon svg { width: 44px; height: 44px; }

.service-visual__example {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--gold-2);
  margin-top: 20px;
}

.service-portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  color: var(--text-mute);
  font-size: 13px;
  transition: all var(--d-fast) var(--ease-out);
}
.service-portfolio-link:hover {
  border-color: var(--gold-2);
  color: var(--gold-2);
}
