/* ========================================
   نقاء مكة - Naqaa Makkah
   Main Stylesheet - Design System
   ======================================== */

/* ── CSS Custom Properties ── */
:root {
  /* Brand Colors */
  --color-primary: #0D7C66;
  --color-primary-light: #17A589;
  --color-primary-lighter: #1ABC9C;
  --color-primary-dark: #0A6350;
  --color-primary-rgb: 13, 124, 102;

  --color-secondary: #C5A55A;
  --color-secondary-light: #E8D5A3;
  --color-secondary-dark: #A8893D;
  --color-secondary-rgb: 197, 165, 90;

  --color-accent: #7EC8E3;
  --color-accent-light: #B5E0F0;

  /* Backgrounds */
  --bg-primary: #FAFAF7;
  --bg-secondary: #F5F3EE;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FDFCFA;
  --bg-dark: #1B2A4A;
  --bg-dark-light: #243656;
  --bg-gradient: linear-gradient(135deg, #0D7C66 0%, #17A589 100%);
  --bg-gradient-reverse: linear-gradient(135deg, #17A589 0%, #0D7C66 100%);
  --bg-gradient-gold: linear-gradient(135deg, #C5A55A 0%, #E8D5A3 100%);
  --bg-gradient-hero: linear-gradient(160deg, #0D7C66 0%, #0A6350 40%, #17A589 100%);
  --bg-gradient-subtle: linear-gradient(180deg, #FAFAF7 0%, #F5F3EE 100%);

  /* Text */
  --text-primary: #1B2A4A;
  --text-secondary: #4A5568;
  --text-light: #718096;
  --text-white: #FFFFFF;
  --text-on-primary: #FFFFFF;

  /* Typography */
  --font-heading: 'Tajawal', sans-serif;
  --font-body: 'Cairo', sans-serif;

  /* Font Sizes - Fluid */
  --fs-hero: clamp(2rem, 5vw, 3.25rem);
  --fs-h1: clamp(1.75rem, 4vw, 2.75rem);
  --fs-h2: clamp(1.5rem, 3.5vw, 2.125rem);
  --fs-h3: clamp(1.25rem, 3vw, 1.625rem);
  --fs-h4: clamp(1.1rem, 2.5vw, 1.3rem);
  --fs-body: clamp(1rem, 1.8vw, 1.125rem);
  --fs-body-lg: clamp(1.05rem, 2vw, 1.2rem);
  --fs-small: 0.9rem;
  --fs-tiny: 0.8rem;

  /* Line Heights */
  --lh-heading: 1.4;
  --lh-body: 1.85;

  /* Spacing Scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;
  --space-5xl: 7rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 900px;
  --container-wide: 1400px;
  --container-padding: 1.25rem;
  --header-height: 72px;

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(27, 42, 74, 0.04);
  --shadow-sm: 0 2px 8px rgba(27, 42, 74, 0.06);
  --shadow-md: 0 4px 16px rgba(27, 42, 74, 0.08);
  --shadow-lg: 0 8px 32px rgba(27, 42, 74, 0.1);
  --shadow-xl: 0 16px 48px rgba(27, 42, 74, 0.12);
  --shadow-glow: 0 0 24px rgba(13, 124, 102, 0.15);
  --shadow-gold: 0 0 20px rgba(197, 165, 90, 0.12);
  --shadow-card: 0 2px 12px rgba(27, 42, 74, 0.05);
  --shadow-card-hover: 0 8px 30px rgba(27, 42, 74, 0.1);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-float: 500;
  --z-toast: 600;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--text-primary);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

.section-label {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
  display: block;
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  margin-bottom: var(--space-md);
  position: relative;
}

.section-subtitle {
  font-size: var(--fs-body-lg);
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: var(--space-2xl);
}

.section-subtitle.centered {
  margin-inline: auto;
}

.text-gradient {
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gold {
  color: var(--color-secondary);
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-block: var(--space-4xl);
}

.section--sm {
  padding-block: var(--space-2xl);
}

.section--lg {
  padding-block: var(--space-5xl);
}

.section--bg {
  background-color: var(--bg-secondary);
}

.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.section--dark .section-title,
.section--dark h2,
.section--dark h3 {
  color: var(--text-white);
}

.section--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.flex-wrap { flex-wrap: wrap; }

.text-center { text-align: center; }

/* ── Header & Navigation ── */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: var(--z-sticky);
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(27, 42, 74, 0.06);
  transition: var(--transition-base);
  height: var(--header-height);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(250, 250, 247, 0.97);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.logo-text span {
  color: var(--color-primary);
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: rgba(13, 124, 102, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: var(--z-overlay);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-base);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  background: var(--bg-gradient-hero);
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-2xl);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(126, 200, 227, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(197, 165, 90, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: var(--z-base);
  max-width: 800px;
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: var(--space-lg);
  line-height: 1.3;
}

.hero-title .highlight {
  color: var(--color-secondary-light);
  position: relative;
}

.hero-subtitle {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--space-2xl);
  line-height: 1.9;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-small);
  font-weight: 500;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-secondary-light);
  flex-shrink: 0;
}

/* Hero Decorative Elements */
.hero-decor {
  position: absolute;
  pointer-events: none;
}

.hero-bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Inner Page Hero ── */
.page-hero {
  background: var(--bg-gradient-hero);
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(197, 165, 90, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--text-white);
  font-size: var(--fs-h1);
  margin-bottom: var(--space-md);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-body-lg);
  max-width: 700px;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  font-size: var(--fs-small);
}

.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-secondary-light);
}

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.breadcrumb .current {
  color: var(--text-white);
  font-weight: 600;
}

/* ── Content Sections ── */
.content-section {
  padding-block: var(--space-3xl);
}

.content-section + .content-section {
  padding-top: 0;
}

.content-section h2 {
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 3px;
  background: var(--bg-gradient);
  border-radius: 2px;
}

.content-section p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  line-height: var(--lh-body);
}

.content-section ul {
  margin-bottom: var(--space-lg);
}

.content-section li {
  position: relative;
  padding-right: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

.content-section li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

/* ── Footer ── */
.footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: var(--space-4xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  margin-bottom: var(--space-lg);
}

.footer-brand .logo-text {
  color: var(--text-white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--fs-small);
  line-height: 1.8;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-lg);
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--fs-small);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-links a:hover {
  color: var(--color-secondary-light);
  padding-right: var(--space-xs);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--fs-small);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-block: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--fs-tiny);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--fs-tiny);
}

.footer-bottom-links a:hover {
  color: var(--color-secondary-light);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--bg-primary);
    box-shadow: var(--shadow-xl);
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    transition: right var(--transition-slow);
    z-index: var(--z-overlay);
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    padding: var(--space-md);
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(27, 42, 74, 0.06);
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .btn-outline-white,
  .header-actions .btn-call-header {
    display: none;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(27, 42, 74, 0.4);
    z-index: calc(var(--z-overlay) - 1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
    --header-height: 64px;
  }

  .section {
    padding-block: var(--space-3xl);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-3xl);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust {
    gap: var(--space-md);
  }

  .trust-item {
    flex: 0 0 calc(50% - var(--space-md) / 2);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section-header {
    margin-bottom: var(--space-2xl);
  }
}

@media (max-width: 480px) {
  .hero-trust {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .trust-item {
    flex: none;
  }
}

/* ── Image Placeholder System ── */
.img-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.img-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.15;
}

.img-placeholder--hero {
  background: linear-gradient(135deg, rgba(13,124,102,0.12) 0%, rgba(23,165,137,0.08) 50%, rgba(126,200,227,0.06) 100%);
  min-height: 300px;
  border-radius: var(--radius-xl);
}

.img-placeholder--service {
  background: linear-gradient(135deg, #e8f5f1 0%, #d1ede6 50%, #f5f3ee 100%);
  aspect-ratio: 16/9;
  min-height: 180px;
}

.img-placeholder--location {
  background: linear-gradient(135deg, #f0f7f5 0%, #e2f0ec 50%, #f5f3ee 100%);
  aspect-ratio: 4/3;
  min-height: 160px;
}

.img-placeholder--blog {
  background: linear-gradient(135deg, #f5f3ee 0%, #e8f5f1 50%, #f0f0ea 100%);
  aspect-ratio: 16/9;
}

.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.img-placeholder:hover::after {
  opacity: 1;
}

/* ── Hero Split Layout ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

/* ── Hero Visual Card (Booking Process) ── */
.hero-visual-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(197,165,90,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-visual-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-secondary-light);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-visual-title svg {
  width: 20px;
  height: 20px;
}

.booking-step {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
}

.booking-step:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-4px);
}

.booking-step-num {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-gradient-gold);
  color: var(--bg-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-step-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-small);
  font-weight: 500;
}

/* ── Service Hero Badge ── */
.service-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.4rem 1rem;
  background: rgba(197, 165, 90, 0.2);
  border: 1px solid rgba(197, 165, 90, 0.3);
  border-radius: var(--radius-xl);
  color: var(--color-secondary-light);
  font-size: var(--fs-tiny);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.service-hero-badge svg {
  width: 14px;
  height: 14px;
}

/* ── Stats Counter ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  padding: var(--space-xl);
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-number .stat-plus {
  color: var(--color-secondary);
  font-size: 0.7em;
}

.stat-label {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  font-weight: 500;
}

/* ── When You Need Cards ── */
.when-need-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.when-need-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 165, 90, 0.12);
  transition: all var(--transition-base);
}

.when-need-card:hover {
  border-color: rgba(197, 165, 90, 0.3);
  box-shadow: var(--shadow-sm);
}

.when-need-card svg {
  width: 22px;
  height: 22px;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.when-need-card p {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: 1.6;
}

/* ── Checklist Items ── */
.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-sm);
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(27, 42, 74, 0.04);
  font-size: var(--fs-small);
  color: var(--text-secondary);
  transition: var(--transition-base);
}

.checklist-item:hover {
  border-color: rgba(13, 124, 102, 0.15);
  background: rgba(13, 124, 102, 0.02);
}

.checklist-item::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: rgba(13, 124, 102, 0.1);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230D7C66' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Blog Article ── */
.blog-article {
  max-width: 800px;
  margin-inline: auto;
}

.blog-article-header {
  margin-bottom: var(--space-2xl);
}

.blog-article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  color: var(--text-light);
  font-size: var(--fs-small);
  margin-bottom: var(--space-lg);
}

.blog-article-body h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
  font-size: var(--fs-h3);
}

.blog-article-body p {
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
  line-height: 2;
}

.blog-article-body ul,
.blog-article-body ol {
  margin-bottom: var(--space-lg);
  padding-right: var(--space-xl);
}

.blog-article-body li {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.8;
  position: relative;
  padding-right: var(--space-lg);
}

.blog-article-body li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

/* ── Enhanced Mobile ── */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat-item {
    padding: var(--space-md);
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero-visual-card {
    padding: var(--space-lg);
  }

  .when-need-grid {
    grid-template-columns: 1fr;
  }

  .checklist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  :root {
    --container-padding: 0.875rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .btn-lg {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }

  .service-card {
    padding: var(--space-md);
  }

  .section-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Print ── */
@media print {
  .header,
  .float-whatsapp,
  .nav-overlay {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* ==========================================================================
   GLASSMORPHISM & PREMIUM UI ENHANCEMENTS (PHASE 4 - LOCALIZATION)
   ========================================================================== */

/* Modern frosted glass header styling */
.header {
  background: rgba(250, 250, 247, 0.85) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(250, 250, 247, 0.92) !important;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(27, 42, 74, 0.05);
}

/* Glassmorphism styling for cards and badges */
.service-card, .feature-card, .testimonial-card, .ba-card {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 8px 32px 0 rgba(27, 42, 74, 0.04) !important;
  transition: all var(--transition-bounce) !important;
}

.service-card:hover, .feature-card:hover, .testimonial-card:hover, .ba-card:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(13, 124, 102, 0.2) !important;
  box-shadow: 0 16px 48px 0 rgba(27, 42, 74, 0.08) !important;
  transform: translateY(-6px) scale(1.02) !important;
}

/* Float WhatsApp Pulse Glow */
.float-whatsapp {
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulse-wa 2s infinite;
  transition: all var(--transition-bounce);
}

.float-whatsapp:hover {
  transform: scale(1.1) rotate(8deg);
}

@keyframes pulse-wa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Gradient borders for premium feel */
.service-card-icon {
  background: linear-gradient(135deg, rgba(13, 124, 102, 0.1) 0%, rgba(23, 165, 137, 0.1) 100%) !important;
  border: 1px solid rgba(13, 124, 102, 0.2);
}

.service-card:hover .service-card-icon {
  background: var(--bg-gradient) !important;
  border-color: transparent;
}

/* ==========================================================================
   HIGH-CONVERTING HERO SECTION COMPONENT (PHASE 4 - COPYWRITING)
   ========================================================================== */

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-secondary-light);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-bullets {
  margin-block: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: right;
  padding-right: 0;
  list-style: none;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-bullets li strong {
  color: var(--color-secondary-light);
}

.bullet-check {
  color: var(--color-secondary);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
}

.hero-rating .stars {
  font-size: 1.1rem;
}

.hero-rating .rating-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 600;
}
