/* ===== Oman Mobile — Styles =====
   Brand: Black #0a0a0a, Navy #0b2344, Blue #1e40b8, Accent #3b82f6 */

:root {
  --black: #0a0a0a;
  --navy: #0b2344;
  --navy-2: #0f2d5a;
  --blue: #1e40b8;
  --blue-2: #2b53d6;
  --accent: #3b82f6;
  --light: #f5f7fb;
  --muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 4px 14px rgba(11, 35, 68, 0.08);
  --shadow-md: 0 12px 30px rgba(11, 35, 68, 0.15);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: #12192b;
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; color: var(--navy); margin: 0 0 0.6rem; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { color: #374151; margin: 0 0 0.75rem; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

/* ====== Top bar ====== */
.topbar { background: var(--black); color: #d8deea; font-size: 0.85rem; }
.topbar a { color: #d8deea; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 1.25rem; }
.topbar-left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar-left a, .topbar-left span { display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar-right .lang { padding: 0.1rem 0.45rem; border-radius: 6px; }
.topbar-right .lang.active { background: var(--blue); color: #fff; }
.topbar-right .sep { color: #4b5a7a; margin: 0 0.3rem; }

/* ====== Header ====== */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1.25rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Manrope', sans-serif; font-weight: 800; color: var(--navy); letter-spacing: 0.02em; }
.brand-tag { font-size: 0.72rem; color: var(--muted); }
.nav { display: flex; gap: 1.4rem; }
.nav a { color: var(--navy); font-weight: 500; position: relative; padding: 0.3rem 0; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--blue); transition: width 0.25s ease; }
.nav a:hover::after { width: 100%; }
.order-btn { white-space: nowrap; }
.menu-toggle { display: none; background: transparent; border: 0; font-size: 1.35rem; color: var(--navy); cursor: pointer; }

/* ====== Buttons ====== */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.2rem; border-radius: 999px; font-weight: 600; font-family: 'Manrope'; cursor: pointer; border: 0; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s; font-size: 0.95rem; }
.btn i { font-size: 1rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(30,64,184,0.35); }
.btn-primary:hover { background: var(--blue-2); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #eef2ff; }

/* ====== Hero Slider ====== */
.hero { position: relative; }
.slider { position: relative; height: min(78vh, 620px); overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; display: flex; align-items: center; }
.slide.active { opacity: 1; z-index: 2; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(10,10,10,0.85) 0%, rgba(11,35,68,0.70) 55%, rgba(30,64,184,0.35) 100%); }
.slide-1 .slide-bg { background-image: url('https://images.unsplash.com/photo-1512428559087-560fa5ceab42?auto=format&fit=crop&w=1600&q=80'); }
.slide-2 .slide-bg { background-image: url('https://images.unsplash.com/photo-1625948515291-69613efd103f?auto=format&fit=crop&w=1600&q=80'); }
.slide-3 .slide-bg { background-image: url('https://images.unsplash.com/photo-1588508065123-287b28e013da?auto=format&fit=crop&w=1600&q=80'); }
.slide-4 .slide-bg { background-image: url('https://images.unsplash.com/photo-1607936854279-55e8a4c64888?auto=format&fit=crop&w=1600&q=80'); }
.slide-content { position: relative; z-index: 2; color: #fff; max-width: 680px; }
.slide h1 { color: #fff; }
.slide h1 .accent { color: var(--accent); }
.slide p { color: rgba(255,255,255,0.9); font-size: 1.08rem; margin-bottom: 1.4rem; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; font-weight: 700; color: var(--accent); background: rgba(59,130,246,0.15); padding: 0.35rem 0.75rem; border-radius: 999px; margin-bottom: 1rem; }
.eyebrow.dark { color: var(--blue); background: rgba(30,64,184,0.08); }
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; backdrop-filter: blur(10px); transition: background 0.2s; }
.slider-arrow:hover { background: rgba(255,255,255,0.3); }
.slider-arrow.prev { left: 1.25rem; }
.slider-arrow.next { right: 1.25rem; }
.slider-dots { position: absolute; bottom: 1.25rem; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; gap: 0.5rem; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.45); cursor: pointer; transition: width 0.2s; }
.slider-dots button.active { width: 28px; background: var(--accent); border-radius: 999px; }

/* ====== Sections ====== */
section { padding: 4.5rem 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--muted); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1.5rem; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.service-card .icon-wrap { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); color: #fff; font-size: 1.4rem; margin-bottom: 1rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; }

/* Products */
.products { background: var(--light); }
.products.alt { background: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-img { aspect-ratio: 4/3; background: #f3f4f6; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); font-weight: 700; margin-bottom: 0.35rem; }
.product-name { font-family: 'Manrope'; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; font-size: 1rem; }
.product-desc { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.9rem; min-height: 2.4em; }
.price-row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; gap: 0.5rem; }
.price { font-family: 'Manrope'; font-weight: 800; color: var(--black); font-size: 1.2rem; }
.price .unit { font-size: 0.72rem; color: var(--blue); margin-left: 0.25rem; font-weight: 700; letter-spacing: 0.08em; }
.wa-btn { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.9rem; border-radius: 999px; background: #25D366; color: #fff; font-weight: 600; font-size: 0.85rem; transition: background 0.2s; }
.wa-btn:hover { background: #1ebe57; }

/* Repair */
.repair { background: linear-gradient(135deg, var(--navy) 0%, var(--black) 100%); color: #fff; }
.repair h2 { color: #fff; }
.repair p { color: rgba(255,255,255,0.82); }
.repair .eyebrow.dark { color: var(--accent); background: rgba(59,130,246,0.2); }
.repair-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.5rem 1rem; }
.check-list li { display: flex; gap: 0.55rem; align-items: center; color: rgba(255,255,255,0.9); font-size: 0.95rem; }
.check-list i { color: var(--accent); }
.repair-visual { position: relative; }
.repair-visual img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.badge-float { position: absolute; bottom: -18px; left: -18px; background: #fff; color: var(--navy); border-radius: 14px; padding: 0.9rem 1.1rem; display: flex; gap: 0.7rem; align-items: center; box-shadow: var(--shadow-md); }
.badge-float i { color: var(--blue); font-size: 1.5rem; }
.badge-float span { font-family: 'Manrope'; font-weight: 700; font-size: 0.85rem; line-height: 1.1; }

/* CTA */
.cta-banner { background: var(--blue); color: #fff; padding: 2.5rem 0; }
.cta-banner h2 { color: #fff; margin-bottom: 0.25rem; }
.cta-banner p { color: rgba(255,255,255,0.9); margin: 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.contact-list li { display: flex; gap: 0.7rem; align-items: center; padding: 0.5rem 0; border-bottom: 1px dashed var(--border); }
.contact-list li:last-child { border: 0; }
.contact-list i { color: var(--blue); width: 22px; }
.contact-form { background: var(--light); padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--border); }
.contact-form h3 { color: var(--navy); margin-bottom: 1rem; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.8rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.7rem 0.85rem; border-radius: 10px; border: 1px solid var(--border); font-family: inherit; margin-top: 0.3rem; font-size: 0.95rem; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,64,184,0.15); }

/* Footer */
.footer { background: var(--black); color: #c8cfdc; padding: 3rem 0 0; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 0.9rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 0.25rem 0; }
.footer a { color: #c8cfdc; transition: color 0.2s; }
.footer a:hover { color: var(--accent); }
.footer .brand img { background: #fff; }
.footer .brand-name { color: #fff; }
.footer .brand-tag { color: #8a95aa; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer .muted { color: #8a95aa; margin-top: 0.9rem; max-width: 320px; }
.footer-bottom { border-top: 1px solid #1d2335; padding: 1rem 0; font-size: 0.85rem; color: #8a95aa; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

/* WhatsApp Float */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 58px; height: 58px; background: #25D366; color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 25px rgba(37,211,102,0.45); z-index: 100; animation: pulse 2s infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 10px 25px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 10px 25px rgba(37,211,102,0.45), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 25px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* Utility */
.hide-sm { display: inline-flex; }

/* Responsive */
@media (max-width: 960px) {
  .repair-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 0.5rem 1rem; border-top: 1px solid var(--border); display: none; box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .nav a { padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border: 0; }
  .menu-toggle { display: inline-flex; }
  .order-btn { display: none; }
  .hide-sm { display: none; }
  .topbar-left { gap: 0.9rem; }
  .slider { height: 560px; }
  .check-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; align-items: stretch; }
}

/* ===== RTL (Arabic) ===== */
html[dir="rtl"] body { font-family: 'Cairo', 'Tajawal', 'Inter', sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { font-family: 'Cairo', 'Tajawal', sans-serif; }
html[dir="rtl"] .slider-arrow.prev { left: auto; right: 1.25rem; }
html[dir="rtl"] .slider-arrow.next { right: auto; left: 1.25rem; }
html[dir="rtl"] .badge-float { left: auto; right: -18px; }
html[dir="rtl"] .wa-float { right: auto; left: 1.25rem; }
html[dir="rtl"] .nav a::after { left: auto; right: 0; }
html[dir="rtl"] .price .unit { margin-left: 0; margin-right: 0.25rem; }
