/* =============================================
   styles.css — Service: Branding & Bisnes Positioning
   MUHAZU Global
   ============================================= */

html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100%; }

/* ---- Keyframes ---- */
@keyframes sb-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes sb-bg-zoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1); }
}

/* ---- Scroll reveal ---- */
.sb-reveal-left,
.sb-reveal-right,
.sb-reveal-up {
  opacity: 0;
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: var(--sb-delay, 0ms);
}

.sb-reveal-left  { transform: translateX(-28px); }
.sb-reveal-right { transform: translateX(28px); }
.sb-reveal-up    { transform: translateY(14px); }

.sb-reveal-left.is-visible,
.sb-reveal-right.is-visible,
.sb-reveal-up.is-visible {
  opacity: 1;
  transform: none;
}

/* ---- Eyebrow / Label ---- */
.sb-eyebrow,
.sb-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #CCF045;
  display: inline-block;
  padding-bottom: 7px;
  border-bottom: 2px solid #CCF045;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.sb-label--on-dark {
  color: #CCF045;
  border-bottom-color: #CCF045;
}

/* ---- Hero load animations ---- */
.sb-anim-1, .sb-anim-2, .sb-anim-3, .sb-anim-4, .sb-anim-5 { opacity: 0; }

body.is-loaded .sb-anim-1 { animation: sb-fade-up 400ms ease forwards; animation-delay: 0ms; }
body.is-loaded .sb-anim-2 { animation: sb-fade-up 650ms ease forwards; animation-delay: 120ms; }
body.is-loaded .sb-anim-3 { animation: sb-fade-up 500ms ease forwards; animation-delay: 260ms; }
body.is-loaded .sb-anim-4 { animation: sb-fade-up 400ms ease forwards; animation-delay: 380ms; }
body.is-loaded .sb-anim-5 { animation: sb-fade-up 800ms ease forwards; animation-delay: 500ms; }

/* ============================================= */
/* SECTION 01 — HERO                             */
/* ============================================= */

.sb-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.sb-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  animation: sb-bg-zoom 1200ms ease-out forwards;
}

.sb-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,13,13,0.88) 45%, rgba(13,13,13,0.35) 100%);
  z-index: 1;
}

.sb-hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 5% 88px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.sb-h1 {
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  max-width: 600px;
  margin: 0;
}

.sb-hero-para {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  line-height: 1.75;
  margin: 0;
}

.sb-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #CCF045;
  color: #0D0D0D;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 4px;
  transition: background 200ms ease, box-shadow 200ms ease;
}

.sb-hero-cta:hover {
  background: #d4f55e;
  box-shadow: 0 4px 20px rgba(204,240,69,0.3);
}

.sb-hero-big-stat {
  position: absolute;
  bottom: -0.1em;
  right: 5%;
  font-size: clamp(5rem, 13vw, 13rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.03em;
  z-index: 2;
  margin: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0.04;
}

@media (max-width: 768px) {
  .sb-hero         { min-height: 420px; }
  .sb-hero-content { padding: 100px 5% 52px; gap: 12px; }
  .sb-h1           { font-size: clamp(1.65rem, 6.5vw, 2.2rem); }
  .sb-h1 br        { display: none; }
  .sb-hero-big-stat { font-size: clamp(3rem, 14vw, 5rem); }
}

/* ============================================= */
/* SECTION 02 — PROBLEM SPLIT                    */
/* ============================================= */

.sb-problem {
  background: #ffffff;
  padding: 100px 5%;
}

.sb-problem-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sb-problem-h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: #0D0D0D;
  line-height: 1.2;
  max-width: 480px;
  margin: 0 0 16px;
}

.sb-problem-para {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #555555;
  max-width: 480px;
  margin: 0 0 36px;
}

.sb-pain-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sb-pain-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sb-pain-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CCF045;
  flex-shrink: 0;
  margin-top: 6px;
}

.sb-pain-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0D0D0D;
  margin-bottom: 4px;
}

.sb-pain-item p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #666666;
  margin: 0;
}

.sb-problem-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.sb-problem-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .sb-problem-inner  { grid-template-columns: 1fr; gap: 48px; }
  .sb-problem-img    { aspect-ratio: 16 / 9; }
  .sb-problem        { padding: 64px 5%; }
}

/* ============================================= */
/* SECTION 03 — SERVICES CARDS                   */
/* ============================================= */

.sb-services {
  background: #0D0D0D;
  padding: 100px 5%;
}

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

.sb-services-head {
  text-align: center;
  margin-bottom: 64px;
}

.sb-services-h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
}

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

.sb-svc-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 40px 32px;
  transition: border-color 250ms ease, background 250ms ease;
}

.sb-svc-card:hover {
  border-color: rgba(204,240,69,0.3);
  background: rgba(204,240,69,0.03);
}

.sb-svc-card--featured {
  border-color: #CCF045;
  background: rgba(204,240,69,0.05);
}

.sb-svc-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.sb-svc-card--featured .sb-svc-num {
  color: rgba(204,240,69,0.15);
}

.sb-svc-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
}

.sb-svc-card--featured .sb-svc-title {
  color: #CCF045;
}

.sb-svc-body {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin: 0 0 24px;
}

.sb-svc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

.sb-svc-card--featured .sb-svc-list {
  border-top-color: rgba(204,240,69,0.2);
}

.sb-svc-list li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  padding-left: 16px;
  position: relative;
}

.sb-svc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #CCF045;
}

@media (max-width: 900px) {
  .sb-services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .sb-services      { padding: 72px 5%; }
}

@media (max-width: 600px) {
  .sb-svc-card { padding: 28px 24px; }
}

/* ============================================= */
/* SECTION 04 — PROCESS                          */
/* ============================================= */

.sb-process {
  background: #ffffff;
  padding: 100px 5%;
}

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

.sb-process-head {
  margin-bottom: 64px;
}

.sb-process-h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: #0D0D0D;
  line-height: 1.2;
  margin: 0;
}

.sb-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.sb-step {
  position: relative;
}

.sb-step::after {
  content: '';
  position: absolute;
  top: 22px;
  right: -16px;
  width: 32px;
  height: 1px;
  background: rgba(0,0,0,0.12);
}

.sb-step:last-child::after { display: none; }

.sb-step-num {
  font-size: 3rem;
  font-weight: 800;
  color: #CCF045;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.sb-step-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0D0D0D;
  margin: 0 0 8px;
}

.sb-step-body p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #666666;
  margin: 0;
}

@media (max-width: 900px) {
  .sb-steps   { grid-template-columns: repeat(2, 1fr); }
  .sb-step::after { display: none; }
  .sb-process { padding: 64px 5%; }
}

@media (max-width: 600px) {
  .sb-steps { grid-template-columns: 1fr; }
}

/* ============================================= */
/* SECTION 05 — STATS CIRCLES                    */
/* ============================================= */

.sb-stats {
  background: #ffffff;
  padding: 80px 5% 120px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

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

.sb-stats-head {
  margin-bottom: 72px;
}

.sb-stats-h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: #0D0D0D;
  line-height: 1.2;
  max-width: 560px;
  margin: 0 0 14px;
}

.sb-stats-para {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #666666;
  max-width: 520px;
  margin: 0;
}

.sb-circles {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sb-circle {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sb-circle + .sb-circle { margin-left: -56px; }

.sb-circle--outline {
  border: 1.5px solid rgba(0,0,0,0.12);
  background: #ffffff;
}

.sb-circle--lime {
  background: #CCF045;
  position: relative;
  z-index: 1;
}

.sb-circle-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 28px;
  gap: 8px;
}

.sb-circle-num {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 3.2rem;
  font-weight: 800;
  color: #0D0D0D;
  line-height: 1;
}

.sb-circle-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0D0D0D;
  margin: 0;
}

.sb-circle-body {
  font-size: 0.78rem;
  color: #555555;
  line-height: 1.55;
  margin: 0;
}

.sb-circle--lime .sb-circle-body { color: rgba(0,0,0,0.6); }

@media (max-width: 900px) {
  .sb-circle          { width: 260px; height: 260px; }
  .sb-circle + .sb-circle { margin-left: -36px; }
  .sb-circle-num      { font-size: 2.4rem; }
}

@media (max-width: 640px) {
  .sb-circles         { flex-direction: column; gap: 16px; }
  .sb-circle + .sb-circle { margin-left: 0; }
  .sb-circle          { width: 240px; height: 240px; }
  .sb-stats           { padding: 64px 5% 72px; }
  .sb-stats-h2        { font-size: 1.5rem; }
  .sb-stats-head      { margin-bottom: 52px; }
}

/* ============================================= */
/* SECTION 06 — CTA BANNER                       */
/* ============================================= */

.sb-cta {
  background: #0D0D0D;
  padding: 110px 5%;
  position: relative;
  overflow: hidden;
}

.sb-cta::before {
  content: 'BRAND';
  position: absolute;
  bottom: -0.08em;
  right: 5%;
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 800;
  color: #ffffff;
  opacity: 0.025;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.sb-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.sb-cta-h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 16px;
}

.sb-cta-para {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin: 0;
  max-width: 440px;
}

.sb-cta-action {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.sb-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #CCF045;
  color: #0D0D0D;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 200ms ease, box-shadow 200ms ease;
}

.sb-cta-btn:hover {
  background: #d4f55e;
  box-shadow: 0 8px 28px rgba(204,240,69,0.3);
}

.sb-cta-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  margin: 0;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .sb-cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .sb-cta       { padding: 80px 5%; }
  .sb-cta-para  { max-width: none; }
}

@media (max-width: 600px) {
  .sb-cta     { padding: 64px 5%; }
  .sb-cta-h2  { font-size: 1.7rem; }
  .sb-cta-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .sb-reveal-left,
  .sb-reveal-right,
  .sb-reveal-up {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .sb-anim-1, .sb-anim-2, .sb-anim-3,
  .sb-anim-4, .sb-anim-5 {
    opacity: 1;
    animation: none;
  }

  .sb-hero-bg { animation: none; }
}
