* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; background: #FAFBFC; color: #1A3A60; font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
::selection { background: #E0F5FC; }

.service-nav { position: absolute; inset: 0 0 auto; z-index: 20; color: #fff; border-bottom: 1px solid rgba(255,255,255,.14); }
.service-nav-inner { max-width: 1200px; height: 76px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.service-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 800 18px/1 var(--font-display); text-decoration: none; }
.service-brand img { width: 22px; height: 30px; object-fit: contain; }
.service-links { display: flex; align-items: center; gap: 28px; }
.service-links a { color: rgba(255,255,255,.9); font: 500 14px/1 var(--font-display); text-decoration: none; }
.service-links .nav-cta { padding: 11px 17px; border: 1px solid rgba(255,255,255,.55); border-radius: 6px; }
.service-links .nav-cta:hover { background: #fff; color: #17285E; }

.service-hero { position: relative; min-height: 760px; display: flex; align-items: center; overflow: hidden; color: #fff; background: #17285E; }
.service-hero::before { content: ''; position: absolute; inset: -6%; background-size: cover; background-position: center; transform: scale(1.04); }
.service-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,40,94,.94) 0%, rgba(23,40,94,.72) 48%, rgba(14,154,167,.22) 100%), linear-gradient(0deg, rgba(26,32,53,.72), transparent 52%); }
.hero-training::before { background-image: url('/images/pixelsly-training.jpg'); background-position: center 42%; }
.hero-consultancy::before { background-image: url('/images/pixelsly-consultation.jpg'); background-position: center; }
.service-grain { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .12; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E"); }
.service-wrap { width: 100%; max-width: 1200px; margin: 0 auto; }
.service-hero-content { position: relative; z-index: 4; width: 100%; max-width: 1200px; margin: 0 auto; padding: 150px 32px 100px; }
.service-eyebrow { margin: 0 0 24px; color: #7FE0EA; font: 500 12px/1.4 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; }
.service-eyebrow::before { content: ''; display: inline-block; width: 22px; height: 1px; margin: 0 10px 3px 0; background: currentColor; }
.service-hero h1 { max-width: 940px; margin: 0; color: #fff; font: 400 clamp(58px, 7.8vw, 105px)/.96 var(--font-serif); letter-spacing: -.025em; }
.service-hero h1 em { color: #7FE0EA; font-weight: 400; }
.service-lead { max-width: 650px; margin: 30px 0 0; color: rgba(255,255,255,.84); font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.service-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 23px; border: 1px solid transparent; border-radius: 6px; background: #0E9AA7; color: #fff; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; }
.service-button:hover { background: #009090; transform: translateY(-2px); }
.service-button-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.5); backdrop-filter: blur(8px); }
.service-button-ghost:hover { background: #fff; color: #17285E; }
.hero-pixels { position: absolute; z-index: 4; right: 6vw; top: 145px; display: grid; grid-template-columns: repeat(5, 11px); gap: 8px; opacity: .72; }
.hero-pixels span { width: 11px; height: 11px; background: rgba(255,255,255,.28); }
.hero-pixels span:nth-child(4n) { background: #0E9AA7; }
.hero-pixels span:nth-child(7n) { background: #FF4F8B; }
.hero-pixels span:nth-child(11n) { background: #FF9F1C; }

.service-section { padding: 112px 32px; }
.section-soft { background: #F0F4FF; }
.section-dark { position: relative; overflow: hidden; background: #17285E; color: #fff; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 52px; }
.section-copy { max-width: 780px; }
.section-kicker { margin: 0 0 16px; color: #0E9AA7; font: 500 12px/1.4 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; }
.section-heading h2, .split-copy h2, .cta-panel h2 { margin: 0; color: #17285E; font: 400 clamp(44px, 5.2vw, 68px)/1 var(--font-serif); letter-spacing: -.02em; }
.section-heading h2 em, .split-copy h2 em { color: #0E9AA7; }
.section-intro { max-width: 620px; margin: 18px 0 0; color: #64748B; font-size: 17px; line-height: 1.7; }
.section-mark { display: grid; grid-template-columns: repeat(3, 13px); gap: 8px; flex: 0 0 auto; }
.section-mark i { width: 13px; height: 13px; background: #A9D4E8; }
.section-mark i:nth-child(2), .section-mark i:nth-child(7) { background: #FF4F8B; }
.section-mark i:nth-child(5) { background: #FF9F1C; }
.section-mark i:nth-child(9) { background: #0E9AA7; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { position: relative; min-height: 260px; padding: 36px; overflow: hidden; border: 1px solid #E5EAF0; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(23,40,94,.04); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(14,154,167,.45); box-shadow: 0 22px 52px rgba(23,40,94,.12); }
.card-number { display: block; margin-bottom: 28px; color: #0E9AA7; font: 500 12px/1 var(--font-mono); letter-spacing: .16em; }
.service-card h3 { max-width: 420px; margin: 0; color: #17285E; font: 700 22px/1.25 var(--font-display); }
.service-card p { max-width: 470px; margin: 14px 0 0; color: #64748B; font-size: 15.5px; line-height: 1.65; }
.card-arrow { position: absolute; right: 24px; bottom: 18px; color: #FF9F1C; font: 700 22px/1 var(--font-mono); }
.service-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--card-accent, #0E9AA7); }
.service-card:nth-child(2) { --card-accent: #FF4F8B; }
.service-card:nth-child(3) { --card-accent: #FF9F1C; }
.service-card:nth-child(4) { --card-accent: #17285E; }

.split-section { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 650px; background: #fff; }
.split-photo { position: relative; min-height: 540px; overflow: hidden; background: #17285E; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.05); }
.split-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(23,40,94,.56), rgba(14,154,167,.17)); }
.photo-caption { position: absolute; z-index: 2; left: 42px; bottom: 38px; max-width: 360px; color: #fff; font: italic 400 32px/1.08 var(--font-serif); }
.split-copy { display: flex; flex-direction: column; justify-content: center; padding: 84px clamp(40px, 6vw, 90px); }
.feature-list { display: grid; gap: 0; margin: 36px 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 19px 0; border-bottom: 1px solid #E5EAF0; color: #1A3A60; line-height: 1.55; }
.feature-list strong { color: #0E9AA7; font: 700 13px/1.5 var(--font-mono); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.step { position: relative; padding: 28px 24px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(255,255,255,.06); }
.step span { display: block; margin-bottom: 50px; color: #7FE0EA; font: 400 60px/1 var(--font-serif); }
.step h3 { margin: 0; color: #fff; font-size: 18px; }
.step p { margin: 10px 0 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.6; }
.section-dark .section-kicker { color: #7FE0EA; }
.section-dark .section-heading h2 { color: #fff; }
.section-dark .section-intro { color: rgba(255,255,255,.66); }

.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #E5EAF0; border-bottom: 1px solid #E5EAF0; background: #fff; }
.proof-item { padding: 42px 32px; text-align: center; border-right: 1px solid #E5EAF0; }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; color: #17285E; font: 400 42px/1 var(--font-serif); }
.proof-item span { display: block; margin-top: 10px; color: #64748B; font-size: 13px; }

.cta-panel { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; color: #fff; background: #17285E; }
.cta-panel::before { content: ''; position: absolute; inset: 0; background-image: var(--cta-image); background-size: cover; background-position: center; }
.cta-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,40,94,.96), rgba(23,40,94,.72) 55%, rgba(14,154,167,.24)); }
.cta-inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 100px 32px; }
.cta-status { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.08); font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.cta-status i { width: 8px; height: 8px; border-radius: 50%; background: #7FE0EA; box-shadow: 0 0 0 5px rgba(127,224,234,.12); }
.cta-panel h2 { max-width: 840px; color: #fff; font-size: clamp(54px, 7vw, 92px); }
.cta-panel h2 em { color: #7FE0EA; }
.cta-panel p { max-width: 610px; margin: 24px 0 0; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.65; }

.service-footer { padding: 60px 32px 28px; background: #1A2035; color: rgba(255,255,255,.65); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
.footer-brand { margin-bottom: 18px; }
.footer-brand img { width: 20px; height: 27px; }
.service-footer h3 { margin: 0 0 16px; color: #94A3B8; font: 500 11px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; }
.service-footer p { max-width: 360px; margin: 0; line-height: 1.7; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-bottom { max-width: 1200px; margin: 44px auto 0; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.1); color: #94A3B8; font: 400 11px/1.5 var(--font-mono); }

@media (max-width: 900px) {
  .service-hero { min-height: 700px; }
  .service-hero h1 { font-size: clamp(52px, 10vw, 80px); }
  .hero-pixels { opacity: .38; right: 30px; }
  .split-section { grid-template-columns: 1fr; }
  .split-photo { min-height: 420px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .service-nav-inner { height: 68px; padding: 0 20px; }
  .service-links a:not(.nav-cta) { display: none; }
  .service-links .nav-cta { min-height: 44px; padding: 10px 15px; display: inline-flex; align-items: center; }
  .service-hero { min-height: 760px; }
  .service-hero::before { inset: 0; transform: none; background-position: 60% center; }
  .service-hero::after { background: linear-gradient(180deg, rgba(23,40,94,.58), rgba(23,40,94,.94) 75%, #1A2035); }
  .service-hero-content { padding: 150px 20px 80px; }
  .service-hero h1 { font-size: clamp(49px, 14vw, 68px); }
  .service-lead { font-size: 17px; }
  .hero-pixels { top: 102px; right: 20px; grid-template-columns: repeat(5, 8px); gap: 6px; }
  .hero-pixels span { width: 8px; height: 8px; }
  .hero-actions, .hero-actions .service-button { width: 100%; }
  .service-section { padding: 78px 20px; }
  .section-heading { align-items: flex-start; margin-bottom: 36px; }
  .section-heading h2, .split-copy h2 { font-size: 44px; }
  .section-mark { display: none; }
  .service-grid, .steps, .proof-strip, .footer-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 30px 24px; }
  .split-photo { min-height: 340px; }
  .photo-caption { left: 24px; bottom: 24px; font-size: 27px; }
  .split-copy { padding: 72px 20px; }
  .steps { gap: 12px; }
  .step span { margin-bottom: 28px; }
  .proof-item { border-right: 0; border-bottom: 1px solid #E5EAF0; }
  .proof-item:last-child { border-bottom: 0; }
  .cta-panel { min-height: 680px; }
  .cta-panel::before { background-position: 62% center; }
  .cta-panel::after { background: linear-gradient(180deg, rgba(23,40,94,.58), rgba(23,40,94,.96) 70%); }
  .cta-inner { padding: 100px 20px; }
  .cta-panel h2 { font-size: 52px; }
  .cta-panel .service-button { width: 100%; }
  .service-footer { padding: 52px 20px 24px; }
  .footer-grid { gap: 34px; }
  .footer-bottom { flex-direction: column; }
}
