/* ============================================================
   NAGHAM AL-HAYAT — MAIN STYLESHEET
   Mobile-First | RTL Arabic | CSS Variables
   ============================================================ */

/* ── 1. CSS CUSTOM PROPERTIES ────────────────────────────── */
:root {
  /* ── Brand Palette ───────────────────────────── */
  --primary-dark:        #3B2E5E;  /* Deep Violet — nav, footer, headings  */
  --primary-medium:      #5a4580;  /* Lighter violet for gradients          */
  --primary-light:       #7c6aa0;  /* Hover tints                           */
  --primary-lighter:     #ede9f5;  /* Tag/badge backgrounds                 */

  /* ── Accent (CTA / Action) ───────────────────── */
  --accent-cyan:         #14A8C7;  /* Vibrant Cyan — buttons, links, icons  */
  --accent-cyan-hover:   #0e8aa7;  /* Darker cyan on hover                  */
  --accent-cyan-light:   #e0f5fa;  /* Light cyan tint for bg highlights     */

  /* Keep legacy names mapped to new palette */
  --accent-orange:       #14A8C7;
  --accent-orange-hover: #0e8aa7;
  --accent-orange-light: #e0f5fa;

  /* ── Category Icon Colors (unchanged) ───────── */
  --color-cooling: #14A8C7;
  --color-heating: #f97316;
  --color-water:   #06b6d4;
  --color-power:   #eab308;

  /* ── Text ───────────────────────────────────── */
  --text-dark:   #1A1A1A;  /* Charcoal Black — paragraphs, descriptions */
  --text-medium: #555566;  /* Secondary labels                           */
  --text-light:  #8888a0;  /* Placeholder / muted text                   */

  /* ── Backgrounds ────────────────────────────── */
  --bg-white: #ffffff;   /* Primary background                          */
  --bg-light: #F8F9FA;   /* Section separator (off-white / light gray)  */
  --bg-blue:  #ede9f5;   /* Accent tint for icon backgrounds            */

  /* ── Shadows (violet-tinted) ────────────────── */
  --shadow-sm:  0 1px 3px rgba(59,46,94,.08);
  --shadow-md:  0 4px 16px rgba(59,46,94,.10);
  --shadow-lg:  0 8px 32px rgba(59,46,94,.14);
  --shadow-xl:  0 16px 48px rgba(59,46,94,.18);

  /* Radii */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full:9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-base: 0.28s ease;
  --transition-slow: 0.45s ease;

  /* Typography */
  --font-family: 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;

  /* Spacing scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --header-h: 72px;
}

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

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

body {
  font-family: var(--font-family);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-family);
}

select, input, textarea {
  font-family: var(--font-family);
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 3px solid var(--primary-medium);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── 3. UTILITY CLASSES ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1rem;
}

.section-padding {
  padding-block: 5rem;
}

.bg-light { background: var(--bg-light); }

/* ── 4. TYPOGRAPHY ───────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-tag {
  display: inline-block;
  background: var(--primary-lighter);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-medium);
  max-width: 620px;
  margin-inline: auto;
  font-weight: 400;
}

/* ── 5. BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family);
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-sm  { padding: 0.45rem 1.25rem; font-size: 0.85rem; }
.btn-lg  { padding: 0.85rem 2rem;    font-size: 1.05rem; }

/* Primary CTA button — violet-to-cyan gradient */
.btn-orange {
  background: linear-gradient(90deg, #3B2E5E 0%, #236B92 50%, #14A8C7 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 18px rgba(20,168,199,.30);
}

.btn-orange:hover,
.btn-orange:focus-visible {
  background: linear-gradient(90deg, #14A8C7 0%, #236B92 50%, #3B2E5E 100%);
  box-shadow: 0 6px 24px rgba(20,168,199,.45);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-outline-white:hover,
.btn-outline-white:focus-visible {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-product {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  width: 100%;
  justify-content: center;
  margin-top: var(--space-md);
}

.btn-submit {
  width: 100%;
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  justify-content: center;
  position: relative;
  min-height: 54px;
}

.btn-submit .btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-icon { display: none; }
.btn-submit.loading .btn-spinner { display: block; }
.btn-submit.loading { pointer-events: none; opacity: 0.85; }

/* ── 6. ANIMATIONS ───────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

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

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

/* Scroll-triggered animation classes */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

/* Applied when element enters viewport */
.animate-fade-up.in-view,
.animate-slide-right.in-view {
  opacity: 1;
  transform: none;
}

/* Hero animations — play immediately on load */
.hero .animate-fade-up {
  animation: fadeInUp 0.7s ease forwards;
  opacity: 0;
}

/* ── 7. HEADER / NAVIGATION ──────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  background: var(--primary-dark);
  height: var(--header-h);
  transition: box-shadow var(--transition-base), background var(--transition-base);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(59,46,94,.35);
  background: rgba(59,46,94,.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-lg);
}

/* Logo — apply white filter so the dark logo is visible on violet background */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Nav list */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.45rem 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 0.85rem;
  left: 0.85rem;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition-fast);
  transform-origin: right;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.header-cta { display: none; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.hamburger:hover { background: rgba(255,255,255,.1); }

.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

/* Open state */
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 990;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.mobile-overlay.open { display: block; }

/* ── 8. HERO SECTION ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Local image - WebP format for high performance */
  background-image: url('../images/Other-Appliances.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 6s ease;
  will-change: transform;
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 18, 48, 0.95) 0%,   /* Darker start behind the text */
    rgba(59, 46, 94, 0.85) 50%,   /* Rich brand violet */
    rgba(20, 168, 199, 0.40) 100%  /* Accent cyan overlay wash */
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 4rem;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.32);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-title-accent {
  color: var(--accent-cyan);
  display: inline-block;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: rgba(255,255,255,.98);
  margin-bottom: var(--space-md);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-description {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,0.96);
  margin-bottom: var(--space-2xl);
  max-width: 580px;
  line-height: 1.8;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,.6);
  font-size: 0.75rem;
  z-index: 2;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,.6);
  border-radius: 50%;
  animation: scrollBounce 1.6s ease-in-out infinite;
}

/* ── 9. STATS BAR ────────────────────────────────────────── */
.stats-bar {
  background: var(--primary-dark);
  padding-block: var(--space-xl);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}

.stat-icon { font-size: 1.8rem; }

.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}

/* ── 10. ABOUT SECTION ───────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-image-wrapper:hover .about-img { transform: scale(1.03); }

.about-badge-float {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--accent-cyan);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(20,168,199,.4);
}

.badge-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: .9;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.about-objective {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.objective-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--bg-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.objective-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.objective-text {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.7;
}

/* ── 11. PRODUCTS SECTION ────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid rgba(59,46,94,.08);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

/* Featured Product Card styles */
.product-card-featured {
  border: 1px solid rgba(20, 168, 199, 0.25);
  box-shadow: 0 8px 30px rgba(20, 168, 199, 0.06);
  position: relative;
}

.product-card-featured::before {
  content: "★ مميز";
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-cyan);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  z-index: 3;
  box-shadow: 0 4px 10px rgba(20, 168, 199, 0.3);
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

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

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

.product-category-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.product-category-badge.cooling  { background: rgba(20,168,199,.85); }
.product-category-badge.water    { background: rgba(6,182,212,.85);  }
.product-category-badge.heating  { background: rgba(249,115,22,.85); }
.product-category-badge.power    { background: rgba(234,179,8,.85);  }

.product-body {
  padding: var(--space-xl);
}

.product-icon {
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.product-icon.cooling { background: rgba(20,168,199,.12); }
.product-icon.water   { background: rgba(6,182,212,.12);  }
.product-icon.heating { background: rgba(249,115,22,.12); }
.product-icon.power   { background: rgba(234,179,8,.12);  }

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: var(--space-sm);
}

.product-desc {
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.7;
}

/* ── 12. SERVICES SECTION ────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid rgba(59,46,94,.06);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--accent-cyan));
  border-radius: 4px 4px 0 0;
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: right;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.service-card:hover::before { transform: scaleX(1); }

/* Featured card */
.service-card-featured {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #4a3870 100%);
  color: #fff;
  border: none;
}

.service-card-featured::before {
  background: var(--accent-cyan);
}

.service-card-featured .service-title,
.service-card-featured .service-desc { color: #fff; }

.service-card-featured .service-features li { color: rgba(255,255,255,.9); }

.service-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.service-icon { font-size: 2.2rem; }

.service-icon-wrapper.quality  { background: rgba(59,46,94,.1); }
.service-icon-wrapper.delivery { background: rgba(255,255,255,.15); }
.service-icon-wrapper.support  { background: rgba(59,46,94,.1); }

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: var(--space-md);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-medium);
  font-weight: 500;
}

/* Features Banner */
.features-banner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-white);
  border: 1.5px solid var(--primary-lighter);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.feature-badge:hover {
  background: var(--primary-lighter);
  border-color: var(--primary-medium);
  transform: translateY(-2px);
}

/* ── 13. CONTACT SECTION ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

/* Contact Info */
.contact-info-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--primary-lighter);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--bg-light);
}

.contact-info-icon {
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  background: var(--bg-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.contact-info-value {
  font-size: 0.98rem;
  color: var(--text-dark);
  font-weight: 600;
  transition: color var(--transition-fast);
}

a.contact-info-value:hover { color: var(--primary-medium); }

/* Social */
.social-links { margin-top: var(--space-xl); }

.social-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-medium);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.social-icons {
  display: flex;
  gap: var(--space-md);
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.social-icon:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.social-icon.facebook  { background: #1877f2; }
.social-icon.instagram { background: linear-gradient(45deg, #f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-icon.whatsapp  { background: #25d366; }

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(59,46,94,.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
}

.required { color: var(--accent-cyan); }
.optional  { font-weight: 400; font-size: 0.82rem; color: var(--text-light); }

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font-family);
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  direction: rtl;
}

.form-input::placeholder { color: var(--text-light); }

/* LTR input — for phone numbers and email addresses inside RTL layout */
.ltr-input,
input[dir="ltr"],
a[dir="ltr"] {
  direction: ltr;
  text-align: left;
  unicode-bidi: plaintext;
}


.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(20,168,199,.15);
}

.form-input.is-invalid { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.1); }
.form-input.is-valid   { border-color: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.1); }

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.8rem center;
  background-size: 18px;
  padding-left: 2.5rem;
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-error {
  font-size: 0.82rem;
  color: #ef4444;
  font-weight: 600;
  min-height: 1.2em;
}

/* Form groups spacing */
.contact-form { display: flex; flex-direction: column; gap: var(--space-lg); }

/* Form feedback */
.form-feedback {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.form-feedback.success {
  display: block;
  background: #f0fdf4;
  color: #16a34a;
  border: 1.5px solid #86efac;
}

.form-feedback.error {
  display: block;
  background: #fef2f2;
  color: #dc2626;
  border: 1.5px solid #fca5a5;
}

/* Honeypot */
.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ── 14. FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.85);
}

.footer-top { padding: 4rem 0 3rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

/* Footer logo — same white treatment as header logo */
.footer-logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--accent-orange);
  font-weight: 600;
  margin-block: 0.75rem;
}

.footer-about {
  font-size: 0.9rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-social { display: flex; gap: var(--space-sm); }

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--accent-orange);
  color: #fff;
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid rgba(255,255,255,.1);
}

/* Hide product links in footer on mobile */
.footer-col-products {
  display: none;
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-link {
  font-size: 0.92rem;
  color: rgba(255,255,255,.7);
  transition: color var(--transition-fast), padding-right var(--transition-fast);
}

.footer-link:hover { color: var(--accent-orange); padding-right: 0.4rem; }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.9rem; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.footer-contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  background: rgba(0,0,0,.25);
  padding-block: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-copyright {
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
}

.footer-legal-link {
  color: rgba(255,255,255,.6);
  transition: color var(--transition-fast);
}
.footer-legal-link:hover { color: var(--accent-orange); }

/* ── 15. FLOATING ELEMENTS ───────────────────────────────── */

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  left: 1.5rem;
  z-index: 900;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  animation: pulse-ring 2.4s ease-in-out infinite;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.65);
  animation-play-state: paused;
}

.whatsapp-tooltip {
  position: absolute;
  left: 110%;
  background: var(--text-dark);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
  font-family: var(--font-family);
}

.whatsapp-tooltip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: var(--text-dark);
}

.whatsapp-fab:hover .whatsapp-tooltip { opacity: 1; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  background: var(--primary-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  cursor: pointer;
}

.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--accent-cyan); transform: translateY(-3px); }

/* ── 16. BREAKPOINTS ─────────────────────────────────────── */

/* 480px — Larger phones */
@media (min-width: 480px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }

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

/* 768px — Tablets */
@media (min-width: 768px) {
  .container { padding-inline: 1.5rem; }

  .header-cta { display: inline-flex; }

  .main-nav {
    position: static;
    display: flex;
    background: none;
    box-shadow: none;
    padding: 0;
    width: auto;
    transform: none;
  }

  .hamburger { display: none; }

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

  .services-grid { grid-template-columns: repeat(3, 1fr); }

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

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

  /* .footer-col-products { display: block; } */

  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: start;
  }

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

/* 768px and below — Mobile nav */
@media (max-width: 767px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--primary-dark);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 995;
    overflow-y: auto;
    padding: var(--space-xl);
    box-shadow: -4px 0 24px rgba(0,0,0,.25);
  }

  .main-nav.open { transform: translateX(0); }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-link {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
  }

  .nav-link::after { display: none; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* 1024px — Small desktops */
@media (min-width: 1024px) {
  .container { padding-inline: 2rem; }

  .products-grid { grid-template-columns: repeat(3, 1fr); }

  .about-grid { gap: 5rem; }
}

/* 1200px — Large desktops */
@media (min-width: 1200px) {
  :root { --header-h: 80px; }

  .nav-link { padding: 0.5rem 1.1rem; }
}

/* ── 17. ACCESSIBILITY ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .animate-fade-up,
  .animate-slide-right {
    opacity: 1;
    transform: none;
  }
}

/* ── 18. PRINT STYLES ────────────────────────────────────── */
@media print {
  .site-header,
  .whatsapp-fab,
  .back-to-top,
  .hero-scroll-indicator { display: none; }

  body { color: #000; }
  a { text-decoration: underline; }
}