/* ================================================
   KARIM AMIRO — Portfolio CSS
   Dark Hero | Light Body | Dark Footer Theme
   RTL + LTR Bilingual Support
   ================================================ */

:root {
  /* Brand Yellow — Identity Color */
  --brand-yellow: #E8B923;
  --brand-yellow-light: #F5D54E;
  --brand-yellow-dark: #B8920F;
  --brand-yellow-glow: rgba(232, 185, 35, 0.2);

  /* Dark Theme (Hero & Footer) */
  --dark-bg: #0C0C10;
  --dark-surface: #161620;
  --dark-card: #1C1C28;
  --dark-card-hover: #22222F;
  --dark-border: rgba(255, 255, 255, 0.08);
  --dark-text: #F0EEE8;
  --dark-text-muted: rgba(240, 238, 232, 0.45);

  /* Light Theme (About & Services) */
  --light-bg: #F6F5F0;
  --light-surface: #FFFFFF;
  --light-card: #FAFAF8;
  --light-card-hover: #F0EFE9;
  --light-border: rgba(26, 26, 31, 0.07);
  --light-text: #1A1A1F;
  --light-text-muted: #9898A8;

  /* Shared */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-yellow: 0 0 50px rgba(232, 185, 35, 0.15);
  --radius-card: 24px;
  --radius-btn: 14px;
  --radius-sm: 10px;

  /* Motion & timing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 150ms var(--ease-out);
  --transition-base: 280ms var(--ease-out);
  --transition-slow: 500ms var(--ease-out);

  /* Focus ring */
  --focus-ring: 0 0 0 3px rgba(232, 185, 35, 0.45);

  /* Accent (native form controls) */
  --accent: var(--brand-yellow);

  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root { color-scheme: dark; }
}

/* Selection color (polished brand feel) */
::selection {
  background: var(--brand-yellow);
  color: #0C0C10;
  text-shadow: none;
}
::-moz-selection {
  background: var(--brand-yellow);
  color: #0C0C10;
  text-shadow: none;
}

/* Focus styles (keyboard-only, mouse users don't see the ring) */
:focus { outline: none; }
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}

/* Respect users who don't want motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .shimmer-text { animation: none !important; }
  .whatsapp-float { animation: none !important; }
  .badge-dot { animation: none !important; }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--light-bg);
  color: var(--light-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  accent-color: var(--brand-yellow);
}

/* RTL Support */
[dir="rtl"] body { direction: rtl; unicode-bidi: plaintext; }
[dir="rtl"] .navbar { flex-direction: row; gap: 0; }
[dir="rtl"] .navbar-brand { flex-direction: row; margin-right: 0; margin-left: auto; }
[dir="rtl"] .navbar-nav { flex-direction: row; gap: 4px; }
[dir="rtl"] .nav-socials { border-left: none; border-right: 1px solid rgba(255, 255, 255, 0.08); margin-left: 0; margin-right: 8px; padding-left: 0; padding-right: 12px; }
[dir="rtl"] .nav-link { text-align: right; }
[dir="rtl"] .brand-text { text-align: right; direction: rtl; }
[dir="rtl"] .hero-left { text-align: right; direction: rtl; }

/* ================================================
   LOGO PRELOADER
   ================================================ */
#logoPreloader {
  position: fixed;
  inset: 0;
  background: #FAFAF8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  gap: 0;
}

#logoPreloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: logoEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
}

.preloader-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo-wrap::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 185, 35, 0.15) 0%, transparent 70%);
  animation: logoGlow 2s ease-in-out infinite;
}

.preloader-ring {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 185, 35, 0.2);
  animation: ringExpand 2s ease-in-out infinite;
}

.preloader-ring:nth-child(2) {
  width: 280px;
  height: 280px;
  border-color: rgba(232, 185, 35, 0.1);
  animation-delay: 0.4s;
}

.preloader-dots {
  display: flex;
  gap: 6px;
  margin-top: 20px;
}

.preloader-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-yellow);
  animation: dotPulse 1.2s ease-in-out infinite;
}

.preloader-dot:nth-child(2) { animation-delay: 0.2s; }
.preloader-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes logoEntrance {
  0% { opacity: 0; transform: scale(0.3) rotate(-10deg); }
  60% { transform: scale(1.1) rotate(3deg); }
  80% { transform: scale(0.95) rotate(-1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes logoGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
}

@keyframes ringExpand {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}
[dir="rtl"] .hero-right { direction: ltr; text-align: left; }
[dir="rtl"] .hero-content { direction: rtl; }
[dir="rtl"] .hero-actions { justify-content: flex-end; }
[dir="rtl"] .stats-grid { direction: rtl; }
[dir="rtl"] .stat-card { text-align: center; }
[dir="rtl"] .float-1 { right: auto; left: -15px; }
[dir="rtl"] .float-2 { left: auto; right: -25px; }
[dir="rtl"] .float-3 { right: auto; left: -10px; }
[dir="rtl"] .about-content-grid { direction: rtl; }
[dir="rtl"] .about-intro { text-align: right; direction: rtl; }
[dir="rtl"] .about-stats-row { align-items: flex-end; justify-content: flex-end; }
[dir="rtl"] .about-pillars { direction: rtl; }
[dir="rtl"] .about-card { text-align: right; direction: rtl; }
[dir="rtl"] .services-grid { direction: rtl; }
[dir="rtl"] .service-card { text-align: right; direction: rtl; }
[dir="rtl"] .consultation-layout { direction: rtl; }
[dir="rtl"] .consultation-info { text-align: right; direction: rtl; }
[dir="rtl"] .consultation-features { text-align: right; }
[dir="rtl"] .consult-feature { flex-direction: row-reverse; }
[dir="rtl"] .continue-btns { justify-content: flex-end; flex-wrap: wrap; }
[dir="rtl"] .consultation-form-wrapper { text-align: right; direction: rtl; }
[dir="rtl"] .form-group { text-align: right; direction: rtl; }
[dir="rtl"] .form-group label { text-align: right; direction: rtl; display: block; }
[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select,
[dir="rtl"] .form-group textarea { text-align: right; direction: rtl; }
[dir="rtl"] .blog-teaser-header { text-align: right; }
[dir="rtl"] .blog-teaser-link { flex-direction: row-reverse; }
[dir="rtl"] .blog-teaser-grid { direction: rtl; }
[dir="rtl"] .blog-card { text-align: right; }
[dir="rtl"] .footer-top { direction: rtl; }
[dir="rtl"] .footer-links { direction: rtl; }
[dir="rtl"] .footer-social { direction: rtl; }
[dir="rtl"] .mobile-socials { direction: rtl; }
[dir="rtl"] .mobile-nav-link { text-align: right; direction: rtl; }
[dir="rtl"] .whatsapp-float { right: 28px; left: auto; }
[dir="rtl"] .blog-filters { direction: rtl; }
[dir="rtl"] .article-meta { direction: rtl; }
[dir="rtl"] .featured-meta { direction: rtl; }
[dir="rtl"] .newsletter-form { direction: rtl; }
[dir="rtl"] .article-card { text-align: right; }
[dir="rtl"] .blog-search { flex-direction: row-reverse; }
[dir="rtl"] .back-link svg { transform: scaleX(-1); }
[dir="rtl"] .load-more-btn { flex-direction: row-reverse; }
[dir="rtl"] .featured-read-more { flex-direction: row-reverse; }
[dir="rtl"] .blog-featured { flex-direction: row-reverse; }
[dir="rtl"] .newsletter-form input { text-align: right; direction: rtl; }
[dir="rtl"] .quick-contact-card { direction: rtl; text-align: right; }
[dir="rtl"] .quick-contact-text { text-align: right; direction: rtl; }
[dir="rtl"] .quick-contact-title { text-align: right; direction: rtl; }
[dir="rtl"] .quick-contact-desc { text-align: right; direction: rtl; }
[dir="rtl"] .result-card { text-align: right; direction: rtl; }
[dir="rtl"] .result-card-header { flex-direction: row-reverse; }
[dir="rtl"] .result-stats-row { direction: rtl; }
[dir="rtl"] .result-bar-label { flex-direction: row-reverse; }
[dir="rtl"] .result-stat-label { text-align: right; direction: rtl; }
[dir="rtl"] .result-subtitle { text-align: right; direction: rtl; }
[dir="rtl"] .tag-line { margin-right: 0; margin-left: 16px; }
[dir="rtl"] .about-divider { margin-left: auto; }
[dir="rtl"] .section-tag { justify-content: flex-end; direction: rtl; }
[dir="rtl"] .section-title { text-align: right; direction: rtl; }
[dir="rtl"] .consultation-title { text-align: right; direction: rtl; }
[dir="rtl"] .consultation-desc { text-align: right; direction: rtl; }
[dir="rtl"] .continue-label { text-align: right; direction: rtl; }
[dir="rtl"] .form-title { text-align: right; direction: rtl; }
[dir="rtl"] .btn-submit { flex-direction: row-reverse; }
[dir="rtl"] .form-note { text-align: right; direction: rtl; }
[dir="rtl"] .blog-teaser-desc { text-align: right; direction: rtl; }
[dir="rtl"] .footer-brand { flex-direction: row; gap: 16px; }
[dir="rtl"] .footer-name { text-align: right; direction: rtl; }
[dir="rtl"] .footer-tagline { text-align: right; direction: rtl; }
[dir="rtl"] .footer-link { text-align: right; direction: rtl; }
[dir="rtl"] .footer-email { text-align: right; direction: rtl; }
[dir="rtl"] .footer-copy { text-align: right; direction: rtl; }
[dir="rtl"] .footer-bottom { direction: rtl; }
[dir="rtl"] .about-bio { text-align: right; direction: rtl; }
[dir="rtl"] .about-role { text-align: right; direction: rtl; }
[dir="rtl"] .about-stat-label { text-align: right; direction: rtl; }
[dir="rtl"] .about-icon { margin-right: 0; margin-left: 16px; }
[dir="rtl"] .consult-feature span { text-align: right; direction: rtl; }
[dir="rtl"] .hero-badge { direction: rtl; }
[dir="rtl"] .hero-description { text-align: right; direction: rtl; }

/* Ensure RTL doesn't break English-only elements */
[dir="rtl"] .brand-name,
[dir="rtl"] .about-name,
[dir="rtl"] .service-number,
[dir="rtl"] .footer-name {
  direction: ltr;
  unicode-bidi: isolate;
}

[dir="rtl"] .blog-card-tag,
[dir="rtl"] .article-card-tag,
[dir="rtl"] .featured-tag,
[dir="rtl"] .about-icon,
[dir="rtl"] .service-tag,
[dir="rtl"] .result-subtitle,
[dir="rtl"] .result-stat-num,
[dir="rtl"] .stat-value,
[dir="rtl"] .about-stat-num,
[dir="rtl"] .blog-date,
[dir="rtl"] .blog-read,
[dir="rtl"] .featured-badge {
  direction: ltr;
  unicode-bidi: isolate;
}

/* ================================================
   LANGUAGE SWITCHER
   ================================================ */

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 4px;
}

.lang-btn {
  padding: 6px 14px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  letter-spacing: 0.05em;
}

.lang-btn.ar {
  background: transparent;
  color: rgba(240, 238, 232, 0.5);
}

.lang-btn.en {
  background: linear-gradient(135deg, var(--brand-yellow-light), var(--brand-yellow));
  color: #0C0C10;
}

[dir="rtl"] .lang-btn.ar {
  background: linear-gradient(135deg, var(--brand-yellow-light), var(--brand-yellow));
  color: #0C0C10;
}

[dir="rtl"] .lang-btn.en {
  background: transparent;
  color: rgba(240, 238, 232, 0.5);
}

/* ================================================
   NAVBAR
   ================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(12, 12, 16, 0.94);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 48px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s;
}

.brand-logo-img:hover { transform: scale(1.05); }

.brand-name {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--dark-text);
  line-height: 1;
}

.brand-role {
  font-size: 11px;
  color: var(--brand-yellow);
  font-weight: 500;
  margin-top: 3px;
  letter-spacing: 0.03em;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: rgba(240, 238, 232, 0.65);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.3s;
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--dark-text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: rgba(240, 238, 232, 0.55);
  transition: all 0.3s;
}

.nav-icon-btn:hover {
  color: var(--brand-yellow);
  background: rgba(232, 185, 35, 0.1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand-yellow-light), var(--brand-yellow));
  color: #0C0C10;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  margin-left: 8px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 185, 35, 0.35);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 12, 16, 0.97);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-link {
  color: var(--dark-text);
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  padding: 12px 24px;
  width: 100%;
  text-align: center;
  transition: color 0.3s;
}

.mobile-nav-link:hover { color: var(--brand-yellow); }

.mobile-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  margin: 8px 0;
}

.mobile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 8px 0;
}

.mobile-social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(240, 238, 232, 0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
}

.mobile-social-btn:hover {
  border-color: var(--brand-yellow);
  color: var(--brand-yellow);
  background: rgba(232, 185, 35, 0.06);
}

.mobile-cta {
  margin-top: 8px;
  background: linear-gradient(135deg, var(--brand-yellow-light), var(--brand-yellow));
  color: #0C0C10;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}

/* ================================================
   HERO — DARK SECTION
   ================================================ */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark-bg);
  overflow: hidden;
}

.hero-bg-effect {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(232, 185, 35, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(232, 185, 35, 0.04) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  pointer-events: none;
}

/* Animated gradient mesh — slow moving, gives depth */
.hero-mesh {
  position: absolute;
  top: 50%;
  right: -10%;
  width: 70%;
  aspect-ratio: 1 / 1;
  max-width: 800px;
  background:
    radial-gradient(circle at 30% 30%, rgba(232, 185, 35, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(245, 213, 78, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(184, 146, 15, 0.2) 0%, transparent 60%);
  filter: blur(80px);
  transform: translateY(-50%);
  pointer-events: none;
  animation: meshDrift 18s ease-in-out infinite;
  z-index: 1;
  opacity: 0.85;
}

@keyframes meshDrift {
  0%, 100% { transform: translateY(-50%) translate(0, 0) scale(1); }
  33% { transform: translateY(-50%) translate(-4%, 3%) scale(1.08); }
  66% { transform: translateY(-50%) translate(4%, -2%) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 48px 80px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero Left */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(232, 185, 35, 0.1);
  border: 1px solid rgba(232, 185, 35, 0.2);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--brand-yellow);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--dark-text);
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--brand-yellow-light) 0%, var(--brand-yellow) 50%, var(--brand-yellow-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shimmer-text {
  background: linear-gradient(90deg, rgba(240, 238, 232, 0.3), var(--brand-yellow-light) 20%, var(--brand-yellow) 40%, var(--brand-yellow-light) 60%, rgba(240, 238, 232, 0.3) 80%, rgba(240, 238, 232, 0.3) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero-description {
  font-size: 16px;
  line-height: 1.85;
  color: var(--dark-text-muted);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--brand-yellow-light), var(--brand-yellow), var(--brand-yellow-dark));
  color: #0C0C10;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  font-family: inherit;
  text-decoration: none;
  position: relative;
  isolation: isolate;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--brand-yellow) 35%, transparent);
}

.btn-primary:active { transform: translateY(-1px); }
.btn-primary svg { transition: transform var(--transition-base); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--dark-text);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform var(--transition-base), border-color var(--transition-base), background-color var(--transition-base);
  text-decoration: none;
  font-family: inherit;
}

.btn-secondary:hover {
  border-color: color-mix(in srgb, var(--brand-yellow) 30%, transparent);
  background: color-mix(in srgb, var(--brand-yellow) 6%, transparent);
  transform: translateY(-2px);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  transition: all 0.3s;
}

.stat-card:hover {
  border-color: rgba(232, 185, 35, 0.2);
  transform: translateY(-2px);
}

.stat-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 238, 232, 0.4);
  margin-bottom: 6px;
}

.stat-value {
  display: block;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--brand-yellow);
  margin-bottom: 2px;
}

.stat-tag {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: rgba(240, 238, 232, 0.4);
}

/* ================================================
   HERO RIGHT — FLOATING VISUAL
   ================================================ */

.hero-visual {
  position: relative;
  width: 100%;
  height: 480px;
  perspective: 1200px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

.floating-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 185, 35, 0.4) 0%, rgba(232, 185, 35, 0.05) 50%, transparent 70%);
  filter: blur(20px);
  transform: translate(-50%, -50%);
  animation: orbPulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes orbPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.float-card {
  position: absolute;
  background: rgba(28, 28, 40, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  transform-style: preserve-3d;
  will-change: transform;
}

.float-card:hover {
  border-color: color-mix(in srgb, var(--brand-yellow) 30%, transparent);
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.6),
    0 0 0 1px color-mix(in srgb, var(--brand-yellow) 20%, transparent);
}

/* Main anchor card — the centerpiece */
.float-card--main {
  top: 50%;
  left: 50%;
  width: 320px;
  padding: 32px 32px 26px;
  text-align: center;
  transform: translate(-50%, -50%) rotate(var(--tilt-y, 0deg)) translateY(calc(var(--tilt-x, 0px) * -1));
  background: linear-gradient(135deg, rgba(232, 185, 35, 0.18), rgba(28, 28, 40, 0.85));
  border-color: rgba(232, 185, 35, 0.3);
  animation: floatMain 6s ease-in-out infinite;
  z-index: 3;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(232, 185, 35, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@keyframes floatMain {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-12px); }
}

.float-card--main:hover {
  animation-play-state: paused;
  transform: translate(-50%, -50%) scale(1.03) translateY(-8px);
}

.float-card-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: 10px;
}

.float-card-num {
  display: block;
  font-size: 96px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #F5D54E 0%, #E8B923 60%, #B8920F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.float-card-unit {
  font-size: 52px;
  font-weight: 800;
}

.float-card-formula {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 14px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[dir="rtl"] .float-card-formula { direction: ltr; unicode-bidi: isolate; }

.float-card-trend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 5px 10px;
  border-radius: 100px;
}

.float-card-trend svg { color: #4ADE80; }

/* Mini cards — surround the main card */
.float-card--1,
.float-card--2,
.float-card--3 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  min-width: 170px;
  background: rgba(28, 28, 40, 0.7);
  z-index: 2;
}

.float-card-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 185, 35, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(232, 185, 35, 0.15);
}

.float-card-mini-num {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--dark-text);
  line-height: 1.1;
}

.float-card-mini-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(240, 238, 232, 0.55);
  margin-top: 2px;
  letter-spacing: 0.02em;
}

/* Position each mini card around the main one — tighter, more grouped */
.float-card--1 {
  top: 4%;
  right: 12%;
  animation: floatAlt1 7s ease-in-out infinite;
}
.float-card--2 {
  bottom: 8%;
  left: 8%;
  animation: floatAlt2 8s ease-in-out infinite;
}
.float-card--3 {
  bottom: 2%;
  right: 18%;
  animation: floatAlt3 9s ease-in-out infinite;
}

@keyframes floatAlt1 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
@keyframes floatAlt2 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}
@keyframes floatAlt3 {
  0%, 100% { transform: translateY(0) rotate(1.5deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

[dir="rtl"] .float-card--1 { right: auto; left: 12%; }
[dir="rtl"] .float-card--2 { left: auto; right: 8%; }
[dir="rtl"] .float-card--3 { right: auto; left: 18%; }
[dir="rtl"] .float-card--main .float-card-trend { flex-direction: row-reverse; }
[dir="rtl"] .float-card--1,
[dir="rtl"] .float-card--2,
[dir="rtl"] .float-card--3 { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .float-card-mini-label,
[dir="rtl"] .float-card-mini-num { direction: ltr; unicode-bidi: isolate; }

/* Hero Trust Line */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.trust-avatars {
  display: flex;
  align-items: center;
}

.trust-avatar {
  width: 32px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-yellow-light), var(--brand-yellow));
  border: 2px solid var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  color: #0C0C10;
  margin-left: -10px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .trust-avatar { margin-left: 0; margin-right: -10px; }

.trust-avatar:first-child { margin-left: 0; }
[dir="rtl"] .trust-avatar:first-child { margin-right: 0; }

.trust-avatar--more {
  background: rgba(255, 255, 255, 0.1);
  color: var(--dark-text);
  font-size: 13px;
  font-weight: 700;
}

.trust-text {
  font-size: 13px;
  color: rgba(240, 238, 232, 0.6);
  font-weight: 500;
  line-height: 1.4;
}

[dir="rtl"] .hero-trust { flex-direction: row-reverse; }
[dir="rtl"] .trust-text { text-align: right; direction: rtl; }

/* ================================================
   SECTION SHARED
   ================================================ */

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-yellow-dark);
  margin-bottom: 16px;
}

.tag-line {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--brand-yellow);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
  line-height: 1.1;
  color: var(--light-text);
}

/* ================================================
   ABOUT — LIGHT SECTION
   ================================================ */

.about-section {
  position: relative;
  z-index: 1;
  background: var(--light-bg);
  content-visibility: auto;
  contain-intrinsic-size: 1px 1200px;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-yellow-dark);
  margin-bottom: 24px;
}

.about-content-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.about-photo {
  position: relative;
  width: 320px;
  flex-shrink: 0;
}

.about-photo-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--light-card);
  box-shadow: var(--shadow-lg);
  border: 2px solid color-mix(in srgb, var(--brand-yellow) 25%, transparent);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.about-photo-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    var(--shadow-lg),
    0 0 0 4px color-mix(in srgb, var(--brand-yellow) 12%, transparent);
}

.about-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(12, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid color-mix(in srgb, var(--brand-yellow) 30%, transparent);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--dark-text);
  letter-spacing: 0.02em;
}

.about-photo-badge .badge-dot {
  background: #4ADE80;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

.about-photo-deco {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid color-mix(in srgb, var(--brand-yellow) 30%, transparent);
  border-radius: 24px;
  z-index: -1;
  transition: transform var(--transition-base);
}

.about-photo:hover .about-photo-deco {
  transform: translate(8px, 8px);
}

[dir="rtl"] .about-photo-deco { right: auto; left: -16px; }
[dir="rtl"] .about-photo:hover .about-photo-deco { transform: translate(-8px, 8px); }
[dir="rtl"] .about-photo-badge { direction: ltr; }
[dir="rtl"] .about-content { grid-template-columns: auto 1fr; }

.about-name {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--light-text);
  margin-bottom: 6px;
  line-height: 1.1;
}

.about-role {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-yellow);
  margin-bottom: 20px;
}

.about-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-yellow-light));
  border-radius: 3px;
  margin-bottom: 24px;
}

.about-bio {
  font-size: 15px;
  line-height: 1.85;
  color: var(--light-text-muted);
  max-width: 640px;
  margin-bottom: 16px;
}

.about-bio strong {
  color: var(--light-text);
  font-weight: 700;
}

.about-stats-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 170px;
}

.about-stat {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: 16px;
  padding: 20px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.about-stat-num {
  display: block;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--brand-yellow-dark);
  margin-bottom: 4px;
}

.about-stat-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-text-muted);
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-card {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: 22px;
  padding: 32px 28px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--brand-yellow) 20%, transparent);
}

.about-icon { font-size: 40px; margin-bottom: 18px; display: block; }

.about-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--light-text);
}

.about-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--light-text-muted);
}

/* ================================================
   SERVICES — LIGHT SECTION
   ================================================ */

.services-section {
  position: relative;
  z-index: 1;
  background: var(--light-surface);
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: 22px;
  padding: 36px 32px;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--brand-yellow) 20%, transparent);
}

.service-number {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 52px;
  font-weight: 900;
  color: rgba(232, 185, 35, 0.07);
  letter-spacing: -0.04em;
  line-height: 1;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--light-text);
}

.service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--light-text-muted);
  margin-bottom: 20px;
}

.service-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-yellow-dark);
  background: rgba(232, 185, 35, 0.08);
  border: 1px solid rgba(232, 185, 35, 0.15);
  padding: 6px 14px;
  border-radius: 100px;
}

/* ================================================
   CONSULTATION — DARK SECTION
   ================================================ */

.consultation-section {
  position: relative;
  z-index: 1;
  background: var(--dark-bg);
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 1px 1000px;
}

.consultation-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 70% 50%, rgba(232, 185, 35, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.consultation-container {
  position: relative;
  z-index: 2;
}

.consultation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.consultation-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: 24px;
}

.tag-line-dark {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--brand-yellow);
  border-radius: 2px;
}

.consultation-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--dark-text);
}

.consultation-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--dark-text-muted);
  margin-bottom: 32px;
  max-width: 500px;
}

.consultation-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.consult-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-text);
}

.consultation-continue { margin-top: 8px; }

.continue-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(240, 238, 232, 0.4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.continue-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-family: inherit;
}

.btn-whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.btn-email-alt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--dark-text);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-family: inherit;
}

.btn-email-alt:hover {
  border-color: rgba(232, 185, 35, 0.3);
  background: rgba(232, 185, 35, 0.06);
}

/* Consultation Form */
.consultation-form-wrapper {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.form-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark-text);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(240, 238, 232, 0.6);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--dark-text);
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(240, 238, 232, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: color-mix(in srgb, var(--brand-yellow) 35%, transparent);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-yellow) 12%, transparent);
}

.form-group select option {
  background: #1C1C28;
  color: var(--dark-text);
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--brand-yellow-light), var(--brand-yellow));
  color: #0C0C10;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 24px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  margin-top: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(232, 185, 35, 0.35);
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: rgba(240, 238, 232, 0.35);
  margin-top: 14px;
}

/* ================================================
   BLOG PAGE — ALL STYLES
   ================================================ */

.blog-hero {
  position: relative;
  background: var(--dark-bg);
  padding: 140px 48px 80px;
  overflow: hidden;
}
.blog-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 50%, rgba(232, 185, 35, 0.06) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
}
.blog-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  background: rgba(232, 185, 35, 0.1);
  border: 1px solid rgba(232, 185, 35, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.blog-hero-title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--dark-text);
  margin-bottom: 20px;
}
.blog-hero-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--dark-text-muted);
  max-width: 620px;
}
.blog-filter-section {
  background: var(--light-surface);
  border-bottom: 1px solid var(--light-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.blog-filter-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--light-border);
  background: transparent;
  color: var(--light-text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--brand-yellow);
  color: #0C0C10;
  border-color: var(--brand-yellow);
}
.blog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: 100px;
  padding: 8px 18px;
  color: var(--light-text-muted);
}
.blog-search input {
  border: none;
  background: transparent;
  font-size: 13px;
  color: var(--light-text);
  outline: none;
  width: 180px;
  font-family: inherit;
}
.blog-search input::placeholder { color: var(--light-text-muted); }
.blog-articles { background: var(--light-bg); }
.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 48px 80px;
}
.blog-featured {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  padding: 48px;
  margin-bottom: 40px;
  display: flex;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.featured-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0C0C10;
  background: var(--brand-yellow);
  padding: 5px 14px;
  border-radius: 100px;
}
.featured-content { flex: 1; }
.featured-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  background: rgba(232, 185, 35, 0.1);
  border: 1px solid rgba(232, 185, 35, 0.15);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.featured-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--dark-text);
  margin-bottom: 16px;
  line-height: 1.2;
}
.featured-excerpt {
  font-size: 15px;
  line-height: 1.85;
  color: var(--dark-text-muted);
  margin-bottom: 24px;
}
.featured-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.featured-meta .blog-date,
.featured-meta .blog-read {
  font-size: 12px;
  color: rgba(240, 238, 232, 0.4);
  font-weight: 500;
}
.featured-meta .blog-tag-small {
  font-size: 11px;
  color: var(--brand-yellow);
  font-weight: 600;
}
.featured-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand-yellow-light), var(--brand-yellow));
  color: #0C0C10;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
}
.featured-read-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 185, 35, 0.35);
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-card {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.4s;
  cursor: pointer;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 185, 35, 0.2);
}
.article-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-yellow-dark);
  background: rgba(232, 185, 35, 0.08);
  border: 1px solid rgba(232, 185, 35, 0.15);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.article-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--light-text);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-excerpt {
  font-size: 13px;
  line-height: 1.7;
  color: var(--light-text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: rgba(26, 26, 31, 0.4);
  font-weight: 500;
  border-top: 1px solid var(--light-border);
  padding-top: 14px;
  margin-top: 4px;
}
.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-yellow-dark);
  text-decoration: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--light-border);
  width: 100%;
  transition: gap 0.3s, color 0.3s;
}
.article-read-more:hover { gap: 10px; color: var(--brand-yellow); }
.load-more-wrapper { text-align: center; margin-top: 48px; }
.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--light-text);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 32px;
  border-radius: 14px;
  border: 1px solid var(--light-border);
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}
.load-more-btn:hover {
  border-color: rgba(232, 185, 35, 0.3);
  background: rgba(232, 185, 35, 0.05);
  color: var(--brand-yellow-dark);
}
.load-more-note { font-size: 12px; color: var(--light-text-muted); margin-top: 12px; }
.newsletter-section {
  background: var(--light-bg);
  border-top: 1px solid var(--light-border);
  padding: 80px 48px;
}
.newsletter-container { max-width: 680px; margin: 0 auto; }
.newsletter-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
}
.newsletter-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brand-yellow-light), var(--brand-yellow));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #0C0C10;
}
.newsletter-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--dark-text);
  margin-bottom: 12px;
}
.newsletter-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark-text-muted);
  margin-bottom: 28px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto 14px;
}
.newsletter-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  font-family: inherit;
  color: var(--dark-text);
  outline: none;
  text-align: left;
}
.newsletter-form input::placeholder { color: rgba(240, 238, 232, 0.3); }
.newsletter-form input:focus { border-color: rgba(232, 185, 35, 0.35); }
.newsletter-form button {
  background: linear-gradient(135deg, var(--brand-yellow-light), var(--brand-yellow));
  color: #0C0C10;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
  white-space: nowrap;
}
.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 185, 35, 0.3);
}
.newsletter-note { font-size: 12px; color: rgba(240, 238, 232, 0.3); }
.blog-cta-section {
  background: var(--dark-bg);
  padding: 80px 48px;
  text-align: center;
}
.blog-cta-container { max-width: 600px; margin: 0 auto; }
.blog-cta-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--dark-text);
  margin-bottom: 16px;
}
.blog-cta-desc { font-size: 16px; color: var(--dark-text-muted); margin-bottom: 28px; }

@media (max-width: 1024px) {
  .blog-featured { flex-direction: column; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-filter-container { padding: 14px 24px; }
  .blog-filters { gap: 6px; }
  .blog-search { display: none; }
}
@media (max-width: 768px) {
  .blog-hero { padding: 100px 24px 60px; }
  .blog-hero-title { font-size: 36px; }
  .blog-container { padding: 40px 24px 60px; }
  .blog-featured { padding: 28px; }
  .featured-title { font-size: 22px; }
  .articles-grid { grid-template-columns: 1fr; }
  .blog-filter-container { padding: 12px 24px; overflow-x: auto; }
  .blog-filter-container::-webkit-scrollbar { display: none; }
  .newsletter-section { padding: 60px 24px; }
  .newsletter-card { padding: 32px 24px; }
  .newsletter-form { flex-direction: column; }
  .blog-cta-section { padding: 60px 24px; }
}

/* ================================================
   BLOG TEASER — LIGHT
   ================================================ */

.blog-teaser {
  position: relative;
  z-index: 1;
  background: var(--light-bg);
  border-top: 1px solid var(--light-border);
}

.blog-teaser-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 48px;
}

.blog-teaser-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--light-text-muted);
  max-width: 600px;
  margin-bottom: 24px;
}

.blog-teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-yellow-dark);
  text-decoration: none;
  transition: all 0.3s;
}

.blog-teaser-link:hover {
  gap: 12px;
  color: var(--brand-yellow);
}

.blog-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-card {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.4s;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 185, 35, 0.2);
}

.blog-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-yellow-dark);
  background: rgba(232, 185, 35, 0.08);
  border: 1px solid rgba(232, 185, 35, 0.15);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.blog-card-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--light-text);
  margin-bottom: 10px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: 13px;
  line-height: 1.7;
  color: var(--light-text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(26, 26, 31, 0.4);
  font-weight: 500;
  border-top: 1px solid var(--light-border);
  padding-top: 14px;
}

/* ================================================
   FOOTER — DARK
   ================================================ */

.footer {
  position: relative;
  z-index: 1;
  background: var(--dark-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(232, 185, 35, 0.05), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 48px 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--dark-text);
}

.footer-tagline {
  font-size: 11px;
  color: var(--brand-yellow);
  font-weight: 500;
  margin-top: 3px;
}

.footer-links {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.footer-link {
  color: rgba(240, 238, 232, 0.5);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s;
}

.footer-link:hover {
  color: var(--dark-text);
  background: rgba(255, 255, 255, 0.06);
}

.footer-social {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(240, 238, 232, 0.5);
  text-decoration: none;
  transition: all 0.3s;
}

.social-btn:hover {
  border-color: rgba(232, 185, 35, 0.3);
  color: var(--brand-yellow);
  background: rgba(232, 185, 35, 0.06);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
}

.footer-email {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-yellow);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-email:hover { color: var(--brand-yellow-light); }

.footer-copy {
  font-size: 12px;
  color: rgba(240, 238, 232, 0.3);
}

/* ================================================
   SKIP LINK (Accessibility)
   ================================================ */

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--brand-yellow);
  color: #0C0C10;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  z-index: 100000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ================================================
   TESTIMONIALS — LIGHT SECTION
   ================================================ */

.testimonials-section {
  position: relative;
  z-index: 1;
  background: var(--light-bg);
  border-top: 1px solid var(--light-border);
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.testimonials-intro {
  font-size: 15px;
  line-height: 1.8;
  color: var(--light-text-muted);
  max-width: 600px;
  margin-top: -32px;
  margin-bottom: 48px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: 22px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  box-shadow: var(--shadow-sm);
  position: relative;
  contain: content;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 14px;
  right: 24px;
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  color: var(--brand-yellow);
  opacity: 0.18;
  font-family: Georgia, serif;
  pointer-events: none;
  user-select: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--brand-yellow) 25%, transparent);
}

.testimonial-stars {
  color: var(--brand-yellow);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 18px;
  text-shadow: 0 0 12px color-mix(in srgb, var(--brand-yellow) 30%, transparent);
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--light-text);
  margin-bottom: 24px;
  flex: 1;
  font-style: italic;
  font-weight: 500;
  quotes: none;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--light-border);
}

.testimonial-avatar {
  width: 46px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-yellow-light), var(--brand-yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0C0C10;
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--brand-yellow) 25%, transparent);
}

.testimonial-meta { flex: 1; min-width: 0; }

.testimonial-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--light-text);
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 12px;
  color: var(--light-text-muted);
  font-weight: 500;
  line-height: 1.4;
}

[dir="rtl"] .testimonial-card::before { right: auto; left: 24px; }
[dir="rtl"] .testimonials-intro { text-align: right; direction: rtl; }
[dir="rtl"] .testimonial-card { text-align: right; direction: rtl; }
[dir="rtl"] .testimonial-quote { text-align: right; direction: rtl; }
[dir="rtl"] .testimonial-author { flex-direction: row-reverse; }
[dir="rtl"] .testimonial-meta { text-align: right; direction: rtl; }
[dir="rtl"] .testimonial-name { direction: ltr; unicode-bidi: isolate; text-align: right; }

/* ================================================
   FLOATING WHATSAPP BUTTON
   ================================================ */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
  z-index: 900;
  animation: float 4s ease-in-out infinite;
}

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

/* ================================================
   ANIMATIONS
   ================================================ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 1.2s ease-out forwards;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.opacity-0 { opacity: 0; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* ================================================
   SCROLLBAR (Webkit + Firefox)
   ================================================ */

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 185, 35, 0.4) transparent;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(232, 185, 35, 0.3);
  border-radius: 4px;
  transition: background var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover { background: rgba(232, 185, 35, 0.55); }
::-webkit-scrollbar-corner { background: transparent; }

/* ================================================
   RESPONSIVE — MOBILE
   ================================================ */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-badge { margin: 0 auto 28px; }
  .hero-description { margin: 0 auto 36px; max-width: 600px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { height: 420px; max-width: 540px; margin: 0 auto; }

  .hero-mesh { right: auto; left: 50%; transform: translate(-50%, -50%); width: 100%; }

  .consultation-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-photo {
    width: 280px;
    margin: 0 auto;
  }

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

  .about-stats-row {
    flex-direction: row;
    min-width: unset;
  }

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

@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }
  .navbar.scrolled { padding: 10px 20px; }
  .navbar-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-menu { display: flex; }

  .hero-content { padding: 100px 24px 60px; }

  .section-container { padding: 60px 24px; }

  .hero-visual { height: 420px; }
  .float-card--main { width: 260px; padding: 26px; }
  .float-card-num { font-size: 76px; }
  .float-card-unit { font-size: 42px; }
  .float-card-formula { font-size: 12px; padding: 6px 10px; }
  .float-card--1, .float-card--2, .float-card--3 { min-width: 150px; padding: 12px 14px; }
  .float-card-mini-num { font-size: 17px; }
  .float-card-icon { width: 36px; font-size: 20px; }

  .about-pillars { grid-template-columns: 1fr; }
  .about-stats-row { flex-direction: row; gap: 8px; }
  .about-photo { width: 240px; }

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

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 28px 24px; }
  .testimonial-card::before { font-size: 56px; top: 10px; right: 18px; }

  .consultation-form-wrapper { padding: 24px; }

  .blog-teaser-grid { grid-template-columns: 1fr; }

  .footer-inner { padding: 40px 24px; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .footer-social { justify-content: center; }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg { width: 20px; height: 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 38px; }
  .hero-description { font-size: 15px; }
  .hero-visual { height: 380px; }
  .float-card--main { width: 220px; padding: 22px; }
  .float-card-num { font-size: 64px; }
  .float-card-unit { font-size: 36px; }
  .float-card-formula { font-size: 11px; padding: 6px 8px; }
  .float-card--1 { top: 2%; right: 2%; }
  .float-card--2 { bottom: 4%; left: 0; }
  .float-card--3 { bottom: 0; right: 4%; min-width: 130px; }
  .float-card--1, .float-card--2, .float-card--3 { min-width: 130px; padding: 10px 12px; }
  .float-card-mini-num { font-size: 15px; }
  .float-card-mini-label { font-size: 10px; }
  .hero-trust { flex-direction: column; gap: 10px; }
}

/* ================================================
   PRINT STYLES
   ================================================ */

@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  /* Hide interactive / decorative elements */
  #logoPreloader,
  .whatsapp-float,
  .navbar,
  .mobile-menu,
  .hero-bg-effect,
  .footer-glow,
  .btn-submit,
  .consultation-form-wrapper,
  .quick-contact-card,
  .blog-teaser {
    display: none !important;
  }

  /* Force dark sections to print as light */
  .hero,
  .consultation-section,
  .footer {
    background: #fff !important;
    color: #000 !important;
  }

  /* Ensure text is dark on light background */
  .hero-title,
  .consultation-title,
  .section-title,
  .footer-name {
    color: #000 !important;
    background: none !important;
    -webkit-text-fill-color: #000;
  }

  .hero-description,
  .consultation-desc,
  .about-bio,
  .testimonial-quote {
    color: #333 !important;
  }

  /* Show all sections in flow (no content-visibility hiding) */
  .about-section,
  .services-section,
  .testimonials-section,
  .consultation-section {
    content-visibility: visible;
    contain-intrinsic-size: none;
  }

  /* Avoid page breaks inside cards */
  .service-card,
  .testimonial-card,
  .about-card {
    page-break-inside: avoid;
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }

  /* Links: show URL after text */
  a[href^="http"]:not([href*="karimamiro.com"])::after {
    content: " (" attr(href) ")";
    font-size: 90%;
    color: #666;
  }

  /* Page setup */
  @page {
    margin: 1.5cm;
  }
}

/* ================================================
   WILL-CHANGE HINTS (Performance)
   ================================================ */

.shimmer-text,
.badge-dot,
.whatsapp-float,
.hero-badge .badge-dot {
  will-change: transform, opacity;
}

/* Cleanup will-change after animations end (for long-lived elements) */
.animated-finished {
  will-change: auto;
}