/* ═══════════════════════════════════════════════
   a3outsourcing — Global Styles
   ═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Manrope:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700;800&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  width: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* main overflow handled by body — no separate overflow-x here to avoid double scrollbar */

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--brand-red);
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--brand-red);
  color: #fff;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark-2);
}

::-webkit-scrollbar-thumb {
  background: rgba(217, 32, 32, 0.28);
  border-radius: 3px;
}

/* ── Keyframes ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.88);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes blob1 {

  0%,
  100% {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    transform: rotate(0deg) scale(1);
  }

  33% {
    border-radius: 50% 50% 35% 65% / 60% 40% 60% 40%;
    transform: rotate(120deg) scale(1.06);
  }

  66% {
    border-radius: 35% 65% 55% 45% / 50% 60% 40% 50%;
    transform: rotate(240deg) scale(0.94);
  }
}

@keyframes blob2 {

  0%,
  100% {
    border-radius: 55% 45% 40% 60% / 50% 55% 45% 50%;
    transform: rotate(0deg) scale(1);
  }

  50% {
    border-radius: 40% 60% 55% 45% / 45% 50% 50% 55%;
    transform: rotate(180deg) scale(1.08);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes imgZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* ── Scroll Reveal ── */
.sr {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
}

.sr.v {
  opacity: 1;
  transform: translateY(0);
}

.sr-l {
  opacity: 0;
  transform: translateX(-55px);
  transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
}

.sr-l.v {
  opacity: 1;
  transform: translateX(0);
}

.sr-r {
  opacity: 0;
  transform: translateX(55px);
  transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
}

.sr-r.v {
  opacity: 1;
  transform: translateX(0);
}

.sr-s {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.sr-s.v {
  opacity: 1;
  transform: scale(1);
}

/* ── Stagger delays ── */
.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

.delay-4 {
  transition-delay: 0.32s;
}

/* ── Navbar ── */
/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.45s var(--ease-out-expo);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(244, 244, 245, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

/* Brand */
.nav-inner > a:first-child {
  min-width: 0;
  flex-shrink: 0;
  overflow: hidden;
}

/* Desktop nav should not take layout space */
.desktop-only {
  display: contents;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-link {
  padding: 9px 20px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s;
  display: inline-block;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.05);
}

.nav-link.active {
  color: var(--brand-red);
  background: var(--brand-red-subtle);
}

.nav-cta {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  padding: 11px 24px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  margin-left: 0;
  box-shadow: 0 4px 24px var(--brand-red-glow);
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.nav-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--brand-red-glow);
}

/* ── Section ── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px;
  position: relative;
  z-index: 2;
}

/* ── Section Tag ── */
.section-tag {
  display: inline-block;
  background: var(--brand-red-subtle);
  color: var(--brand-red);
  padding: 6px 18px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid var(--brand-red-border);
  font-family: var(--font-body);
}

.section-title {
  font-size: clamp(28px, 5vw, 50px);
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: clamp(15px, 1.8vw, 18px);
  max-width: 580px;
  line-height: 1.75;
  margin-top: 18px;
}

.section-sub.centered {
  margin-left: auto;
  margin-right: auto;
}

/* ── Glass Card ── */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 8px 32px rgba(0, 0, 0, 0.04);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
}

.glass-card:hover {
  background: var(--glass-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.10), 0 0 28px rgba(217, 32, 32, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
}

.glass-card.glow:hover {
  border-color: var(--brand-red-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.09), 0 0 20px rgba(217, 32, 32, 0.07);
}

/* Gradient border on hover */
.glass-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 42, 42, 0.3), transparent 50%, rgba(255, 42, 42, 0.12));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.glass-card:hover::before {
  opacity: 1;
}

/* ── Icon Box ── */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring);
}

.icon-box:hover {
  transform: scale(1.12) rotate(-3deg);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-img-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  /* GSAP controls transitions */
}

.hero-img-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  /* GSAP handles zoom */
}

.hero-img-slide.active img {
  /* Ken Burns handled by GSAP now */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(244, 244, 245, 0.55) 0%, rgba(244, 244, 245, 0.35) 40%, rgba(244, 244, 245, 0.70) 100%);
}

.hero-tint {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 40%, rgba(255, 42, 42, 0.08), transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  margin: 0 auto;
  padding: 140px 24px 100px;
  text-align: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 42, 42, 0.1);
  color: var(--brand-red);
  padding: 8px 22px;
  border-radius: 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  border: 1px solid var(--brand-red-border);
  backdrop-filter: blur(8px);
}

.hero-dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
  position: relative;
  display: inline-block;
}

.hero-dot-live::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--brand-red);
  animation: pulseRing 2s ease-out infinite;
}

.hero-slide {
  /* GSAP controls all transitions */
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.hero-slide.is-active {
  position: relative;
  pointer-events: auto;
}

.hero-h1 {
  font-size: clamp(38px, 7.5vw, 76px);
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: -3px;
  margin-bottom: 22px;
  color: var(--text-primary);
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.6);
}

.hero-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(15px, 2.2vw, 19px);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.45s var(--ease-out-expo);
  padding: 0;
}

.carousel-dot.active {
  width: 36px;
  background: var(--brand-red);
  box-shadow: 0 0 16px var(--brand-red-glow);
}

/* ── CTA Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-red);
  color: #fff;
  padding: 17px 40px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-display);
  box-shadow: 0 8px 36px var(--brand-red-glow);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 44px rgba(255, 42, 42, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.10);
  padding: 17px 40px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-display);
  backdrop-filter: blur(12px);
  transition: all 0.3s;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--brand-red-border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
  transform: translateY(-2px);
}

/* ── Marquee ── */
.marquee-wrap {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.marquee-fade-l {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 5;
  background: linear-gradient(90deg, var(--bg-dark), transparent);
  pointer-events: none;
}

.marquee-fade-r {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 5;
  background: linear-gradient(-90deg, var(--bg-dark), transparent);
  pointer-events: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marquee 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track.reverse {
  animation-direction: reverse;
  animation-duration: 45s;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 185px;
  transition: all 0.4s var(--ease-out-expo);
}

.partner-card:hover {
  border-color: var(--brand-red-border);
  background: var(--glass-hover);
  transform: scale(1.04);
}

.partner-card.a3-card {
  background: var(--brand-red-subtle);
  border-color: var(--brand-red-border);
}

.partner-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.partner-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

/* ── Testimonial ── */
.testimonial-card {
  transition: all 0.7s var(--ease-out-expo);
}

.test-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  padding: 0;
}

.test-dot.active {
  width: 28px;
  background: var(--brand-red);
}

/* ── Service expand ── */
.svc-chevron {
  transition: transform 0.35s var(--ease-out-expo);
}

.svc-chevron.open {
  transform: rotate(90deg);
}

.svc-expand {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  animation: fadeUp 0.45s var(--ease-out-expo);
}

.svc-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
}

/* ── Form ── */
.form-input {
  width: 100%;
  padding: 15px 18px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.10);
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: all 0.35s var(--ease-out-expo);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.form-input:focus {
  border-color: var(--brand-red-border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 3px rgba(217, 32, 32, 0.07);
}

.form-input.error {
  border-color: var(--brand-red);
}

.form-label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-error {
  font-size: 12px;
  color: var(--brand-red);
  margin-top: 4px;
  display: block;
  min-height: 16px;
}

/* ── A3 Logo ── */
.a3-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-red), #ff5e5e);
  font-family: var(--font-mono);
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.a3-logo.sm {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 14px;
}

.a3-logo.md {
  width: 52px;
  height: 52px;
  border-radius: 11px;
  font-size: 15px;
  box-shadow: 0 4px 24px var(--brand-red-glow);
}

.a3-logo.lg {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  font-size: 18px;
  box-shadow: 0 6px 30px var(--brand-red-glow);
}

/* When a3-logo is an <img>, ensure logo image fits neatly */
img.a3-logo {
  object-fit: contain;
  padding: 0;
}

.a3-brand {
  font-weight: 700;
  font-size: 17px;
  font-family: var(--font-display);
  letter-spacing: -0.3px;
}

/* ── Footer ── */
.footer {
  background: linear-gradient(180deg, #E8E8E9 0%, #DCDCDD 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 30% at 50% 0%, rgba(217, 32, 32, 0.03), transparent 70%);
  pointer-events: none;
}

.footer-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.footer-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 42, 42, 0.55), transparent);
}

.footer-title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #8a8d9a;
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.footer-link {
  display: inline-block;
  color: #666668;
  font-size: 14px;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s var(--ease-out-expo);
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-red);
  transition: width 0.4s var(--ease-out-expo);
}

.footer-link:hover {
  color: #444446;
}

.footer-link:hover::after {
  width: 100%;
}

/* social icon anchors */
.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666668;
  transition: all 0.35s var(--ease-out-expo);
  flex-shrink: 0;
}

.footer-social-icon:hover {
  border-color: rgba(217, 32, 32, 0.22);
  color: var(--brand-red);
  background: rgba(217, 32, 32, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* keep old .footer-social for backward compat */
.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  color: #666668;
  font-family: var(--font-mono);
  transition: all 0.35s var(--ease-out-expo);
}

.footer-social:hover {
  border-color: rgba(217, 32, 32, 0.22);
  color: var(--brand-red);
  background: rgba(217, 32, 32, 0.06);
  transform: translateY(-3px);
}

/* ── Decorative ── */
.decor-circle {
  position: absolute;
  border: 1px solid rgba(255, 42, 42, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.decor-square {
  position: absolute;
  border: 1px solid rgba(255, 42, 42, 0.05);
  border-radius: 20px;
  transform: rotate(45deg);
  pointer-events: none;
}

.morph-blob-1 {
  position: absolute;
  filter: blur(55px);
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(217, 32, 32, 0.07) 0%, transparent 70%);
  animation: blob1 22s ease-in-out infinite;
}

.morph-blob-2 {
  position: absolute;
  filter: blur(70px);
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(217, 32, 32, 0.045) 0%, transparent 70%);
  animation: blob2 28s ease-in-out infinite;
}

/* ── SVG Icons inline ── */
.icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Scroll Top ── */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 0, 0, 0.09);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
  font-size: 18px;
  transition: all 0.3s;
}

.scroll-top-btn:hover {
  border-color: var(--brand-red-border);
  color: var(--brand-red);
  box-shadow: 0 6px 24px rgba(217, 32, 32, 0.12);
}

/* ── Responsive — Tablet ── */
@media (max-width: 1024px) {
  .section {
    padding: 72px 20px;
  }

  .hero-content {
    padding: 130px 20px 80px;
  }

  .hero-h1 {
    letter-spacing: -2px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 15px 32px;
    font-size: 15px;
  }
}


@media (max-width: 768px) {
  .hero-float-card { display: none !important; }
}


/* ── Responsive — Mobile ── */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: flex !important;
  }

  /* Grid collapses */
  .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }

  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .footer-cols {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Hero */
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 110px 16px 60px;
  }

  /* Services/Contact page hero */
  .page-hero {
    padding: 110px 16px 48px !important;
    min-height: auto !important;
  }

  .page-hero h1 {
    font-size: clamp(28px, 8vw, 42px) !important;
    letter-spacing: -1.5px !important;
  }

  .page-hero p {
    font-size: 15px !important;
    padding: 0 4px;
  }

  .hero-h1 {
    font-size: clamp(28px, 8vw, 42px) !important;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
  }

  /* On mobile, hide the <br> but inject a space so words don't merge */
  .hero-h1 br {
    display: inline;
    content: ' ';
  }

  .hero-h1 br::after {
    content: ' ';
  }

  .hero-sub {
    font-size: 15px !important;
    max-width: 100%;
    padding: 0 8px;
  /* place CTA at right of desktop block, without affecting center alignment of nav links */
  /* .desktop-only .nav-cta {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .desktop-only .nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
  } */
    min-height: 160px !important;
  }

  .hero-badge {
    font-size: 10px;
    padding: 6px 16px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
  }

  /* Decorative — hide on mobile to prevent overflow */
  .decor-circle,
  .decor-square {
    display: none !important;
  }

  .hero-grid {
    display: none;
  }

  /* Decorative blobs — hide entirely on mobile; they use right:-15%/right:-18%
     inline styles which push content off-screen and have no overflow-clipping parent */
  .morph-blob-1,
  .morph-blob-2 {
    display: none !important;
  }

  /* CTAs stack full width */
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 15px;
  }

  /* Glass cards — smaller padding */
  .glass-card {
    padding: 20px;
    border-radius: 14px;
  }

  .glass-card:hover {
    transform: none;
  }

  /* Disable hover lift on touch */

  /* Carousel dots */
  .carousel-dot {
    width: 8px;
    height: 8px;
  }

  .carousel-dot.active {
    width: 28px;
  }

  /* Section titles */
  .section-title {
    font-size: clamp(24px, 6vw, 36px) !important;
    letter-spacing: -1px;
  }

  .section-sub {
    font-size: 14px !important;
  }

  .section-tag {
    font-size: 10px;
    padding: 5px 14px;
    letter-spacing: 1.5px;
  }

  /* KPI counter font */
  [data-counter] {
    font-size: 26px !important;
  }

  /* Icon boxes */
  .icon-box {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
  }

  .icon-box svg {
    width: 20px;
    height: 20px;
  }

  /* Partner cards */
  .partner-card {
    padding: 12px 20px;
    min-width: 150px;
    gap: 10px;
  }

  .partner-logo-mark {
    width: 28px;
    height: 28px;
    font-size: 9px;
  }

  .partner-name {
    font-size: 12px;
  }

  /* Marquee — ensure the wrap clips the scrolling track */
  .marquee-wrap {
    overflow: hidden;
  }

  /* Marquee fades */
  .marquee-fade-l,
  .marquee-fade-r {
    width: 40px;
  }

  /* Testimonial cards */
  .testimonial-card.glass-card {
    padding: 24px !important;
  }

  /* Service cards — services page */
  .svc-feature {
    font-size: 13px;
    padding: 8px 10px;
  }

  /* Contact form */
  .form-input {
    padding: 13px 14px;
    font-size: 14px;
  }

  /* Footer */
  .footer-title {
    font-size: 11px;
  }

  .a3-brand {
    font-size: 15px;
  }

  /* Navbar */
  .nav-inner {
    padding: 0 16px;
  }

  .a3-logo.md {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  /* Scroll top btn */
  .scroll-top-btn {
    bottom: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
}

/* ── Responsive — Small phones ── */
@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr !important;
  }

  .hero-content {
    padding: 100px 14px 48px;
  }

  .hero-h1 {
    font-size: clamp(26px, 9vw, 36px) !important;
  }

  #hero-text-wrap {
    min-height: 140px !important;
  }

  .page-hero {
    padding: 100px 14px 40px !important;
  }

  .page-hero h1 {
    font-size: clamp(24px, 8vw, 34px) !important;
  }

  .section {
    padding: 44px 14px;
  }

  .section-title {
    font-size: clamp(22px, 7vw, 30px) !important;
  }

  .glass-card {
    padding: 16px;
    border-radius: 12px;
  }

  [data-counter] {
    font-size: 22px !important;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 12px;
  }

  .testimonial-card.glass-card {
    padding: 20px !important;
  }

  .testimonial-card p {
    font-size: 15px !important;
  }

  .partner-card {
    padding: 10px 16px;
    min-width: 130px;
  }
}

@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .sr,
  .sr-l,
  .sr-r,
  .sr-s {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track {
    animation: none !important;
  }

  .hero-img-slide.active img {
    animation: none !important;
  }
}
/* ═══════════════════════════════════════════════
/* ═══════════════════════════════════════════════
   UI Enhancements v3 — Always-On, Looping,
   Multicolor, Playful Animations
   ═══════════════════════════════════════════════ */

/* ────────────────────────────────────────────────
   ALWAYS-ON MULTICOLOR HEADING ANIMATION
   Applied to all .section-title, .anm-h2, .anm-h3
   (hero headings excluded via .hero scope)
   ──────────────────────────────────────────────── */

@keyframes heading-color-cycle {
  0%   { background-position: 0%   50%; }
  25%  { background-position: 50%  50%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 50%  50%; }
  100% { background-position: 0%   50%; }
}

/* Multicolor sweep — applied by JS to section headings */
.anm-heading {
  background: linear-gradient(
    270deg,
    #ffffff  0%,
    #FF6B6B  14%,
    #FFE66D  28%,
    #4ECDC4  42%,
    #DDA0DD  56%,
    #ff8c42  70%,
    #ffffff  84%,
    #FF2A2A 100%
  );
  background-size: 500% 500%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heading-color-cycle 7s ease-in-out infinite;
}

/* Variation — tighter rainbow for h3 cards */
.anm-heading-sm {
  background: linear-gradient(
    270deg,
    #eeeef0 0%,
    #FF6B6B 20%,
    #FFE66D 40%,
    #4ECDC4 60%,
    #DDA0DD 80%,
    #eeeef0 100%
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heading-color-cycle 5s ease-in-out infinite;
}

/* ────────────────────────────────────────────────
   ALWAYS-ON ANIMATED BUTTON BORDERS
   ──────────────────────────────────────────────── */

@property --btn-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes btn-border-spin {
  to { --btn-angle: 360deg; }
}

/* Primary button — always animated border */
.btn-primary {
  position: relative;
  isolation: isolate;
  overflow: visible !important;
  z-index: 0;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2.5px;
  border-radius: 16px;
  background: conic-gradient(
    from var(--btn-angle),
#FF4500 0%,         /* Neon Orange-Red */
#FF6347 18%,         /* Neon Orange */
#FF7F50 34%,         /* Coral */
#FF2A2A 50%,         /* Neon Red */
#FF8C00 66%,         /* Dark Orange */
#FF4500 100%         /* Neon Orange-Red */
  );
  animation: btn-border-spin 3s linear infinite;
  z-index: -5;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 15px;
  background: var(--brand-red);
  z-index: -1;
}

/* Secondary button — cool blue-teal cycle */
.btn-secondary {
  position: relative;
  isolation: isolate;
  overflow: visible !important;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: conic-gradient(
    from var(--btn-angle),
    rgba(255, 0, 0, 0.95) 0%,
    rgba(255, 40, 40, 0.95) 20%,
    rgba(255, 120, 120, 0.7) 40%,
    rgba(255, 0, 60, 0.95) 60%,
    rgba(255, 0, 0, 1) 80%,
    rgba(255, 0, 0, 0.95) 100%
  );
  animation: btn-border-spin 4s linear infinite;
  z-index: -2;
  opacity: 0.85;
}

.btn-secondary::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  z-index: -1;
}

/* Nav CTA always animated */
.nav-cta {
  position: relative;
  isolation: isolate;
  overflow: visible !important;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: conic-gradient(
    from var(--btn-angle),
    #FF2A2A, #ff8c42, #FFE66D, #FF2A2A, #c0392b, #FF2A2A
  );
  animation: btn-border-spin 3s linear infinite;
  z-index: -1;
}

/* ────────────────────────────────────────────────
   LOOPING TEXT SHIMMER (value propositions)
   ──────────────────────────────────────────────── */

@keyframes text-shimmer-move {
  0%   { background-position: -300% center; }
  100% { background-position: 300% center; }
}

.text-shimmer {
  background: linear-gradient(
    90deg,
    var(--text-primary) 0%,
    rgba(255,110,90,0.9) 25%,
    rgba(255,230,109,0.9) 40%,
    rgba(78,205,196,0.85) 55%,
    rgba(221,160,221,0.85) 70%,
    var(--text-primary) 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer-move 4s linear infinite;
}

/* ────────────────────────────────────────────────
   WORD-BY-WORD SCROLL REVEAL
   ──────────────────────────────────────────────── */

.word-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s var(--ease-out-expo),
              transform 0.65s var(--ease-out-expo);
}

.word-reveal.v .word { opacity: 1; transform: translateY(0); }

.word-reveal .word:nth-child(1)   { transition-delay: 0.00s; }
.word-reveal .word:nth-child(2)   { transition-delay: 0.07s; }
.word-reveal .word:nth-child(3)   { transition-delay: 0.14s; }
.word-reveal .word:nth-child(4)   { transition-delay: 0.21s; }
.word-reveal .word:nth-child(5)   { transition-delay: 0.28s; }
.word-reveal .word:nth-child(6)   { transition-delay: 0.35s; }
.word-reveal .word:nth-child(7)   { transition-delay: 0.42s; }
.word-reveal .word:nth-child(n+8) { transition-delay: 0.49s; }

/* ────────────────────────────────────────────────
   SVG ICON — ALWAYS-ON ANIMATIONS
   ──────────────────────────────────────────────── */

/* Stroke draw-in on scroll */
.icon-draw svg path,
.icon-draw svg circle,
.icon-draw svg rect,
.icon-draw svg polyline,
.icon-draw svg line,
.icon-draw svg polygon {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1.5s var(--ease-out-expo);
}

.icon-draw.v svg path,
.icon-draw.v svg circle,
.icon-draw.v svg rect,
.icon-draw.v svg polyline,
.icon-draw.v svg line,
.icon-draw.v svg polygon {
  stroke-dashoffset: 0;
}

/* Floating loop */
@keyframes icon-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-8px) rotate(-2deg); }
  66%       { transform: translateY(-4px) rotate(2deg); }
}

.icon-float-anim {
  animation: icon-float 4s ease-in-out infinite;
}

/* Multicolor glow pulse — cycles hue */
@keyframes icon-glow-cycle {
  0%   { filter: drop-shadow(0 0 6px rgba(255,42,42,0.65)); }
  25%  { filter: drop-shadow(0 0 8px rgba(255,230,109,0.6)); }
  50%  { filter: drop-shadow(0 0 8px rgba(78,205,196,0.6)); }
  75%  { filter: drop-shadow(0 0 8px rgba(221,160,221,0.6)); }
  100% { filter: drop-shadow(0 0 6px rgba(255,42,42,0.65)); }
}

.icon-glow-cycle {
  animation: icon-glow-cycle 3.5s ease-in-out infinite;
}

/* Hover scale + color snap */
.icon-hover {
  transition: transform 0.35s var(--ease-spring), filter 0.35s ease;
}
.icon-hover:hover {
  transform: scale(1.2) rotate(-5deg);
  filter: drop-shadow(0 0 10px var(--brand-red-glow));
}

/* Spin on hover (arrows/refresh icons) */
@keyframes spin-once {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.icon-spin-hover:hover svg { animation: spin-once 0.6s var(--ease-out-expo); }

/* ────────────────────────────────────────────────
   SECTION-TITLE SHIMMER BAR (underline)
   ──────────────────────────────────────────────── */

@keyframes underline-slide {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.section-title-wrap {
  position: relative;
  display: inline-block;
}

.section-title-wrap::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    #FF2A2A 20%,
    #FFE66D 40%,
    #4ECDC4 60%,
    #DDA0DD 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: underline-slide 3s linear infinite;
}

/* ────────────────────────────────────────────────
   BADGE / TAG FLOAT-IN
   ──────────────────────────────────────────────── */

@keyframes badge-float-in {
  from { opacity: 0; transform: translateY(18px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.badge-anim { opacity: 0; }
.badge-anim.v { animation: badge-float-in 0.75s var(--ease-spring) forwards; }

/* ────────────────────────────────────────────────
   CARD HOVER BOTTOM-EDGE REVEAL BAR
   ──────────────────────────────────────────────── */

.hover-bar { position: relative; overflow: hidden; }

.hover-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2.5px; width: 0;
  background: linear-gradient(90deg,
    #FF2A2A, #FFE66D, #4ECDC4, #DDA0DD
  );
  transition: width 0.5s var(--ease-out-expo);
  border-radius: 2px;
}
.hover-bar:hover::after { width: 100%; }

/* ────────────────────────────────────────────────
   IMAGE CARDS (service hero images)
   ──────────────────────────────────────────────── */

.svc-img-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16/9;
}

.svc-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out-expo);
}

.svc-img-card:hover img {
  transform: scale(1.06);
}

.svc-img-card .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,6,8,0.85) 0%, transparent 55%);
}

.svc-img-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(244,244,245,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-primary);
}

/* ────────────────────────────────────────────────
   PROCESS STEPS (services page)
   ──────────────────────────────────────────────── */

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}

.process-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 50px;
  width: 2px;
  height: calc(100% + 24px);
  background: linear-gradient(to bottom, var(--brand-red), transparent);
  opacity: 0.25;
}

.process-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-red-subtle);
  border: 2px solid var(--brand-red-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14px;
  color: var(--brand-red);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  animation: icon-glow-cycle 4s ease-in-out infinite;
}

/* ────────────────────────────────────────────────
   STAT STRIP
   ──────────────────────────────────────────────── */

.stat-strip {
  background: linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.55));
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 20px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 768px) {
  .stat-strip { grid-template-columns: repeat(2,1fr); padding: 24px 20px; }
}

.stat-val {
  font-size: 36px;
  font-weight: 800;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, #FF2A2A, #ff8c42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 500;
}

/* ────────────────────────────────────────────────
   WHY-CHOOSE CARD
   ──────────────────────────────────────────────── */

.why-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s;
  background: linear-gradient(135deg,
    rgba(255,42,42,0.06),
    rgba(78,205,196,0.04),
    rgba(221,160,221,0.04)
  );
}

.why-card:hover::before { opacity: 1; }
.why-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.1); }

/* ────────────────────────────────────────────────
   FULL-BLEED SERVICE SECTION (on services page)
   ──────────────────────────────────────────────── */

.svc-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--glass-border);
}

.svc-full.reverse { direction: rtl; }
.svc-full.reverse > * { direction: ltr; }

@media (max-width: 768px) {
  .svc-full { grid-template-columns: 1fr !important; direction: ltr !important; padding: 48px 0; }
  .svc-full > * { direction: ltr !important; }
  .stat-strip { grid-template-columns: repeat(2,1fr); }
}

/* ────────────────────────────────────────────────
   FOOTER v3 — BRIGHT CONTRASTING SILVER
   ──────────────────────────────────────────────── */

.footer {
  background: linear-gradient(
    180deg,
    #ECECED 0%,
    #E4E4E5 50%,
    #DCDCDD 100%
  ) !important;

  border-top: 1px solid rgba(0,0,0,0.06) !important;
  position: relative;
  overflow: hidden;
}

.footer * { color: inherit; }

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF2A2A, #ff8c42, #FFE66D, #4ECDC4, #DDA0DD, #FF2A2A);
  background-size: 300% 100%;
  animation: underline-slide 4s linear infinite;
}

.footer-line {
  display: none !important;
}

.footer-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.footer-title {
  font-size: 10.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 2.5px !important;
  color: #666 !important;
  margin-bottom: 20px !important;
}

.footer-link {
  display: block !important;
  color: #555 !important;
  font-size: 14px !important;
  padding: 5px 0 !important;
  position: relative !important;
  transition: color 0.3s var(--ease-out-expo) !important;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0;
  width: 0; height: 2px;
  background: var(--brand-red);
  transition: width 0.4s var(--ease-out-expo);
}

.footer-link:hover { color: #444 !important; }
.footer-link:hover::after { width: 100%; }

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  transition: all 0.35s var(--ease-out-expo);
  flex-shrink: 0;
}

.footer-social-icon:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background: rgba(255,42,42,0.08);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  color: #444;
  font-family: var(--font-mono);
  transition: all 0.35s var(--ease-out-expo);
}

.footer-social:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  transform: translateY(-3px);
}

/* Footer text overrides for dark-on-silver */
.footer p, .footer span, .footer div { color: inherit; }
.footer a { color: #666; }
.footer a:hover { color: #444; }

/* ────────────────────────────────────────────────
   TYPEWRITER EFFECT
   ──────────────────────────────────────────────── */

.typewriter-cursor::after {
  content: '|';
  color: var(--brand-red);
  animation: blink-cursor 0.8s step-end infinite;
  margin-left: 2px;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ────────────────────────────────────────────────
   SECTION IMAGE PANELS
   ──────────────────────────────────────────────── */

.section-img-panel {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45);
}

.section-img-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease-out-expo);
}

.section-img-panel:hover img {
  transform: scale(1.04);
}

.section-img-panel .img-frame {
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  border: 2px solid transparent;
  background: conic-gradient(from var(--btn-angle), #FF2A2A, #FFE66D, #4ECDC4, #DDA0DD, #FF2A2A) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: btn-border-spin 6s linear infinite;
  pointer-events: none;
  opacity: 0.5;
}

/* ────────────────────────────────────────────────
   FLOATING ACCENT CARDS
   ──────────────────────────────────────────────── */

@keyframes float-card {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(1deg); }
}

.float-card {
  animation: float-card 5s ease-in-out infinite;
}

.float-card-delay {
  animation: float-card 5s ease-in-out 1.5s infinite;
}

/* ────────────────────────────────────────────────
   REDUCED MOTION OVERRIDES
   ──────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .btn-primary::before,
  .btn-secondary::before,
  .nav-cta::before { animation: none !important; }

  .anm-heading, .anm-heading-sm {
    animation: none !important;
    background: none !important;
    -webkit-text-fill-color: unset !important;
    color: var(--text-primary) !important;
  }

  .text-shimmer { animation: none !important; -webkit-text-fill-color: unset; color: var(--text-primary); }

  .icon-float-anim,
  .icon-glow-cycle,
  .process-num { animation: none !important; }

  .word-reveal .word {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .section-title-wrap::after { animation: none !important; }

  .float-card, .float-card-delay { animation: none !important; }

  .footer::before { animation: none !important; }
}
