/* ═══════════════════════════════════════════════════
   Creative Approach — "Our Approach" Section
   Layout: Left (heading + zigzag) | Right (CTA card + marquee)
   Class convention: rh-creativeapproach-[element]
   Palette: Sea blue (#4A90D9) + Sea green (#5CC8B0)
   Breakpoints: 480px · 768px · 1024px · 1280px (desktop)
   ═══════════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
.rh-creativeapproach {
  --rh-creativeapproach-primary:   #4A90D9;
  --rh-creativeapproach-secondary: #5CC8B0;
  --rh-creativeapproach-radius-lg: 20px;
  --rh-creativeapproach-radius-sm: 14px;
}

/* ── Section wrapper ── */
.rh-creativeapproach {
  width: 100%;
  padding: 48px 16px;
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  background: #fff;
}

/* ── Two-column grid (stacks mobile) ── */
.rh-creativeapproach-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ══════════════════════════════════════════
   LEFT COLUMN — Heading + Zigzag
   ══════════════════════════════════════════ */
.rh-creativeapproach-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ── Section header ── */
.rh-creativeapproach-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rh-creativeapproach-kicker {
  font-size: 12px;
  color: var(--rh-creativeapproach-primary);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0;
  font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
}

.rh-creativeapproach-heading {
  font-size: 26px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  margin: 0;
  font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
}

.rh-creativeapproach-sub {
  font-size: 15px;
  color: #6b7280;
  font-weight: 400;
  max-width: 520px;
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════════
   ZIGZAG STEPPER
   ══════════════════════════════════════════ */
.rh-creativeapproach-zigzag {
  position: relative;
  width: 100%;
  padding: 10px 0 20px;
}

.rh-creativeapproach-zigzag-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.rh-creativeapproach-zigzag-svg svg {
  width: 100%;
  height: 100%;
}

/* Path draw animation */
.rh-creativeapproach-zigpath {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}

.rh-creativeapproach-zigpath.rh-creativeapproach-animate {
  animation: rhCreativeDrawPath 2.2s ease forwards;
}

@keyframes rhCreativeDrawPath {
  to { stroke-dashoffset: 0; }
}

/* Steps list */
.rh-creativeapproach-zigsteps {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.rh-creativeapproach-zigstep {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transition: transform 0.3s ease;
}

.rh-creativeapproach-zigstep.rh-creativeapproach-animate {
  animation: rhCreativeFadeUp 0.5s ease forwards;
}

.rh-creativeapproach-zigstep:hover {
  transform: scale(1.03);
}

.rh-creativeapproach-zigstep--left {
  justify-content: flex-start;
  padding-left: 8%;
}

.rh-creativeapproach-zigstep--right {
  justify-content: flex-end;
  padding-right: 8%;
}

/* Circle icon */
.rh-creativeapproach-zigcircle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 3;
}

.rh-creativeapproach-zigcircle svg {
  width: 20px;
  height: 20px;
}

.rh-creativeapproach-zigcircle--primary {
  background: var(--rh-creativeapproach-primary);
}

.rh-creativeapproach-zigcircle--secondary {
  background: var(--rh-creativeapproach-secondary);
}

/* Step label card */
.rh-creativeapproach-ziglabel {
  background: #fff;
  border-radius: var(--rh-creativeapproach-radius-sm);
  padding: 10px 18px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  max-width: 260px;
}

.rh-creativeapproach-zignum {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
}

.rh-creativeapproach-zigtitle {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
}

.rh-creativeapproach-zigdesc {
  display: block;
  font-size: 12px;
  color: #9ca3af;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 2px;
}

/* Staggered animation delays */
.rh-creativeapproach-zigstep:nth-child(1) { animation-delay: 0.3s; }
.rh-creativeapproach-zigstep:nth-child(2) { animation-delay: 0.55s; }
.rh-creativeapproach-zigstep:nth-child(3) { animation-delay: 0.8s; }
.rh-creativeapproach-zigstep:nth-child(4) { animation-delay: 1.05s; }
.rh-creativeapproach-zigstep:nth-child(5) { animation-delay: 1.3s; }

@keyframes rhCreativeFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   RIGHT COLUMN — CTA Card + Marquee
   ══════════════════════════════════════════ */
.rh-creativeapproach-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* ── CTA Card ── */
.rh-creativeapproach-card {
  position: relative;
  background: var(--rh-creativeapproach-primary);
  border-radius: var(--rh-creativeapproach-radius-lg);
  padding: 36px 28px;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  cursor: default;
}

/* Dots decoration */
.rh-creativeapproach-dots {
  position: absolute;
  width: 80px;
  height: 80px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle, #fff 2px, transparent 2px);
  background-size: 14px 14px;
}

.rh-creativeapproach-dots--tr { top: -10px; right: -10px; }
.rh-creativeapproach-dots--bl { bottom: -10px; left: -10px; }

/* Card content */
.rh-creativeapproach-card-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rh-creativeapproach-card-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.25;
  font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
}

.rh-creativeapproach-card-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 4px;
}

/* CTA form */
.rh-creativeapproach-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.rh-creativeapproach-input {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  outline: none;
  font-size: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 12px;
  font-family: inherit;
  transition: border-color 0.3s ease, background 0.3s ease;
  box-sizing: border-box;
}

.rh-creativeapproach-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.rh-creativeapproach-input:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.rh-creativeapproach-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--rh-creativeapproach-primary);
  border: none;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rh-creativeapproach-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.25);
  background: #fff;
  color: var(--rh-creativeapproach-primary);
}

.rh-creativeapproach-btn-arrow {
  flex-shrink: 0;
}

/* ── Floating labels ── */
.rh-creativeapproach-float {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  display: none;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 5;
  white-space: nowrap;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

.rh-creativeapproach-float-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rh-creativeapproach-float-icon svg {
  width: 12px;
  height: 12px;
}

/* Float positions — hidden by default, animate in on card hover */
.rh-creativeapproach-float--1 { top: -14px;    left: -20px;  transform: rotate(-6deg) translate(-30px, -10px); opacity: 0; }
.rh-creativeapproach-float--2 { top: 30%;      left: -28px;  transform: rotate(-4deg) translate(-30px, 0);     opacity: 0; }
.rh-creativeapproach-float--3 { bottom: -14px; left: -16px;  transform: rotate(-3deg) translate(-30px, 10px);  opacity: 0; }
.rh-creativeapproach-float--4 { top: -14px;    right: -20px; transform: rotate(6deg) translate(30px, -10px);   opacity: 0; }
.rh-creativeapproach-float--5 { top: 30%;      right: -28px; transform: rotate(4deg) translate(30px, 0);       opacity: 0; }
.rh-creativeapproach-float--6 { bottom: -14px; right: -16px; transform: rotate(3deg) translate(30px, 10px);    opacity: 0; }

/* Hover reveals */
.rh-creativeapproach-card:hover .rh-creativeapproach-float--1 { transform: rotate(-6deg) translate(0, 0); opacity: 1; }
.rh-creativeapproach-card:hover .rh-creativeapproach-float--2 { transform: rotate(-4deg) translate(0, 0); opacity: 1; }
.rh-creativeapproach-card:hover .rh-creativeapproach-float--3 { transform: rotate(-3deg) translate(0, 0); opacity: 1; }
.rh-creativeapproach-card:hover .rh-creativeapproach-float--4 { transform: rotate(6deg) translate(0, 0);  opacity: 1; }
.rh-creativeapproach-card:hover .rh-creativeapproach-float--5 { transform: rotate(4deg) translate(0, 0);  opacity: 1; }
.rh-creativeapproach-card:hover .rh-creativeapproach-float--6 { transform: rotate(3deg) translate(0, 0);  opacity: 1; }

/* Staggered reveal delays */
.rh-creativeapproach-float--1 { transition-delay: 0s; }
.rh-creativeapproach-float--4 { transition-delay: 0.04s; }
.rh-creativeapproach-float--2 { transition-delay: 0.08s; }
.rh-creativeapproach-float--5 { transition-delay: 0.12s; }
.rh-creativeapproach-float--3 { transition-delay: 0.16s; }
.rh-creativeapproach-float--6 { transition-delay: 0.20s; }

/* ══════════════════════════════════════════
   SCROLLING IMAGE MARQUEE
   3 columns, bottom-to-top, infinite loop
   ══════════════════════════════════════════ */
.rh-creativeapproach-marquee {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 420px;
  height: 280px;
  overflow: hidden;
  border-radius: var(--rh-creativeapproach-radius-lg);
  position: relative;
}

/* Fade masks top & bottom */
.rh-creativeapproach-marquee::before,
.rh-creativeapproach-marquee::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 48px;
  z-index: 2;
  pointer-events: none;
}

.rh-creativeapproach-marquee::before {
  top: 0;
  background: linear-gradient(to bottom, #fff 0%, transparent 100%);
}

.rh-creativeapproach-marquee::after {
  bottom: 0;
  background: linear-gradient(to top, #fff 0%, transparent 100%);
}

/* Each column */
.rh-creativeapproach-marquee-col {
  overflow: hidden;
  position: relative;
}

/* Track: scrolls up */
.rh-creativeapproach-marquee-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: rhCreativeMarqueeUp 20s linear infinite;
}

/* Speed variants */
.rh-creativeapproach-marquee-track--slow { animation-duration: 24s; }
.rh-creativeapproach-marquee-track--mid  { animation-duration: 18s; }

/* Pause on hover for accessibility */
.rh-creativeapproach-marquee:hover .rh-creativeapproach-marquee-track {
  animation-play-state: paused;
}

@keyframes rhCreativeMarqueeUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Each image item */
.rh-creativeapproach-marquee-item {
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.rh-creativeapproach-marquee-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

/* ── Screen-reader only ── */
.rh-creativeapproach .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ══════════════════════════════════════════
   MOBILE LARGE — 480px
   ══════════════════════════════════════════ */
@media (min-width: 480px) {
  .rh-creativeapproach-kicker  { font-size: 12px; }
  .rh-creativeapproach-heading { font-size: 30px; }
  .rh-creativeapproach-sub     { font-size: 16px; }
  .rh-creativeapproach-zigtitle { font-size: 15px; }
  .rh-creativeapproach-btn     { font-size: 15px; }
}

/* ══════════════════════════════════════════
   TABLET — 768px
   ══════════════════════════════════════════ */
@media (min-width: 768px) {
  .rh-creativeapproach { padding: 64px 24px; }

  /* Two-column layout */
  .rh-creativeapproach-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 36px;
  }

  .rh-creativeapproach-left {
    flex: 1;
    min-width: 0;
  }

  .rh-creativeapproach-right {
    flex: 0 0 340px;
    position: sticky;
    top: 100px;
    align-items: stretch;
  }

  .rh-creativeapproach-kicker  { font-size: 13px; letter-spacing: 4px; }
  .rh-creativeapproach-heading { font-size: 36px; }
  .rh-creativeapproach-sub     { font-size: 16px; }

  /* Card */
  .rh-creativeapproach-card {
    max-width: 340px;
    padding: 32px 26px;
  }

  /* Show floating labels on tablet+ */
  .rh-creativeapproach-float {
    display: flex;
    font-size: 12px;
    padding: 8px 14px;
  }

  .rh-creativeapproach-float-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .rh-creativeapproach-float-icon svg {
    width: 14px;
    height: 14px;
  }

  /* Dots bigger */
  .rh-creativeapproach-dots {
    width: 100px;
    height: 100px;
  }

  /* Marquee */
  .rh-creativeapproach-marquee {
    max-width: 340px;
    height: 300px;
    gap: 10px;
  }

  /* Step desc visible on tablet */
  .rh-creativeapproach-zigdesc { font-size: 13px; }
  .rh-creativeapproach-ziglabel { max-width: 280px; }
}

/* ══════════════════════════════════════════
   LAPTOP — 1024px
   ══════════════════════════════════════════ */
@media (min-width: 1024px) {
  .rh-creativeapproach { padding: 80px 48px; }
  .rh-creativeapproach-inner { gap: 56px; }

  .rh-creativeapproach-right { flex: 0 0 400px; }

  .rh-creativeapproach-card {
    max-width: 400px;
    padding: 40px 32px;
  }

  .rh-creativeapproach-card-title { font-size: 26px; }
  .rh-creativeapproach-card-sub   { font-size: 15px; }

  .rh-creativeapproach-heading { font-size: 42px; }
  .rh-creativeapproach-sub     { font-size: 16px; }

  /* Float labels */
  .rh-creativeapproach-float { font-size: 13px; padding: 9px 16px; }

  .rh-creativeapproach-float-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .rh-creativeapproach-float-icon svg {
    width: 16px;
    height: 16px;
  }

  /* Dots */
  .rh-creativeapproach-dots {
    width: 120px;
    height: 120px;
    opacity: 0.15;
    background-size: 16px 16px;
  }

  .rh-creativeapproach-dots--tr { top: -16px; right: -16px; }
  .rh-creativeapproach-dots--bl { bottom: -16px; left: -16px; }

  /* Marquee */
  .rh-creativeapproach-marquee {
    max-width: 400px;
    height: 340px;
    gap: 12px;
  }

  /* Zigzag sizing */
  .rh-creativeapproach-zigcircle { width: 52px; height: 52px; }
  .rh-creativeapproach-zigcircle svg { width: 22px; height: 22px; }
  .rh-creativeapproach-zigtitle { font-size: 16px; }
  .rh-creativeapproach-zigdesc  { font-size: 13px; }
  .rh-creativeapproach-ziglabel { max-width: 300px; }
}

/* ══════════════════════════════════════════
   DESKTOP — 1280px+
   ══════════════════════════════════════════ */
@media (min-width: 1280px) {
  .rh-creativeapproach { padding: 100px 48px; }
  .rh-creativeapproach-inner { max-width: 1200px; gap: 64px; }

  .rh-creativeapproach-heading { font-size: 48px; font-weight: 700; }
  .rh-creativeapproach-sub     { font-size: 18px; }
  .rh-creativeapproach-kicker  { font-size: 14px; }

  .rh-creativeapproach-right { flex: 0 0 440px; }

  .rh-creativeapproach-card {
    max-width: 440px;
    padding: 44px 36px;
  }

  .rh-creativeapproach-card-title { font-size: 28px; }
  .rh-creativeapproach-card-sub   { font-size: 16px; }

  .rh-creativeapproach-marquee {
    max-width: 440px;
    height: 360px;
  }

  .rh-creativeapproach-zigsteps { gap: 32px; }
  .rh-creativeapproach-zigtitle { font-size: 17px; }
  .rh-creativeapproach-zigdesc  { font-size: 14px; }
  .rh-creativeapproach-ziglabel { max-width: 320px; padding: 12px 20px; }
  .rh-creativeapproach-zigcircle { width: 56px; height: 56px; }
  .rh-creativeapproach-zigcircle svg { width: 24px; height: 24px; }
}

/* ══════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .rh-creativeapproach-float,
  .rh-creativeapproach-card,
  .rh-creativeapproach-zigstep,
  .rh-creativeapproach-btn,
  .rh-creativeapproach-input {
    transition: none;
  }

  .rh-creativeapproach-zigstep.rh-creativeapproach-animate {
    animation: none;
    opacity: 1;
  }

  .rh-creativeapproach-zigpath.rh-creativeapproach-animate {
    animation: none;
    stroke-dashoffset: 0;
  }

  .rh-creativeapproach-marquee-track {
    animation: none;
  }
}