/* ============================================================
   Regency Analytics LLC — Services Page Styles
   Used by: services.html only
   Requires: tokens.css, base.css, nav-footer.css loaded first.
   ============================================================ */

/* ---------- Page body & layout ----------------------------- */
body {
  background: var(--bg-page);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
}

/* ---------- Shared section wrapper ------------------------- */
.svc-section {
  width: 100%;
  padding: 80px 48px;
}

.svc-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Kicker label ----------------------------------- */
.svc-kicker {
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 16px;
}

/* ---------- HERO ------------------------------------------- */
.svc-hero {
  background:
    linear-gradient(to right, rgba(6,14,30,0.82) 0%, rgba(6,14,30,0.55) 50%, rgba(6,14,30,0.38) 100%),
    url('../images/services-banner.jpg') center 40% / cover no-repeat;
  padding: 100px 48px 88px;
  min-height: clamp(440px, 50vh, 540px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: left;
}
/* Remove generic radial glows — photo provides the depth */
.svc-hero::before,
.svc-hero::after {
  display: none;
}


.svc-hero-inner {
  max-width: 680px;
  margin: 0;
  position: relative;
  z-index: 1;
  text-align: left;
  width: 100%;
}

.svc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin: 0 0 24px;
  max-width: 820px;
}

.svc-hero p {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 0 40px;
}

.svc-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ---------- Buttons ---------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--navy-900);
  background: var(--gold-500);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  box-shadow: 0 8px 24px rgba(201,169,110,0.28);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,169,110,0.38);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  white-space: nowrap;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.65);
  transform: translateY(-2px);
}

/* Dark-page variant for light backgrounds */
.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--white);
  background: var(--navy-900);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  box-shadow: 0 8px 24px rgba(8,18,37,0.22);
  white-space: nowrap;
}
.btn-primary-dark:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(8,18,37,0.30);
}

/* ---------- SERVICES GRID ---------------------------------- */
.svc-overview {
  background: #ffffff;
}

.svc-overview .svc-kicker { color: var(--blue-500); }

.svc-overview-head {
  margin-bottom: 56px;
}

.svc-overview-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.18;
  margin: 0 0 16px;
  max-width: 580px;
}

.svc-overview-head p {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.65;
  margin: 0;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.svc-card {
  background: var(--gray-50);
  border: 1px solid rgba(8,18,37,0.07);
  border-radius: 16px;
  padding: 32px 28px;
  transition: box-shadow 0.22s var(--ease-out), transform 0.22s var(--ease-out), border-color 0.22s;
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  opacity: 0;
  transition: opacity 0.22s var(--ease-out);
}
.svc-card:hover {
  box-shadow: 0 16px 48px rgba(8,18,37,0.09);
  transform: translateY(-4px);
  border-color: rgba(201,169,110,0.25);
}
.svc-card:hover::before {
  opacity: 1;
}

.svc-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(8,18,37,0.06) 0%, rgba(201,169,110,0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--navy-900);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.svc-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 12px;
  line-height: 1.25;
}

.svc-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}

/* ---------- HOW WE HELP ------------------------------------ */
.svc-howhelp {
  background: var(--gray-50);
}

.svc-howhelp h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.18;
  margin: 0 0 16px;
}

.svc-howhelp .svc-lead {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.65;
  margin: 0 0 52px;
}

.svc-problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc-problem-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid rgba(8,18,37,0.07);
  border-radius: 14px;
  padding: 24px 22px;
  transition: box-shadow 0.2s var(--ease-out);
}
.svc-problem-item:hover {
  box-shadow: 0 8px 28px rgba(8,18,37,0.07);
}

.svc-problem-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(201,169,110,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.svc-problem-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 6px;
  line-height: 1.3;
}

.svc-problem-item p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* ---------- OUR APPROACH ----------------------------------- */
.svc-approach {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.svc-approach::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.svc-approach .svc-kicker { color: var(--gold-600); }

.svc-approach h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}

.svc-approach .svc-lead {
  font-size: 16px;
  color: rgba(255,255,255,0.60);
  max-width: 580px;
  line-height: 1.65;
  margin: 0 0 56px;
  position: relative;
  z-index: 1;
}

.svc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

/* Connector line between steps */
.svc-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 14px);
  right: calc(12.5% + 14px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.30), rgba(201,169,110,0.30), transparent);
}

.svc-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.svc-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,169,110,0.40);
  background: rgba(201,169,110,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.svc-step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1.3;
}

.svc-step p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin: 0;
}

/* ---------- AI PLATFORM PREVIEW ---------------------------- */
.svc-ai {
  background: #ffffff;
}

.svc-ai-shell {
  background: linear-gradient(135deg, #0d1e38 0%, #0F2B5B 100%);
  border-radius: 20px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.svc-ai-shell::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(201,169,110,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.svc-ai-content { position: relative; z-index: 1; }

.svc-ai-content .svc-kicker {
  color: var(--gold-400);
}

.svc-ai-content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 20px;
}

.svc-ai-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 0 0 16px;
}

.svc-ai-content p:last-of-type {
  margin-bottom: 32px;
}

.svc-ai-features {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.svc-ai-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.svc-ai-features li i {
  color: var(--gold-400);
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}

.svc-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201,169,110,0.30);
  background: rgba(201,169,110,0.08);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 20px;
}

.svc-ai-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Mock dashboard cards — pure CSS, no images needed */
.svc-ai-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 20px 22px;
  backdrop-filter: blur(8px);
}

.svc-ai-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-bottom: 8px;
}

.svc-ai-card-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.svc-ai-card-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
}

.svc-ai-card-bar {
  margin-top: 12px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}

.svc-ai-card-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}

.svc-ai-card-row {
  display: flex;
  gap: 14px;
}

.svc-ai-card-row .svc-ai-card {
  flex: 1;
}

.svc-ai-card-stat {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.svc-ai-card-note {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
}

/* ---------- FINAL CTA -------------------------------------- */
.svc-cta {
  background: var(--gray-50);
  text-align: center;
  padding: 96px 48px;
}

.svc-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.svc-cta .svc-kicker {
  color: var(--blue-500);
}

.svc-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.18;
  margin: 0 0 20px;
}

.svc-cta p {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0 0 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Divider ---------------------------------------- */
.svc-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: 99px;
  margin: 0 0 32px;
}

.svc-overview .svc-divider,
.svc-howhelp .svc-divider { margin: 0 0 20px; }

/* ---------- RESPONSIVE ------------------------------------- */
@media (max-width: 1024px) {
  .svc-section  { padding: 64px 32px; }
  .svc-hero     { padding: 80px 32px 72px; }
  .svc-grid     { grid-template-columns: repeat(2, 1fr); }
  .svc-problems-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-steps    { grid-template-columns: repeat(2, 1fr); }
  .svc-steps::before { display: none; }
  .svc-ai-shell { grid-template-columns: 1fr; padding: 48px 36px; }
}

@media (max-width: 768px) {
  .svc-section  { padding: 56px 24px; }
  .svc-hero     { padding: 64px 24px 56px; }
  .svc-grid     { grid-template-columns: 1fr; gap: 20px; }
  .svc-problems-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-steps    { grid-template-columns: 1fr; gap: 20px; }
  .svc-ai-shell { padding: 36px 28px; gap: 36px; }
  .svc-cta      { padding: 64px 24px; }
  .svc-hero-ctas { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-secondary, .btn-primary-dark { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .svc-hero     { padding: 52px 20px 48px; }
  .svc-section  { padding: 48px 20px; }
  .svc-card     { padding: 24px 20px; }
  .svc-ai-shell { padding: 28px 20px; }
  .svc-cta      { padding: 56px 20px; }
}

/* ============================================================
   SERVICES PAGE — Classical artwork background system
   Same CSS Grid stacking pattern as home and insights pages.
   Image: ChatGPT Image Jun 19, 2026, 04_31_16 PM.png (941×1672)
   ============================================================ */

/* Gold accent line between hero and body */
.svc-hero-transition {
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201,169,110,0.5) 20%,
    rgba(201,169,110,0.9) 50%,
    rgba(201,169,110,0.5) 80%,
    transparent 100%
  );
  box-shadow: 0 0 18px 2px rgba(201,169,110,0.25);
}

/* ── Services wallpaper ──────────────────────────────────────────────────────
   Layout handled by artwork-page.css (.artwork-page + .artwork-page--services). */

/* Make section backgrounds transparent so artwork shows through */
.artwork-page--services .svc-overview,
.artwork-page--services .svc-howhelp,
.artwork-page--services .svc-ai,
.artwork-page--services .svc-cta {
  background: transparent !important;
}

/* Cards on artwork — ivory frosted treatment */
.artwork-page--services .svc-card {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(201,169,110,0.20);
  box-shadow: 0 2px 14px rgba(10,17,33,0.07);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.artwork-page--services .svc-card:hover {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 36px rgba(10,17,33,0.11);
  border-color: rgba(201,169,110,0.38);
}
.artwork-page--services .svc-problem-item {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(201,169,110,0.18);
  box-shadow: 0 2px 10px rgba(10,17,33,0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.artwork-page--services .svc-problem-item:hover {
  box-shadow: 0 8px 28px rgba(10,17,33,0.10);
}

/* Navy approach section keeps its own dark background */
.artwork-page--services .svc-approach {
  background: var(--navy-900) !important;
}

/* CTA heading + text on artwork background */
.artwork-page--services .svc-cta h2 { color: var(--navy-900); }
.artwork-page--services .svc-cta p  { color: var(--gray-500); }
