:root {
  --wf-red: #e53935;
  --wf-blue: #1e88e5;
  --wf-green: #43a047;
  --wf-orange: #fb8c00;
  --wf-yellow: #fdd835;
  --wf-surface: #f8fafc;
  --wf-surface-2: #ffffff;
  --wf-text: #1f2937;
  --wf-muted: #6b7280;
  --wf-radius-lg: 1.25rem;
  --wf-radius-md: 1rem;
  /* Spacing (4px base) */
  --wf-space-1: 0.25rem;
  --wf-space-2: 0.5rem;
  --wf-space-3: 0.75rem;
  --wf-space-4: 1rem;
  --wf-space-5: 1.5rem;
  --wf-space-6: 2rem;
  /* Shadows — hierarchy: xs < sm < default */
  --wf-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(15, 23, 42, 0.04);
  --wf-shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.06);
  --wf-shadow: 0 14px 36px rgba(15, 23, 42, 0.09);
  --wf-section-py: clamp(3rem, 6vw, 5rem);
  /* Neutrals & soft brand (fallback without color-mix for older targets) */
  --wf-border-subtle: rgba(15, 23, 42, 0.06);
  --wf-elevated: #ffffff;
  --wf-blue-soft: rgba(30, 136, 229, 0.12);
  --wf-green-soft: rgba(67, 160, 71, 0.12);
  --wf-orange-soft: rgba(251, 140, 0, 0.12);
  /* ERP main column — neutral canvas (no blue/green wash) */
  --wf-admin-canvas: #eff1f3;
  --wf-admin-panel: #ffffff;
  /* Sidebar (light theme — brand-aligned) */
  --wf-sidebar-surface: #ffffff;
  --wf-sidebar-bg: linear-gradient(
    165deg,
    rgba(240, 253, 244, 0.95) 0%,
    #ffffff 38%,
    rgba(255, 251, 235, 0.92) 68%,
    rgba(239, 246, 255, 0.98) 100%
  );
  --wf-sidebar-border: rgba(15, 23, 42, 0.08);
  --wf-sidebar-shadow: -4px 0 24px rgba(15, 23, 42, 0.06);
  --wf-sidebar-nav: #1f2937;
  --wf-sidebar-hover-bg: rgba(30, 136, 229, 0.1);
  --wf-sidebar-hover-fg: #1565c0;
  --wf-sidebar-active-bg: linear-gradient(
    135deg,
    rgba(67, 160, 71, 0.14),
    rgba(30, 136, 229, 0.12)
  );
  --wf-sidebar-active-accent: var(--wf-blue);
  --wf-sidebar-icon: #374151;
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .wf-animate {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

body {
  font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wf-text);
  background: radial-gradient(1200px 600px at 100% -10%, rgba(30, 136, 229, 0.08), transparent 55%),
    radial-gradient(1000px 500px at 0% 10%, rgba(229, 57, 53, 0.06), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--wf-surface) 35%, #ffffff 100%);
}

.arabic-brand {
  letter-spacing: 0.01em;
}

.english-subbrand {
  font-size: 0.85rem;
}

.wf-navbar {
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.9);
  transition: padding 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.wf-navbar.wf-navbar--scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
}

.wf-navbar.wf-navbar--scrolled .container {
  padding-block: 0.35rem;
}

.wf-site-logo {
  height: auto;
  width: auto;
  max-height: 44px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.12));
}

.wf-site-logo--footer {
  max-height: 56px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

.nav-link {
  font-weight: 600;
  color: var(--wf-text) !important;
}

.nav-link:hover {
  color: var(--wf-blue) !important;
}

#wfNavSpy .nav-link.active {
  color: #1565c0 !important;
}

.btn-cta {
  border-radius: 999px;
  padding-inline: 1.25rem;
  font-weight: 800;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--wf-red), var(--wf-orange));
  box-shadow: var(--wf-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 14px 28px rgba(229, 57, 53, 0.22);
  color: #fff;
}

.btn-cta-outline {
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  background: transparent;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-cta-nav-alt {
  color: var(--wf-red);
  background: #fff;
  border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff),
    linear-gradient(135deg, var(--wf-red), var(--wf-orange));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--wf-shadow-xs);
}

.btn-cta-nav-alt:hover {
  color: var(--wf-red);
  background-image: linear-gradient(rgba(251, 140, 0, 0.08), rgba(251, 140, 0, 0.08)),
    linear-gradient(135deg, var(--wf-red), var(--wf-orange));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.wf-navbar-cta-group {
  width: 100%;
}

@media (min-width: 992px) {
  .wf-navbar-cta-group {
    width: auto;
  }
}

.wf-hero {
  position: relative;
  color: #fff;
  padding-block: clamp(4rem, 10vw, 7rem);
  border-radius: 0 0 var(--wf-radius-lg) var(--wf-radius-lg);
  overflow: hidden;
  isolation: isolate;
}

.wf-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.wf-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ---- Magical hero theme ---- */
.wf-hero--magical .wf-hero__bg {
  opacity: 0.42;
  mix-blend-mode: soft-light;
  filter: saturate(1.1);
}

.wf-hero--magical .wf-hero__overlay {
  background:
    radial-gradient(ellipse 100% 80% at 90% 15%, rgba(20, 184, 166, 0.35), transparent 52%),
    radial-gradient(ellipse 80% 60% at 10% 85%, rgba(251, 146, 60, 0.22), transparent 50%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.82) 0%, rgba(30, 58, 95, 0.65) 45%, rgba(17, 94, 89, 0.5) 100%);
}

.wf-hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.wf-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  will-change: transform;
}

.wf-hero__blob--1 {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  background: radial-gradient(circle at 30% 30%, rgba(45, 212, 191, 0.9), rgba(13, 148, 136, 0.5) 55%, transparent 70%);
  top: -12%;
  inset-inline-end: -8%;
}

.wf-hero__blob--2 {
  width: min(48vw, 360px);
  height: min(48vw, 360px);
  background: radial-gradient(circle at 70% 40%, rgba(74, 222, 128, 0.75), rgba(22, 163, 74, 0.45) 50%, transparent 68%);
  bottom: 5%;
  inset-inline-start: -10%;
}

.wf-hero__blob--3 {
  width: min(42vw, 320px);
  height: min(42vw, 320px);
  background: radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.7), rgba(234, 88, 12, 0.45) 55%, transparent 72%);
  top: 38%;
  inset-inline-start: 25%;
}

.wf-hero__blob--4 {
  width: min(35vw, 260px);
  height: min(35vw, 260px);
  background: radial-gradient(circle at 40% 60%, rgba(96, 165, 250, 0.55), rgba(59, 130, 246, 0.35) 60%, transparent 75%);
  bottom: -5%;
  inset-inline-end: 18%;
}

@media (prefers-reduced-motion: no-preference) {
  .wf-hero--magical .wf-hero__blob--1 {
    animation: wf-hero-blob-a 22s ease-in-out infinite alternate;
  }

  .wf-hero--magical .wf-hero__blob--2 {
    animation: wf-hero-blob-b 26s ease-in-out infinite alternate;
  }

  .wf-hero--magical .wf-hero__blob--3 {
    animation: wf-hero-blob-c 20s ease-in-out infinite alternate;
  }

  .wf-hero--magical .wf-hero__blob--4 {
    animation: wf-hero-blob-d 24s ease-in-out infinite alternate;
  }
}

@keyframes wf-hero-blob-a {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(-4%, 6%) scale(1.08);
  }
}

@keyframes wf-hero-blob-b {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(5%, -4%) scale(1.1);
  }
}

@keyframes wf-hero-blob-c {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(-6%, -5%) scale(1.05);
  }
}

@keyframes wf-hero-blob-d {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(4%, 5%) scale(1.12);
  }
}

.wf-hero__content {
  position: relative;
  z-index: 3;
}

.wf-hero__inner {
  position: relative;
}

/* Badge + typography */
.wf-hero__badge {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 28px rgba(96, 165, 250, 0.35);
}

.wf-hero__badge-heart {
  color: #fda4af;
  filter: drop-shadow(0 0 10px rgba(251, 113, 133, 0.9));
  font-size: 1rem;
}

.wf-hero--magical .wf-hero__title {
  font-family: "Tajawal", system-ui, sans-serif;
  text-wrap: balance;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.35),
    0 4px 24px rgba(15, 23, 42, 0.45),
    0 0 40px rgba(45, 212, 191, 0.25);
}

.wf-hero--magical .wf-hero__lead {
  font-family: "Tajawal", system-ui, sans-serif;
  max-inline-size: min(100%, 38rem);
  line-height: 1.7;
  font-weight: 500;
}

/* Hero CTA buttons */
.wf-hero__btn {
  font-family: "Tajawal", system-ui, sans-serif;
  font-weight: 800;
  border: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease,
    background 0.25s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .wf-hero__btn:hover,
  .wf-hero__btn:focus-visible {
    transform: scale(1.04);
  }
}

.wf-hero__btn--primary {
  color: #fff !important;
  background: linear-gradient(135deg, #fb923c, #f97316 45%, #ea580c) !important;
  box-shadow:
    0 6px 22px rgba(234, 88, 12, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: transparent;
}

.wf-hero__btn--primary:hover,
.wf-hero__btn--primary:focus-visible {
  color: #fff !important;
  filter: brightness(1.06);
  box-shadow:
    0 10px 32px rgba(234, 88, 12, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.wf-hero__btn--glass {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.15);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(255, 255, 255, 0.55);
}

.wf-hero__btn--glass:hover,
.wf-hero__btn--glass:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.85) !important;
}

@media (prefers-reduced-motion: reduce) {
  .wf-hero__btn:hover,
  .wf-hero__btn:focus-visible {
    transform: none;
  }
}

/* Glass feature cards */
.wf-hero__cardsCol {
  position: relative;
}

@media (min-width: 992px) {
  .wf-hero__cardsCol {
    border-inline-start: 1px solid rgba(255, 255, 255, 0.16);
    padding-inline-start: 1.5rem;
  }
}

.wf-hero__glass-card {
  --float-delay: 0s;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--wf-radius-lg);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 8px 32px rgba(15, 23, 42, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

@media (prefers-reduced-motion: no-preference) {
  .wf-hero--magical .wf-hero__glass-card {
    animation: wf-hero-float 6s ease-in-out infinite;
    animation-delay: var(--float-delay);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wf-hero--magical .wf-hero__glass-card {
    animation: none;
  }
}

@keyframes wf-hero-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

.wf-hero__glass-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
}

.wf-hero__glass-icon--primary {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.95), rgba(99, 102, 241, 0.85));
  box-shadow: 0 6px 22px rgba(59, 130, 246, 0.45);
}

.wf-hero__glass-icon--accent {
  background: linear-gradient(145deg, rgba(251, 146, 60, 0.98), rgba(234, 88, 12, 0.85));
  box-shadow: 0 6px 22px rgba(234, 88, 12, 0.42);
}

.wf-hero__glass-icon--teal {
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.95), rgba(13, 148, 136, 0.88));
  box-shadow: 0 6px 22px rgba(20, 184, 166, 0.4);
}

.wf-hero__glass-title {
  font-family: "Tajawal", system-ui, sans-serif;
  color: #fff;
}

.wf-hero__glass-text {
  font-family: "Tajawal", system-ui, sans-serif;
}

/* Trust stats strip */
.wf-hero__stats--magical {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: clamp(2.25rem, 5vw, 3rem);
  padding-top: clamp(1.35rem, 3vw, 1.85rem);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

@media (min-width: 768px) {
  .wf-hero__stats--magical {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }
}

.wf-hero__stats--magical .wf-hero__stat {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.95rem 0.65rem;
  border-radius: var(--wf-radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .wf-hero__stats--magical .wf-hero__stat:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
  }
}

.wf-hero__stat-iconWrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  font-size: 1.1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.wf-hero__stats--magical .wf-hero__stat:nth-child(1) .wf-hero__stat-iconWrap {
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.85), rgba(234, 88, 12, 0.75));
}

.wf-hero__stats--magical .wf-hero__stat:nth-child(2) .wf-hero__stat-iconWrap {
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.9), rgba(13, 148, 136, 0.8));
}

.wf-hero__stats--magical .wf-hero__stat:nth-child(3) .wf-hero__stat-iconWrap {
  background: linear-gradient(145deg, rgba(96, 165, 250, 0.95), rgba(59, 130, 246, 0.8));
}

.wf-hero__stats--magical .wf-hero__stat:nth-child(4) .wf-hero__stat-iconWrap {
  background: linear-gradient(145deg, rgba(167, 139, 250, 0.92), rgba(139, 92, 246, 0.78));
}

.wf-hero__stat-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wf-hero__stats--magical .wf-hero__stat-value {
  display: block;
  font-family: "Tajawal", system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.wf-hero__stats--magical .wf-hero__stat-label {
  display: block;
  font-family: "Tajawal", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
  line-height: 1.35;
}

.wf-hero__stat-line {
  display: block;
  font-family: "Tajawal", system-ui, sans-serif;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  font-weight: 800;
  line-height: 1.35;
}

.wf-hero__stat-text--single {
  justify-content: center;
  min-height: 2.8rem;
}

@media (prefers-reduced-motion: no-preference) {
  .section-fade.is-visible .wf-hero__stats--magical .wf-hero__stat:nth-child(1) {
    animation: wf-hero-stat-in 0.55s ease 0.15s backwards;
  }

  .section-fade.is-visible .wf-hero__stats--magical .wf-hero__stat:nth-child(2) {
    animation: wf-hero-stat-in 0.55s ease 0.23s backwards;
  }

  .section-fade.is-visible .wf-hero__stats--magical .wf-hero__stat:nth-child(3) {
    animation: wf-hero-stat-in 0.55s ease 0.31s backwards;
  }

  .section-fade.is-visible .wf-hero__stats--magical .wf-hero__stat:nth-child(4) {
    animation: wf-hero-stat-in 0.55s ease 0.39s backwards;
  }
}

@keyframes wf-hero-stat-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wf-section-title {
  font-weight: 800;
}

/* Section heading scale — clearer hierarchy than generic display-6 */
.wf-heading-section {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.wf-section-subtitle {
  color: var(--wf-muted);
  max-width: 42ch;
}

/* Unified icon pills: primary (trust / info) + accent (warm CTA-adjacent) */
.wf-icon-pill--primary {
  background: linear-gradient(135deg, var(--wf-blue), #3949ab);
}

.wf-icon-pill--accent {
  background: linear-gradient(135deg, var(--wf-red), var(--wf-orange));
}

/* Alternating section backgrounds + subtle depth */
.wf-section--pattern {
  background-color: var(--wf-surface);
  background-image: radial-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 20px 20px;
}

.wf-section--elevated {
  background-color: rgba(255, 255, 255, 0.92);
  border-block: 1px solid var(--wf-border-subtle);
}

.wf-section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(30, 136, 229, 0.2),
    rgba(229, 57, 53, 0.15),
    transparent
  );
  margin-block: 0;
  border: 0;
}

/* Feature cards: subtle stagger when section is revealed */
@keyframes wf-feature-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  #features.section-fade.is-visible .wf-feature-card {
    animation: wf-feature-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  #features.section-fade.is-visible .wf-features-grid > div:nth-child(1) .wf-feature-card {
    animation-delay: 0.05s;
  }

  #features.section-fade.is-visible .wf-features-grid > div:nth-child(2) .wf-feature-card {
    animation-delay: 0.1s;
  }

  #features.section-fade.is-visible .wf-features-grid > div:nth-child(3) .wf-feature-card {
    animation-delay: 0.15s;
  }

  #features.section-fade.is-visible .wf-features-grid > div:nth-child(4) .wf-feature-card {
    animation-delay: 0.2s;
  }

  #features.section-fade.is-visible .wf-features-grid > div:nth-child(5) .wf-feature-card {
    animation-delay: 0.25s;
  }

  #features.section-fade.is-visible .wf-features-grid > div:nth-child(n + 6) .wf-feature-card {
    animation-delay: 0.28s;
  }
}

.wf-card-soft {
  border: 1px solid var(--wf-border-subtle);
  border-radius: var(--wf-radius-md);
  background: var(--wf-surface-2);
  box-shadow: var(--wf-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--wf-shadow);
}

.wf-icon-pill {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
}

.wf-icon-red {
  background: linear-gradient(135deg, var(--wf-red), #ff7043);
}

.wf-icon-blue {
  background: linear-gradient(135deg, var(--wf-blue), #5c6bc0);
}

.wf-icon-green {
  background: linear-gradient(135deg, var(--wf-green), #26a69a);
}

.wf-icon-orange {
  background: linear-gradient(135deg, var(--wf-orange), var(--wf-yellow));
}

.wf-icon-purple {
  background: linear-gradient(135deg, #8e24aa, #5e35b1);
}

.wf-gallery-thumb {
  border-radius: var(--wf-radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.wf-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.wf-gallery-thumb:hover img {
  transform: scale(1.05);
}

#wfGalleryModal .modal-body img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(70vh, calc(100dvh - 10rem));
  object-fit: contain;
  margin-inline: auto;
}

.wf-hours-shell {
  max-width: 1120px;
  border-radius: var(--wf-radius-lg);
  border: 1px solid var(--wf-border-subtle);
  background:
    radial-gradient(700px 280px at 100% 0%, rgba(30, 136, 229, 0.08), transparent 58%),
    radial-gradient(520px 260px at 0% 100%, rgba(67, 160, 71, 0.08), transparent 60%),
    linear-gradient(165deg, #ffffff 0%, #f8fafc 54%, rgba(239, 246, 255, 0.9) 100%);
  box-shadow: var(--wf-shadow-sm), 0 0 0 1px rgba(255, 255, 255, 0.78) inset;
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .wf-hours-shell {
    padding: 1.75rem;
  }
}

.wf-hours-shell__head {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.wf-hours-shell__icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.18rem;
  color: #1565c0;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.16), rgba(67, 160, 71, 0.1));
  box-shadow: 0 8px 22px rgba(30, 136, 229, 0.12);
}

.wf-hours-legend {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--wf-muted);
  font-weight: 700;
}

.wf-hours-legend--open i {
  font-size: 0.55rem;
  color: var(--wf-green);
}

.wf-hours-legend--off i {
  font-size: 0.55rem;
  color: #f59e0b;
}

.wf-hours-grid {
  align-items: stretch;
}

.wf-hours-day-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 1rem;
  border-radius: var(--wf-radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94)),
    radial-gradient(220px 120px at 20% 0%, rgba(67, 160, 71, 0.12), transparent 60%);
  box-shadow: var(--wf-shadow-xs);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.wf-hours-day-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--wf-green), #26a69a);
}

.wf-hours-day-card--holiday {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 251, 235, 0.88)),
    radial-gradient(240px 140px at 20% 0%, rgba(251, 140, 0, 0.12), transparent 60%);
}

.wf-hours-day-card--holiday::before {
  background: linear-gradient(90deg, #f59e0b, var(--wf-orange));
}

@media (prefers-reduced-motion: no-preference) {
  .wf-hours-day-card:hover {
    transform: translateY(-5px);
    border-color: rgba(30, 136, 229, 0.18);
    box-shadow: var(--wf-shadow);
  }
}

.wf-hours-day-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.wf-hours-status-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--wf-green), #26a69a);
  box-shadow: 0 0 0 4px rgba(67, 160, 71, 0.14);
}

.wf-hours-day-card--holiday .wf-hours-status-dot {
  background: linear-gradient(135deg, #f59e0b, var(--wf-orange));
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.wf-hours-day-card__title {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--wf-text);
}

.wf-hours-badge {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.wf-hours-badge--open {
  color: #0d4f2d;
  background: linear-gradient(135deg, rgba(67, 160, 71, 0.18), rgba(38, 166, 154, 0.13));
  border: 1px solid rgba(67, 160, 71, 0.28);
}

.wf-hours-badge--holiday {
  color: #92400e;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(251, 140, 0, 0.14));
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.wf-hours-time-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  padding: 0.62rem 0.85rem;
  border-radius: 999px;
  color: #155e75;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  background: rgba(30, 136, 229, 0.1);
  border: 1px solid rgba(30, 136, 229, 0.16);
}

.wf-hours-time-pill i {
  color: var(--wf-blue);
  font-size: 1.02rem;
}

.wf-hours-time-pill__range {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.wf-hours-time-pill__sep {
  color: var(--wf-muted);
}

.wf-hours-time-pill--holiday {
  color: #92400e;
  background: rgba(251, 191, 36, 0.16);
  border-color: rgba(245, 158, 11, 0.24);
  letter-spacing: 0;
}

.wf-hours-time-pill--holiday i {
  color: #f59e0b;
}

.wf-hours-time-pill--muted {
  color: var(--wf-muted);
  background: rgba(107, 114, 128, 0.08);
  border-color: rgba(107, 114, 128, 0.14);
  letter-spacing: 0;
}

.wf-hours-time-pill--muted i {
  color: var(--wf-muted);
}

.wf-hours-day-card__hint {
  margin-top: auto;
  color: var(--wf-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.wf-hours-shell__foot {
  padding-top: 0.2rem;
}

.wf-hours-note {
  font-size: 0.88rem;
  color: var(--wf-muted);
  line-height: 1.55;
  padding: 0.85rem 1rem;
  border-radius: var(--wf-radius-md);
  background: rgba(30, 136, 229, 0.06);
  border: 1px solid rgba(30, 136, 229, 0.1);
}

.wf-hours-note i {
  color: var(--wf-blue);
}

.wf-testimonial {
  border-radius: var(--wf-radius-lg);
  border-inline-start: 5px solid var(--wf-blue);
}

.wf-footer {
  background: radial-gradient(900px 420px at 20% 0%, rgba(30, 136, 229, 0.35), transparent 60%),
    linear-gradient(135deg, #0f172a, #111827);
}

.wf-footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  display: inline-block;
  padding: 0.2rem 0;
}

.wf-footer-links a:hover {
  color: #fff;
}

.wf-contact-lines a:hover {
  text-decoration: underline;
}

.wf-social-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.section-fade {
  position: relative;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-fade > .container {
  position: relative;
  z-index: 1;
}

.wf-soft-badge {
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(30, 136, 229, 0.12);
  color: #1565c0;
}

.form-control:focus {
  border-color: rgba(30, 136, 229, 0.65);
  box-shadow: 0 0 0 0.2rem rgba(30, 136, 229, 0.18);
}

/* Home page motion layer — subtle, playful, and reduced-motion friendly */
@keyframes wf-rise-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes wf-soft-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes wf-orb-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-18px, 16px, 0) scale(1.08);
  }
}

@keyframes wf-glow-pulse {
  0%,
  100% {
    box-shadow: 0 8px 22px rgba(30, 136, 229, 0.14);
  }

  50% {
    box-shadow: 0 10px 28px rgba(30, 136, 229, 0.24);
  }
}

@keyframes wf-button-shimmer {
  from {
    transform: translateX(120%) skewX(-18deg);
  }

  to {
    transform: translateX(-160%) skewX(-18deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .section-fade:not(.wf-hero) {
    overflow: hidden;
  }

  .section-fade:not(.wf-hero)::before,
  .section-fade:not(.wf-hero)::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: clamp(8rem, 18vw, 15rem);
    height: clamp(8rem, 18vw, 15rem);
    border-radius: 999px;
    pointer-events: none;
    opacity: 0.42;
    filter: blur(34px);
    animation: wf-orb-drift 12s ease-in-out infinite alternate;
  }

  .section-fade:not(.wf-hero)::before {
    top: 10%;
    inset-inline-start: -7rem;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.22), transparent 66%);
  }

  .section-fade:not(.wf-hero)::after {
    right: auto;
    bottom: 8%;
    inset-inline-end: -7rem;
    background: radial-gradient(circle, rgba(251, 140, 0, 0.18), transparent 68%);
    animation-duration: 15s;
    animation-delay: -3s;
  }

  .section-fade.is-visible .wf-card-soft,
  .section-fade.is-visible .wf-gallery-thumb,
  .section-fade.is-visible .wf-hours-day-card,
  .section-fade.is-visible .wf-testimonial,
  .section-fade.is-visible .wf-btn-whatsapp {
    animation: wf-rise-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  .section-fade.is-visible .row > div:nth-child(1) > .wf-card-soft,
  .section-fade.is-visible .row > div:nth-child(1) .wf-gallery-thumb,
  .section-fade.is-visible .row > div:nth-child(1) .wf-hours-day-card {
    animation-delay: 0.04s;
  }

  .section-fade.is-visible .row > div:nth-child(2) > .wf-card-soft,
  .section-fade.is-visible .row > div:nth-child(2) .wf-gallery-thumb,
  .section-fade.is-visible .row > div:nth-child(2) .wf-hours-day-card {
    animation-delay: 0.1s;
  }

  .section-fade.is-visible .row > div:nth-child(3) > .wf-card-soft,
  .section-fade.is-visible .row > div:nth-child(3) .wf-gallery-thumb,
  .section-fade.is-visible .row > div:nth-child(3) .wf-hours-day-card {
    animation-delay: 0.16s;
  }

  .section-fade.is-visible .row > div:nth-child(4) > .wf-card-soft,
  .section-fade.is-visible .row > div:nth-child(4) .wf-gallery-thumb,
  .section-fade.is-visible .row > div:nth-child(4) .wf-hours-day-card {
    animation-delay: 0.22s;
  }

  .section-fade.is-visible .row > div:nth-child(n + 5) > .wf-card-soft,
  .section-fade.is-visible .row > div:nth-child(n + 5) .wf-gallery-thumb,
  .section-fade.is-visible .row > div:nth-child(n + 5) .wf-hours-day-card {
    animation-delay: 0.28s;
  }

  .wf-icon-pill,
  .wf-hours-shell__icon,
  .wf-hero__glass-icon,
  .wf-hero__stat-iconWrap {
    animation: wf-glow-pulse 4.8s ease-in-out infinite;
  }

  .wf-soft-badge {
    animation: wf-soft-float 5.5s ease-in-out infinite;
  }
}

.btn-cta,
.wf-hero__btn--primary,
.wf-btn-whatsapp {
  position: relative;
  overflow: hidden;
}

.btn-cta::after,
.wf-hero__btn--primary::after,
.wf-btn-whatsapp::after {
  content: "";
  position: absolute;
  inset-block: -35%;
  width: 35%;
  inset-inline-start: 120%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-18deg);
}

@media (prefers-reduced-motion: no-preference) {
  .btn-cta:hover::after,
  .wf-hero__btn--primary:hover::after,
  .wf-btn-whatsapp:hover::after {
    animation: wf-button-shimmer 0.75s ease;
  }
}

/* Keyboard focus — visible on in-page anchors and controls */
a:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
button:focus-visible,
.form-control:focus-visible {
  outline: 2px solid rgba(30, 136, 229, 0.85);
  outline-offset: 2px;
}

.wf-btn-whatsapp {
  border-radius: var(--wf-radius-md);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border: 0;
  box-shadow: var(--wf-shadow-sm);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.wf-btn-whatsapp:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.35);
}

/* Fixed WhatsApp FAB — bottom-left in RTL */
.wf-whatsapp-fab {
  position: fixed;
  z-index: 1030;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  inset-inline-end: max(1.25rem, env(safe-area-inset-right, 0px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border: 0;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.wf-whatsapp-fab .bi {
  font-size: 1.65rem;
  line-height: 1;
}

.wf-whatsapp-fab:hover {
  color: #fff;
  transform: scale(1.06);
  filter: brightness(1.06);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.48);
}

.wf-whatsapp-fab:focus-visible {
  outline: 2px solid rgba(37, 211, 102, 0.9);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .wf-whatsapp-fab {
    transition: none;
  }

  .wf-whatsapp-fab:hover {
    transform: none;
  }
}

@media (min-width: 992px) {
  .wf-gallery-thumb--tall {
    aspect-ratio: 16 / 10;
  }
}

.wf-enrollment-steps .nav-link.done {
  background-color: rgba(var(--bs-success-rgb), 0.15);
  color: var(--bs-success);
}

.wf-enrollment-steps .nav-link.active {
  background-color: var(--bs-primary);
  color: #fff;
}

/* Enrollment promo — contact section CTA */
.wf-enrollment-promo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--wf-border-subtle);
  background: linear-gradient(
    135deg,
    rgba(251, 140, 0, 0.08) 0%,
    #fff 42%,
    rgba(30, 136, 229, 0.06) 100%
  );
}

.wf-enrollment-promo__inner {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.wf-enrollment-promo__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.45;
  pointer-events: none;
}

.wf-enrollment-promo__glow--1 {
  width: 12rem;
  height: 12rem;
  top: -3rem;
  inset-inline-start: -2rem;
  background: var(--wf-orange-soft);
}

.wf-enrollment-promo__glow--2 {
  width: 10rem;
  height: 10rem;
  bottom: -2rem;
  inset-inline-end: 10%;
  background: var(--wf-blue-soft);
}

.wf-enrollment-promo__logo {
  max-height: clamp(5rem, 12vw, 8.5rem);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(15, 23, 42, 0.12));
}

.wf-enrollment-promo__steps {
  max-width: 100%;
}

.wf-enrollment-promo__step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--wf-border-subtle);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--wf-text);
}

.wf-enrollment-promo__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--wf-blue), #1565c0);
}

@media (max-width: 575.98px) {
  .wf-enrollment-promo__steps {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start !important;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }

  .wf-enrollment-promo__step {
    flex-shrink: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wf-enrollment-promo__glow {
    filter: none;
    opacity: 0.25;
  }
}
