/* Mubarak Auto Energy public website. Static, no JavaScript, no external requests. Mobile-first (360px+). Works on iOS 15 / Safari 15 (no :has, no container queries). */
:root {
  --bg: #07101f;
  --bg2: #0b1a30;
  --card: #0f2240;
  --line: rgba(255, 255, 255, 0.1);
  --text: #e8eefb;
  --muted: #9fb0cc;
  --gold: #f6b53f;
  --orange: #ff8a1f;
  --cyan: #38b6ff;
  --wa: #25d366;
  --radius: 18px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #1a1100; padding: 10px 14px; z-index: 100; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(7, 16, 31, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-mark { width: 40px; height: auto; flex: none; }
.brand-name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-name b { color: var(--gold); font-weight: 800; }
.nav { display: none; gap: 26px; margin-left: auto; margin-right: 12px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; transition: color 0.15s; }
.nav a:hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 800; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; border-radius: 12px; flex: none; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--orange)); color: #1c1100; box-shadow: 0 8px 26px rgba(255, 150, 30, 0.28); }
.btn-gold:hover { box-shadow: 0 10px 32px rgba(255, 150, 30, 0.42); }
.btn-wa { background: var(--wa); color: #04210f; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.22); }
.btn-wa:hover { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.36); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 36px 0 44px; background: radial-gradient(120% 80% at 85% -10%, rgba(56, 182, 255, 0.22), transparent 60%), radial-gradient(90% 70% at 0% 100%, rgba(255, 138, 31, 0.16), transparent 60%), linear-gradient(180deg, #0a1730, var(--bg)); }
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); pointer-events: none; }
.hero-in { position: relative; display: grid; gap: 22px; align-items: center; }
.hero-art { position: relative; order: -1; display: flex; justify-content: center; }
.hero-art img { width: min(52vw, 230px); height: auto; position: relative; filter: drop-shadow(0 10px 40px rgba(56, 182, 255, 0.35)); }
.glow { position: absolute; width: 70%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 150, 40, 0.35), rgba(56, 182, 255, 0.2) 55%, transparent 75%); filter: blur(10px); }
.eyebrow { color: var(--cyan); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; }
h1 { font-size: clamp(38px, 10.5vw, 68px); font-weight: 900; }
.grad { background: linear-gradient(135deg, var(--gold), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lead { margin-top: 16px; font-size: clamp(17px, 4.6vw, 22px); color: #d3def2; max-width: 34em; }
.where { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 15px; max-width: 36em; }
.where .ico { margin-top: 3px; color: var(--gold); }
.cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- strip ---------- */
.strip { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-in { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.strip-in li { padding: 16px 12px; font-weight: 700; font-size: 14px; color: #cfdcf3; text-align: center; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.strip-in li:nth-child(odd) { border-right: 1px solid var(--line); }
.strip-in li:nth-last-child(-n+2) { border-bottom: 0; }

/* ---------- sections ---------- */
.sec { padding: 56px 0; }
.sec-tight { padding-top: 40px; padding-bottom: 8px; }
.sec-alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(27px, 7vw, 40px); font-weight: 900; max-width: 20em; }
.cards { margin-top: 28px; display: grid; gap: 16px; }
.card { background: linear-gradient(180deg, var(--card), #0c1c36); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 20px; font-weight: 800; }
.card p { color: var(--muted); font-size: 15.5px; }
.card-ic { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(246, 181, 63, 0.2), rgba(255, 138, 31, 0.12)); border: 1px solid rgba(246, 181, 63, 0.35); margin-bottom: 4px; }
.card-ic svg { width: 26px; height: 26px; fill: var(--gold); }
.logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.logos li { width: 48px; height: 48px; background: #f4f7fc; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.logos img { width: 28px; height: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: rgba(56, 182, 255, 0.12); border: 1px solid rgba(56, 182, 255, 0.35); color: #bfe6ff; font-weight: 800; font-size: 14px; }
.sister { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.sister img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.sister b { color: var(--text); }

.why { margin-top: 28px; display: grid; gap: 14px; }
.why li { border-left: 3px solid var(--gold); padding: 4px 0 4px 18px; }
.why h3 { font-size: 19px; font-weight: 800; }
.why p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }

.support { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; background: radial-gradient(120% 140% at 100% 0, rgba(56, 182, 255, 0.18), transparent 60%), var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px 22px; }
.support h2 { margin-bottom: 10px; }
.support p:not(.eyebrow) { color: var(--muted); max-width: 40em; }

.visit address { margin-top: 16px; font-style: normal; font-size: 18px; font-weight: 600; line-height: 1.6; }
.hours { margin-top: 14px; color: var(--muted); font-size: 15px; }
.contact { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 10px; color: var(--muted); }
.contact a { color: var(--gold); font-weight: 700; text-decoration: none; }
.contact a:hover { text-decoration: underline; }

/* ---------- workshop photo (the owner's own picture, cropped only, never altered) ---------- */
.shot { margin: 26px 0 0; padding: 8px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 15px; background: var(--card); }
.shot figcaption { padding: 12px 8px 6px; color: var(--muted); font-size: 14.5px; }

/* ---------- footer ---------- */
.foot { padding: 30px 0 96px; border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 12px; }
.foot-brand { font-weight: 800; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }
.copy { color: #6f82a3; font-size: 13px; }

.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #04210f; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); z-index: 60; }
.fab svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- tablet / desktop ---------- */
@media (min-width: 640px) {
  .cta { flex-direction: row; flex-wrap: wrap; }
  .cards { grid-template-columns: 1fr 1fr; }
  .strip-in { grid-template-columns: repeat(4, 1fr); }
  .strip-in li { border-bottom: 0 !important; border-right: 1px solid var(--line); }
  .strip-in li:last-child { border-right: 0; }
  .why { grid-template-columns: 1fr 1fr; gap: 22px 36px; }
  .support { flex-direction: row; align-items: center; justify-content: space-between; padding: 36px; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .brand-name { font-size: 17px; }
  .hero { padding: 72px 0 80px; }
  .hero-in { grid-template-columns: 1.15fr 0.85fr; gap: 40px; }
  .hero-art { order: 0; }
  .hero-art img { width: min(32vw, 400px); }
  .sec { padding: 84px 0; }
  .sec-tight { padding-top: 56px; padding-bottom: 12px; }
  .shot { padding: 12px; border-radius: 28px; }
  .shot img { border-radius: 18px; }
  .shot figcaption { padding: 14px 10px 6px; font-size: 15.5px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .card { padding: 28px; }
  .fab { display: none; }
  .foot { padding-bottom: 40px; }
  .foot-in { grid-template-columns: 1fr auto; align-items: center; }
  .copy { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
