/*
Theme Name: Doscadesa
Theme URI: https://www.doscadesa.com
Description: Tema corporativo para Doscadesa 2000 S.L. — Ingredientes funcionales para la industria alimentaria.
Author: Doscadesa
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: Proprietary
Text Domain: doscadesa
Domain Path: /languages
Template: kadence
*/

/* ═══════════════════════════════════════════════════════
   DOSCADESA — Design System Tokens
   Basado en Manual de Identidad Grafica + direccion editorial borgona
   ═══════════════════════════════════════════════════════ */

:root {
  /* --- Brand Colors --- */
  --color-burgundy-900: #3D1119;
  --color-burgundy-800: #5A1825;
  --color-burgundy-700: #7B2332;
  --color-burgundy-600: #9B3B4E;
  --color-burgundy-500: #A03A4E;
  --color-burgundy-400: #C85A70;
  --color-burgundy-300: #E08898;
  --color-burgundy-200: #F0B8C2;
  --color-burgundy-100: #FBE4E9;
  --color-burgundy-50:  #FDF2F4;

  /* Pantone 8861 (copper/bronze from brand manual) */
  --color-copper-900: #4A3220;
  --color-copper-800: #6B4C30;
  --color-copper-700: #8B6B42;
  --color-copper-600: #A88454;
  --color-copper-500: #C8985A;
  --color-copper-400: #D4B07A;
  --color-copper-300: #E0C89E;
  --color-copper-200: #EAD8BA;
  --color-copper-100: #F5ECDA;
  --color-copper-50:  #FAF5EC;

  /* --- Neutrals (warm-tinted) --- */
  --color-charcoal:    #141210;
  --color-warm-900:    #1E1B18;
  --color-warm-800:    #2C2420;
  --color-warm-700:    #3D352E;
  --color-warm-600:    #5A5048;
  --color-warm-500:    #7A7068;
  --color-warm-400:    #9A9088;
  --color-warm-300:    #B0A496;
  --color-warm-200:    #D0C8BC;
  --color-warm-100:    #E5DDD2;
  --color-warm-50:     #F0EAE0;

  --color-cream:       #F8F4EE;
  --color-cream-dark:  #EDE6DA;
  --color-warm-white:  #FFFCF8;
  --color-white:       #FFFFFF;

  /* --- Semantic aliases --- */
  --brand-primary:     var(--color-burgundy-700);
  --brand-primary-dark: var(--color-burgundy-800);
  --brand-primary-light: var(--color-burgundy-400);
  --brand-accent:      var(--color-copper-500);
  --brand-accent-light: var(--color-copper-300);

  --text-primary:      var(--color-warm-800);
  --text-secondary:    var(--color-warm-500);
  --text-muted:        var(--color-warm-300);
  --text-inverse:      var(--color-warm-white);

  --bg-primary:        var(--color-cream);
  --bg-secondary:      var(--color-warm-white);
  --bg-dark:           var(--color-charcoal);
  --bg-accent:         var(--color-burgundy-700);

  --border-default:    var(--color-warm-100);
  --border-subtle:     var(--color-warm-50);

  /* --- Division Colors --- */
  --div-meat-bg:       linear-gradient(135deg, #2D1810 0%, #4A2A1C 40%, #6B3D2A 100%);
  --div-food-bg:       linear-gradient(135deg, #0F2418 0%, #1B4332 40%, #2D6A4F 100%);

  /* --- Typography --- */
  --font-display:      'Cormorant Garamond', 'Georgia', serif;
  --font-body:         'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:         'JetBrains Mono', 'Fira Code', monospace;

  --text-xs:   clamp(0.625rem, 0.6rem + 0.15vw, 0.75rem);
  --text-sm:   clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-base: clamp(0.875rem, 0.82rem + 0.25vw, 1rem);
  --text-lg:   clamp(1rem, 0.92rem + 0.35vw, 1.125rem);
  --text-xl:   clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-2xl:  clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --text-3xl:  clamp(2rem, 1.5rem + 2vw, 3rem);
  --text-4xl:  clamp(2.5rem, 1.8rem + 3vw, 4rem);
  --text-5xl:  clamp(3rem, 2rem + 4vw, 5rem);

  /* --- Spacing --- */
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   20px;
  --space-6:   24px;
  --space-8:   32px;
  --space-10:  40px;
  --space-12:  48px;
  --space-16:  64px;
  --space-20:  80px;
  --space-24:  96px;
  --space-32:  128px;

  --container-max: 1440px;
  --container-pad: clamp(20px, 4vw, 48px);

  /* --- Borders & Radius --- */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-full: 100px;

  /* --- Shadows --- */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.05), 0 1px 4px rgba(0,0,0,0.03);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.03);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.04);
  --shadow-brand: 0 4px 24px rgba(123,35,50,0.25);

  /* --- Transitions --- */
  --ease-out:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 200ms;
  --duration-base: 300ms;
  --duration-slow: 500ms;
  --duration-reveal: 800ms;

  /* --- Z-index layers --- */
  --z-base:     1;
  --z-elevated: 10;
  --z-sticky:   100;
  --z-overlay:  200;
  --z-modal:    300;
  --z-toast:    400;
}

/* --- Dark mode sections --- */
[data-theme="dark"] {
  --text-primary: var(--color-warm-white);
  --text-secondary: rgba(255,255,255,0.5);
  --text-muted: rgba(255,255,255,0.25);
  --bg-primary: var(--color-charcoal);
  --border-default: rgba(255,255,255,0.06);
}

/* --- RTL Support --- */
[dir="rtl"] {
  --container-pad-start: var(--container-pad);
  --container-pad-end: var(--container-pad);
}


/* ═══════════════════════════════════════════════════════
   Base Styles — Reset, typography, global elements
   ═══════════════════════════════════════════════════════ */

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-charcoal);
}
h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p { line-height: 1.75; color: var(--text-secondary); }

.text-display { font-family: var(--font-display); }
.text-body { font-family: var(--font-body); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
}

.section--sm { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.section--lg { padding-top: var(--space-32); padding-bottom: var(--space-32); }

/* --- Section Headers --- */
.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.section-label .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-charcoal);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-4);
}
.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  font-weight: 300;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-12);
}
.section-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--brand-primary);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap var(--duration-base) var(--ease-smooth);
  flex-shrink: 0;
}
.section-link:hover { gap: var(--space-4); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all var(--duration-base) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--brand-primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover {
  background: var(--brand-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(123,35,50,0.35);
}
.btn--ghost {
  border: 1px solid var(--border-default);
  color: var(--text-primary);
}
.btn--ghost:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.btn--ghost-light {
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
}
.btn--ghost-light:hover {
  border-color: rgba(255,255,255,0.3);
  color: white;
  background: rgba(255,255,255,0.04);
}
.btn--white {
  background: white;
  color: var(--brand-primary);
  font-weight: 700;
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn--outline-white {
  border: 1.5px solid rgba(255,255,255,0.25);
  color: white;
}
.btn--outline-white:hover {
  border-color: white;
  background: rgba(255,255,255,0.06);
}

/* --- Pills --- */
.pill {
  display: inline-flex;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  transition: all var(--duration-base) var(--ease-smooth);
}
.pill:hover, .pill--active {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: var(--color-burgundy-50);
}

/* --- Cards --- */
.card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  transition: all var(--duration-slow) var(--ease-smooth);
  cursor: pointer;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-primary);
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-reveal) var(--ease-out),
              transform var(--duration-reveal) var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity var(--duration-reveal) var(--ease-out),
              transform var(--duration-reveal) var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity var(--duration-reveal) var(--ease-out),
              transform var(--duration-reveal) var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity var(--duration-reveal) ease,
              transform var(--duration-reveal) ease;
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-primary-light));
  z-index: var(--z-toast);
  width: 0;
  transition: width 0.1s;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
}
@media (max-width: 768px) {
  .section { padding-top: var(--space-16); padding-bottom: var(--space-16); }
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
}

/* --- Utilities --- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.text-burgundy { color: var(--brand-primary); }
.text-copper { color: var(--brand-accent); }
.bg-dark { background: var(--bg-dark); color: var(--text-inverse); }
.bg-cream { background: var(--bg-primary); }
.bg-white { background: var(--bg-secondary); }

/* --- i18n data attributes for translation --- */
[data-i18n] { /* Elements with this attr will be translated by JS */ }


/* ═══════════════════════════════════════════════════════
   Homepage Styles — All dynamic effects, animations, and layout
   ═══════════════════════════════════════════════════════ */

/* --- TICKER --- */
.ticker {
  background: var(--color-charcoal);
  height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: calc(var(--z-sticky) + 1);
}
.ticker::before, .ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--color-charcoal), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--color-charcoal), transparent); }

.ticker__track {
  display: flex;
  gap: 60px;
  animation: tickerScroll 35s linear infinite;
  white-space: nowrap;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker span {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
  letter-spacing: 0.3px;
}
.ticker strong { color: var(--brand-primary-light); font-weight: 600; }
.ticker__sep { color: rgba(255,255,255,0.1); }

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 36px; left: 0; right: 0;
  z-index: var(--z-sticky);
  padding: 0 var(--container-pad);
  transition: all 0.4s var(--ease-smooth);
}
.nav--scrolled {
  top: 0;
  background: rgba(248,244,238,0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 1px 30px rgba(0,0,0,0.04);
}
.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Logo switching */
.nav__logo { display: flex; align-items: center; height: 36px; }
.nav__logo-img { height: 36px; width: auto; object-fit: contain; transition: opacity 0.3s; }
.nav__logo-img--default { display: block; }
.nav__logo-img--light { display: none; }
.nav--hero .nav__logo-img--default { display: none; }
.nav--hero .nav__logo-img--light { display: block; }

.nav__links { display: flex; gap: 24px; align-items: center; }
.nav__link {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  transition: color var(--duration-base);
}
.nav--hero .nav__link { color: rgba(255,255,255,0.55); }
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--brand-primary);
  transition: width var(--duration-base) var(--ease-smooth);
}
.nav__link:hover::after { width: 100%; }
.nav__link:hover { color: var(--brand-primary); }
.nav--hero .nav__link:hover { color: white; }
.nav__link--active { color: var(--color-charcoal) !important; font-weight: 700; }
.nav--hero .nav__link--active { color: white !important; }

.nav__cta::after { display: none !important; }
.nav__lang { display: flex; gap: 3px; margin-left: 12px; }
.nav__lang-btn {
  font-size: 10px; font-weight: 700;
  padding: 4px 8px; border-radius: 4px;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
}
.nav--hero .nav__lang-btn { color: rgba(255,255,255,0.35); }
.nav__lang-btn.active { background: var(--brand-primary); color: white; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: calc(var(--z-modal) + 1);
}
.menu-toggle span {
  display: block;
  width: 100%; height: 2px;
  background: var(--color-charcoal);
  transition: all var(--duration-base) var(--ease-smooth);
  border-radius: 1px;
}
.nav--hero .menu-toggle span { background: white; }
.menu-toggle--open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle--open span:nth-child(2) { opacity: 0; }
.menu-toggle--open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-charcoal);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-smooth);
}
.mobile-menu--open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 28px;
  color: white;
  font-weight: 500;
  transition: color var(--duration-base);
}
.mobile-menu a:hover { color: var(--brand-primary-light); }
.mobile-menu__lang { display: flex; gap: 8px; margin-top: 24px; }
.mobile-menu__lang button {
  font-size: 14px; font-weight: 700;
  padding: 8px 16px; border-radius: 6px;
  color: rgba(255,255,255,0.4);
}
.mobile-menu__lang button.active { background: var(--brand-primary); color: white; }

/* --- HERO --- */
.hero {
  min-height: 100vh;
  background: var(--color-charcoal);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.18;
  filter: saturate(0.6);
  transition: opacity 1.5s ease;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(123,35,50,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(212,184,150,0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(123,35,50,0.06) 0%, transparent 50%);
}
.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
.hero__watermark {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 280px);
  font-weight: 700;
  color: rgba(255,255,255,0.018);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: 8px;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
.hero__lines { position: absolute; inset: 0; pointer-events: none; }
.hero__line {
  position: absolute;
  background: linear-gradient(180deg, transparent, rgba(123,35,50,0.15), transparent);
  width: 1px;
}
.hero__line--1 { left: 20%; top: 0; height: 100%; animation: linePulse 4s ease-in-out infinite; }
.hero__line--2 { left: 50%; top: 10%; height: 80%; animation: linePulse 4s ease-in-out 1s infinite; }
.hero__line--3 { left: 80%; top: 5%; height: 90%; animation: linePulse 4s ease-in-out 2s infinite; }
@keyframes linePulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.8; } }

.hero__content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-accent-light);
  font-weight: 500;
  margin-bottom: 28px;
}
.hero__pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(160,58,78,0.4); }
  70% { box-shadow: 0 0 0 8px rgba(160,58,78,0); }
}
.hero__title {
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 0.98;
  color: white;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-copper-200);
}
.hero__desc {
  font-size: 16px;
  color: rgba(255,255,255,0.38);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero__buttons { display: flex; gap: 14px; align-items: center; }

/* Hero Mosaic */
.hero__right { display: flex; align-items: center; }
.hero-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  height: 420px;
}
.hero-mosaic__tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  background: var(--color-charcoal);
}
.hero-mosaic__tile--large { grid-row: span 2; background: #2A1520; }
.hero-mosaic__tile--top { background: #1A2818; }
.hero-mosaic__tile--bottom { background: #1E1A14; }

.hero-mosaic__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.85);
  transition: all 0.7s var(--ease-smooth);
}
.hero-mosaic__tile:hover .hero-mosaic__img {
  filter: brightness(0.5) saturate(1);
  transform: scale(1.06);
}

.hero-mosaic__tile::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  opacity: 0.15;
  transition: opacity 0.5s var(--ease-smooth);
}
.hero-mosaic__tile--large::before {
  background: var(--color-burgundy-700);
}
.hero-mosaic__tile--top::before {
  background: #2D6A4F;
}
.hero-mosaic__tile--bottom::before {
  background: var(--color-copper-600);
}
.hero-mosaic__tile:hover::before { opacity: 0.25; }

.hero-mosaic__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.05) 55%, transparent);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  z-index: 3;
  transition: background 0.5s;
}
.hero-mosaic__tile:hover .hero-mosaic__overlay {
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 55%, transparent);
}
.hero-mosaic__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
  transition: color 0.4s;
}
.hero-mosaic__tile:hover .hero-mosaic__label { color: rgba(255,255,255,0.7); }

.hero-mosaic__overlay h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-mosaic__tile--large .hero-mosaic__overlay h4 { font-size: 26px; }

.hero-mosaic__tile::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.04);
  z-index: 4;
  pointer-events: none;
  transition: border-color 0.4s;
}
.hero-mosaic__tile:hover::after {
  border-color: rgba(255,255,255,0.12);
}

/* --- STATS --- */
.stats { background: var(--bg-secondary); position: relative; }
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container-max);
  margin: 0 auto;
}
.stat {
  padding: 36px 40px;
  text-align: center;
  border-right: 1px solid var(--border-default);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat::before {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 2px;
  background: var(--brand-primary);
  transform: scaleX(0);
  transition: transform 0.6s var(--ease-smooth);
}
.stat:hover::before { transform: scaleX(1); }
.stat__number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-charcoal);
  line-height: 1;
  transition: color var(--duration-base);
}
.stat:hover .stat__number { color: var(--brand-primary); }
.stat__accent { color: var(--brand-primary); }
.stat__label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 6px;
  font-weight: 500;
}

/* --- DIVISIONS --- */
.divisions__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}
.div-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  transition: all 0.5s var(--ease-smooth);
  cursor: pointer;
  position: relative;
}
.div-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-primary);
}
.div-card__image {
  height: 280px;
  position: relative;
  overflow: hidden;
}
.div-card__image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.05) 100%);
  z-index: 1;
}
.div-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth), filter 0.8s var(--ease-smooth);
}
.div-card:hover .div-card__photo {
  transform: scale(1.08);
  filter: brightness(0.85);
}
.div-card__image--meat { background: var(--div-meat-bg); }
.div-card__image--food { background: var(--div-food-bg); }

.div-card__deco {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  transition: all 0.6s var(--ease-smooth);
}
.div-card:hover .div-card__deco { opacity: 0.12; transform: scale(1.15); }
.div-card__deco--a { width: 220px; height: 220px; background: var(--brand-primary); top: -50px; right: -40px; }
.div-card__deco--b { width: 140px; height: 140px; background: var(--brand-accent); bottom: -30px; left: 15%; }

.div-card__tag {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  color: white;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background var(--duration-base);
}
.div-card:hover .div-card__tag { background: var(--brand-primary); }

.div-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  z-index: 2;
}
.div-card__overlay h3 {
  font-size: 28px;
  color: white;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.div-card__overlay p { font-size: 13px; color: rgba(255,255,255,0.55); }

.div-card__body { padding: 24px 28px; }
.div-card__pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.div-card:hover .pill {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: var(--color-burgundy-50);
}
.div-card__link {
  font-size: 12px;
  color: var(--brand-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
  transition: gap var(--duration-base);
}
.div-card__link:hover { gap: 14px; }
.div-card__arrow {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(123,35,50,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all var(--duration-base);
}
.div-card:hover .div-card__arrow { background: var(--brand-primary); color: white; }

/* --- VALUES --- */
.values__head { margin-bottom: var(--space-12); }
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.value-card {
  padding: 40px 28px;
  border-right: 1px solid var(--border-default);
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}
.value-card:last-child { border-right: none; }
.value-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(123,35,50,0.03), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.value-card:hover::before { opacity: 1; }
.value-card:hover { transform: translateY(-2px); }

.value-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  background: rgba(123,35,50,0.06);
  color: var(--brand-primary);
  transition: all var(--duration-base);
}
.value-card__icon svg { width: 24px; height: 24px; }
.value-card:hover .value-card__icon {
  background: var(--brand-primary);
  color: white;
  transform: scale(1.05) rotate(-3deg);
}
.value-card h4 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.value-card p { font-size: 13px; line-height: 1.65; }

/* --- CERTIFICATIONS --- */
.certs__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}
.certs__title {
  font-size: var(--text-3xl);
  color: white;
  line-height: 1.1;
  margin-bottom: 14px;
}
.certs__desc { font-size: 14px; color: rgba(255,255,255,0.35); line-height: 1.7; }

.certs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cert-card {
  padding: 28px 18px;
  text-align: center;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.4s var(--ease-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cert-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(123,35,50,0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.cert-card:hover::before { opacity: 1; }
.cert-card:hover { border-color: rgba(123,35,50,0.3); transform: translateY(-3px); }

.cert-card__logo {
  width: 60px; height: 60px;
  object-fit: contain;
  margin: 0 auto 12px;
  opacity: 0.75;
  transition: opacity var(--duration-base);
  mix-blend-mode: screen;
}
.cert-card:hover .cert-card__logo { opacity: 1; }
.cert-card__name { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: white; margin-bottom: 3px; position: relative; z-index: 1; }
.cert-card__sub { font-size: 11px; color: rgba(255,255,255,0.3); position: relative; z-index: 1; }
.cert-card__download {
  font-size: 10px;
  color: var(--brand-primary-light);
  margin-top: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--duration-base);
  display: block;
  position: relative;
  z-index: 1;
}
.cert-card:hover .cert-card__download { opacity: 1; transform: translateY(0); }

/* --- RESOURCES --- */
.resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.resource-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-default);
  background: var(--bg-secondary);
  transition: all 0.4s var(--ease-smooth);
  display: block;
}
.resource-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.resource-card--featured {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: white;
}
.resource-card--featured p { color: rgba(255,255,255,0.7); }
.resource-card--featured .resource-card__link { color: white; }

.resource-card__icon { font-size: 28px; margin-bottom: 16px; }
.resource-card h4 {
  font-family: var(--font-body);
  font-size: 17px; font-weight: 700;
  margin-bottom: 8px;
}
.resource-card p { font-size: 13px; line-height: 1.6; margin-bottom: 18px; }
.resource-card__link {
  font-size: 13px; font-weight: 700;
  color: var(--brand-primary);
}

/* --- CTA BANNER --- */
.cta-banner {
  padding: var(--space-24) var(--container-pad);
  background: var(--brand-primary);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.06), transparent 60%);
}
.cta-banner::after {
  content: '\00BF LISTO?';
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(100px, 15vw, 240px);
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}
.cta-banner h2 {
  font-size: var(--text-4xl);
  color: white;
  letter-spacing: -1px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.cta-banner__desc {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}
.cta-banner__buttons {
  display: flex; gap: 14px;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* --- FOOTER --- */
.footer {
  background: var(--color-charcoal);
  color: white;
  padding: 60px var(--container-pad) 28px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer__logo { display: block; margin-bottom: 14px; }
.footer__logo img { height: 32px; width: auto; object-fit: contain; filter: brightness(1.2); }
.footer__brand p { font-size: 13px; color: rgba(255,255,255,0.3); line-height: 1.65; max-width: 260px; margin-bottom: 18px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 13px; font-weight: 700;
  transition: all var(--duration-base);
}
.footer__social a:hover { background: var(--brand-primary); border-color: var(--brand-primary); color: white; }

.footer__col h5 {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-bottom: 18px;
}
.footer__col a {
  display: block; font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
  transition: all var(--duration-base);
  padding-left: 0;
}
.footer__col a:hover { color: white; padding-left: 4px; }
.footer__contact {
  font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.9;
  font-style: normal;
}
.footer__contact strong {
  color: rgba(255,255,255,0.55); font-weight: 600;
  display: block; margin-top: 10px;
}
.footer__contact a { color: rgba(255,255,255,0.35); transition: color var(--duration-base); }
.footer__contact a:hover { color: white; }

.footer__bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255,255,255,0.15);
}
.footer__bottom a {
  color: rgba(255,255,255,0.2);
  margin-left: 18px;
  transition: color var(--duration-base);
}
.footer__bottom a:hover { color: rgba(255,255,255,0.45); }

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-charcoal);
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: var(--z-toast);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.05);
  max-width: 640px;
  font-size: 12px;
  animation: slideUp 0.6s var(--ease-smooth) 1s both;
}
@keyframes slideUp {
  from { transform: translateX(-50%) translateY(100px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}
.cookie-banner p { color: rgba(255,255,255,0.45); line-height: 1.4; }
.cookie-banner a { color: var(--brand-primary-light); font-weight: 600; }
.cookie-banner__buttons { display: flex; gap: 6px; flex-shrink: 0; }
.cookie-banner__btn {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 700;
  transition: all var(--duration-fast);
  font-family: var(--font-body);
}
.cookie-banner__btn--accept { background: var(--brand-primary); color: white; }
.cookie-banner__btn--accept:hover { background: var(--brand-primary-dark); }
.cookie-banner__btn--config { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6); }
.cookie-banner__btn--config:hover { background: rgba(255,255,255,0.1); }
.cookie-banner__btn--reject { background: transparent; color: rgba(255,255,255,0.35); }
.cookie-banner__btn--reject:hover { color: rgba(255,255,255,0.6); }

/* Cookie Modal */
.cookie-modal {
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  display: none;
}
.cookie-modal--open { display: flex; align-items: center; justify-content: center; }
.cookie-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.cookie-modal__content {
  position: relative;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  color: var(--text-primary);
}
.cookie-modal__content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
}
.cookie-modal__group {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-default);
}
.cookie-modal__group p { font-size: 12px; margin-top: 4px; }
.cookie-toggle {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.cookie-toggle input { display: none; }
.cookie-toggle__slider {
  width: 40px; height: 22px;
  background: var(--color-warm-200);
  border-radius: 11px;
  position: relative;
  transition: background var(--duration-base);
}
.cookie-toggle__slider::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform var(--duration-base);
}
.cookie-toggle input:checked + .cookie-toggle__slider { background: var(--brand-primary); }
.cookie-toggle input:checked + .cookie-toggle__slider::after { transform: translateX(18px); }
.cookie-modal__actions {
  display: flex; gap: 10px; margin-top: var(--space-6);
  justify-content: flex-end;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__col:last-child { grid-column: span 3; }
}
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .menu-toggle { display: flex; }
  .hero__content { grid-template-columns: 1fr; gap: 40px; padding-top: 140px; }
  .hero-mosaic { max-width: 100%; height: 300px; }
  .divisions__grid { grid-template-columns: 1fr; }
  .certs__inner { grid-template-columns: 1fr; gap: 40px; }
  .certs__grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .value-card { border-bottom: 1px solid var(--border-default); }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--border-default); }
  .resources__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .ticker { height: 30px; }
  .ticker span { font-size: 11px; }
  .nav { padding: 0 20px; }
  .hero { min-height: auto; padding: 80px 0 40px; }
  .hero__content { padding-top: 100px; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: 1fr; }
  .certs__grid { grid-template-columns: 1fr 1fr; }
  .cta-banner__buttons { flex-direction: column; align-items: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cookie-banner { flex-direction: column; max-width: 90%; bottom: 12px; }
}

/* --- RTL (Arabic) overrides in homepage --- */
[dir="rtl"] .hero-card:hover { transform: translateX(8px); }
[dir="rtl"] .div-card__link { flex-direction: row-reverse; }
[dir="rtl"] .footer__col a:hover { padding-left: 0; padding-right: 4px; }
[dir="rtl"] .ticker__track { animation-direction: reverse; }
[dir="rtl"] .hero__tag { flex-direction: row-reverse; }
[dir="rtl"] .section-label { flex-direction: row-reverse; }


/* ═══════════════════════════════════════════════════════
   RTL (Right-to-Left) Overrides for Arabic
   Applied when html[dir="rtl"]
   ═══════════════════════════════════════════════════════ */

[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

/* Navigation */
[dir="rtl"] .nav__links { flex-direction: row-reverse; }
[dir="rtl"] .nav__lang { margin-left: 0; margin-right: 12px; }
[dir="rtl"] .nav__link::after { left: auto; right: 0; }
[dir="rtl"] .nav__logo { margin-right: 0; }

/* Ticker */
[dir="rtl"] .ticker::before { left: auto; right: 0; background: linear-gradient(-90deg, var(--color-charcoal), transparent); }
[dir="rtl"] .ticker::after { right: auto; left: 0; background: linear-gradient(90deg, var(--color-charcoal), transparent); }

/* Hero */
[dir="rtl"] .hero__content { direction: rtl; }
[dir="rtl"] .hero__buttons { flex-direction: row-reverse; }
[dir="rtl"] .hero-card { flex-direction: row-reverse; }
[dir="rtl"] .hero-card__arrow { margin-left: 0; margin-right: auto; transform: rotate(180deg); }

/* Section Headers */
[dir="rtl"] .section-head { flex-direction: row-reverse; }
[dir="rtl"] .section-link { flex-direction: row-reverse; }

/* Division Cards */
[dir="rtl"] .div-card__tag { left: auto; right: 20px; }
[dir="rtl"] .div-card__overlay { text-align: right; }
[dir="rtl"] .div-card__pills { justify-content: flex-end; }

/* Value Cards */
[dir="rtl"] .values__grid .value-card { border-right: none; border-left: 1px solid var(--border-default); }
[dir="rtl"] .values__grid .value-card:last-child { border-left: none; }

/* Certifications */
[dir="rtl"] .certs__inner { direction: rtl; }

/* Resource Cards */
[dir="rtl"] .resource-card { text-align: right; }

/* Footer */
[dir="rtl"] .footer__grid { direction: rtl; }
[dir="rtl"] .footer__col a { padding-left: 0; }
[dir="rtl"] .footer__bottom { flex-direction: row-reverse; }
[dir="rtl"] .footer__bottom a { margin-left: 0; margin-right: 18px; }
[dir="rtl"] .footer__social { flex-direction: row-reverse; }

/* Forms */
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select { text-align: right; }
[dir="rtl"] label { text-align: right; }

/* Buttons */
[dir="rtl"] .btn { flex-direction: row-reverse; }

/* Cookie Banner */
[dir="rtl"] .cookie-banner { flex-direction: row-reverse; }
[dir="rtl"] .cookie-banner__buttons { flex-direction: row-reverse; }

/* Mobile Menu */
[dir="rtl"] .mobile-menu { text-align: right; }
[dir="rtl"] .mobile-menu__lang { flex-direction: row-reverse; }

/* Stats */
[dir="rtl"] .stat__number { direction: ltr; }

/* Scroll Reveals */
[dir="rtl"] .reveal-left { transform: translateX(60px); }
[dir="rtl"] .reveal-left.visible { transform: translateX(0); }
[dir="rtl"] .reveal-right { transform: translateX(-60px); }
[dir="rtl"] .reveal-right.visible { transform: translateX(0); }

/* Filter Bar */
[dir="rtl"] .filter-bar { flex-direction: row-reverse; }
[dir="rtl"] .filter-bar__search { margin-left: 0; margin-right: auto; }

/* Product Grid */
[dir="rtl"] .product-card__link { flex-direction: row-reverse; }

/* Timeline */
[dir="rtl"] .timeline { direction: rtl; }

/* Contact Form */
[dir="rtl"] .contact-form { direction: rtl; }

/* Arabic font adjustment */
[dir="rtl"] body {
  font-family: 'Outfit', 'Segoe UI', 'Tahoma', sans-serif;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6,
[dir="rtl"] .section-title, [dir="rtl"] .hero__title {
  font-family: 'Cormorant Garamond', 'Traditional Arabic', serif;
  letter-spacing: 0;
}
