/* ==========================================================================
   Joy Bakery — Design system & styles
   Pure CSS. No :has, no container queries. Mobile-first. RTL default.
   Signature element: soft "icing" scalloped edges + watercolor blobs.
   ========================================================================== */

/* ----- Design tokens ----- */
:root {
  /* Brand palette (from the watercolor logo) */
  --pink: #f49ac1;
  --pink-deep: #e86fa6;
  --lilac: #b49be0;
  --lilac-deep: #9a78d0;
  --mint: #8fd9d3;
  --mint-deep: #4fb9b2;
  --cream: #fff7f2;
  --cream-2: #fdeef4;
  --white: #ffffff;
  --ink: #4a3550;
  --ink-soft: #7b6a85;
  --line: #f0e2ea;

  /* Roles */
  --bg: var(--white);
  --hero-icing: #fbe6f0;

  --wa: #25d366;
  --wa-dark: #1da851;

  /* Typography */
  --font-ar: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-display: 'Quicksand', 'Cairo', 'Segoe UI', sans-serif;

  /* Radii & shadows */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow-sm: 0 4px 14px rgba(154, 120, 208, 0.10);
  --shadow-md: 0 12px 30px rgba(154, 120, 208, 0.16);
  --shadow-lg: 0 22px 50px rgba(154, 120, 208, 0.22);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 240ms;

  /* Layout */
  --maxw: 1180px;
  --gutter: 20px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
/* Ensure the HTML `hidden` attribute always wins over component display rules
   (e.g. .lightbox/.mobile-nav set display:flex). */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-ar);
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select, button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--lilac-deep); outline-offset: 2px; border-radius: 6px; }

/* Latin runs inside Arabic UI use the display font */
[lang="en"] body, html[lang="en"] { }

/* ----- Helpers ----- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-block-start: -60px; inset-inline-start: 12px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: inset-block-start var(--dur) var(--ease);
}
.skip-link:focus { inset-block-start: 12px; }

/* ----- Signature: icing scalloped edge ----- */
.icing {
  height: 18px;
  position: relative;
  z-index: 2;
}
.icing--hero {
  position: absolute; inset-inline: 0; bottom: -1px; height: 22px;
  background:
    radial-gradient(circle at 13px 0, var(--hero-icing) 12px, transparent 13px) repeat-x;
  background-size: 26px 22px;
  filter: drop-shadow(0 6px 4px rgba(154, 120, 208, 0.08));
}
.icing--footer {
  position: absolute; inset-inline: 0; top: -1px; height: 22px;
  background:
    radial-gradient(circle at 13px 22px, var(--cream-2) 12px, transparent 13px) repeat-x;
  background-size: 26px 22px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; min-height: 48px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  line-height: 1; text-align: center; white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--lg { min-height: 54px; padding: 15px 30px; font-size: 1.06rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pink-deep), var(--lilac-deep));
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost {
  color: var(--ink); background: var(--white);
  box-shadow: inset 0 0 0 2px var(--line), var(--shadow-sm);
}
.btn--ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--lilac); }
.btn--wa { color: #fff; background: var(--wa); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32); }
.btn--wa:hover { background: var(--wa-dark); transform: translateY(-2px); }

/* WhatsApp / Instagram glyphs (pure CSS masks, no external SVG requests) */
.wa-ico, .ig-ico { width: 20px; height: 20px; display: inline-block; background: currentColor; flex: none; }
.wa-ico {
  -webkit-mask: var(--wa-mask) center/contain no-repeat;
          mask: var(--wa-mask) center/contain no-repeat;
}
.ig-ico {
  -webkit-mask: var(--ig-mask) center/contain no-repeat;
          mask: var(--ig-mask) center/contain no-repeat;
}
:root {
  --wa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15l-1.3 4.7 4.8-1.3A10 10 0 1 0 12 2zm5.8 14.2c-.2.7-1.4 1.3-2 1.4-.5.1-1.2.1-1.9-.1-.4-.1-1-.3-1.8-.6-3-1.3-5-4.4-5.2-4.6-.1-.2-1.2-1.6-1.2-3s.7-2.1 1-2.4c.2-.3.5-.4.7-.4h.5c.2 0 .4 0 .6.5l.8 2c.1.1.1.3 0 .5l-.4.5-.3.3c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.4 2.4 1.5.3.1.5.1.6-.1l.7-.9c.2-.2.4-.2.6-.1l1.9.9c.3.1.5.2.5.4.1.2.1.9-.1 1.4z'/%3E%3C/svg%3E");
  --ig-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2c3.2 0 3.6 0 4.9.1 1.2.1 1.8.3 2.2.4.6.2 1 .5 1.4.9.4.4.7.8.9 1.4.2.4.4 1 .4 2.2.1 1.3.1 1.7.1 4.9s0 3.6-.1 4.9c-.1 1.2-.3 1.8-.4 2.2-.2.6-.5 1-.9 1.4-.4.4-.8.7-1.4.9-.4.2-1 .4-2.2.4-1.3.1-1.7.1-4.9.1s-3.6 0-4.9-.1c-1.2-.1-1.8-.3-2.2-.4-.6-.2-1-.5-1.4-.9-.4-.4-.7-.8-.9-1.4-.2-.4-.4-1-.4-2.2C2.2 15.6 2.2 15.2 2.2 12s0-3.6.1-4.9c.1-1.2.3-1.8.4-2.2.2-.6.5-1 .9-1.4.4-.4.8-.7 1.4-.9.4-.2 1-.4 2.2-.4C8.4 2.2 8.8 2.2 12 2.2zm0 3.2A6.6 6.6 0 1 0 18.6 12 6.6 6.6 0 0 0 12 5.4zm0 10.9A4.3 4.3 0 1 1 16.3 12 4.3 4.3 0 0 1 12 16.3zm6.9-11.1a1.5 1.5 0 1 1-1.5-1.5 1.5 1.5 0 0 1 1.5 1.5z'/%3E%3C/svg%3E");
}

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-inline-end: auto; }
.brand__logo { width: 42px; height: 42px; }
.brand__word {
  font-family: var(--font-display); font-weight: 700; font-size: 1.28rem;
  letter-spacing: .2px;
  background: linear-gradient(120deg, var(--lilac-deep), var(--pink-deep) 50%, var(--mint-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 8px 12px; border-radius: var(--r-pill); font-weight: 600;
  color: var(--ink-soft); transition: color var(--dur), background-color var(--dur);
}
.nav a:hover { color: var(--ink); background: var(--cream-2); }
.header__actions { display: none; align-items: center; gap: 10px; }
.lang-toggle {
  min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 700; color: var(--lilac-deep);
  box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow var(--dur), color var(--dur);
}
.lang-toggle:hover { box-shadow: inset 0 0 0 2px var(--lilac); }
.header__wa { padding: 10px 18px; min-height: 44px; }

.nav-burger {
  margin-inline-start: auto; width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  box-shadow: inset 0 0 0 2px var(--line);
}
.nav-burger span { width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform var(--dur), opacity var(--dur); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav { display: flex; flex-direction: column; padding: 8px var(--gutter) 16px; border-bottom: 1px solid var(--line); background: var(--white); }
.mobile-nav a { padding: 13px 10px; border-radius: 12px; font-weight: 600; min-height: 48px; display: flex; align-items: center; }
.mobile-nav a:hover, .mobile-nav a:active { background: var(--cream-2); }

/* ----- Hero ----- */
.hero { position: relative; padding: 40px 0 46px; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); overflow: hidden; }
.hero__inner { position: relative; z-index: 3; display: grid; gap: 30px; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(38px); opacity: .5; z-index: 1; }
.hero__blob--1 { width: 320px; height: 320px; background: var(--pink); top: -60px; inset-inline-start: -70px; }
.hero__blob--2 { width: 280px; height: 280px; background: var(--mint); bottom: -40px; inset-inline-end: -50px; opacity: .45; }
.hero__blob--3 { width: 220px; height: 220px; background: var(--lilac); top: 40%; inset-inline-end: 30%; opacity: .3; }

.hero__eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--white); box-shadow: var(--shadow-sm);
  font-weight: 700; font-size: .82rem; color: var(--lilac-deep);
}
.hero__title { margin: 16px 0 14px; line-height: 1.08; }
.hero__title-en {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  background: linear-gradient(120deg, var(--lilac-deep), var(--pink-deep) 55%, var(--mint-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title-ar { display: block; font-size: clamp(1.3rem, 5vw, 2rem); font-weight: 700; color: var(--ink); margin-top: 6px; }
.hero__lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 22px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; }
.hero__trust li { display: inline-flex; flex-direction: column; line-height: 1.2; font-size: .9rem; color: var(--ink-soft); }
.hero__trust strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--pink-deep); }

.hero__art { position: relative; display: grid; place-items: center; min-height: 300px; }
.hero__badge {
  position: relative; z-index: 2; width: min(300px, 74vw); aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  background: var(--white); border-radius: 50%;
  box-shadow: var(--shadow-lg);
  animation: float 6s var(--ease) infinite;
}
.hero__badge img { width: 82%; }
.hero__photo {
  position: absolute; z-index: 3; width: 150px;
  inset-inline-end: 4%; bottom: -6px;
  border-radius: var(--r-lg); overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--shadow-md);
  transform: rotate(4deg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__sticker { position: absolute; z-index: 4; font-size: 2rem; filter: drop-shadow(0 6px 8px rgba(0,0,0,.12)); }
.hero__sticker--a { top: 6%; inset-inline-start: 8%; animation: float 5s var(--ease) infinite; }
.hero__sticker--b { bottom: 12%; inset-inline-start: 2%; font-size: 2.4rem; animation: float 7s var(--ease) infinite reverse; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero__photo { animation: float 8s var(--ease) infinite; }

/* ----- Sections ----- */
.section { padding: 62px 0; position: relative; }
.section--tint { background: var(--cream); }
.section__head { text-align: center; max-width: 62ch; margin: 0 auto 34px; }
.section__kicker {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  color: var(--mint-deep); letter-spacing: .12em; text-transform: uppercase;
  font-size: .8rem; margin-bottom: 8px;
}
.section__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 5vw, 2.6rem); color: var(--ink); line-height: 1.15; }
.section__sub { margin-top: 12px; color: var(--ink-soft); font-size: 1.04rem; }

/* ----- Gallery ----- */
.gallery { background: var(--white); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.filter {
  min-height: 44px; padding: 9px 20px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 700; color: var(--ink-soft);
  background: var(--cream-2); transition: color var(--dur), background-color var(--dur), transform var(--dur);
}
.filter:hover { transform: translateY(-2px); }
.filter.is-active { color: #fff; background: linear-gradient(135deg, var(--pink-deep), var(--lilac-deep)); box-shadow: var(--shadow-sm); }

.gallery__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.card {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__media {
  display: block; width: 100%; padding: 0; position: relative; overflow: hidden;
  height: 260px; background: var(--cream-2);
}
.card__media picture, .card__media img { width: 100%; height: 100%; }
.card__media img { object-fit: cover; transition: transform 400ms var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__zoom {
  position: absolute; inset-block-start: 12px; inset-inline-end: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem; color: var(--ink);
  background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(-4px); transition: opacity var(--dur), transform var(--dur);
}
.card:hover .card__zoom, .card__media:focus-visible .card__zoom { opacity: 1; transform: translateY(0); }
.card__body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px 18px; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.card__tag {
  flex: none; font-size: .78rem; font-weight: 700; color: var(--lilac-deep);
  background: var(--cream-2); padding: 5px 11px; border-radius: var(--r-pill);
}
.gallery__empty { text-align: center; color: var(--ink-soft); padding: 30px; }

/* ----- Booking ----- */
.booking { background: linear-gradient(180deg, var(--white), var(--cream)); }
.booking__notices { display: grid; gap: 10px; max-width: 720px; margin: 0 auto 22px; }
.notice {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--r-md);
  font-weight: 600; font-size: .96rem; line-height: 1.5;
}
.notice--sm { font-size: .88rem; padding: 9px 13px; }
.notice--warn { background: #fff3e0; color: #a15b00; box-shadow: inset 0 0 0 1px #ffe0b2; }
.notice--info { background: #e6f7f5; color: #1f7a72; box-shadow: inset 0 0 0 1px #bfe9e4; }

.booking__form { max-width: 720px; margin: 0 auto; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 26px 22px; }
.stepper { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; counter-reset: s; }
.stepper li {
  flex: 1 1 auto; text-align: center; font-size: .78rem; font-weight: 700; color: var(--ink-soft);
  padding: 8px 4px 10px; border-bottom: 3px solid var(--line); position: relative; min-width: 56px;
}
.stepper li.is-active { color: var(--pink-deep); border-color: var(--pink-deep); }
.stepper li.is-done { color: var(--mint-deep); border-color: var(--mint); }

.step { border: none; padding: 0; min-inline-size: 0; display: none; animation: stepIn var(--dur) var(--ease); }
.step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step legend { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); margin-bottom: 16px; padding: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips--cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.chip { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip > span:last-child, .chip__emoji { pointer-events: none; }
.chip > span:not(.chip__emoji) {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 18px;
  border-radius: var(--r-pill); font-weight: 700; color: var(--ink);
  background: var(--cream-2); box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow var(--dur), background-color var(--dur), transform var(--dur);
  width: 100%; justify-content: center; text-align: center;
}
.chip:hover > span:not(.chip__emoji) { transform: translateY(-2px); }
.chip input:checked ~ span:not(.chip__emoji) { background: #fff; box-shadow: inset 0 0 0 2px var(--pink-deep); color: var(--pink-deep); }
.chip input:focus-visible ~ span:not(.chip__emoji) { outline: 3px solid var(--lilac-deep); outline-offset: 2px; }
.chip--big { position: relative; }
.chip--big > span:not(.chip__emoji) { padding: 54px 10px 18px; min-height: 116px; font-size: 1.05rem; }
.chip__emoji { position: absolute; z-index: 2; pointer-events: none; }
.chip--big .chip__emoji { top: 18px; inset-inline: 0; display: block; text-align: center; font-size: 1.9rem; }
.chip:not(.chip--big) .chip__emoji { display: none; }

.field { display: block; margin-bottom: 16px; }
.field__label { display: block; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: var(--r-md); background: var(--cream);
  border: 2px solid var(--line); color: var(--ink); font-weight: 500; min-height: 50px;
  transition: border-color var(--dur), background-color var(--dur);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lilac); background: #fff; }
.field textarea { resize: vertical; min-height: 92px; line-height: 1.6; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field__error { color: #c0392b; font-weight: 700; font-size: .9rem; margin-top: 4px; }

.summary { display: grid; gap: 10px; background: var(--cream); border-radius: var(--r-md); padding: 18px; margin-bottom: 16px; }
.summary__row { display: flex; gap: 10px; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 9px; }
.summary__row:last-child { border-bottom: none; padding-bottom: 0; }
.summary__k { color: var(--ink-soft); font-weight: 600; }
.summary__v { font-weight: 700; color: var(--ink); text-align: end; }
.summary__empty { color: var(--ink-soft); }

.step-nav { display: flex; gap: 12px; margin-top: 22px; }
.step-nav .btn { flex: 1; }

/* ----- Why ----- */
.why { background: var(--cream); }
.why__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.why__card { background: #fff; border-radius: var(--r-lg); padding: 26px 22px; box-shadow: var(--shadow-sm); text-align: center; transition: transform var(--dur), box-shadow var(--dur); }
.why__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why__ico { font-size: 2.4rem; display: block; margin-bottom: 12px; }
.why__card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 8px; color: var(--ink); }
.why__card p { color: var(--ink-soft); font-size: .98rem; }

/* ----- Occasions ----- */
.occasions { background: var(--white); }
.occasions__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.occasion {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 14px;
  border-radius: var(--r-lg); background: linear-gradient(160deg, var(--cream-2), #fff);
  box-shadow: var(--shadow-sm); transition: transform var(--dur), box-shadow var(--dur);
  min-height: 128px; justify-content: center;
}
.occasion:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow-md); }
.occasion__emoji { font-size: 2.4rem; }
.occasion__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }

/* ----- Contact ----- */
.contact { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.contact__inner { display: grid; gap: 26px; align-items: center; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 16px; }
.contact__card {
  display: grid; place-items: center; gap: 12px; text-align: center;
  background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-md);
}
.contact__card img { width: 150px; height: 150px; }
.contact__tag { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  background: linear-gradient(120deg, var(--lilac-deep), var(--pink-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ----- Footer ----- */
.site-footer { position: relative; background: var(--ink); color: #f3ecf5; padding: 46px 0 24px; margin-top: 10px; }
.footer__inner { display: grid; grid-template-columns: 1fr; gap: 28px; }
.footer__brand .brand__word { font-size: 1.5rem; }
.footer__brand p { color: #cbbfd4; margin-top: 8px; max-width: 42ch; }
.footer__col h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 12px; color: #fff; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer__col li { display: flex; align-items: center; gap: 8px; color: #d7cde0; }
.footer__col a:hover { color: var(--pink); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; color: #b7a9c4; }
.footer__demo { font-weight: 700; color: var(--mint); }

/* ----- Lightbox ----- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(40, 26, 52, .86); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade var(--dur) var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__fig { max-width: 92vw; max-height: 86vh; display: grid; gap: 10px; }
.lightbox__fig img { max-width: 92vw; max-height: 78vh; width: auto; height: auto; margin: 0 auto; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox__fig figcaption { text-align: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; color: #fff;
  background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 1.6rem; line-height: 1;
  transition: background-color var(--dur), transform var(--dur);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__close { inset-block-start: 16px; inset-inline-end: 16px; }
.lightbox__nav { inset-block-start: 50%; transform: translateY(-50%); }
.lightbox__prev { inset-inline-start: 12px; }
.lightbox__next { inset-inline-end: 12px; }
.lightbox__prev, .lightbox__next { font-size: 2rem; }
[dir="rtl"] .lightbox__prev { transform: translateY(-50%) scaleX(-1); }
[dir="rtl"] .lightbox__next { transform: translateY(-50%) scaleX(-1); }

/* ----- Reveal on scroll (progressive; visible without JS) ----- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 520ms var(--ease), transform 520ms var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ----- Responsive ----- */
@media (min-width: 560px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__photo { width: 190px; }
}
@media (min-width: 760px) {
  :root { --gutter: 28px; }
  .hero { padding: 60px 0 70px; }
  .hero__inner { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
  .hero__art { min-height: 420px; }
  .hero__photo { width: 230px; }
  .occasions__grid { grid-template-columns: repeat(3, 1fr); }
  .contact__inner { grid-template-columns: 1.3fr .7fr; }
  .footer__inner { grid-template-columns: 1.6fr 1fr 1fr; }
  .why__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 980px) {
  .nav { display: flex; align-items: center; gap: 4px; }
  .header__actions { display: flex; }
  .nav-burger, .mobile-nav { display: none; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 84px 0; }
  .occasions__grid { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 1200px) {
  .gallery__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ----- Motion preferences ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .hero__badge, .hero__photo, .hero__sticker { animation: none; }
}

/* ----- Anchor offset for sticky header ----- */
[id] { scroll-margin-top: 84px; }

/* ----- Bilingual hero: hide the Arabic translation line in English mode ----- */
html[lang="en"] .hero__title-ar { display: none; }

/* ----- Print ----- */
@media print {
  .site-header, .lightbox, .step-nav, .nav-burger, .hero__blob { display: none !important; }
}
