/*
Theme Name: Jamal Theme
Theme URI: https://jamalapp.com
Author: JamalApp
Author URI: https://jamalapp.com
Description: Purple beauty salon theme for JamalApp - child of Twenty Twenty-Five
Template: twentytwentyfive
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jamal-theme
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.0
*/

/* ================================
   JAMAL THEME v2 — Sophisticated Design
   ================================ */

/* --- Global RTL & Body --- */
body {
  direction: rtl;
  text-align: right;
}

/* ================================
   WHITE TEXT ON PURPLE BACKGROUNDS
   ================================ */
.wp-block-cover .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container h1,
.wp-block-cover .wp-block-cover__inner-container h2,
.wp-block-cover .wp-block-cover__inner-container h3,
.wp-block-cover .wp-block-cover__inner-container h4,
.wp-block-cover .wp-block-cover__inner-container p {
  color: #fff;
}

/* ================================
   HERO — SHADER CANVAS CONTAINER
   ================================ */
.jamal-hero-shader {
  position: relative;
  overflow: hidden;
}
.jamal-hero-shader canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.jamal-hero-shader > .wp-block-cover__gradient-background {
  z-index: 1;
  opacity: 0.4;
}
.jamal-hero-shader > .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}

/* --- Sparkle Particles (Hero + CTA) --- */
.jamal-sparkles {
  position: relative;
}
.jamal-sparkles::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.8) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 30% 60%, rgba(168,85,247,0.6) 50%, transparent 50%),
    radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.7) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 70% 80%, rgba(255,255,255,0.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 85% 30%, rgba(168,85,247,0.7) 50%, transparent 50%),
    radial-gradient(1px 1px at 15% 75%, rgba(255,255,255,0.6) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 90% 55%, rgba(255,255,255,0.4) 50%, transparent 50%);
  animation: sparkleFloat 6s ease-in-out infinite alternate;
}
@keyframes sparkleFloat {
  0% { opacity: 0.6; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(-8px); }
}

/* ================================
   DOT GRID BACKGROUND (FEATURES)
   ================================ */
.jamal-dot-grid {
  position: relative;
}
.jamal-dot-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(124, 58, 237, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
  animation: dotPulse 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.jamal-dot-grid > * {
  position: relative;
  z-index: 1;
}

/* ================================
   GLASS MORPHISM CARDS
   ================================ */
.jamal-feature-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
              border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Gradient border glow on hover */
.jamal-feature-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7C3AED, #A855F7, #EC4899, #7C3AED);
  background-size: 300% 300%;
  animation: gradientShift 4s ease infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.jamal-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  z-index: -1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.jamal-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}
.jamal-feature-card:hover::before {
  opacity: 1;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Feature icon */
.jamal-feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wp--preset--color--primary-light), #F5F3FF);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.jamal-feature-card:hover .jamal-feature-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.2);
}
.jamal-feature-icon svg {
  width: 36px;
  height: 36px;
  color: var(--wp--preset--color--primary);
}

/* ================================
   HOW IT WORKS STEPS
   ================================ */
.jamal-steps {
  position: relative;
  counter-reset: step-counter;
}
.jamal-step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED, #A855F7);
  color: #fff;
  font-family: Alexandria, sans-serif;
  font-weight: 700;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.jamal-step-number:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.4);
}

/* Connector line between steps (desktop) */
@media (min-width: 782px) {
  .jamal-steps .wp-block-column {
    position: relative;
  }
  .jamal-steps .wp-block-column:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 32px;
    left: 0;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(
      to left,
      var(--wp--preset--color--primary-light) 0,
      var(--wp--preset--color--primary-light) 8px,
      transparent 8px,
      transparent 16px
    );
    z-index: 0;
  }
}

/* ================================
   STATS BAR
   ================================ */
.jamal-stats-bar {
  background: linear-gradient(135deg, #5B21B6, #7C3AED, #6D28D9);
  padding: 60px 24px;
  width: 100%;
}
.jamal-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.jamal-stat {
  text-align: center;
  position: relative;
}
.jamal-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10%;
  left: 0;
  width: 1px;
  height: 80%;
  background: rgba(255, 255, 255, 0.2);
}
.jamal-stat-number {
  font-family: Alexandria, sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 4px;
}
.jamal-stat-label {
  font-family: "Readex Pro", sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 781px) {
  .jamal-stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
  .jamal-stat:not(:last-child)::after {
    display: none;
  }
}

/* ================================
   PHONE MOCKUP — ENHANCED
   ================================ */
.jamal-phone-mockup {
  border-radius: 32px;
  overflow: hidden;
  max-width: 300px;
  margin: 0 auto;
  position: relative;
}
/* Gradient shadow */
.jamal-phone-mockup::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 10%;
  right: 10%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
  filter: blur(12px);
  z-index: -1;
}
.jamal-phone-mockup img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25),
              0 0 40px rgba(124, 58, 237, 0.15);
}

/* Floating animation */
.jamal-phone-float {
  animation: phoneFloat 4s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Glow ring behind phone */
.jamal-phone-glow {
  position: relative;
}
.jamal-phone-glow::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 48px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Rotated phones */
.jamal-phone-rotated {
  transform: rotate(-5deg);
  transition: transform 0.4s ease;
}
.jamal-phone-rotated:hover {
  transform: rotate(0deg);
}
.jamal-phone-rotated-right {
  transform: rotate(5deg);
  transition: transform 0.4s ease;
}
.jamal-phone-rotated-right:hover {
  transform: rotate(0deg);
}

/* ================================
   SCROLL REVEAL ANIMATIONS
   ================================ */
.jamal-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
              transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.jamal-reveal.jamal-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered delays for children */
.jamal-reveal-stagger > .wp-block-column:nth-child(1) .jamal-reveal,
.jamal-reveal-stagger > .wp-block-column:nth-child(1) .jamal-feature-card {
  transition-delay: 0s;
}
.jamal-reveal-stagger > .wp-block-column:nth-child(2) .jamal-reveal,
.jamal-reveal-stagger > .wp-block-column:nth-child(2) .jamal-feature-card {
  transition-delay: 0.15s;
}
.jamal-reveal-stagger > .wp-block-column:nth-child(3) .jamal-reveal,
.jamal-reveal-stagger > .wp-block-column:nth-child(3) .jamal-feature-card {
  transition-delay: 0.3s;
}

/* ================================
   FLOATING CONTAINED HEADER
   ================================ */
/* Full-width transparent sticky wrapper */
.jamal-header-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  background: transparent !important;
  border-bottom: none !important;
}

/* The inner content bar — the actual floating header */
.jamal-header-wrap > .wp-block-group {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.03);
  padding: 12px 28px;
  transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  position: relative; /* positioning context for mega menu */
}

/* Scrolled state — more opaque, stronger shadow */
.jamal-header-wrap.jamal-header-scrolled > .wp-block-group {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: rgba(124, 58, 237, 0.18);
}
/* Active nav underline */
.wp-block-navigation .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item.current-menu-ancestor .wp-block-navigation-item__content {
  color: var(--wp--preset--color--primary);
  position: relative;
}

/* ================================
   FAQ ACCORDION
   ================================ */
.jamal-faq details {
  background: #fff;
  border: 1px solid var(--wp--preset--color--primary-light);
  border-radius: 12px;
  margin-bottom: 12px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.jamal-faq details[open] {
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.1);
  border-color: var(--wp--preset--color--primary);
}
.jamal-faq summary {
  padding: 20px 24px;
  font-family: Alexandria, sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--wp--preset--color--contrast);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.jamal-faq summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--wp--preset--color--primary);
  transition: transform 0.3s ease;
}
.jamal-faq details[open] summary::after {
  content: "\2212";
}
.jamal-faq summary::-webkit-details-marker {
  display: none;
}
.jamal-faq details > :not(summary) {
  padding: 0 24px 20px;
  color: var(--wp--preset--color--text);
  line-height: 1.8;
}

/* ================================
   VALUE CARDS — GLASS MORPHISM
   ================================ */
.jamal-value-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-top: 4px solid var(--wp--preset--color--primary);
  position: relative;
  overflow: hidden;
}
.jamal-value-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7C3AED, #A855F7, #7C3AED);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.jamal-value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.15);
}
.jamal-value-card:hover::before {
  opacity: 1;
}
.jamal-value-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wp--preset--color--primary-50), var(--wp--preset--color--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform 0.3s ease;
}
.jamal-value-card:hover .jamal-value-icon {
  transform: scale(1.1);
}

/* ================================
   DOWNLOAD CTA GLOW
   ================================ */
.jamal-cta-glow {
  position: relative;
  overflow: hidden;
}
.jamal-cta-glow::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, transparent 70%);
  top: -150px;
  left: 10%;
  pointer-events: none;
  animation: ctaGlowFloat 6s ease-in-out infinite;
}
.jamal-cta-glow::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
  bottom: -120px;
  right: 10%;
  pointer-events: none;
  animation: ctaGlowFloat 6s ease-in-out infinite reverse;
}
@keyframes ctaGlowFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

/* ================================
   APP BADGE BUTTONS
   ================================ */
.jamal-app-badge img {
  height: 52px;
  width: auto;
  transition: transform 0.3s ease;
}
.jamal-app-badge img:hover {
  transform: scale(1.05);
}

/* ================================
   SECTION SPACING
   ================================ */
.jamal-section {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 781px) {
  .jamal-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* ================================
   PURPLE CHECK BULLETS
   ================================ */
.jamal-check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.jamal-check-list li {
  padding: 8px 0;
  padding-right: 32px;
  position: relative;
  color: var(--wp--preset--color--text);
  font-size: 17px;
  line-height: 1.8;
}
.jamal-check-list li::before {
  content: "\2713";
  position: absolute;
  right: 0;
  color: var(--wp--preset--color--primary);
  font-weight: 700;
  font-size: 18px;
}

/* ================================
   SHOWCASE SECTIONS
   ================================ */
.jamal-showcase-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ================================
   MINI HERO (INNER PAGES)
   ================================ */
.jamal-mini-hero {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ================================
   LEGAL CONTENT
   ================================ */
.jamal-legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
}
.jamal-legal-content h2 {
  margin-top: 40px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--wp--preset--color--primary-light);
}

/* ================================
   CONTACT CARDS
   ================================ */
.jamal-contact-card {
  background: var(--wp--preset--color--primary-50);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-bottom: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.jamal-contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
}

/* ================================
   FOOTER
   ================================ */
.jamal-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.jamal-footer a:hover {
  color: var(--wp--preset--color--accent);
}
.jamal-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 40px;
  text-align: center;
}

/* ================================
   EYEBROW PILL BADGE
   ================================ */
.jamal-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 24px;
  border-radius: 50px;
  font-family: Alexandria, sans-serif;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ================================
   TRUST LINE
   ================================ */
.jamal-trust-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

/* ================================
   MEGA MENU
   ================================ */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-submenu__toggle::after {
  margin-right: 4px;
}

/* Mega menu container — spans full header bar width */
.jamal-header-wrap .wp-block-navigation-submenu.has-child {
  position: static; /* let dropdown escape the nav flow */
}
.jamal-header-wrap .wp-block-navigation-submenu.has-child .wp-block-navigation__submenu-container {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 24px;
  left: 0;
  right: 0;
  transform: none;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* Each mega menu item — card style */
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item {
  border-radius: 12px;
  transition: background 0.25s ease, transform 0.2s ease;
}
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item:hover {
  background: var(--wp--preset--color--primary-50);
  transform: translateY(-2px);
}

/* Mega menu link content */
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--wp--preset--color--text);
  transition: color 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
}
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--primary);
  background: transparent;
}

/* Mega menu icon circle */
.jamal-mega-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--wp--preset--color--primary-light), #F5F3FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.wp-block-navigation__submenu-container .wp-block-navigation-item:hover .jamal-mega-icon {
  background: linear-gradient(135deg, #7C3AED, #A855F7);
  transform: scale(1.05);
}
.wp-block-navigation__submenu-container .wp-block-navigation-item:hover .jamal-mega-icon svg {
  color: #fff;
}
.jamal-mega-icon svg {
  width: 20px;
  height: 20px;
  color: var(--wp--preset--color--primary);
  transition: color 0.2s ease;
}

/* Mega menu text block */
.jamal-mega-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jamal-mega-text .jamal-mega-label {
  font-family: Alexandria, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--wp--preset--color--contrast);
  line-height: 1.4;
}
.jamal-mega-text .jamal-mega-desc {
  font-family: "Readex Pro", sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--wp--preset--color--text-muted);
  line-height: 1.5;
}

/* Purple accent line at top */
.jamal-header-wrap .wp-block-navigation-submenu.has-child .wp-block-navigation__submenu-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, #7C3AED, #A855F7, #7C3AED);
  border-radius: 0 0 3px 3px;
}

/* Mobile: stack to single column */
@media (max-width: 781px) {
  .jamal-header-wrap .wp-block-navigation-submenu.has-child .wp-block-navigation__submenu-container {
    left: auto;
    right: auto;
    grid-template-columns: 1fr;
    padding: 16px;
    position: relative;
    box-shadow: none;
    border: none;
    border-radius: 12px;
    background: var(--wp--preset--color--primary-50);
  }
}

/* ================================
   REDUCED MOTION
   ================================ */
@media (prefers-reduced-motion: reduce) {
  .jamal-phone-rotated,
  .jamal-phone-rotated-right,
  .jamal-feature-card,
  .jamal-value-card,
  .jamal-app-badge img,
  .jamal-faq details,
  .jamal-phone-float,
  .jamal-phone-glow::before,
  .jamal-reveal,
  .jamal-sparkles::after,
  .jamal-cta-glow::before,
  .jamal-cta-glow::after,
  .jamal-dot-grid::before,
  .jamal-feature-card::before,
  .jamal-value-card::before,
  .jamal-step-number,
  .jamal-contact-card {
    animation: none !important;
    transition: none !important;
  }
  .jamal-phone-rotated,
  .jamal-phone-rotated-right {
    transform: none;
  }
  .jamal-reveal {
    opacity: 1;
    transform: none;
  }
  .jamal-sparkles::after {
    display: none;
  }
}
