/* أبو رامي — صفحة روابط، عربي من اليمين، للموبايل أول */
:root {
  --navy: #0C1B3C;
  --navy-deep: #081228;
  --red: #C4161C;
  --cream: #F6EBD2;
  --cream-soft: #FBF6EA;
  --gold: #D4B56A;
  --gold-soft: #E8D7A8;
  --ink: #1A1830;
  --muted: #5A5670;
  --wa: #128C4A;
  --wa-deep: #0B6B38;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(12, 27, 60, 0.12);
  --radius: 18px;
  --font-display: "Cairo", "Tajawal", sans-serif;
  --font-body: "Tajawal", "Cairo", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream-soft);
  min-height: 100vh;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

.wrap {
  width: min(640px, calc(100% - 32px));
  margin-inline: auto;
}

h1, h2, .footer-name, .kicker, .btn {
  font-family: var(--font-display);
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 58%, #14284f 100%);
  color: var(--cream);
  overflow: hidden;
  padding: 36px 0 48px;
  border-bottom: 4px solid var(--gold);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 0%, rgba(212, 181, 106, 0.16), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(196, 22, 28, 0.18), transparent 40%),
    repeating-linear-gradient(135deg, rgba(246, 235, 210, 0.04) 0 2px, transparent 2px 14px);
  pointer-events: none;
}

.hero-inner { position: relative; text-align: center; }

.badge { margin-bottom: 14px; }

.kicker {
  display: inline-block;
  background: rgba(196, 22, 28, 0.95);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(1.55rem, 6vw, 2.15rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 12px;
  text-wrap: balance;
}

.slogan {
  font-size: 1.05rem;
  color: var(--gold-soft);
  max-width: 28rem;
  margin: 0 auto 16px;
}

.place {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 181, 106, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.pin { display: flex; color: var(--gold); }

/* Buttons */
.actions {
  display: grid;
  gap: 12px;
  margin-top: -22px;
  position: relative;
}

.btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 14px 16px 12px;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn svg { margin-bottom: 2px; }

.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  opacity: 0.92;
  direction: ltr;
  unicode-bidi: isolate;
}

.btn-wa {
  background: var(--wa);
  color: #fff;
  padding-block: 16px;
}

.btn-call {
  background: var(--card);
  color: var(--navy);
  border: 1px solid #ead9b0;
  flex-direction: row;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px;
}

.btn-call .btn-sub { width: 100%; text-align: center; margin-top: -2px; }

.btn-maps {
  background: var(--navy);
  color: var(--cream);
  flex-direction: row;
  gap: 8px;
  margin-top: 8px;
}

.btn-wa-light { margin-top: 8px; width: 100%; }

/* Services */
.services, .location, .socials { padding: 36px 0 8px; }

h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.lead { color: var(--muted); margin-bottom: 18px; }

.grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.grid li {
  background: var(--card);
  border-radius: 16px;
  padding: 16px 12px 14px;
  box-shadow: 0 6px 18px rgba(12, 27, 60, 0.06);
  border: 1px solid rgba(12, 27, 60, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  min-height: 112px;
  justify-content: center;
}

.grid li.wide { grid-column: 1 / -1; min-height: 92px; flex-direction: row; gap: 12px; }

.ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F3E7C8;
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ico svg { width: 30px; height: 30px; }

.grid strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
}

/* Video section */
.video-band {
  margin-top: 28px;
  padding: 8px 0 4px;
}

.video-card {
  background: linear-gradient(160deg, #132448, var(--navy-deep));
  color: var(--cream);
  border-radius: 24px;
  padding: 28px 22px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 181, 106, 0.35);
}

.video-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.video-card h2 { color: #fff; margin-bottom: 10px; }

.video-card p { color: var(--gold-soft); }

.honest {
  margin-top: 10px;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.07);
  border-right: 3px solid var(--gold);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
}

/* Location */
.note { color: var(--muted); font-size: 0.95rem; margin-bottom: 4px; }

/* Socials: hidden until a real http(s) href is added */
.socials:not(:has(a[href^="http"])) { display: none; }
.socials a:not([href^="http"]) { display: none; }

.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 8px; }

.social {
  text-decoration: none;
  background: var(--card);
  color: var(--navy);
  border: 1px solid #ead9b0;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(12, 27, 60, 0.06);
}

/* Footer */
.footer {
  margin-top: 40px;
  padding: 28px 0 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-name {
  color: var(--navy);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.footer a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* Mobile dock */
.dock {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 246, 234, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid #ead9b0;
  z-index: 20;
}

.dock a {
  text-decoration: none;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: 14px;
  padding: 12px 8px;
}

.dock-call { background: var(--navy); color: #fff; }
.dock-wa { background: var(--wa); color: #fff; }

@media (min-width: 640px) {
  .actions { grid-template-columns: 1.3fr 1fr; }
  .btn-call { flex-direction: column; gap: 2px; }
  .hero { padding-top: 48px; padding-bottom: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
