﻿:root {
  --bg: #f7fafc;
  --surface: #ffffff;
  --muted: #6b7280;
  --text: #0f172a;
  --accent: #d4a013;
  --accent-alt: #128c7e;
  --accent-soft: #f5e5b8;
  --border: #e5e7eb;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at 25% 20%, rgba(212, 160, 19, 0.08), transparent 32%),
              radial-gradient(circle at 80% 10%, rgba(15, 23, 42, 0.07), transparent 28%),
              var(--bg);
  color: var(--text);
  line-height: 1.8;
}

img { max-width: 100%; display: block; border-radius: var(--radius); }
h1, h2, h3, h4 { color: var(--text); line-height: 1.3; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }

.preload { overflow: hidden; }
.preload main,
.preload header,
.preload footer { filter: blur(6px); }
.splash {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(212, 160, 19, 0.18), rgba(15, 23, 42, 0.88));
  display: grid;
  place-items: center;
  z-index: 9999;
  overflow: hidden;
}
.splash::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(0,0,0,0.15));
  mix-blend-mode: screen;
  opacity: 0.75;
  pointer-events: none;
}
.splash .logo-wrap {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #fff;
  text-align: center;
  animation: logo-rise 0.9s ease forwards;
}
.splash img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,0.7);
  box-shadow: 0 20px 36px rgba(0,0,0,0.35);
}
.splash p { color: #e5e7eb; font-weight: 700; letter-spacing: 0.5px; text-shadow: 0 3px 8px rgba(0,0,0,0.5); }
.splash .door {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(15,23,42,0.9));
  transform-origin: center;
  z-index: 2;
  box-shadow: inset 0 -10px 30px rgba(0,0,0,0.35);
}
.splash .door::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: rgba(255,255,255,0.3);
  top: 50%;
  opacity: 0.7;
}
.splash .door.top { clip-path: inset(0 0 50% 0); }
.splash .door.bottom { clip-path: inset(50% 0 0 0); }
.loaded .splash .door.top { animation: door-open-top 1s ease-in-out forwards 0.4s; }
.loaded .splash .door.bottom { animation: door-open-bottom 1s ease-in-out forwards 0.4s; }
.loaded .splash .logo-wrap { animation: logo-fade 0.4s ease 1.1s forwards; }
.loaded .splash { animation: splash-fade 0.45s ease 1.35s forwards; pointer-events: none; }

@keyframes door-open-top { to { transform: translateY(-100%); } }
@keyframes door-open-bottom { to { transform: translateY(100%); } }
@keyframes splash-fade { to { opacity: 0; visibility: hidden; } }
@keyframes logo-rise { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes logo-fade { to { opacity: 0; transform: translateY(-8px); } }

.hero > .top-nav,
.hero > .hero-content,
.hero > .stat-bar,
.section > *:not(.section-header),
.section > .section-header,
.cta-content,
.footer > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.page-hero > .top-nav,
.page-hero > .page-hero-content {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.hero {
  padding: 32px clamp(18px, 4vw, 64px) 64px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f5f8 40%, #eef2f7 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before, .hero::after {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(140px);
  opacity: 0.45;
}
.hero::before { background: rgba(212, 160, 19, 0.16); top: -160px; right: -120px; }
.hero::after { background: rgba(15, 23, 42, 0.06); bottom: -160px; left: -60px; }

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 60px; height: 60px; object-fit: cover; border: 1px solid var(--border); background: #fff; }
.brand-label { font-weight: 800; font-size: 18px; color: var(--text); }
.tagline { color: var(--muted); font-size: 14px; }

.nav-actions { display: flex; gap: 10px; }
.nav-links a { font-weight: 800; }
.nav-links .active-link {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
}

.hero-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: center; position: relative; z-index: 1; }
.hero .copy h1 { font-size: clamp(30px, 4vw, 44px); margin: 12px 0; }
.hero .lede { max-width: 640px; font-size: 17px; }
.hero-actions { display: flex; gap: 12px; margin: 18px 0; flex-wrap: wrap; }

.eyebrow { letter-spacing: 1px; color: var(--accent); font-weight: 800; font-size: 13px; }
.lede { font-size: 16px; }

.solid, .ghost {
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  display: inline-block;
}

.solid {
  background: linear-gradient(135deg, #f5d66c, var(--accent));
  color: #1f2937;
  box-shadow: 0 10px 25px rgba(212, 160, 19, 0.25);
}

.ghost {
  border-color: var(--border);
  background: #fff;
  color: var(--text);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.solid:focus-visible,
.ghost:focus-visible,
.whatsapp-button:focus-visible {
  outline: 2px solid var(--accent-alt);
  outline-offset: 3px;
}

.solid:hover, .ghost:hover { transform: translateY(-1px); }
.solid:active, .ghost:active { transform: translateY(0); }

.pill-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pill-list span {
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

.hero-visual { display: flex; justify-content: center; }
.image-stack { position: relative; width: min(440px, 100%); }
.image-stack .main { border: 1px solid var(--border); box-shadow: var(--shadow); }
.image-stack .floating {
  position: absolute;
  width: 160px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: float 8s ease-in-out infinite;
}
.image-stack .one { top: 12%; left: -8%; }
.image-stack .two { bottom: 6%; right: -10%; animation-delay: 1s; }

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

.stat-bar {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.stat-number { font-weight: 800; font-size: 18px; color: var(--text); }
.stat-label { color: var(--muted); font-size: 14px; }

.section {
  padding: 64px clamp(18px, 4vw, 64px);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.section.alt { background: #ffffff; }
.section.slim { padding-top: 32px; padding-bottom: 48px; }

.section-header { text-align: center; max-width: 900px; margin: 0 auto 36px; }
.section-header h2 { font-size: clamp(26px, 3vw, 34px); margin: 8px 0; }

.grid { display: grid; gap: 18px; }
.products { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.highlights { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--surface);
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.10); }

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 160, 19, 0.06), rgba(15, 23, 42, 0.04));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: 6px; position: relative; z-index: 1; }
.card p { position: relative; z-index: 1; }
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 10px;
  border: 1px solid rgba(212, 160, 19, 0.3);
  position: relative;
  z-index: 1;
}

.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; align-items: center; }
.steps { list-style: none; display: grid; gap: 14px; counter-reset: steps; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); position: relative; }
.steps li h4 { margin-bottom: 6px; }
.steps li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--text);
  display: grid;
  place-items: center;
  font-weight: 700;
  border: 1px solid rgba(212, 160, 19, 0.3);
}
.steps p { padding-left: 44px; }

.note { background: rgba(212, 160, 19, 0.12); border: 1px solid rgba(212, 160, 19, 0.36); padding: 12px; border-radius: var(--radius); color: #6b4b05; font-weight: 700; margin-top: 10px; }
.visual { display: grid; gap: 12px; grid-template-columns: 1fr 0.75fr; }
.image-frame { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #f7f7fb; box-shadow: var(--shadow); }
.image-frame.small { grid-column: 2 span 1; }

.highlight { background: #ffffff; }

.cta {
  padding: 64px clamp(18px, 4vw, 64px);
  background: linear-gradient(135deg, #fdfbf4, #f5e5b8);
  border-top: 1px solid rgba(212, 160, 19, 0.25);
}

.cta-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: center; }
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow);
}

.contact-note { color: var(--text); font-weight: 700; text-align: center; }
.whatsapp-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #25d366, var(--accent-alt));
  border: 1px solid rgba(18, 140, 126, 0.3);
  box-shadow: 0 12px 28px rgba(18, 140, 126, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-button:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(18, 140, 126, 0.32); }
.whatsapp-button:active { transform: translateY(0); }
.fine-print { font-size: 12px; color: var(--muted); text-align: center; }

.footer {
  padding: 28px clamp(18px, 4vw, 64px);
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #e5e7eb;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 46px; height: 46px; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.25); background: #fff; }
.footer-meta { display: flex; flex-direction: column; gap: 6px; }
.footer .links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer a { color: #fbbf24; font-weight: 700; }
.footer .brand-label { color: #fefce8; }
.footer .tagline { color: #cbd5e1; }
.footer-rights { margin: 0; color: #cbd5e1; font-size: 13px; }

/* Products page */
.products-page { background: var(--bg); }

.page-hero {
  padding: 28px clamp(18px, 4vw, 64px) 48px;
  background: linear-gradient(120deg, #fefcf7 0%, #f3f7f2 45%, #eef3fb 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before, .page-hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.45;
}
.page-hero::before { width: 520px; height: 520px; background: rgba(15, 81, 50, 0.16); top: -160px; left: -80px; }
.page-hero::after { width: 420px; height: 420px; background: rgba(212, 160, 19, 0.12); bottom: -180px; right: -120px; }

.page-nav { margin-bottom: 28px; position: relative; z-index: 1; }
.page-hero-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; align-items: center; position: relative; z-index: 1; }
.page-hero .copy h1 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0; }
.page-hero .lede { max-width: 680px; }

.filter-stack { display: grid; gap: 12px; margin-top: 12px; }
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.filter-meta { display: flex; gap: 10px; align-items: center; font-weight: 800; color: var(--text); }
.filter-meta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }

.chip-group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--border);
  background: #f8fafc;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.chip:hover { transform: translateY(-1px); }
.chip.active { background: #0f5132; color: #fff; border-color: #0f5132; box-shadow: 0 12px 26px rgba(15, 81, 50, 0.22); }

.product-visual { display: flex; justify-content: center; }
.visual-card {
  background: linear-gradient(150deg, #f7f9fb, #edf5ef);
  border: 1px solid rgba(15, 81, 50, 0.16);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  max-width: 420px;
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.visual-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(15, 81, 50, 0.14), transparent 40%),
    radial-gradient(circle at 80% 25%, rgba(212, 160, 19, 0.12), transparent 46%);
  pointer-events: none;
}

.catalog { background: var(--bg); }
.catalog-section { border: none; padding-top: 42px; }
.catalog-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.contact-page { background: #f7f8fb; }
.contact-hero { background: linear-gradient(135deg, #fefcf7, #eef3fb); }
.contact-hero-content { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.contact-info { gap: 10px; }
.contact-info .contact-line { display: flex; gap: 8px; align-items: center; font-weight: 700; }
.contact-info .label { color: var(--muted); }
.contact-info .emphasize a { color: var(--text); font-weight: 800; }
.contact-info .contact-value { direction: ltr; unicode-bidi: bidi-override; }

.contact-main { background: #f7f8fb; }
.contact-section { border: none; }
.contact-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
  display: grid;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-row { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-pill {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
  display: grid;
  gap: 4px;
  min-width: 220px;
  text-align: center;
}
.contact-pill.primary {
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
  color: #fff;
  border-color: #1e3a8a;
}
.contact-pill.primary .label,
.contact-pill.primary .contact-value { color: #fff; }
.contact-value {
  font-weight: 800;
  color: var(--text);
  direction: ltr;
  unicode-bidi: bidi-override;
  display: inline-block;
}
.contact-lede { margin: 6px 0; color: var(--text); font-weight: 700; }
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-actions .wide { min-width: 200px; text-align: center; }
.contact-actions {
  justify-content: space-between;
  align-items: center;
}
.contact-actions .action-left {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.contact-actions .ghost { background: #fff; border-color: var(--border); }
.contact-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-panel-header { display: grid; gap: 6px; }
.contact-row.contact-quick { gap: 10px; }
.contact-pill.accent {
  background: linear-gradient(135deg, #1d976c, #0f5132);
  color: #fff;
  border-color: #0f5132;
}
.contact-pill.accent .label,
.contact-pill.accent .contact-value,
.contact-pill.accent .micro-note { color: #fff; }
.micro-note { font-size: 12px; color: var(--muted); }
.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(212, 160, 19, 0.4);
  font-weight: 800;
  color: var(--text);
  box-shadow: 0 8px 20px rgba(212, 160, 19, 0.15);
  white-space: nowrap;
}
.mobile-contact-bar {
  position: fixed;
  inset-inline: 12px;
  bottom: 14px;
  display: none;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
  z-index: 999;
  backdrop-filter: blur(10px);
}
.mobile-contact-bar .solid,
.mobile-contact-bar .ghost {
  flex: 1;
  text-align: center;
  min-width: auto;
}

.summary-banner {
  display: grid;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  margin: 0 auto 18px;
  max-width: 900px;
}
.summary-banner p { margin: 0; color: var(--text); font-weight: 700; }

.product-card { display: grid; gap: 12px; grid-template-rows: auto 1fr; }
.product-thumb { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); background: #f6f6fa; }
.card-body { display: grid; gap: 10px; }
.card-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(212, 160, 19, 0.32);
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}
.badge-soft { background: #ecfeff; border-color: #bae6fd; color: #0ea5e9; }
.spec-list { list-style: none; display: grid; gap: 6px; padding: 0; margin: 0; color: var(--muted); }
.spec-list li { position: relative; padding-right: 14px; }
.spec-list li::before {
  content: '•';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

@media (max-width: 900px) {
  h1 { font-size: clamp(26px, 6vw, 34px); }
  h2 { font-size: clamp(22px, 4.5vw, 30px); }
  .hero-content { text-align: center; }
  .hero-actions, .pill-list { justify-content: center; }
  .nav-actions { width: 100%; justify-content: flex-end; }
  .image-stack .floating { display: none; }
  .page-hero-content { text-align: center; }
  .filter-meta { justify-content: center; }
  .product-visual { order: -1; }
}

@media (max-width: 600px) {
  .hero { padding: 24px 16px; }
  .top-nav { flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav-actions { width: 100%; justify-content: flex-start; }
  .visual { grid-template-columns: 1fr; }
  .image-frame.small { grid-column: auto; }
  .stat-bar { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .hero-content { grid-template-columns: 1fr; }
  .cta-content { grid-template-columns: 1fr; }
  .contact-card { text-align: center; }
  .card, .stat-bar { box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08); }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-meta { justify-content: flex-start; }
  .filter-toggle { width: 100%; }
  .contact-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .contact-actions .action-left { width: 100%; }
  .contact-actions .action-left .wide { width: 100%; }
  .response-badge { width: 100%; justify-content: center; }
  .mobile-contact-bar { display: flex; }
}

