:root {
  --brand: #e97920;
  --brand-deep: #c45100;
  --ink: #2b1b11;
  --muted: #6e5240;
  --sand: #fcf4ea;
  --paper: #fffbf6;
  --line: #ead9c8;
  --shadow: 0 18px 40px rgba(138, 47, 0, 0.08);
  --radius: 22px;
  --page-pad: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  background: var(--sand);
  color: var(--ink);
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: break-word;
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

body::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--brand);
}

a { color: var(--brand-deep); }

a:hover { color: #8a2f00; }

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

.wrap {
  width: min(680px, calc(100% - (var(--page-pad) * 2)));
  margin: 0 auto;
}

.page--home .wrap {
  width: min(1080px, calc(100% - (var(--page-pad) * 2)));
}

.top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0 10px;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  min-width: 0;
}

.brand img,
.mark img {
  border-radius: 28%;
  box-shadow: 0 8px 22px rgba(233, 121, 32, 0.28);
  flex-shrink: 0;
}

.brand img { width: 40px; height: 40px; }

.lang {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.lang:focus-visible,
.store:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 3px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  line-height: 1.3;
}

.site-nav a:hover { color: var(--brand-deep); }

.sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px 16px 20px;
  margin: 12px 0 20px;
}

.hero { text-align: center; }

.mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.mark img { width: 72px; height: 72px; }

.name {
  margin: 0;
  font-size: clamp(32px, 8vw, 40px);
  font-weight: 800;
  line-height: 1.1;
}

.name-en {
  margin: 4px 0 0;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.lead {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--muted);
}

.age {
  display: inline-block;
  margin: 16px 0 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff0df;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 700;
}

.stores {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 460px;
  margin: 22px auto 0;
}

.store {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 60px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--brand-deep);
  color: #fff;
  text-decoration: none;
  text-align: center;
  align-items: center;
}

.store:hover { color: #fff; background: #a84300; }

.store small,
.store strong { display: block; }

.store small {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.9;
  line-height: 1.3;
}

.store strong { font-size: 16px; line-height: 1.3; }

.store .when-live { display: none; }

html[lang="ar"] .store.is-live .when-soon,
html[lang="en"] .store.is-live .when-soon { display: none !important; }

html[lang="ar"] .store.is-live .when-live.only-ar,
html[lang="en"] .store.is-live .when-live.only-en { display: block !important; }

.store.is-soon {
  cursor: default;
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.store.is-soon:hover { color: var(--ink); background: #fff; }

.store.is-soon small { color: var(--brand-deep); opacity: 1; }

.points {
  list-style: none;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  text-align: start;
}

.points li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 16px;
}

.points li:first-child { margin-top: 0; }

.points strong { display: block; font-size: 16px; }

.points p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

.num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fff0df;
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}

.foot {
  padding: 0 0 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.foot nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 8px;
}

.foot a { font-weight: 700; text-decoration: none; }

.foot a:hover { text-decoration: underline; }

.foot p { margin: 4px 0; }

.foot .social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 8px;
}

.foot .soon { color: var(--muted); }

.links-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 14px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border-radius: 16px;
  background: var(--sand);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.link-card:hover { color: var(--ink); border-color: var(--brand); }

.link-card strong,
.link-card small { display: block; }

.link-card small { color: var(--muted); font-size: 13px; }

.link-card.is-soon { opacity: 0.6; cursor: default; }

.link-card.is-soon:hover { border-color: var(--line); }

.link-badge {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
}

.link-badge.is-play { background: #01875f; font-size: 16px; }
.link-badge.is-fb { background: #1877f2; }
.link-badge.is-wa { background: #128c7e; }
.link-badge.is-web { background: var(--brand-deep); font-size: 13px; }
.link-badge.is-mail { background: #5f4b8b; }

.whatsapp-card.email-card { background: var(--brand-deep); }

.whatsapp-card.email-card:hover { background: #a84300; }

.whatsapp-card.email-card span { font-size: 16px; }
.link-badge.is-ig { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); font-size: 14px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.btn-whatsapp,
.btn-ghost,
.contact-form button,
.whatsapp-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.btn-whatsapp,
.btn-ghost {
  flex: 1 1 160px;
  max-width: 280px;
}

.btn-whatsapp,
.whatsapp-card,
.wa-fab {
  background: #128c7e;
  color: #fff;
}

.btn-whatsapp:hover,
.whatsapp-card:hover,
.wa-fab:hover { color: #fff; background: #0e6e63; }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover { color: var(--ink); }

.section { text-align: start; }

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 5vw, 1.55rem);
  line-height: 1.35;
}

.section h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.section-lead,
.section > p:not(.section-lead) {
  color: var(--muted);
  margin-top: 0;
}

.feature-grid,
.howto-cols,
.shots,
.contact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.feature-grid { margin-top: 18px; }

.feature-grid article {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  min-width: 0;
}

.feature-grid strong { display: block; margin-bottom: 4px; }

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.howto-cols { margin-top: 8px; }

.howto-cols > div {
  min-width: 0;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
}

.howto-cols ol {
  margin: 0;
  padding-inline-start: 1.2rem;
  color: var(--muted);
}

.howto-cols li { margin-bottom: 8px; }

.shots { margin-top: 16px; }

.shots figure {
  margin: 0 auto;
  max-width: 360px;
  min-width: 0;
}

.shots img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.shots figcaption { margin-top: 10px; }

.shots figcaption strong {
  display: block;
  font-size: 16px;
}

.shots figcaption span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

.section details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.section details:first-of-type { margin-top: 8px; }

.section summary {
  font-weight: 800;
  cursor: pointer;
}

.section details p { margin: 8px 0 0; color: var(--muted); }

.contact-grid { margin-top: 8px; }

.contact-aside .muted { color: var(--muted); font-size: 14px; }

.whatsapp-card {
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  border-radius: 16px;
  margin-bottom: 12px;
}

.whatsapp-card span { font-size: 18px; letter-spacing: 0.02em; }

.contact-form {
  position: relative;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.contact-form label { min-width: 0; }

.contact-form label span {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
}

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

.contact-form button {
  background: var(--brand-deep);
  color: #fff;
  border-radius: 14px;
  width: 100%;
}

.contact-form button:hover { background: #a84300; }

.contact-form button:disabled { opacity: 0.65; cursor: default; }

.contact-status { margin: 0; font-weight: 700; font-size: 14px; }

.contact-status.is-ok { color: #0e6e63; }

.contact-status.is-err { color: #a1260d; }

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.wa-fab {
  position: fixed;
  inset-inline-end: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 20;
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  padding: 0;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(14, 110, 99, 0.35);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 8px 0 18px;
  font-size: 14px;
  font-weight: 700;
}

.legal-nav a { text-decoration: none; }

.legal-nav a[aria-current="page"] { color: var(--ink); }

.legal h1 {
  font-size: clamp(1.35rem, 6vw, 1.7rem);
  line-height: 1.35;
  margin: 0 0 8px;
}

.legal h2 { font-size: 1.08rem; margin: 1.4rem 0 0.3rem; }

.legal .meta { color: var(--muted); margin-top: 0; }

.legal hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

.page--legal .sheet { padding-bottom: 28px; }

html[lang="ar"] .only-en,
html[lang="en"] .only-ar {
  display: none !important;
}

@media (min-width: 640px) {
  body { font-size: 17px; }

  .sheet {
    padding: 32px 28px 28px;
    border-radius: var(--radius);
  }

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

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

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

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

  .contact-form button { width: fit-content; }
}

@media (min-width: 900px) {
  .top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .top-row { flex: 0 0 auto; }

  .site-nav {
    flex: 1 1 auto;
    justify-content: center;
    font-size: 14px;
  }

  .site-nav a {
    background: transparent;
    border: 0;
    padding: 6px 4px;
  }

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

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

  .howto-cols,
  .contact-grid { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 0.8fr 1.2fr; }

  .mark img { width: 84px; height: 84px; }
}
