/**
 * ==============================================================================
 * AL SAEEDY CHARCOAL — MASTER STYLESHEET (v7.0 STRICT VISUAL RECONSTRUCTION)
 * Reproducing Approved Desktop (Ref 01) & Mobile (Ref 02) Pixel-Accurately
 *
 * SECTION COLOR SCHEME (Strict Alternating Rhythm):
 *   1. Header:   Dark Translucent (#0B0C10 / rgba(11,12,16,0.88))
 *   2. Hero:     Cinematic Black (#0B0C10) — Single Unified Scene Backdrop
 *   3. Gallery:  Pure Crisp WHITE (#FFFFFF)
 *   4. Reels:    Warm Dark Charcoal (#0B0C10 / Glowing Charcoal Embers Bed)
 *   5. Products: Pure Crisp WHITE (#FFFFFF)
 *   6. Reviews:  Dark Charcoal (#0B0C10)
 *   7. Contact:  Pure Crisp WHITE (#FFFFFF)
 *   8. Footer:   Deep Black (#0B0C10)
 * ==============================================================================
 */

:root {
  /* Core Brand Colors */
  --color-black: #0B0C10;
  --color-dark-surface: #14161D;
  --color-card-dark: #161820;
  --color-charcoal-warm: #1A1210;
  --color-brand-red: #E02020;
  --color-brand-red-dark: #C61A1A;
  --color-brand-red-light: #FF3B3B;
  --color-brand-glow: rgba(224, 32, 32, 0.42);

  /* Light Sections (#FFFFFF) */
  --color-white: #FFFFFF;
  --color-light-bg: #FFFFFF;
  --color-light-border: #E5E7EB;
  --color-text-dark: #111827;
  --color-text-gray: #4B5563;
  --color-text-muted: #9CA3AF;

  /* Typography */
  --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-en: 'Inter', system-ui, -apple-system, sans-serif;

  /* UI Dimensions */
  --header-h: 76px;
  --header-h-mobile: 68px;
  --max-w-container: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Transitions */
  --trans-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==============================================================================
   RESET & BASE
   ============================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  color-scheme: dark light;
  -webkit-text-size-adjust: 100%;
}

html[lang="en"] {
  font-family: var(--font-en);
}

body {
  background-color: var(--color-black);
  color: var(--color-white);
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--trans-fast), color var(--trans-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-w-container);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}

/* ==============================================================================
   SECTION HEADINGS & MOTIF (Lined Heading with Flanked Red Lines)
   ============================================================================== */
.section-heading-lined {
  text-align: center;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .section-heading-lined {
    margin-bottom: 46px;
  }
}

.heading-line-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.red-line {
  display: inline-block;
  width: 36px;
  height: 2.5px;
  background-color: var(--color-brand-red);
  border-radius: var(--radius-pill);
}

@media (min-width: 768px) {
  .red-line {
    width: 50px;
    height: 3px;
  }
}

.section-title {
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-title.text-dark {
  color: var(--color-text-dark);
}

.section-title.text-light {
  color: var(--color-white);
}

.section-subtitle {
  font-size: clamp(13.5px, 1.4vw, 16px);
  line-height: 1.7;
  max-width: 680px;
  margin-inline: auto;
}

.section-subtitle.text-gray {
  color: var(--color-text-gray);
}

.section-subtitle.text-muted {
  color: #9CA3AF;
}

/* Alternating Section Background Classes */
.section-light {
  background-color: var(--color-light-bg);
  color: var(--color-text-dark);
  padding-block: 56px;
}

@media (min-width: 992px) {
  .section-light {
    padding-block: 76px;
  }
}

/* ==============================================================================
   SHARED BUTTONS & CAPSULES
   ============================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), background-color var(--trans-fast), border-color var(--trans-fast);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: var(--color-brand-red);
  color: var(--color-white);
  box-shadow: 0 4px 18px rgba(224, 32, 32, 0.45);
}

.btn-primary:hover {
  background-color: var(--color-brand-red-dark);
  box-shadow: 0 6px 24px rgba(224, 32, 32, 0.6);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 13px 28px;
  font-size: 1.02rem;
}

/* WhatsApp Outline / Dark Capsule Button */
.btn-outline-whatsapp {
  background: rgba(11, 12, 16, 0.65);
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.btn-outline-whatsapp:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #25D366;
  color: #25D366;
  transform: translateY(-2px);
}

/* Directional Arrow (Reflects in RTL / LTR) */
.dir-arrow {
  transition: transform var(--trans-fast);
}

html[dir="rtl"] .dir-arrow {
  transform: scaleX(1);
}

html[dir="ltr"] .dir-arrow {
  transform: scaleX(-1);
}

.btn:hover .dir-arrow {
  transform: translateX(-4px);
}

html[dir="ltr"] .btn:hover .dir-arrow {
  transform: scaleX(-1) translateX(-4px);
}

/* ==============================================================================
   HEADER / NAVIGATION BAR (Sticky Translucent Black #0B0C10)
   ============================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background-color: transparent;
  border-bottom: none;
  z-index: 1000;
  transition: background-color var(--trans-fast), box-shadow var(--trans-fast), border-color var(--trans-fast);
}

.site-header.scrolled {
  position: fixed;
  background-color: rgba(11, 12, 16, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Official Brand Identity (Flame Icon + Bilingual Typography) */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-flame-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(224, 32, 32, 0.5));
}

.flame-svg-img {
  width: 28px;
  height: 34px;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: #9CA3AF;
  letter-spacing: 0.09em;
  font-family: var(--font-en);
}

/* Desktop Navigation Links */
.desktop-nav {
  display: none;
}

@media (min-width: 992px) {
  .desktop-nav {
    display: block;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: #D1D5DB;
  padding: 8px 4px;
  position: relative;
  transition: color var(--trans-fast);
}

.nav-link:hover {
  color: var(--color-white);
}

.nav-link.active {
  color: var(--color-white);
  font-weight: 800;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-brand-red);
  border-radius: var(--radius-pill);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Switcher Pill */
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-en);
  transition: background-color var(--trans-fast), border-color var(--trans-fast);
}

.lang-btn:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

.lang-globe-icon {
  color: var(--color-brand-red);
  display: flex;
  align-items: center;
}

.header-contact-btn {
  display: none;
}

@media (min-width: 640px) {
  .header-contact-btn {
    display: inline-flex;
  }
}

/* Mobile Hamburger Toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 1.3rem;
  color: var(--color-white);
}

@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  background-color: #0E1015;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  z-index: 1050;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  transition: right 0.35s var(--trans-smooth);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: #D1D5DB;
  display: block;
  padding: 8px 0;
}

.mobile-nav-link.active {
  color: var(--color-brand-red);
}

.mobile-drawer-cta {
  width: 100%;
  margin-top: auto;
}

/* ==============================================================================
   SECTION 1 — HERO (Cinematic Black #0B0C10 — Single Cohesive Backdrop)
   ============================================================================== */
.hero-section {
  position: relative;
  background-color: var(--color-black);
  background-image: url('../assets/generated/hero-unified-desktop.jpg');
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
  min-height: 820px;
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

@media (max-width: 767px) {
  .hero-section {
    background-image: url('../assets/generated/hero-unified-mobile.jpg');
    background-position: center top;
    min-height: 720px;
    padding-top: calc(var(--header-h) + 16px);
    padding-bottom: 24px;
  }
}

@media (min-width: 992px) {
  .hero-section {
    min-height: 850px;
    padding-top: calc(var(--header-h) + 30px);
    padding-bottom: 40px;
  }
}

/* Single Unified Backdrop Image Layer */
.hero-bg-layer,
.hero-bg-layer picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
}

@media (max-width: 767px) {
  .hero-bg-img {
    object-position: center top;
  }
}

.hero-bg-scrim {
  position: absolute;
  inset: 0;
  /* Soft subtle dark gradient preserving the real sack & kilns while maximizing text readability */
  background: linear-gradient(180deg, rgba(11,12,16,0.5) 0%, transparent 20%, transparent 80%, rgba(11,12,16,0.95) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

/* Hero Content Wrap (Right side in RTL, Left side remains clear for sack & kilns) */
.hero-content-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 420px;
  padding-top: 20px;
}

@media (max-width: 767px) {
  .hero-content-wrap {
    margin-top: 20px;
    min-height: 380px;
    justify-content: flex-start;
  }
  .hero-copy {
    max-width: 220px;
  }
  .hero-title {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }
  .hero-title-line {
    width: 45px;
    height: 3px;
    margin-top: 6px;
    margin-bottom: 12px;
  }
  .hero-desc {
    font-size: 11.5px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 40px;
    font-size: 0.85rem;
    padding: 0 14px;
    justify-content: center;
  }
}

.hero-copy {
  max-width: 530px;
  text-align: start;
}

.hero-title {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-title-red {
  color: var(--color-brand-red);
  text-shadow: 0 0 28px rgba(224, 32, 32, 0.45);
}

.hero-title-line {
  width: 60px;
  height: 3.5px;
  background-color: var(--color-brand-red);
  border-radius: var(--radius-pill);
  margin-top: 10px;
  margin-bottom: 22px;
  box-shadow: 0 0 14px rgba(224, 32, 32, 0.65);
}

.hero-desc {
  font-size: clamp(15px, 1.35vw, 17.5px);
  color: #D1D5DB;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 530px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  min-height: 52px;
  padding: 0 32px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  background-color: var(--color-brand-red);
  color: var(--color-white);
  box-shadow: 0 4px 22px rgba(224, 32, 32, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-btn-whatsapp {
  min-height: 52px;
  padding: 0 28px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  background-color: rgba(11, 12, 16, 0.5);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (min-width: 768px) {
  .hero-cta-row {
    flex-wrap: nowrap;
  }
}

@media (max-width: 480px) {
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-row .btn {
    width: 100%;
  }
}

/* Bottom 3-Column Feature Strip */
.hero-features-bar {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (min-width: 768px) {
  .hero-features-bar {
    justify-content: flex-start;
    gap: 40px;
  }
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 767px) {
  .hero-features-bar {
    gap: 4px;
    padding-top: 14px;
  }
  .hero-feature-item {
    flex-direction: column;
    text-align: center;
    gap: 4px;
    flex: 1;
  }
  .hf-text {
    align-items: center;
    text-align: center;
  }
  .hf-text strong {
    font-size: 0.74rem;
    white-space: normal;
  }
  .hf-text span {
    font-size: 0.64rem;
    white-space: normal;
  }
  .hf-divider {
    height: 34px;
  }
}

@media (min-width: 768px) {
  .hero-feature-item {
    gap: 14px;
  }
}

.hf-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(224, 32, 32, 0.6));
}

.hf-text {
  display: flex;
  flex-direction: column;
  text-align: start;
}

.hf-text strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-white);
  white-space: nowrap;
}

.hf-text span {
  font-size: 0.72rem;
  color: #9CA3AF;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .hf-text strong {
    font-size: 1.15rem;
  }
  .hf-text span {
    font-size: 0.85rem;
  }
}

.hf-divider {
  display: block;
  width: 1px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .hf-divider {
    width: 1.5px;
    height: 42px;
  }
}

/* ==============================================================================
   SECTION 2 — REAL WORK IMAGE GALLERY (Clean WHITE Section #FFFFFF)
   ============================================================================== */
.gallery-section {
  position: relative;
  background-color: var(--color-white);
  padding: 60px 0 70px;
  overflow: hidden;
}

.gallery-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  padding: 10px 0;
}

.gallery-track-viewport {
  width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.work-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background-color: #F3F4F6;
  flex: 0 0 290px;
  width: 290px;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}

@media (max-width: 640px) {
  .gallery-track {
    gap: 8px !important;
  }
  .work-card {
    flex: 0 0 108px !important;
    width: 108px !important;
    border-radius: 10px;
  }
  .work-card-media {
    height: 80px !important;
  }
  .work-pill-badge {
    font-size: 0.62rem;
    padding: 2px 6px;
    bottom: 5px;
  }
}

@media (min-width: 992px) {
  .work-card {
    flex: 0 0 310px;
    width: 310px;
  }
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.work-card-media {
  position: relative;
  width: 100%;
  height: 210px;
}

@media (max-width: 640px) {
  .work-card-media {
    height: 85px;
  }
  .work-pill-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    bottom: 6px;
  }
}

.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-normal);
}

.work-card:hover .work-card-media img {
  transform: scale(1.05);
}

/* Centered Red Pill Badge */
.work-card-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-brand-red);
  color: var(--color-white);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(224, 32, 32, 0.4);
  pointer-events: none;
}
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(224, 32, 32, 0.35);
  pointer-events: none;
}

/* Circular Navigation Buttons */
.gallery-nav-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}

@media (min-width: 1200px) {
  .gallery-nav-btn {
    display: flex;
  }
}

.gallery-nav-btn.next-btn {
  background-color: var(--color-brand-red);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(224, 32, 32, 0.35);
}

.gallery-nav-btn.prev-btn {
  background-color: var(--color-white);
  border: 1.5px solid var(--color-brand-red);
  color: var(--color-brand-red);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gallery-nav-btn:hover {
  transform: scale(1.08);
}

/* Pagination Dots */
.gallery-dots, .product-dots, .review-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

@media (min-width: 1200px) {
  .gallery-dots, .product-dots, .review-dots {
    display: none;
  }
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #D1D5DB;
  transition: width var(--trans-fast), background-color var(--trans-fast);
}

.dot.active {
  width: 20px;
  border-radius: var(--radius-pill);
  background-color: var(--color-brand-red);
}

/* ==============================================================================
   SECTION 3 — INTERACTIVE SOCIAL REELS (Warm Dark Charcoal & Embers Bed)
   ============================================================================== */
.reels-section {
  position: relative;
  background-color: var(--color-black);
  padding-block: 64px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .reels-section {
    padding-block: 84px;
  }
}

.reels-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.reels-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.reels-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 85%, rgba(224, 32, 32, 0.22) 0%, transparent 60%);
}

.reels-container {
  position: relative;
  z-index: 2;
}

.reels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .reels-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Right Copy in RTL */
.reels-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}

.reels-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-brand-red);
  color: var(--color-white);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(224, 32, 32, 0.4);
}

.reels-title {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 8px;
}

.title-red-bar {
  display: block;
  width: 55px;
  height: 3.5px;
  background-color: var(--color-brand-red);
  border-radius: var(--radius-pill);
  margin-top: 10px;
  margin-bottom: 20px;
}

.reels-desc {
  font-size: clamp(15px, 1.3vw, 17.5px);
  color: #D1D5DB;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}

.reels-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--color-white);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  transition: background-color var(--trans-fast), border-color var(--trans-fast), transform var(--trans-fast);
}

.platform-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.reels-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 32px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  background-color: var(--color-brand-red);
  color: var(--color-white);
  box-shadow: 0 6px 24px rgba(224, 32, 32, 0.5);
}

/* Left Phone Mockup standing on glowing embers */
.reels-phone-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-direction: row-reverse;
}

.reels-title-line {
  display: block;
  width: 60px;
  height: 3.5px;
  background-color: var(--color-brand-red);
  border-radius: var(--radius-pill);
  margin-top: 8px;
  margin-bottom: 20px;
}

/* Floating Vertical Indicator chevrons */
.reel-vertical-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--color-brand-red);
}

.indicator-chevron-btn {
  font-size: 0.75rem;
  color: var(--color-brand-red);
  padding: 4px;
}

.indicator-double-chevron {
  font-size: 1.4rem;
  transform: rotate(90deg);
  font-weight: 900;
  line-height: 1;
}

.indicator-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 0.82rem;
  font-weight: 700;
  color: #D1D5DB;
  letter-spacing: 0.05em;
}

.phone-stand-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 530px;
  background-color: #000;
  border-radius: 38px;
  border: 4.5px solid #2B2D35;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(224, 32, 32, 0.35);
  overflow: hidden;
}

@media (max-width: 480px) {
  .phone-mockup {
    width: 240px;
    height: 460px;
    border-radius: 32px;
  }
}

@media (min-width: 992px) {
  .phone-mockup {
    width: 330px;
    height: 620px;
    border-radius: 42px;
  }
}

.phone-speaker-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 14px;
  background-color: #000;
  border-radius: var(--radius-pill);
  z-index: 10;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  direction: ltr;
}

.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-ui-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 14px 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 25%, transparent 65%, rgba(0,0,0,0.85) 100%);
  color: var(--color-white);
  pointer-events: none;
}

.reel-top-bar, .reel-sidebar-actions, .reel-bottom-info {
  pointer-events: auto;
}

.reel-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-en);
}

.reel-top-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.reel-time {
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFF;
}

.reel-back-arrow {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFF;
  margin-left: 2px;
}

.reel-badge-tag {
  font-size: 0.82rem;
  font-weight: 800;
  color: #FFF;
}

.reel-sound-toggle {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #FFF;
}

.reel-sidebar-actions {
  position: absolute;
  right: 12px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 5;
}

.reel-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: #FFF;
  cursor: pointer;
}

.reel-action-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.reel-action-count {
  font-size: 0.68rem;
  font-weight: 700;
  color: #FFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.reel-bottom-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: start;
  direction: rtl;
  padding-bottom: 8px;
}

.reel-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reel-author-avatar {
  border-radius: 50%;
}

.reel-author-name {
  font-size: 0.82rem;
  font-weight: 700;
}

.reel-follow-chip {
  background: var(--color-brand-red);
  color: #FFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.reel-desc-text {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #E5E7EB;
}

/* Glowing Ember Underglow beneath the phone */
.phone-ember-underglow {
  position: absolute;
  bottom: -18px;
  left: 15%;
  right: 15%;
  height: 36px;
  background: radial-gradient(ellipse at center, rgba(255, 68, 0, 0.75) 0%, rgba(224, 32, 32, 0.35) 55%, transparent 80%);
  filter: blur(12px);
  pointer-events: none;
}

/* ==============================================================================
   SECTION 4 — PRODUCTS (Clean WHITE Section #FFFFFF — 6 Cards Matching Ref 01)
   ============================================================================== */
.products-section {
  position: relative;
  background-color: var(--color-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

@media (max-width: 1199px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
  .product-card {
    min-width: 0;
    overflow: hidden;
    padding: 8px 4px 10px !important;
    border-radius: 10px !important;
  }
  .product-img-box {
    height: 75px !important;
    margin-bottom: 4px !important;
    padding: 2px !important;
    border-radius: 6px !important;
  }
  .product-title {
    font-size: 0.72rem !important;
    margin-bottom: 2px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .product-text {
    font-size: 0.58rem !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-cta {
    min-height: 26px !important;
    font-size: 0.65rem !important;
    padding: 2px 4px !important;
    gap: 3px !important;
  }
  .product-cta .dir-arrow {
    width: 9px;
    height: 9px;
  }
}

.product-card {
  background-color: var(--color-white);
  border: 1px solid #ECECEC;
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), border-color var(--trans-fast);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  border-color: rgba(224, 32, 32, 0.4);
}

.product-img-box {
  width: 100%;
  height: 180px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background-color: #F8F9FA;
  padding: 10px;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--trans-normal);
}

.product-card:hover .product-img-box img {
  transform: scale(1.06);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
}

.product-text {
  font-size: 0.85rem;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 16px;
  min-height: 44px;
  flex-grow: 1;
}

.product-cta {
  width: 100%;
  min-height: 42px;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background-color: var(--color-brand-red);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(224, 32, 32, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==============================================================================
   SECTION 5 — CUSTOMER REVIEWS (Dark Charcoal #0B0C10)
   ============================================================================== */
.reviews-section {
  position: relative;
  background-color: var(--color-black);
  padding-block: 64px;
}

@media (min-width: 992px) {
  .reviews-section {
    padding-block: 80px;
  }
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (max-width: 767px) {
  .reviews-wrapper {
    overflow: hidden;
    position: relative;
    padding-inline: 4px;
  }
  .reviews-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .reviews-grid::-webkit-scrollbar {
    display: none;
  }
  .review-card {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
  }
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.review-card {
  position: relative;
  background: #14161E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
}

.review-quote-badge {
  position: absolute;
  top: 18px;
  left: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-brand-red);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 3px 10px rgba(224, 32, 32, 0.4);
}

[dir="rtl"] .review-quote-badge {
  left: 20px;
  right: auto;
}

.review-stars {
  color: var(--color-brand-red);
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #E5E7EB;
  margin-bottom: 20px;
  flex-grow: 1;
}

.reviewer-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--color-brand-red);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(224, 32, 32, 0.35);
}

.reviewer-meta {
  display: flex;
  flex-direction: column;
  text-align: start;
}

.reviewer-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-white);
}

.reviewer-role {
  font-size: 0.75rem;
  color: #9CA3AF;
}

/* ==============================================================================
   SECTION 6 — CONTACT SECTION (Clean Crisp WHITE Section #FFFFFF)
   ============================================================================== */
.contact-section {
  position: relative;
  background-color: var(--color-white);
  padding-top: 32px;
  padding-bottom: 32px;
}

.contact-card-split {
  background: var(--color-white);
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .contact-card-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 32px 40px;
    gap: 36px;
  }
}

.contact-side-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}

.heading-line-wrap-sm {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.contact-block-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  color: var(--color-text-dark);
}

.red-line-sm {
  display: inline-block;
  width: 28px;
  height: 2.5px;
  background-color: var(--color-brand-red);
  border-radius: var(--radius-pill);
}

.contact-block-desc {
  font-size: 0.88rem;
  color: var(--color-text-gray);
  margin-bottom: 18px;
}

.contact-whatsapp-btn {
  background-color: var(--color-brand-red);
  color: var(--color-white);
  padding: 12px 26px;
  font-size: 0.95rem;
  box-shadow: 0 4px 16px rgba(224, 32, 32, 0.4);
}

.contact-whatsapp-btn:hover {
  background-color: var(--color-brand-red-dark);
}

.contact-split-divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-light-border);
}

@media (min-width: 768px) {
  .contact-split-divider {
    width: 1px;
    height: 90px;
  }
}

.contact-social-circles {
  display: flex;
  align-items: center;
  gap: 14px;
}

.circle-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-brand-red);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(224, 32, 32, 0.35);
  transition: transform var(--trans-fast), background-color var(--trans-fast);
}

.circle-social-btn:hover {
  transform: scale(1.1);
  background-color: var(--color-brand-red-dark);
}

/* ==============================================================================
   FOOTER (Deep Black #0B0C10)
   ============================================================================== */
.site-footer {
  background-color: var(--color-black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 30px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

@media (min-width: 992px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: start;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-flame-svg {
  width: 26px;
  height: 32px;
}

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-white);
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-policy-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.82rem;
  color: #9CA3AF;
}

.footer-policy-links a:hover {
  color: var(--color-white);
}

.pipe-sep {
  color: #4B5563;
}

.footer-copy {
  font-size: 0.78rem;
  color: #6B7280;
}

.dev-signature {
  font-family: var(--font-en);
  font-size: 0.82rem;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tilvix-wordmark {
  color: var(--color-white);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tilvix-icon {
  color: var(--color-brand-red);
}

/* ==============================================================================
   MODAL & TOAST
   ============================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: opacity var(--trans-fast);
}

.modal-backdrop.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-card {
  position: relative;
  background-color: #161820;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-img-wrap {
  width: 100%;
  height: 220px;
  background-color: #0E1015;
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-body {
  padding: 20px 24px 24px;
}

.modal-chip {
  display: inline-block;
  background-color: rgba(224, 32, 32, 0.15);
  color: var(--color-brand-red);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.9rem;
  color: #D1D5DB;
  line-height: 1.6;
  margin-bottom: 12px;
}

.modal-note {
  font-size: 0.78rem;
  color: #9CA3AF;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.btn-outline-dark {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  padding: 8px 18px;
}

.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #1F2937;
  color: var(--color-white);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  font-size: 0.85rem;
  z-index: 3000;
  opacity: 0;
  transition: transform var(--trans-fast), opacity var(--trans-fast);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==============================================================================
   ACCESSIBILITY: PREFERS-REDUCED-MOTION
   ============================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* Master Reference 3-Line Hero Title */
.hero-title-white {
  color: var(--color-white);
  display: block;
}

.hero-title-red {
  color: var(--color-brand-red);
  text-shadow: 0 0 28px rgba(224, 32, 32, 0.55);
  display: block;
}

.hero-title-sub {
  color: var(--color-brand-red);
  font-size: 0.88em;
  font-weight: 800;
  display: block;
}

/* 4-Item Feature Strip Adjustments */
.hero-features-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  width: 100%;
}

@media (max-width: 767px) {
  .hero-features-bar {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
    padding-top: 14px;
  }
  .hero-features-bar .hf-divider {
    display: none !important;
  }
  .hero-feature-item {
    flex-direction: column !important;
    text-align: center !important;
    gap: 3px !important;
  }
  .hf-icon svg {
    width: 20px !important;
    height: 20px !important;
  }
  .hf-text strong {
    font-size: 0.68rem !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }
  .hf-text span {
    font-size: 0.58rem !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }
}

/* Integrated Product Search Bar */
.product-search-container {
  margin: 18px auto 8px;
  max-width: 360px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.product-search-box {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.product-search-box:focus-within {
  border-color: var(--color-brand-red);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.15);
}

.product-search-box .search-icon {
  color: #9CA3AF;
  display: flex;
  align-items: center;
  margin-inline-end: 10px;
}

.product-search-input {
  border: none;
  background: transparent;
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-black);
  outline: none;
}

.product-search-input::placeholder {
  color: #9CA3AF;
  font-weight: 500;
}

.product-search-clear {
  background: none;
  border: none;
  color: #9CA3AF;
  font-size: 1rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-search-clear:hover {
  color: var(--color-brand-red);
}

/* Mobile Products Grid — EXACTLY 2 Cards Per Row (Master Reference Specification) */
@media (max-width: 767px) {
  .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
  }
  .product-card {
    min-width: 0 !important;
    width: 100% !important;
    border-radius: 14px !important;
  }
  .product-img-box {
    height: 125px !important;
    padding: 10px !important;
  }
  .product-card-body {
    padding: 10px 8px !important;
  }
  .product-title {
    font-size: 0.85rem !important;
    margin-bottom: 4px !important;
  }
  .product-text {
    display: none !important; /* Keep cards clean & identical to reference */
  }
  .product-cta {
    min-height: 32px !important;
    font-size: 0.72rem !important;
    padding: 0 10px !important;
    width: 100% !important;
  }
  .product-dots {
    display: none !important; /* No carousel dots needed for static grid */
  }
}

/* Interactive Gallery Image Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.gallery-lightbox.hidden {
  opacity: 0;
  pointer-events: none;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 12, 16, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-media-wrap {
  position: relative;
  max-width: 1000px;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.lightbox-main-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.lightbox-close-btn {
  position: absolute;
  top: -46px;
  left: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--trans-fast);
}

.lightbox-close-btn:hover {
  background: var(--color-brand-red);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 12, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  transition: background var(--trans-fast), transform var(--trans-fast);
  z-index: 10;
}

.lightbox-prev {
  right: -60px;
}

.lightbox-next {
  left: -60px;
}

@media (max-width: 767px) {
  .lightbox-prev {
    right: 8px;
  }
  .lightbox-next {
    left: 8px;
  }
  .lightbox-close-btn {
    top: -42px;
    left: 8px;
  }
}

.lightbox-nav-btn:hover {
  background: var(--color-brand-red);
}

.lightbox-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 12px;
  color: #D1D5DB;
  font-size: 0.9rem;
  font-weight: 600;
}

.lightbox-counter {
  color: var(--color-brand-red);
  font-family: var(--font-en);
  font-weight: 700;
}

/* Gallery Card Hover cursor */
.work-card {
  cursor: pointer;
}


/* --- EXACT MASTER REFERENCE HERO REFINEMENTS --- */
.desktop-cta-row {
  display: flex;
}

.mobile-cta-row {
  display: none;
}

.hero-btn-contact {
  min-height: 52px;
  padding: 0 28px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background-color: rgba(11, 12, 16, 0.6);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--trans-fast);
}

.hero-btn-contact:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
  color: var(--color-white);
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 530px !important;
    padding-top: calc(var(--header-h) + 8px) !important;
    padding-bottom: 14px !important;
    background-image: url('../assets/generated/hero-mobile.webp?v=9') !important;
    background-position: left top !important;
    background-size: cover !important;
  }

  .hero-bg-img {
    object-position: left top !important;
  }

  .desktop-cta-row {
    display: none !important;
  }

  .hero-content-wrap {
    margin-top: 10px !important;
    min-height: auto !important;
    display: flex !important;
    justify-content: flex-start !important; /* In RTL, flex-start is the right side */
    width: 100% !important;
  }

  .hero-copy {
    max-width: 58% !important;
    margin-inline-start: auto !important;
    text-align: start !important;
  }

  .hero-title {
    font-size: 20px !important;
    line-height: 1.2 !important;
  }

  .hero-title-sub {
    font-size: 14px !important;
  }

  .hero-title-line {
    width: 36px !important;
    height: 2.5px !important;
    margin-top: 4px !important;
    margin-bottom: 8px !important;
  }

  .hero-desc {
    font-size: 10.5px !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
    color: #E5E7EB !important;
  }

  .mobile-cta-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 14px !important;
    margin-bottom: 8px !important;
    z-index: 5;
  }

  .mobile-cta-row .hero-btn-primary,
  .mobile-cta-row .hero-btn-contact {
    flex: 1 !important;
    min-height: 38px !important;
    font-size: 0.78rem !important;
    padding: 0 6px !important;
    justify-content: center !important;
    border-radius: var(--radius-pill) !important;
    gap: 6px !important;
  }

  .hero-features-bar {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 4px !important;
    padding-top: 8px !important;
    margin-top: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .hero-feature-item {
    flex-direction: column !important;
    text-align: center !important;
    gap: 2px !important;
  }

  .hf-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  .hf-text strong {
    font-size: 0.65rem !important;
    line-height: 1.15 !important;
  }

  .hf-text span {
    font-size: 0.55rem !important;
    line-height: 1.1 !important;
  }
}
