/* =============================================
   أبراج تركي للتجارة - Abraj Turki Trading Est.
   Professional Arabic RTL Website
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ============================
   CSS VARIABLES
   ============================ */
:root {
  --primary: #0d0d0d;
  --secondary: #1a1a1a;
  --teal: #109b9a;
  --teal-dark: #0b7e7d;
  --teal-light: #28b8b7;
  --gold: #c9a84c;
  --gold-light: #e4c97e;
  --gold-dark: #a07c28;
  --white: #ffffff;
  --light: #f8f8f6;
  --gray: #888888;
  --gray-light: #e0e0e0;
  --text-dark: #1a1a1a;
  --text-medium: #555555;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.2);
  --radius: 12px;
  --radius-lg: 20px;
}

/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Cairo', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

/* ============================
   NAVIGATION
   ============================ */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--teal);
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar.scrolled {
  background: var(--teal-dark);
  height: 84px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.18);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.nav-logo img {
  height: 100%;
  width: 96px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text .name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.nav-logo-text .sub {
  font-size: 11px;
  color: rgba(255,255,255,0.78);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
  background: rgba(255,255,255,0.14);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--primary) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.3) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 24px;
  margin-right: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-title span {
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 22px);
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-en {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  margin-bottom: 36px;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(201,168,76,0.45);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1aaf55;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(37,211,102,0.4);
}

.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--primary);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight: 500;
}

.scroll-arrow {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2.5s infinite;
}

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

/* Hero Slider Dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

/* ============================
   SECTION HEADERS
   ============================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--gold-dark);
}

.section-desc {
  font-size: 16px;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

.title-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ============================
   SECTION PADDING
   ============================ */
.section-pad {
  padding: 100px 0;
}

.section-pad-sm {
  padding: 70px 0;
}

/* ============================
   QUICK ACCESS / CATEGORIES
   ============================ */
.categories-section {
  background: var(--light);
  padding: 80px 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  display: block;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border-color: rgba(201,168,76,0.3);
}

.category-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-card-img img {
  transform: scale(1.08);
}

.category-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary) 0%, #2d2d2d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.category-card:hover .category-overlay {
  opacity: 1;
}

.category-card-body {
  padding: 22px 20px;
}

.category-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
  transition: var(--transition);
}

.category-card:hover .category-card-icon {
  background: var(--gold);
}

.category-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.category-card p {
  font-size: 13px;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 16px;
}

.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}

.category-card:hover .category-card-link {
  gap: 10px;
}

/* ============================
   STATS BAR
   ============================ */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1a1a2e 100%);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  font-size: 28px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ============================
   PRODUCTS SECTION
   ============================ */
.products-section {
  background: var(--white);
}

.products-tabs {
  display: flex;
  gap: 8px;
  background: var(--light);
  padding: 6px;
  border-radius: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  flex: 1;
  min-width: 120px;
  padding: 12px 20px;
  border: none;
  background: transparent;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-medium);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.tab-btn:hover:not(.active) {
  color: var(--gold-dark);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

/* Sub-tabs */
.subtabs {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.subtab-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--gray-light);
  background: transparent;
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-medium);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.subtab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary);
}

.subtab-btn:hover:not(.active) {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.subtab-content { display: none; }
.subtab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ============================
   PRODUCT GRID
   ============================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
  border-color: rgba(201,168,76,0.25);
}

.product-img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #f0f0f0;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
}

.product-actions {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateY(0);
}

.product-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
  color: var(--primary);
  text-decoration: none;
}

.product-action-btn:hover {
  background: var(--gold);
  color: var(--white);
}

.product-body {
  padding: 20px;
}

.product-category {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.product-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--light);
  color: var(--text-medium);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.spec-tag svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

.product-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--gray-light);
}

.product-inquire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #25d366;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.product-inquire:hover {
  gap: 10px;
}

/* ============================
   GALLERY SECTION
   ============================ */
.gallery-section {
  background: var(--light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-label {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.gallery-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

/* ============================
   CONTRACTORS SECTION
   ============================ */
.contractors-section {
  background: linear-gradient(135deg, #0d1117 0%, #1a1a2e 100%);
  padding: 100px 0;
}

.contractors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contractors-content .section-tag {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.3);
  color: var(--gold-light);
}

.contractors-content .section-title {
  color: var(--white);
}

.contractors-content .section-desc {
  color: rgba(255,255,255,0.7);
  text-align: right;
  max-width: none;
  margin: 0;
}

.contractors-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 36px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.2);
}

.feature-icon {
  width: 46px;
  height: 46px;
  background: rgba(201,168,76,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}

.contractors-image {
  position: relative;
}

.contractors-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contractors-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--primary);
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 10px 40px rgba(201,168,76,0.4);
}

.contractors-image-badge .num {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.contractors-image-badge .txt {
  font-size: 13px;
  font-weight: 600;
}

/* ============================
   CATALOG SECTION
   ============================ */
.catalog-section {
  background: var(--white);
  padding: 100px 0;
}

.catalog-card {
  background: linear-gradient(135deg, var(--primary) 0%, #1c1c2e 50%, #0d1117 100%);
  border-radius: var(--radius-lg);
  padding: 70px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.catalog-card::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.catalog-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: 100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.catalog-text {
  flex: 1;
  position: relative;
  z-index: 1;
}

.catalog-text .section-tag {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.3);
  color: var(--gold-light);
}

.catalog-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--white);
  margin: 16px 0 12px;
}

.catalog-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
}

.catalog-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.catalog-icon {
  font-size: 80px;
  line-height: 1;
  opacity: 0.15;
  position: absolute;
  bottom: 20px;
  right: 40px;
  pointer-events: none;
}

/* ============================
   CONTACT SECTION
   ============================ */
.contact-section {
  background: var(--light);
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-medium);
  margin-bottom: 36px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.contact-item:hover {
  transform: translateX(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-item-icon.green { background: rgba(37,211,102,0.12); }
.contact-item-icon.blue { background: rgba(14,118,255,0.1); }
.contact-item-icon.orange { background: rgba(255,142,0,0.1); }

.contact-item-text span {
  display: block;
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-item-text strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 450px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 56px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gold);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-right: 4px;
}

.footer-links a::before {
  content: '›';
  color: var(--gold);
  font-size: 16px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: var(--gold);
}

/* ============================
   WHATSAPP FLOATING BUTTON
   ============================ */
.wa-float {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-btn {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
}

.wa-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 40px rgba(37,211,102,0.5);
}

.wa-btn svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

.wa-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: wa-ring 2s infinite;
}

@keyframes wa-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.wa-tooltip {
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
  pointer-events: none;
}

.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================
   LIGHTBOX
   ============================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  position: relative;
  width: min(92vw, 1080px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox-img {
  max-width: 100%;
  max-height: 72vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  left: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}

.lightbox-close:hover { opacity: 1; }

.lightbox-toolbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lightbox-counter {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 700;
}

.lightbox-stage {
  width: 100%;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  gap: 16px;
  align-items: center;
}

.lightbox-nav {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.16);
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-thumbs {
  width: 100%;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.lightbox-thumb {
  width: 84px;
  height: 84px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  flex: 0 0 auto;
}

.lightbox-thumb.active {
  border-color: var(--gold);
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================
   PRODUCT DETAIL MODAL
   ============================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0,0,0,0.3);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-img {
  height: 400px;
  overflow: hidden;
}

.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  padding: 36px;
  overflow-y: auto;
  max-height: 400px;
}

.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,0.9);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover { background: var(--white); }

/* ============================
   PAGE HEADER (inner pages)
   ============================ */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, #1a1a2e 100%);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(201,168,76,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}

.page-header p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  position: relative;
}

.breadcrumb a {
  color: var(--gold);
}

.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ============================
   PRODUCT CATEGORY HERO (tiles page)
   ============================ */
.category-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 60px;
}

.category-hero-img {
  overflow: hidden;
  position: relative;
}

.category-hero-img:first-child {
  grid-row: span 2;
  height: 100%;
}

.category-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.category-hero-img:hover img {
  transform: scale(1.04);
}

/* ============================
   PRODUCT FILTER (catalog pages)
   ============================ */
.filter-bar {
  background: var(--light);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tag {
  padding: 6px 16px;
  border: 1.5px solid var(--gray-light);
  background: var(--white);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Cairo', sans-serif;
}

.filter-tag.active,
.filter-tag:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary);
}

.catalog-intro-card {
  background: linear-gradient(135deg, rgba(16,155,154,0.12), rgba(201,168,76,0.08));
  border: 1px solid rgba(16,155,154,0.18);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
}

.catalog-intro-card p {
  color: var(--text-medium);
  margin-top: 10px;
}

.catalog-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 36px;
}

.catalog-quick-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.catalog-quick-nav a:hover {
  border-color: rgba(16,155,154,0.3);
  color: var(--teal-dark);
  transform: translateY(-2px);
}

/* ============================
   ABOUT SECTION
   ============================ */
.about-section {
  background: var(--white);
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-img-main {
  grid-column: span 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
}

.about-img-sm {
  border-radius: var(--radius);
  overflow: hidden;
  height: 180px;
}

.about-img-main img,
.about-img-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content .section-tag {
  background: rgba(201,168,76,0.1);
}

/* ============================
   SCROLL ANIMATIONS
   ============================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }

/* ============================
   PRODUCTS SHOWCASE (Featured)
   ============================ */
.featured-products {
  background: var(--white);
  padding: 100px 0;
}

.products-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ============================
   MARBLE / CONCRETE / DECOR placeholders
   ============================ */
.coming-soon-section {
  text-align: center;
  padding: 80px 40px;
  background: var(--light);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--gray-light);
}

.coming-soon-section .icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.coming-soon-section h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.coming-soon-section p {
  color: var(--text-medium);
  margin-bottom: 24px;
}

/* ============================
   RESPONSIVE - TABLET
   ============================ */
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .catalog-card {
    flex-direction: column;
    padding: 50px 40px;
    text-align: center;
  }

  .catalog-text p { margin: 0 auto; }

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

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

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

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

  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-img { height: 280px; }
}

/* ============================
   RESPONSIVE - MOBILE
   ============================ */
@media (max-width: 768px) {
  .navbar {
    padding: 0 16px;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    background: var(--teal-dark);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 16px;
    gap: 4px;
    border-top: 2px solid var(--gold);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    margin-right: 0;
    padding: 16px;
  }

  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 15px; }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn { padding: 12px 22px; font-size: 14px; }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .stat-item { border-right: none; }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

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

  .gallery-item:first-child {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .catalog-card {
    padding: 36px 24px;
  }

  .section-pad { padding: 70px 0; }
  .section-pad-sm { padding: 50px 0; }

  .wa-float {
    bottom: 24px;
    left: 24px;
  }

  .wa-btn {
    width: 54px;
    height: 54px;
  }

  .products-tabs {
    flex-direction: column;
    gap: 4px;
  }

  .tab-btn { text-align: right; }

  .products-showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 38px; }
  .categories-grid { grid-template-columns: 1fr; }
}

/* ============================
   PRODUCT GALLERY (Full Catalog)
   ============================ */
.product-section-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid var(--gray-light);
}

.product-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: linear-gradient(135deg, var(--primary), #1a1a2e);
  color: var(--white);
}

.product-section-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.product-section-header .specs-inline {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  flex-wrap: wrap;
}

.product-section-header .specs-inline span {
  background: rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-section-header .badge-mfr {
  background: var(--gold);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
}

.product-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 3px;
  padding: 3px;
}

.product-images-grid a {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f0f0f0;
  cursor: pointer;
}

.product-images-grid a:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.product-images-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.product-images-grid a:hover img {
  transform: scale(1.08);
}

.product-section-footer {
  padding: 16px 28px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.product-img-count {
  font-size: 13px;
  color: var(--gray);
  font-weight: 600;
}

/* Tab Section Headings for Catalog */
.catalog-section-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  padding: 16px 0 8px;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
}

.catalog-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-light);
}

.catalog-section-note {
  color: var(--text-medium);
  margin: -10px 0 24px;
}

.products-grid + .catalog-section-title {
  margin-top: 52px;
}

.product-gallery-trigger {
  display: block;
  height: 100%;
}

.product-gallery-count {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(13,13,13,0.7);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.product-card-note {
  font-size: 13px;
  color: var(--text-medium);
  margin-bottom: 16px;
}

/* Map Placeholder */
.map-placeholder {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 32px;
  min-height: 320px;
  gap: 16px;
}

.map-placeholder .map-icon { font-size: 64px; }

.map-placeholder h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}

.map-placeholder p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  max-width: 300px;
}

@media (max-width: 768px) {
  .product-images-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
  .product-images-grid a:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  .product-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .product-section-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox-stage {
    grid-template-columns: 1fr;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .lightbox-nav.prev {
    right: 8px;
  }

  .lightbox-nav.next {
    left: 8px;
  }
}
