/**
 * Ziad Ali — Premium Dark Theme Stylesheet
 * Design: Glassmorphism + Neon Glow + Premium Dark
 * v2.0 — Full Mobile Responsiveness + Animation Fixes
 */

/* ============================================
   0. IMPORTS & VARIABLES
   ============================================ */

:root {
  /* Colors */
  --bg-primary: #050510;
  --bg-secondary: #0A1628;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-glass: rgba(15, 23, 42, 0.4);

  --primary: #10B981;
  --primary-light: #14F5C8;
  --primary-dark: #0D9488;
  --accent: #F59E0B;
  --accent-light: #FBBF24;

  --blue: #3B82F6;
  --red: #EF4444;
  --gold: #F59E0B;
  --emerald: #10B981;

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --border: rgba(148, 163, 184, 0.1);
  --glow-primary: 0 0 30px rgba(16, 185, 129, 0.3);
  --glow-accent: 0 0 30px rgba(245, 158, 11, 0.3);

  /* Typography */
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Inter', sans-serif;
  --font-display: 'Cairo', 'Inter', sans-serif;

  /* Spacing */
  --section-padding: clamp(60px, 10vw, 120px);
  --container-width: min(1200px, 90vw);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.68, -0.6, 0.32, 1.6);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-medium: 0.4s var(--ease-smooth);
  --transition-slow: 0.8s var(--ease-smooth);

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

/* ============================================
   1. RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-ar);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
}

body.loading {
  overflow: hidden;
}

[dir="ltr"] body,
[dir="ltr"] {
  font-family: var(--font-en);
}

[dir="rtl"] body,
[dir="rtl"] {
  font-family: var(--font-ar);
}

::selection {
  background: var(--primary);
  color: var(--bg-primary);
}

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

/* <picture> wrappers exist only to offer a WebP source; they must not
   introduce a layout box of their own. */
picture {
  display: contents;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ============================================
   2. LOADER
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.loader__logo {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.loader__bar {
  width: 200px;
  height: 3px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader__progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
}

.loader__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ============================================
   3. CUSTOM CURSOR
   ============================================ */
.custom-cursor {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  mix-blend-mode: difference;
}

.cursor-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.2s var(--ease-smooth), border-color 0.2s;
}

@media (pointer: coarse) {
  .custom-cursor {
    display: none;
  }
}

/* ============================================
   4. NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-medium);
  width: 100%;
}

.navbar.scrolled {
  background: rgba(5, 5, 16, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.navbar__container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 16px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar__logo-img {
  height: 44px;
  width: auto;
  transition: all var(--transition-fast);
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.3));
}

.navbar__logo:hover .navbar__logo-img {
  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.5));
  transform: scale(1.05);
}

.navbar.scrolled .navbar__logo-img {
  height: 36px;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-lang {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
  white-space: nowrap;
}

.btn-lang:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-primary);
}

.btn-cta-nav {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  font-family: inherit;
  white-space: nowrap;
}

.btn-cta-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-cta-nav:hover {
  box-shadow: var(--glow-primary);
  transform: translateY(-2px);
}

.btn-cta-nav:hover::before {
  opacity: 1;
}

.btn-cta-nav span {
  position: relative;
  z-index: 1;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 5, 16, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  clip-path: circle(0% at calc(100% - 40px) 40px);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu__link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.mobile-menu__link:hover {
  color: var(--primary);
}

/* ============================================
   5. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg-primary) 70%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  width: 100%;
}

.hero__greeting {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero__name {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  /* Arabic needs more vertical room than Latin: at 1.1 the tail of "ى" was
     being clipped by the line box. */
  line-height: 1.28;
  padding-bottom: 0.08em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  position: relative;
  word-break: keep-all;
}

.hero__name::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--text-primary), var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(30px);
  opacity: 0.4;
  z-index: -1;
}

.hero__title {
  font-size: clamp(0.8rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 400;
  padding: 0 10px;
}

.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 32px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.hero__cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-light), var(--accent), var(--primary));
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.hero__cta:hover {
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.4), 0 0 80px rgba(16, 185, 129, 0.15);
  transform: translateY(-3px);
}

.hero__cta:hover::before {
  opacity: 1;
}

.hero__cta-icon {
  font-size: 1.2rem;
  animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
}

.scroll-indicator__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

/* ============================================
   6. SECTIONS COMMON
   ============================================ */
.section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Section divider / glow */
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.02), transparent);
}

/* Section Illustration */
.section-illustration {
  text-align: center;
  margin-bottom: 32px;
}


.section-illustration img {
  max-width: 280px;
  margin: 0 auto;
  opacity: 1;
}

/* ============================================
   7. ABOUT SECTION
   ============================================ */
.about__content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* Ziad Photo */
.about__photo-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.about__photo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
  filter: blur(30px);
  animation: photo-glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes photo-glow-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.about__photo-frame {
  width: 240px;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(16, 185, 129, 0.3);
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(16, 185, 129, 0.1);
  transition: all var(--transition-medium);
}

.about__photo-frame:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(16, 185, 129, 0.2);
  transform: translateY(-5px);
}

.about__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow);
}

.about__photo-frame:hover .about__photo {
  transform: scale(1.05);
}

.about__photo-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  backdrop-filter: blur(10px);
}

.about__text-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about__bio p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 14px;
  line-height: 1.8;
}

.about__bio .mission {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.05rem;
  padding-inline-start: 16px;
  border-inline-start: 3px solid var(--primary);
  margin-top: 20px;
}

.about__details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.cert-item:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
  transform: translateY(-2px);
}

.cert-icon {
  font-size: 1.5rem;
}

.cert-text {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Achievements */
.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(16, 185, 129, 0.05);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.achievement-item::before {
  content: '◆';
  color: var(--primary);
  font-size: 0.6rem;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.stat-item {
  text-align: center;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.stat-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--glow-primary);
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================
   8. SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition-medium);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card__glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-medium);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.service-card:hover .service-card__glow {
  opacity: 0.08;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px color-mix(in srgb, var(--accent) 15%, transparent);
}

.service-card__icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: float-icon 3s ease-in-out infinite;
}

/* Line icons take the card's accent colour and sit in a soft tinted disc. */
.service-card__icon svg {
  width: 54px;
  height: 54px;
  padding: 11px;
  border-radius: var(--radius-full);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  box-shadow: 0 0 24px -6px var(--accent);
}

@supports not (background: color-mix(in srgb, red 10%, transparent)) {
  .service-card__icon svg {
    background: rgba(255, 255, 255, 0.06);
  }
}

@keyframes float-icon {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.service-card:nth-child(2) .service-card__icon { animation-delay: 0.3s; }
.service-card:nth-child(3) .service-card__icon { animation-delay: 0.6s; }
.service-card:nth-child(4) .service-card__icon { animation-delay: 0.9s; }

.service-card__name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
}

.service-card__pricing {
  margin-bottom: 18px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
}

.price-row:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.duration {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--accent);
}

.price small {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
}

.service-card__cta {
  display: inline-block;
  padding: 10px 28px;
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.service-card__cta:hover {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: var(--glow-accent);
}

/* Service Notes */
.services-notes {
  max-width: 700px;
  margin: 32px auto 0;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.services-notes li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.note-icon {
  color: var(--primary);
  font-weight: 700;
}

/* ============================================
   9. PACKAGES SECTION
   ============================================ */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.package-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  text-align: center;
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.package-card--popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05), var(--bg-card));
  transform: scale(1.03);
}

.package-card--popular:hover {
  transform: scale(1.03) translateY(-8px);
}

.package-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-primary);
  padding: 6px 24px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.package-card__icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.package-card__name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.package-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.6;
}

.package-card__includes {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.package-card__pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.old-price {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.6;
}

.new-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.new-price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.package-card__suitable {
  text-align: start;
  margin-bottom: 20px;
  flex-grow: 1;
}

.package-card__suitable li {
  padding: 5px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.package-card__suitable li::before {
  content: '';
}

.package-card__cta {
  display: block;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.package-card__cta:hover {
  box-shadow: var(--glow-primary);
  transform: translateY(-2px);
}

/* ============================================
   10. CUPPING SECTION
   ============================================ */
.cupping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.cupping-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition-fast);
}

.cupping-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.cupping-card__icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.cupping-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.cupping-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.cupping-card__areas {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.area-label {
  color: var(--primary);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.cupping-warning {
  max-width: 700px;
  margin: 24px auto 0;
  padding: 18px 20px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md);
  color: var(--accent);
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.7;
}

.cupping-warning::before {
  content: '⚠️ ';
}

/* ============================================
   11. FAQ SECTION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.open {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition-fast);
  text-align: start;
  font-family: inherit;
  gap: 14px;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  transition: all var(--transition-fast);
  color: var(--primary);
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

/* The .open class alone is enough to expand an answer, so the accordion keeps
   working when GSAP isn't available. When it is, GSAP animates the height and
   these rules simply agree with the end state. */
.faq-answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.faq-item.open .faq-answer {
  height: auto;
  opacity: 1;
}

.faq-answer p {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.9;
}

/* ============================================
   12. CONTACT SECTION
   ============================================ */
.contact-section {
  background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.03), transparent);
}

.contact__content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 28px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  font-family: inherit;
  border: none;
  cursor: pointer;
}

.btn-whatsapp:hover {
  box-shadow: 0 0 40px rgba(37, 211, 102, 0.3);
  transform: translateY(-3px) scale(1.03);
}

.btn-whatsapp svg {
  width: 22px;
  height: 22px;
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  font-family: inherit;
  cursor: pointer;
}

.btn-phone:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   13. WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-fast);
  opacity: 0;
  transform: scale(0);
  cursor: pointer;
}

[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 24px;
}

.whatsapp-float.visible {
  opacity: 1;
  transform: scale(1);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================
   14. FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  text-align: center;
}

.footer__brand {
  font-size: 1.3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer__link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--primary);
}

.footer__bottom {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   15. AMBIENT DECORATIONS
   ============================================ */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: 20%;
  right: -100px;
}

.glow-2 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: 20%;
  left: -100px;
}

.glow-3 {
  width: 350px;
  height: 350px;
  background: var(--blue);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ============================================
   16. RESPONSIVE — TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .navbar__links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .btn-cta-nav {
    display: none;
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__photo-wrapper {
    justify-self: center;
  }

  .about__photo-frame {
    width: 200px;
    height: 250px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .packages-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   17. RESPONSIVE — MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 48px;
    --container-width: 95vw;
  }

  .hero {
    min-height: 100dvh;
    padding-top: 80px;
  }

  .hero__content {
    padding: 0 16px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-illustration img {
    max-width: 200px;
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about__photo-wrapper {
    justify-self: center;
  }

  .about__photo-frame {
    width: 180px;
    height: 220px;
  }

  .about__photo-glow {
    width: 200px;
    height: 200px;
  }

  .certs-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .package-card--popular {
    transform: scale(1);
  }

  .package-card--popular:hover {
    transform: translateY(-8px);
  }

  .cupping-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-item {
    padding: 16px 10px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .contact__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-whatsapp,
  .btn-phone {
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .scroll-indicator {
    bottom: 16px;
  }

  .footer__links {
    gap: 14px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
  }

  [dir="rtl"] .whatsapp-float {
    left: 16px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .mobile-menu__link {
    font-size: 1.3rem;
  }
}

/* ============================================
   18. RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {
  :root {
    --section-padding: 40px;
  }

  .hero__cta {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .navbar__logo-img {
    height: 32px;
  }

  .btn-lang {
    padding: 5px 10px;
    font-size: 0.8rem;
  }

  .package-card {
    padding: 28px 16px 20px;
  }

  .new-price {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .about__photo-frame {
    width: 160px;
    height: 200px;
  }

  .services-grid,
  .packages-grid {
    max-width: 100%;
  }

  .service-card {
    padding: 24px 16px;
  }

  .faq-question {
    padding: 16px;
    font-size: 0.9rem;
  }

  .faq-answer p {
    padding: 0 16px 16px;
    font-size: 0.85rem;
  }
}

/* ============================================
   19. ANIMATIONS & UTILITIES
   ============================================ */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-animated {
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

/* Ensure animated elements are visible by default */
.section-tag,
.section-title,
.section-subtitle,
.service-card,
.package-card,
.cupping-card,
.faq-item,
.about__bio,
.about__photo-wrapper,
.cert-item,
.achievement-item,
.stat-item,
.contact__content > * {
  opacity: 1;
  transform: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-indicator,
  .service-card__icon,
  .hero__cta-icon {
    animation: none !important;
  }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: transform var(--transition-medium), border-color var(--transition-medium);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.35);
}

.testimonial-card__stars {
  color: var(--accent);
  font-size: 1.05rem;
  letter-spacing: 3px;
  line-height: 1;
}

.testimonial-card__quote {
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.9;
}

.testimonial-card__quote::before { content: '“'; }
.testimonial-card__quote::after  { content: '”'; }

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.testimonial-card__name {
  font-weight: 700;
  color: var(--primary-light);
}

.testimonial-card__context {
  font-size: 0.85rem;
  color: var(--text-muted);
}
