/* ============================================
   DASEN FLOORING - Design System & Global Styles
   Palette: Middle East-first, warm & restrained
   ============================================ */

/* ── Variables ────────────────────────────── */
:root {
  /* Palette */
  --charcoal:    #15130F;
  --walnut:      #3F2A1E;
  --warm-stone:  #EFE7DA;
  --ivory:       #F8F4EC;
  --brass:       #B98A4A;
  --deep-green:  #2F4A3D;
  --warm-gray:   #6F6254;

  /* Semantic aliases */
  --color-header-bg:   var(--ivory);
  --color-footer-bg:   var(--charcoal);
  --color-page-bg:     var(--warm-stone);
  --color-surface:     var(--ivory);
  --color-heading:     var(--charcoal);
  --color-body:        var(--walnut);
  --color-secondary:   var(--warm-gray);
  --color-accent:      var(--brass);
  --color-cta:         var(--deep-green);
  --color-cta-hover:   #243d32;
  --color-rule:        var(--brass);
  --color-whatsapp:    #25D366;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(21,19,15,0.06);
  --shadow-md:   0 2px 8px rgba(21,19,15,0.08);
  --shadow-lg:   0 4px 16px rgba(21,19,15,0.10);

  /* Legacy aliases for backward compat with other pages */
  --header-height: var(--header-h);
  --text-dark:     var(--charcoal);
  --text-medium:   var(--warm-gray);
  --text-light:    rgba(111,98,84,0.4);
  --primary:       var(--brass);
  --primary-dark:  var(--walnut);
  --primary-light: var(--brass);
  --accent:        var(--brass);
  --bg-light:      var(--warm-stone);
  --bg-white:      var(--ivory);
  --radius-lg:     var(--radius);
  --shadow:        var(--shadow-md);
  --shadow-hover:  var(--shadow-lg);

  /* Radii — restrained, 8px max */
  --radius:      6px;
  --radius-sm:   4px;

  /* Spacing */
  --section-py:  80px;
  --inner-max:   1200px;
  --gutter:      24px;

  /* Typography */
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: 0.25s ease;
  --header-h:   72px;
}

/* ── Reset / Base ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 18px; }

body {
  font-family: var(--font-sans);
  color: var(--color-body);
  font-size: 1.05rem;
  line-height: 1.7;
  background: var(--color-page-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* Container — constrained inner content */
.container {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Editorial section — full-width bg, constrained inner */
.section {
  padding: var(--section-py) 0;
}
.section--alt {
  background: var(--color-surface);
}
.section--dark {
  background: var(--charcoal);
  color: var(--ivory);
}
.section--green {
  background: var(--deep-green);
  color: var(--ivory);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
  font-weight: 600;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 12px;
  line-height: 1.25;
}
.section--dark .section-title,
.section--green .section-title {
  color: var(--ivory);
}
.section-subtitle {
  color: var(--color-secondary);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}
.section-rule {
  width: 48px;
  height: 3px;
  background: var(--color-rule);
  border: none;
  margin: 16px auto 0;
}

/* ── Header ───────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--color-header-bg);
  border-bottom: 1px solid rgba(63,42,30,0.08);
  z-index: 1000;
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

/* Logo */
.logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-icon {
  width: 38px; height: 38px;
  background: var(--walnut);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  font-size: 0.85rem;
  font-weight: 700;
}
.logo-mark {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 0 0 1px rgba(63,42,30,0.08);
  flex-shrink: 0;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.5vw, 24px);
  flex: 1 1 auto;
  min-width: 0;
}
.nav-link {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--walnut);
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--brass);
  transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--charcoal);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lang-switcher {
  display: flex;
  background: var(--warm-stone);
  border-radius: var(--radius-sm);
  padding: 3px;
  position: relative;
}
.lang-menu {
  display: flex;
  gap: 2px;
}
.lang-btn {
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--warm-gray);
  transition: var(--transition);
}
.lang-btn:hover { color: var(--charcoal); }
.lang-btn.active {
  background: var(--ivory);
  color: var(--walnut);
  box-shadow: var(--shadow-sm);
}

/* Mobile: dropdown language switcher */
.lang-dropdown-toggle {
  display: none;
}
@media (max-width: 1180px) {
  .lang-switcher {
    display: block;
    padding: 0;
    min-width: 48px;
    width: 48px;
    background: transparent;
    border-radius: var(--radius-sm);
  }
  .lang-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 36px;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--walnut);
    background: var(--ivory);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    width: 100%;
  }
  .lang-dropdown-toggle::after {
    content: '';
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--walnut);
    transition: transform var(--transition);
  }
  .lang-switcher.open .lang-dropdown-toggle::after {
    transform: rotate(180deg);
  }
  .lang-switcher > .lang-btn {
    display: none;
  }
  .lang-menu {
    display: none;
    position: absolute;
    inset-block-start: calc(100% + 8px);
    inset-inline-end: 0;
    z-index: 1002;
    min-width: 78px;
    padding: 4px;
    border: 1px solid rgba(63,42,30,0.12);
    border-radius: var(--radius-sm);
    background: var(--ivory);
    box-shadow: var(--shadow-md);
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .lang-switcher.open .lang-menu {
    display: grid;
  }
  .lang-menu .lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 10px;
    font-size: 0.82rem;
    text-align: center;
    border-radius: 2px;
  }
  .lang-menu .lang-btn.active {
    background: var(--deep-green);
    color: var(--ivory);
  }
}

/* Header WhatsApp link */
.header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--deep-green);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}
.header-whatsapp:hover { color: var(--color-whatsapp); }
.header-whatsapp i { font-size: 1.1rem; }

/* Get Quote button */
.btn-inquiry {
  padding: 10px 20px;
  background: var(--brass);
  color: var(--ivory);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-inquiry:hover {
  background: var(--walnut);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--charcoal);
  transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav-actions {
  display: none;
}

@media (max-width: 1180px) {
  :root { --header-h: 68px; }

  .header-inner {
    justify-content: flex-start;
    gap: 8px;
  }
  .logo {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 0.7rem;
    line-height: 1.05;
    letter-spacing: 0.6px;
    text-align: left;
    direction: ltr;
  }
  .logo span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  [dir="rtl"] .logo {
    direction: rtl;
    justify-content: flex-start;
    text-align: right;
  }
  .logo-mark {
    width: 40px;
    height: 40px;
  }
  .header-actions {
    order: 2;
    gap: 8px;
    margin-inline-start: auto;
  }
  .header-whatsapp {
    width: 36px;
    height: 36px;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--warm-stone);
  }
  .header-whatsapp span { display: none; }
  .header-whatsapp i { font-size: 1.05rem; }
  .header-actions .btn-inquiry { display: none; }

  .menu-toggle {
    display: flex;
    order: 3;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px;
  }

  .nav {
    position: fixed;
    inset-block-start: var(--header-h);
    inset-inline: 0;
    inset-block-end: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 20px var(--gutter) 28px;
    overflow-y: auto;
    background: var(--ivory);
    box-shadow: var(--shadow-md);
    transform: translateY(-104%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(63,42,30,0.1);
    font-size: 1rem;
    white-space: nowrap;
  }
  .nav-link::after {
    inset-inline-start: 0;
    bottom: 8px;
  }
  .mobile-nav-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
    padding-top: 24px;
  }
  .mobile-nav-whatsapp,
  .mobile-nav-inquiry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }
  .mobile-nav-whatsapp {
    background: var(--deep-green);
    color: var(--ivory);
  }
  .mobile-nav-inquiry {
    background: var(--brass);
    color: var(--ivory);
  }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 360px) {
  .header-inner { gap: 6px; }
  .logo {
    gap: 6px;
    font-size: 0.64rem;
    letter-spacing: 0.4px;
  }
  .logo-mark {
    width: 36px;
    height: 36px;
  }
  .header-actions { gap: 6px; }
}

@media (max-width: 480px) {
  .mobile-nav-actions { grid-template-columns: 1fr; }
}

/* ── Buttons ──────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--deep-green);
  color: var(--ivory);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  min-height: 48px;
}
.btn-primary:hover {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47,74,61,0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--ivory);
  border: 2px solid var(--ivory);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  min-height: 48px;
}
.btn-secondary:hover {
  background: var(--ivory);
  color: var(--charcoal);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--deep-green);
  border: 2px solid var(--deep-green);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  min-height: 48px;
}
.btn-outline:hover {
  background: var(--deep-green);
  color: var(--ivory);
}

/* WhatsApp CTA button — visually distinct but not overpowering */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  min-height: 48px;
}
.btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}
.btn-whatsapp i { font-size: 1.2rem; }

/* Text link */
.text-link {
  color: var(--brass);
  font-weight: 500;
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.text-link:hover { color: var(--walnut); }

/* ── Hero ─────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(21,19,15,0.82) 0%,
    rgba(21,19,15,0.45) 50%,
    rgba(21,19,15,0.20) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) 80px;
  max-width: var(--inner-max);
  margin: 0 auto;
  width: 100%;
  color: var(--ivory);
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
  font-weight: 600;
}
.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 720px;
  color: #fff;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  opacity: 0.88;
  margin-bottom: 32px;
  max-width: 600px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-tertiary {
  margin-left: 8px;
  color: var(--brass);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.hero-tertiary:hover { color: var(--ivory); }

/* ── Trust Bar ────────────────────────────── */
.trust-bar {
  background: var(--charcoal);
  padding: 28px 0;
  border-bottom: 3px solid var(--brass);
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  text-align: center;
  padding: 8px 12px;
  border-right: 1px solid rgba(185,138,74,0.2);
}
.trust-item:last-child { border-right: none; }
.trust-item-icon {
  font-size: 1.3rem;
  color: var(--brass);
  margin-bottom: 6px;
}
.trust-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 2px;
}
.trust-item-desc {
  font-size: 0.82rem;
  color: var(--warm-gray);
  line-height: 1.4;
}

/* ── Style Gallery ────────────────────────── */
.style-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.style-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.style-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.style-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.style-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.style-card:hover .style-card-image img {
  transform: scale(1.04);
}
.style-card-body {
  padding: 20px;
}
.style-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.style-card-desc {
  font-size: 0.95rem;
  color: var(--color-secondary);
  margin-bottom: 14px;
  line-height: 1.55;
}
.style-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep-green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.style-card-link:hover { color: var(--brass); }

/* ── Why Choose (Value Blocks) ────────────── */
.value-blocks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.value-block {
  text-align: center;
  padding: 32px 20px;
}
.value-block-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: var(--warm-stone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-green);
  font-size: 1.3rem;
}
.value-block-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.value-block-text {
  font-size: 0.95rem;
  color: var(--color-secondary);
  line-height: 1.6;
}
.section--dark .value-block-icon {
  background: rgba(185,138,74,0.15);
  color: var(--brass);
}
.section--dark .value-block-title {
  color: var(--ivory);
}
.section--dark .value-block-text {
  color: rgba(248,244,236,0.7);
}

/* ── Project Gallery ──────────────────────── */
.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.project-gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.project-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-gallery-item:hover img {
  transform: scale(1.05);
}
.project-gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 14px 14px;
  background: linear-gradient(transparent, rgba(21,19,15,0.75));
  color: var(--ivory);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Featured project items (larger) */


/* Project gallery inline CTA (spans full row) */
.project-gallery-cta {
  grid-column: 1 / -1;
  text-align: center;
  padding: 24px 0;
}

/* ── Craftsmanship Section ────────────────── */
.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.craft-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.craft-images img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}
.craft-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.craft-text p {
  color: var(--color-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
  font-size: 1rem;
}
.section--dark .craft-text h3 { color: var(--ivory); }
.section--dark .craft-text p { color: rgba(248,244,236,0.75); }

/* ── Factory / Quality ────────────────────── */
.factory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.factory-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.factory-images img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}
.factory-images img:first-child,
.factory-images img:nth-child(2) {
  min-height: 260px;
}
.factory-proof-list {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}
.factory-proof-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.factory-proof-icon {
  width: 40px; height: 40px;
  background: var(--warm-stone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-green);
  font-size: 1rem;
  flex-shrink: 0;
}
.factory-proof-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.factory-proof-text p {
  font-size: 0.92rem;
  color: var(--color-secondary);
  line-height: 1.5;
}
.section--dark .factory-proof-icon {
  background: rgba(185,138,74,0.15);
  color: var(--brass);
}
.section--dark .factory-proof-text h4 { color: var(--ivory); }
.section--dark .factory-proof-text p { color: rgba(248,244,236,0.7); }

/* ── Final CTA ────────────────────────────── */
.cta-section {
  background: var(--charcoal);
  padding: var(--section-py) 0;
  text-align: center;
}
.cta-section .section-title { color: var(--ivory); }
.cta-section .section-subtitle { color: rgba(248,244,236,0.7); }
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ── Product Cards ────────────────────────── */
.products-grid,
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.product-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-category {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--walnut);
  color: var(--ivory);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}
.product-info { padding: 16px; }
.product-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.product-specs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.product-spec {
  font-size: 0.85rem;
  color: var(--color-secondary);
  background: var(--warm-stone);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brass);
}
.product-btn {
  padding: 7px 14px;
  background: var(--deep-green);
  color: var(--ivory);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}
.product-btn:hover { background: var(--color-cta-hover); }

/* Customizable badge on product image */
.product-badge-customizable {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--deep-green);
  color: var(--ivory);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Style tag below product name */
.product-style-tag {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--color-secondary);
  background: var(--warm-stone);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

/* Price note (de-emphasized) */
.product-price-note {
  font-size: 0.85rem;
  color: var(--color-secondary);
  font-style: italic;
}

/* Product card actions row */
.product-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* WhatsApp button in product card */
.product-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.product-btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-1px);
}

/* Products page hero banner */
.products-hero {
  background: linear-gradient(135deg, var(--walnut), var(--charcoal));
  color: var(--ivory);
  padding: 140px 0 80px;
  text-align: center;
}
.products-hero .section-eyebrow {
  color: var(--brass);
}
.products-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
  color: #fff;
}
.products-hero p {
  opacity: 0.9;
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* No results block */
.no-results {
  display: none;
  padding: 48px 0;
}
.no-results-icon {
  font-size: 3rem;
  color: var(--color-secondary);
  margin-bottom: 16px;
  opacity: 0.5;
}

/* Products page CTA banner */
.products-cta-banner {
  text-align: center;
  margin-top: 48px;
  padding: 32px 24px;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid rgba(111,98,84,0.12);
}
.products-cta-banner p {
  font-size: 1.05rem;
  color: var(--color-body);
  margin-bottom: 16px;
}

/* ── Product Listing Page ─────────────────── */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-group { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 16px;
  border: 1px solid rgba(111,98,84,0.3);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--color-secondary);
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--deep-green);
  color: var(--ivory);
  border-color: var(--deep-green);
}
.search-box {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}
.search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1px solid rgba(111,98,84,0.25);
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--color-surface);
}
.search-box input:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(185,138,74,0.12);
}
.search-box::before {
  content: '\1F50D';
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
}

/* ── Product Detail Page ──────────────────── */
.product-detail { padding-top: calc(var(--header-h) + 40px); }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.detail-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.detail-main-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  aspect-ratio: 4/3;
}
.detail-main-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs { display: flex; gap: 10px; }
.detail-thumb {
  width: 88px; height: 66px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumb:hover,
.detail-thumb.active { border-color: var(--brass); }
.detail-info h1 { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; color: var(--charcoal); }
.detail-category {
  display: inline-block;
  padding: 3px 12px;
  background: var(--brass);
  color: var(--ivory);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Customization message (prominent, warm) */
.detail-customization-msg {
  color: var(--deep-green);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: rgba(47,74,61,0.06);
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.detail-desc { color: var(--color-secondary); margin-bottom: 24px; line-height: 1.8; }
.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-large { padding: 16px 32px; font-size: 1.05rem; }

/* ── Customization Options Section ────────── */
.detail-customization-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(111,98,84,0.15);
}
.customization-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.customization-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.customization-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.customization-icon {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  background: rgba(47,74,61,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-green);
  font-size: 1.1rem;
}
.customization-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.customization-item p {
  font-size: 0.92rem;
  color: var(--color-secondary);
  line-height: 1.55;
}
.customization-note {
  text-align: center;
  color: var(--color-secondary);
  font-size: 0.98rem;
  margin-top: 28px;
  font-style: italic;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Suitable Projects Section ────────────── */
.detail-projects-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(111,98,84,0.15);
}
.detail-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.detail-project-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.detail-project-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.detail-project-icon {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  background: rgba(185,138,74,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  font-size: 1.1rem;
}
.detail-project-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.detail-project-item p {
  font-size: 0.92rem;
  color: var(--color-secondary);
  line-height: 1.55;
}

.related-section { margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(111,98,84,0.15); }

/* ── About Page ───────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, var(--walnut), var(--charcoal));
  color: var(--ivory);
  padding: 140px 0 80px;
  text-align: center;
}
.about-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; color: #fff; }
.about-hero .section-eyebrow { color: var(--brass); }
.about-hero p { opacity: 0.9; font-size: 1.1rem; max-width: 640px; margin: 0 auto; }
.about-content { padding: 64px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.about-image { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 14px; color: var(--charcoal); }
.about-text .section-eyebrow { margin-bottom: 6px; }
.about-text .section-rule { margin-left: 0; margin-bottom: 20px; }
.about-text p { color: var(--color-secondary); margin-bottom: 14px; line-height: 1.8; font-size: 1rem; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.value-item { display: flex; align-items: center; gap: 10px; }
.value-icon {
  width: 44px; height: 44px;
  background: var(--warm-stone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-green);
  flex-shrink: 0;
}
.value-text h4 { font-weight: 600; margin-bottom: 2px; font-size: 0.92rem; }
.value-text p { font-size: 0.92rem; margin: 0; color: var(--color-secondary); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.certs-grid { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.cert-item {
  text-align: center;
  padding: 20px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  min-width: 140px;
}
.cert-item i { font-size: 2.2rem; color: var(--brass); margin-bottom: 10px; }
.cert-item h4 { font-weight: 600; margin-bottom: 3px; font-size: 0.92rem; }
.cert-item p { font-size: 0.82rem; color: var(--color-secondary); margin: 0; }

/* ── Contact Page ─────────────────────────── */
.contact-hero {
  background: linear-gradient(135deg, var(--walnut), var(--charcoal));
  color: var(--ivory);
  padding: 140px 0 80px;
  text-align: center;
}
.contact-hero .section-eyebrow {
  color: var(--brass);
}
.contact-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
  color: #fff;
}
.contact-hero p {
  opacity: 0.9;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* WhatsApp-first two-column layout */
.contact-lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Left panel: WhatsApp-first */
.contact-wa-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* WhatsApp CTA card */
.wa-cta-card {
  background: var(--deep-green);
  color: var(--ivory);
  padding: 32px 28px;
  border-radius: var(--radius);
  text-align: center;
}
.wa-cta-icon {
  font-size: 2.5rem;
  color: var(--color-whatsapp);
  margin-bottom: 12px;
}
.wa-cta-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ivory);
}
.wa-cta-card p {
  font-size: 0.92rem;
  opacity: 0.85;
  margin-bottom: 20px;
  line-height: 1.6;
}
.wa-cta-card .btn-whatsapp {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 16px 28px;
}
.wa-cta-phone {
  margin-top: 14px;
  font-size: 0.88rem;
  opacity: 0.7;
}
.wa-cta-phone i {
  margin-right: 6px;
}

/* QR code card */
.wa-qr-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 20px;
}
.wa-qr-img {
  flex-shrink: 0;
  width: 130px;
}
.wa-qr-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}
.wa-qr-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.wa-qr-text p {
  font-size: 0.82rem;
  color: var(--color-secondary);
  line-height: 1.5;
}

/* Contact details card */
.wa-details-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.wa-details-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.wa-details-item:last-child { margin-bottom: 0; }
.wa-details-item > i {
  width: 40px; height: 40px;
  background: var(--warm-stone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-green);
  flex-shrink: 0;
  font-size: 0.9rem;
}
.wa-details-item div h4 {
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 0.88rem;
  color: var(--charcoal);
}
.wa-details-item div p {
  color: var(--color-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Visit invitation card */
.wa-visit-card {
  background: var(--warm-stone);
  border-radius: var(--radius);
  padding: 24px 20px;
  border-left: 4px solid var(--brass);
}
.wa-visit-icon {
  font-size: 1.4rem;
  color: var(--brass);
  margin-bottom: 8px;
}
.wa-visit-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.wa-visit-card p {
  font-size: 0.88rem;
  color: var(--color-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}
.wa-visit-card .text-link {
  font-weight: 600;
}

/* Right panel: Form */
.contact-form {
  background: var(--color-surface);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--charcoal);
}
.form-intro {
  font-size: 0.88rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 0.88rem; color: var(--charcoal); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(111,98,84,0.25);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--ivory);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(185,138,74,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236F6254' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--deep-green);
  color: var(--ivory);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}
.btn-submit:hover { background: var(--color-cta-hover); }
.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--warm-stone);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--color-secondary);
  margin-top: 4px;
  transition: var(--transition);
}
.btn-copy:hover { background: var(--brass); color: var(--ivory); }

/* ── Footer ───────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 56px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--brass);
  letter-spacing: 1px;
}
.footer-brand p { opacity: 0.7; line-height: 1.7; font-size: 0.9rem; }
.footer-col h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 14px; color: var(--brass); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { opacity: 0.7; transition: var(--transition); font-size: 0.88rem; }
.footer-col ul li a:hover { opacity: 1; color: var(--brass); }
.footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(248,244,236,0.82);
  font-size: 0.88rem;
  line-height: 1.4;
  transition: var(--transition);
}
.footer-whatsapp-link:hover { color: var(--brass); }
.footer-whatsapp-link i {
  color: var(--color-whatsapp);
  font-size: 1.05rem;
}
.footer-whatsapp-qr {
  width: 118px;
  margin-top: 14px;
  padding: 8px;
  background: var(--ivory);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.footer-whatsapp-qr img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.social-link {
  width: 40px; height: 40px;
  background: rgba(248,244,236,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.9rem;
}
.social-link:hover { background: var(--brass); }
.footer-bottom {
  border-top: 1px solid rgba(248,244,236,0.08);
  padding-top: 20px;
  text-align: center;
  opacity: 0.6;
  font-size: 0.85rem;
}

/* ── Lightbox ────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.active {
  display: flex;
}
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21,19,15,0.88);
}
.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  background: rgba(248,244,236,0.15);
  border-radius: 50%;
  color: var(--ivory);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover {
  background: rgba(248,244,236,0.3);
}

/* ── WhatsApp Float ───────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 3px 10px rgba(37,211,102,0.35);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 16px rgba(37,211,102,0.45);
}

/* ── RTL Support ──────────────────────────── */
[dir="rtl"] .nav-link::after { left: auto; right: 0; }
[dir="rtl"] .product-category { left: auto; right: 10px; }
[dir="rtl"] .search-box::before { left: auto; right: 12px; }
[dir="rtl"] .search-box input { padding: 10px 40px 10px 16px; }
[dir="rtl"] .info-item i { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .value-icon { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .whatsapp-float { right: auto; left: 24px; }
[dir="rtl"] .trust-item { border-right: none; border-left: 1px solid rgba(185,138,74,0.2); }
[dir="rtl"] .trust-item:first-child { border-left: 1px solid rgba(185,138,74,0.2); }
[dir="rtl"] .trust-item:last-child { border-left: none; }
[dir="rtl"] .project-gallery-label { left: auto; right: 0; text-align: right; }
[dir="rtl"] .hero-tertiary { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .factory-proof-item { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .whatsapp-qr-card { flex-direction: row-reverse; }
[dir="rtl"] .detail-thumb { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .detail-thumbs { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .detail-customization-msg { border-left: none; border-right: 3px solid var(--brass); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
[dir="rtl"] .toast { left: auto; right: 50%; transform: translateX(50%) translateY(100px); }
[dir="rtl"] .toast.show { transform: translateX(50%) translateY(0); }
[dir="rtl"] .form-group select { background-position: left 14px center; padding-right: 14px; padding-left: 36px; }
[dir="rtl"] .wa-details-item { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .wa-visit-card { border-left: none; border-right: 4px solid var(--brass); }
[dir="rtl"] .wa-cta-phone i { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .product-badge-customizable { right: auto; left: 10px; }
[dir="rtl"] .product-footer { flex-direction: row-reverse; }
[dir="rtl"] .product-actions { flex-direction: row-reverse; }
[dir="rtl"] .footer-whatsapp-link { flex-direction: row-reverse; }

/* ── Responsive ───────────────────────────── */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-gallery { position: relative; top: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-lead-grid { grid-template-columns: 1fr; }
  .wa-qr-card { flex-direction: column; align-items: center; text-align: center; }
  .style-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .value-blocks-grid { grid-template-columns: repeat(2, 1fr); }
  .project-gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .craft-grid { grid-template-columns: 1fr; }
  .factory-grid { grid-template-columns: 1fr; }
  .customization-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }

  .hero { min-height: 80vh; }
  .hero-content { padding-bottom: 48px; }
  .hero-title { font-size: clamp(1.5rem, 5vw, 2.4rem); }

  .features-grid { grid-template-columns: 1fr; }
  .products-grid,
  .featured-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .values-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }
  .product-footer { flex-direction: column; gap: 8px; align-items: flex-start; }
  .product-actions { width: 100%; }
  .product-btn-whatsapp { flex: 1; justify-content: center; }
  .products-hero { padding: 120px 0 60px; }
  .detail-actions { flex-direction: column; }
  .btn-large { width: 100%; justify-content: center; }
  .customization-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-projects-grid { grid-template-columns: repeat(2, 1fr); }

  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(185,138,74,0.15); padding: 12px; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-bottom: none; }

  .style-gallery-grid { grid-template-columns: 1fr; }
  .value-blocks-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .project-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .craft-grid { grid-template-columns: 1fr; gap: 28px; }
  .factory-grid { grid-template-columns: 1fr; gap: 28px; }
  .craft-images { grid-template-columns: 1fr 1fr; }
  .factory-images { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .container { padding: 0 var(--gutter); }
  .hero-title { font-size: 1.6rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .btn-whatsapp { width: 100%; }
  .hero-tertiary { margin-left: 0; margin-top: 4px; text-align: center; }
  .product-card { max-width: 100%; }
  .value-blocks-grid { grid-template-columns: 1fr; }
  .project-gallery-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn-whatsapp,
  .cta-actions .btn-primary,
  .cta-actions .btn-outline { width: 100%; }
  .trust-bar-inner { grid-template-columns: 1fr; }
  .trust-item { border-bottom: 1px solid rgba(185,138,74,0.15); }
  .trust-item:last-child { border-bottom: none; }
  .customization-grid { grid-template-columns: 1fr; }
  .detail-projects-grid { grid-template-columns: 1fr; }
}

/* ── Utility Classes ──────────────────────── */
.text-center { text-align: center; }
.text-left { text-align: left; margin-left: 0 !important; }
.align-left { text-align: left; }
.align-left .section-rule { margin-left: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.flex-wrap-gap { display: flex; gap: 12px; flex-wrap: wrap; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Loading skeleton */
.loading-skeleton {
  background: linear-gradient(90deg, var(--warm-stone) 25%, rgba(185,138,74,0.08) 50%, var(--warm-stone) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s infinite;
  border-radius: var(--radius);
}
@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 100px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--charcoal);
  color: var(--ivory);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s ease;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* Projects carousel (kept for backward compat on other pages) */
.projects-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.projects-carousel { flex: 1; overflow: hidden; border-radius: var(--radius); }
.projects-track { display: flex; gap: 12px; transition: transform 0.5s ease; }
.projects-track .project-slide {
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.projects-track .project-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.projects-track .project-slide:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.projects-nav {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid rgba(111,98,84,0.2);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  z-index: 2;
}
.projects-nav:hover { background: var(--deep-green); color: var(--ivory); border-color: var(--deep-green); }
.projects-dots { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
.projects-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(111,98,84,0.25);
  cursor: pointer;
  transition: var(--transition);
}
.projects-dot.active { background: var(--brass); transform: scale(1.3); }
