/* ============================================================
   VOOI Speciality Coffee — فووي قهوة مختصة
   Theme:  brand green throughout, white type, smoky menu panel
   Type:   IBM Plex Sans Arabic (UI) · Noto Naskh (menu items)
           Cormorant Garamond (EN display)
   ============================================================ */

:root {
  --green: #3b7355;
  --green-soft: #478263;
  --green-deep: #2e5c44;
  --green-ink: #1d3d2d;
  --ivory: #f2f4f5;
  --white: #ffffff;
  --silver: #b9c0c3;
  --silver-light: #e3e7e8;
  --steel: #8f989c;
  --ink: #22282a;
  --ink-soft: #5b6467;
  --on-green: rgba(255, 255, 255, 0.85);
  --on-green-soft: rgba(255, 255, 255, 0.65);
  --line-on-green: rgba(255, 255, 255, 0.35);
  --radius: 16px;
  --shadow: 0 12px 32px rgba(20, 45, 33, 0.25);
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", sans-serif;
  --font-naskh: "KA Typical Naskh", "Noto Naskh Arabic", serif;
  --font-en: "Cormorant Garamond", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--green);
  color: var(--white);
  line-height: 1.95;
  overflow-x: hidden;
}

img { max-width: 100%; }

.container { width: min(1120px, 92%); margin-inline: auto; }

/* ===== VOOI logo (SVG wordmark) ===== */
.logo-svg {
  height: 1em;
  width: auto;
  display: inline-block;
  vertical-align: -0.08em;
  flex-shrink: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.7rem 2.1rem;
  border-radius: 999px;
  font-weight: 500;
  font-family: inherit;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(46, 92, 68, 0.35);
}
.btn-green:hover { background: var(--green-deep); }
.btn-light {
  background: var(--white);
  color: var(--green-deep);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.btn-light:hover { background: var(--silver-light); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { padding: 0.45rem 1.4rem; font-size: 0.88rem; }
.btn-lg { padding: 0.85rem 2.6rem; font-size: 1.05rem; }

/* ===== Taglines (brand lines) ===== */
.tagline {
  direction: ltr;
  unicode-bidi: isolate;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(29, 61, 45, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.navbar.scrolled {
  background: rgba(29, 61, 45, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
}
.brand .logo-svg { height: 1.35rem; }
.brand-text {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--on-green-soft);
}
.nav-links { display: flex; gap: 1.7rem; }
.nav-links a {
  text-decoration: none;
  color: var(--on-green);
  font-weight: 400;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  inset-inline-start: 0;
  width: 0;
  height: 1.5px;
  background: var(--white);
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.8rem; }
.lang-toggle {
  font-family: inherit;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-toggle:hover { background: var(--white); color: var(--green-deep); }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-btn span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero — flat brand green like the poster ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  background:
    radial-gradient(ellipse 75% 55% at 50% 30%, rgba(255, 255, 255, 0.07), transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(15, 40, 28, 0.35), transparent 75%),
    var(--green);
  color: var(--white);
  overflow: hidden;
}
/* fade the hero's bottom edge to the same green-deep the cup band starts
   with — painted above the haze blobs so the edge color is guaranteed */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(46, 92, 68, 0), var(--green-deep));
  pointer-events: none;
  z-index: 1;
}
.hero-frame {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 92px;
  padding-bottom: 2rem;
}
.hero-taglines {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  color: var(--on-green);
}
.hero-center {
  text-align: center;
  margin-block: auto;
  padding-block: 3rem;
}
.hero-logo {
  display: flex;
  justify-content: center;
  color: var(--white);
  animation: heroIn 1.1s ease both;
}
.hero-logo .logo-svg {
  height: clamp(6rem, 22vw, 11rem);
}
.hero-name {
  margin-top: 1.6rem;
  font-family: var(--font-ar);
  font-weight: 400;
  font-size: clamp(1.15rem, 3.4vw, 1.6rem);
  letter-spacing: 0.05em;
  color: var(--white);
  animation: heroIn 1.1s 0.15s ease both;
}
html[dir="ltr"] .hero-name { font-family: var(--font-en); letter-spacing: 0.14em; text-transform: uppercase; }
.hero-rule {
  width: 72px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.55);
  margin: 1.3rem auto;
}
.hero-desc {
  max-width: 540px;
  margin: 0 auto 2.2rem;
  color: var(--on-green);
  font-weight: 300;
  font-size: 1.03rem;
  animation: heroIn 1.1s 0.3s ease both;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroIn 1.1s 0.45s ease both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* soft smoky drift */
.hero-haze { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-haze i {
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10), transparent 65%);
  filter: blur(14px);
  animation: haze 16s ease-in-out infinite;
}
.hero-haze i:nth-child(1) { top: 6%; inset-inline-start: -10%; }
.hero-haze i:nth-child(2) { top: 38%; inset-inline-end: -12%; animation-delay: 5s; }
.hero-haze i:nth-child(3) { bottom: -14%; inset-inline-start: 28%; animation-delay: 10s; }
@keyframes haze {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vw, -3vw) scale(1.15); }
}

.hero-scroll { display: flex; justify-content: center; }

/* ===== Crops (محاصيلنا) ===== */
.crops-cta { text-align: center; margin: 3rem 0 0.6rem; }
.crops-cta.top { margin: -0.6rem 0 2.2rem; }
.crops-cta a { display: inline-flex; align-items: center; gap: 0.45rem; }
.crops-cta .bean-ico { flex-shrink: 0; opacity: 0.9; }
body { transition: opacity 0.3s ease; }
body.page-leave { opacity: 0; }
.crops-page {
  min-height: 100svh;
  padding-top: 8.5rem;
}
.crops-page .container { animation: crops-in 0.6s ease both; }
@keyframes crops-in {
  from { opacity: 0; transform: translateY(18px); }
}
.crops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  max-width: 900px;
  margin: 3rem auto 0;
}
.crop-card { margin: 0; }
.crop-img {
  aspect-ratio: 4 / 5;
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  background: #0d100e;
  border: 1px solid var(--line-on-green);
}
.crop-card figcaption {
  text-align: center;
  margin-top: 0.7rem;
  color: var(--on-green-soft);
  font-size: 0.85rem;
}
.crop-name { display: block; font-weight: 500; color: #fff; font-size: 0.95rem; }
.crop-desc { display: block; margin-top: 0.2rem; line-height: 1.7; }
.crop-notes {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.15rem 0.75rem;
  border: 1px solid var(--line-on-green);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--on-green);
  background: rgba(255, 255, 255, 0.05);
}
.crops-back { text-align: center; margin-top: 3.2rem; }

/* crops editor (admin → menu tab) */
.crop-edit {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.9rem;
  padding: 0.9rem;
  margin-bottom: 0.9rem;
  border: 1px solid var(--line-on-green);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.crop-edit.new { border-style: dashed; }
.crop-thumb {
  width: 88px;
  height: 110px;
  border-radius: 10px;
  object-fit: cover;
  background: #0d100e center/cover;
  border: 1px solid var(--line-on-green);
}
.crop-fields { display: grid; gap: 0.5rem; min-width: 0; }
.crop-fields .mini-input { width: 100%; }
textarea.mini-input { resize: vertical; font-family: inherit; }
.crop-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ===== 3D cup band ===== */
.cup-band {
  display: none;
  position: relative;
  /* tall runway (height = 1.5× width on phones, capped on desktop) so the
     whole fall — from first entry to landing — happens inside this box and
     never covers the hero buttons or the about section */
  height: clamp(480px, 150vw, 700px);
  /* both edges settle on the exact same green-deep that the hero fades
     into and the about section starts from, so the seams dissolve */
  background:
    linear-gradient(180deg,
      var(--green-deep) 0%, rgba(46, 92, 68, 0) 24%,
      rgba(46, 92, 68, 0) 76%, var(--green-deep) 100%),
    var(--green);
  overflow: hidden;
}
.cup-band.on { display: block; }
/* soft dark veils over the canvas edges: beans and the falling cup melt
   into the shadow instead of being cut off at the band boundary */
.cup-band::before,
.cup-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 110px;
  z-index: 2;
  pointer-events: none;
}
.cup-band::before { top: 0; background: linear-gradient(180deg, var(--green-deep), rgba(46, 92, 68, 0)); }
.cup-band::after { bottom: 0; background: linear-gradient(0deg, var(--green-deep), rgba(46, 92, 68, 0)); }
.cup-band canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  pointer-events: none;
}
.hero-scroll span {
  width: 1.5px;
  height: 44px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.8));
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ===== Sections ===== */
.section { padding: 6rem 0; }
.section-kicker {
  text-align: center;
  color: var(--on-green-soft);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  font-weight: 400;
  color: var(--green-ink);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.section-title .t-ar { font-family: var(--font-ar); font-weight: 500; }
.section-title .t-en { font-family: var(--font-en); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72em; direction: ltr; unicode-bidi: isolate; display: inline-flex; align-items: baseline; gap: 0.35em; }
.section-title .t-sep { font-family: var(--font-en); opacity: 0.45; font-weight: 400; }
.section-title.on-green { color: var(--white); }
.section-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.6rem;
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 1.04rem;
}
.section-desc.on-green-desc { color: var(--on-green); }

/* inline wordmark in headings/text */
.wm { vertical-align: -0.1em; }
html[lang="ar"] .wm-wrap { display: none; }

/* ===== About (green) ===== */
.about {
  background:
    linear-gradient(180deg, var(--green-deep) 0, rgba(46, 92, 68, 0) 180px),
    radial-gradient(ellipse 60% 45% at 25% 10%, rgba(255, 255, 255, 0.06), transparent 70%),
    linear-gradient(180deg, var(--green-deep) 0%, var(--green) 60%);
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.feature {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-on-green);
  border-top: 2px solid var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.9rem 1.6rem;
  transition: transform 0.25s ease, background 0.25s ease;
}
.feature:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.1); }
.feature-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 500;
  color: var(--on-green-soft);
  display: block;
  line-height: 1;
  margin-bottom: 0.9rem;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
.feature h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.4rem; font-weight: 500; }
.feature p { color: var(--on-green); font-size: 0.93rem; font-weight: 300; }

/* ===== Menu — smoky green like the printed menu ===== */
.menu {
  position: relative;
  color: var(--white);
  background-color: #45785c;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 45% 30% at 20% 15%, rgba(255, 255, 255, 0.14), transparent 70%),
    radial-gradient(ellipse 40% 28% at 80% 40%, rgba(255, 255, 255, 0.10), transparent 70%),
    radial-gradient(ellipse 50% 35% at 45% 78%, rgba(255, 255, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 40%, rgba(18, 48, 33, 0.4) 100%);
}
/* standalone /menu page: clear the fixed navbar and fill the viewport */
.menu-page {
  min-height: 100svh;
  padding-top: 7.5rem;
}
.menu-taglines {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
  color: var(--on-green);
}
.menu .section-kicker { color: var(--on-green-soft); }

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 2rem 0 3rem;
}
.menu-tab {
  font-family: inherit;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--line-on-green);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.menu-tab:hover { transform: translateY(-2px); border-color: var(--white); }
.menu-tab.active { background: var(--white); color: var(--green-deep); border-color: var(--white); }

.menu-block { max-width: 720px; margin-inline: auto; animation: fadeUp 0.5s ease both; }
.menu-block[hidden] { display: none; }
.menu-cat-title {
  text-align: center;
  font-family: var(--font-naskh);
  font-weight: 300;
  font-size: clamp(1.1rem, 3.4vw, 1.4rem);
  letter-spacing: 0.04em;
  margin-bottom: 2.2rem;
}
.menu-cat-title span { font-family: var(--font-en); opacity: 0.6; margin-inline: 0.35rem; }
.menu-cat-title.mt { margin-top: 3rem; }

.menu-list { list-style: none; }
.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2rem;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--line-on-green);
  transition: background 0.2s, padding 0.2s;
}
.menu-list li:hover { background: rgba(255, 255, 255, 0.05); padding-inline: 0.7rem; }
.mi-name {
  font-family: var(--font-naskh);
  font-weight: 300;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}
.mi-price {
  direction: ltr;
  unicode-bidi: isolate;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--silver-light);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.menu-logo {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
  color: var(--white);
}
.menu-logo .logo-svg { height: 2.6rem; }

/* ===== Location (light for the map) ===== */
.location { background: var(--ivory); color: var(--ink); }
.location .section-kicker { color: var(--green); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.6rem;
  margin-top: 2.5rem;
  align-items: stretch;
}
.location-info { display: flex; flex-direction: column; gap: 1.2rem; }
.info-card {
  background: var(--white);
  border: 1px solid var(--silver-light);
  border-top: 2px solid var(--green);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.7rem;
  flex: 1;
}
.info-card h3 {
  color: var(--green-ink);
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  font-weight: 500;
}
.info-card p { color: var(--ink-soft); margin-bottom: 1.1rem; font-weight: 300; }
.hours { list-style: none; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--silver-light);
  color: var(--ink-soft);
  font-weight: 300;
}
.hours li:last-child { border-bottom: none; }
.hours li span:first-child { font-weight: 400; color: var(--ink); }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--silver-light);
  min-height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ===== Contact (green) ===== */
.contact {
  background:
    radial-gradient(ellipse 55% 45% at 75% 15%, rgba(255, 255, 255, 0.06), transparent 70%),
    linear-gradient(200deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--white);
}
.contact-form {
  max-width: 660px;
  margin: 0 auto;
  border: 1px solid var(--line-on-green);
  border-radius: var(--radius);
  padding: 2.4rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-weight: 400;
  color: var(--white);
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--line-on-green);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}
.contact-form .btn { display: block; width: 100%; }
.form-hint {
  text-align: center;
  color: var(--on-green-soft);
  font-size: 0.83rem;
  font-weight: 300;
  margin-top: 0.9rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--green-ink);
  color: var(--silver-light);
  padding: 3.2rem 0 2rem;
  text-align: center;
}
.footer-brand { color: var(--white); }
.footer-brand .logo-svg { height: 2.2rem; }
.footer-tagline {
  direction: ltr;
  unicode-bidi: isolate;
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-green-soft);
  margin-top: 0.8rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin: 1.7rem 0;
}
.footer-links a {
  color: var(--on-green);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy { color: var(--on-green-soft); font-size: 0.82rem; font-weight: 300; }

/* ===== To top ===== */
.to-top {
  position: fixed;
  bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px));
  inset-inline-end: 1.4rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--green-deep);
  font-size: 1.15rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: var(--shadow);
  z-index: 90;
}
.to-top.visible { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: 62px;
    inset-inline: 0;
    flex-direction: column;
    background: var(--green-ink);
    padding: 1.2rem 6%;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: -1;
  }
  .nav-links.open { transform: translateY(0); }
  .menu-btn { display: flex; }
  .brand-text { display: none; }
  .hero-taglines { flex-direction: column; align-items: center; gap: 0.3rem; text-align: center; }
  .tagline { font-size: 0.7rem; letter-spacing: 0.18em; white-space: normal; }
  .menu-taglines { flex-direction: column; align-items: center; gap: 0.3rem; }
  .menu-list li { flex-direction: column; gap: 0.1rem; align-items: flex-start; padding-block: 0.7rem; }
  .location-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 4.2rem 0; }
  .contact-form { padding: 1.6rem; }
}

/* ===== Booking (green, shares .contact-form field styles) ===== */
.booking {
  background:
    radial-gradient(ellipse 55% 45% at 25% 15%, rgba(255, 255, 255, 0.06), transparent 70%),
    linear-gradient(160deg, var(--green-deep) 0%, var(--green) 100%);
  color: var(--white);
}
.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 3rem;
}
.slots-hint {
  color: var(--on-green-soft);
  font-size: 0.9rem;
  font-weight: 300;
}
.slot-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-family: inherit;
  font-weight: 400;
  font-size: 0.92rem;
  padding: 0.4rem 1.1rem 0.45rem;
  border-radius: 16px;
  border: 1.5px solid var(--line-on-green);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-variant-numeric: lining-nums tabular-nums;
}
.sb-rem { font-size: 0.62rem; opacity: 0.75; }
.slot-btn.selected .sb-rem { opacity: 0.85; }
.slot-btn:hover { border-color: var(--white); }
.slot-btn.selected { background: var(--white); color: var(--green-deep); border-color: var(--white); }
.form-msg {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.93rem;
  color: #ffd6d6;
}
.form-msg.ok { color: var(--on-green); }
.booking-success { text-align: center; }
.success-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-deep);
  font-size: 2rem;
  line-height: 64px;
}
.success-mark svg { width: 30px; height: 30px; }
.booking-success h3 { font-weight: 500; font-size: 1.3rem; margin-bottom: 0.5rem; }
.success-details { color: var(--on-green); font-size: 1.05rem; margin-bottom: 0.4rem; }
.success-note { color: var(--on-green-soft); font-size: 0.85rem; margin-bottom: 1.4rem; }

/* ===== Admin dashboard ===== */
.admin-body {
  min-height: 100svh;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 255, 255, 0.06), transparent 70%),
    linear-gradient(180deg, var(--green-deep) 0%, var(--green) 100%);
}
.admin-login {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.admin-login-card {
  width: min(420px, 100%);
  text-align: center;
  border: 1px solid var(--line-on-green);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
}
.admin-login-card .logo-svg { height: 2.6rem; margin-bottom: 1rem; }
.admin-login-card h1 { font-weight: 500; font-size: 1.4rem; }
.admin-sub { color: var(--on-green-soft); font-size: 0.9rem; margin-bottom: 1.6rem; }
.admin-login-card form { text-align: start; }
.admin-login-card .btn { display: block; width: 100%; margin-top: 0.4rem; }
.admin-back {
  display: block;
  margin-top: 1.1rem;
  color: var(--on-green-soft);
  font-size: 0.85rem;
  text-decoration: none;
}
.admin-back:hover { color: var(--white); }

/* password field with show/hide eye */
.pass-field { position: relative; }
/* the input is dir=ltr, so its text starts at the LEFT and grows toward
   the eye: pin the eye to the RIGHT explicitly (the RTL page flips
   inline-end) and pad the right side so the caret never slides under it */
.pass-field input { padding-right: 3.1rem; }
.pass-toggle {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.15rem; height: 2.15rem;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  border-radius: 9px;
  /* frosted pill: even a very long password blurs under the eye */
  background: rgba(46, 92, 68, 0.35);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  color: rgba(255, 255, 255, 0.65);
  padding: 0;
}
.pass-toggle:hover { color: var(--white); }
.pass-toggle svg { width: 1.15rem; height: 1.15rem; display: block; }

/* text link buttons (forgot password / back to login), each on its own line */
.admin-link {
  display: block;
  margin: 1.15rem auto 0;
  background: none; border: none; cursor: pointer;
  font-family: inherit;
  color: var(--on-green-soft);
  font-size: 0.85rem;
}
.admin-link:hover { color: var(--white); text-decoration: underline; }
.reset-intro { margin-bottom: 1.1rem; }

.admin-header {
  background: rgba(20, 45, 33, 0.6);
  border-bottom: 1px solid var(--line-on-green);
}
.admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}
.admin-brand { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; }
.admin-brand .logo-svg { height: 1.3rem; }
.admin-user { display: flex; align-items: center; gap: 0.8rem; }
.admin-email { color: var(--on-green-soft); font-size: 0.82rem; direction: ltr; }
.role-badge {
  font-size: 0.78rem;
  padding: 0.15rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-on-green);
  color: var(--on-green);
}
.role-badge.manager { background: var(--white); color: var(--green-deep); border-color: var(--white); }

.admin-tabs { display: flex; gap: 0.6rem; padding-block: 1.4rem; flex-wrap: wrap; }
.admin-tab {
  font-family: inherit;
  font-size: 0.92rem;
  padding: 0.45rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid var(--line-on-green);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.admin-tab.active { background: var(--white); color: var(--green-deep); border-color: var(--white); }
.admin-tab:disabled { opacity: 0.4; cursor: not-allowed; }

.admin-panel { padding-bottom: 4rem; }
.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}
.admin-toolbar input[type="search"] {
  flex: 1;
  min-width: 200px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-on-green);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}
.admin-toolbar input[type="search"]::placeholder { color: rgba(255, 255, 255, 0.45); }
.admin-toolbar input[type="search"]:focus { outline: none; border-color: var(--white); }
.show-cancelled {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--on-green);
  cursor: pointer;
}

/* pause/resume bookings */
.paused-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 1.2rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255, 196, 128, 0.45);
  border-radius: 12px;
  background: rgba(255, 170, 80, 0.12);
  color: #ffd9ae;
  font-size: 0.9rem;
}
.paused-banner svg { flex-shrink: 0; margin-top: 0.25em; }
#bookingsToggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
#bookingsToggle.paused {
  border-color: rgba(255, 196, 128, 0.65);
  color: #ffd9ae;
}

.bookings-day {
  font-weight: 500;
  font-size: 1rem;
  color: var(--on-green);
  margin: 1.6rem 0 0.7rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line-on-green);
}
.admin-stats { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.stat-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-on-green);
  background: rgba(255, 255, 255, 0.05);
}
.stat-chip b {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 1.15rem;
  font-variant-numeric: lining-nums tabular-nums;
}
.stat-chip span { font-size: 0.8rem; color: var(--on-green-soft); }

.booking-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-on-green);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 0.6rem;
}
.booking-card.cancelled { opacity: 0.5; }
.booking-card.cancelled .bc-name { text-decoration: line-through; }
.bc-when {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 4.4rem;
}
.bc-time {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.bc-info { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.bc-name { font-weight: 500; }
.bc-meta { color: var(--on-green-soft); font-size: 0.86rem; }
.bc-phone { color: var(--on-green); text-decoration: none; }
.bc-phone:hover { color: var(--white); }
.bc-notes {
  font-size: 0.8rem;
  color: var(--on-green-soft);
  border-inline-start: 2px solid var(--line-on-green);
  padding-inline-start: 0.5rem;
  margin-top: 0.2rem;
}
.bc-status { font-size: 0.8rem; color: #ffd6d6; }

@media (max-width: 600px) {
  .admin-header-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .booking-card { grid-template-columns: auto 1fr; }
  .bc-actions { grid-column: 1 / -1; }
  .bc-actions .bc-cancel { width: 100%; }
}

/* the hidden attribute must always win over any display rule */
[hidden] { display: none !important; }

/* ===== Booking page (standalone) ===== */
.booking-page { min-height: 100svh; padding-top: 8rem; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }

/* day chips — replaces the native date input (broken in RTL on mobile) */
.day-chips {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line-on-green) transparent;
}
.day-chip {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  min-width: 4.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  border: 1.5px solid var(--line-on-green);
  background: transparent;
  color: var(--white);
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.day-chip:hover { border-color: var(--white); }
.day-chip.selected { background: var(--white); color: var(--green-deep); border-color: var(--white); }
.dc-dow { font-size: 0.72rem; font-weight: 400; opacity: 0.85; }
.dc-num {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.1;
  font-variant-numeric: lining-nums tabular-nums;
}
.dc-mon { font-size: 0.68rem; opacity: 0.7; }

/* guests stepper — replaces the native select */
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  border: 1px solid var(--line-on-green);
  border-radius: 999px;
  padding: 0.3rem 0.5rem;
  background: rgba(255, 255, 255, 0.07);
}
.stepper-btn {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--green-deep);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.stepper-btn:hover { background: var(--silver-light); }
.stepper-btn:active { transform: scale(0.92); }
.stepper-val {
  min-width: 2rem;
  text-align: center;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 1.2rem;
  font-variant-numeric: lining-nums tabular-nums;
}

/* ===== Tables grid + locked (gray) states ===== */
/* full slot = gray & locked, still visible */
.slot-btn.taken {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.12);
  border-style: dashed;
  color: rgba(255, 255, 255, 0.35);
  cursor: not-allowed;
}
.slot-btn.taken .sb-time { text-decoration: line-through; }

/* ===== Admin: menu editor & staff ===== */
.admin-add-card {
  border: 1px solid var(--line-on-green);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.6rem;
}
.admin-add-card h3 { font-weight: 500; font-size: 1rem; margin-bottom: 0.7rem; }
.admin-add-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.admin-add-row input {
  flex: 1;
  min-width: 160px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 300;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line-on-green);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}
.admin-add-row input::placeholder { color: rgba(255, 255, 255, 0.4); }
.admin-add-row input:focus { outline: none; border-color: var(--white); }
.form-hint-admin { font-size: 0.78rem; color: var(--on-green-soft); margin-top: 0.6rem; }

.mini-input {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 300;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--line-on-green);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  min-width: 0;
}
.mini-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.mini-input:focus { outline: none; border-color: var(--white); }
.mini-input.num { width: 5.2rem; flex: 0 0 auto; }

.icon-btn {
  font-family: inherit;
  font-size: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-on-green);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.icon-btn:hover:not(:disabled) { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.icon-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.icon-btn.danger { color: #ffd6d6; border-color: rgba(255, 180, 180, 0.4); }
.icon-btn.danger:hover { background: rgba(255, 120, 120, 0.15); border-color: #ffd6d6; }
.icon-btn.add { background: var(--white); color: var(--green-deep); border-color: var(--white); }
.icon-btn.off { opacity: 0.5; text-decoration: line-through; }

.mcat {
  border: 1px solid var(--line-on-green);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
}
.mcat-head {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 0.8rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--line-on-green);
}
.mcat-head .mini-input { flex: 1; min-width: 140px; font-weight: 500; }
.mitems { display: flex; flex-direction: column; gap: 0.45rem; }
.mitem {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 0.35rem 0;
}
.mitem .mini-input { flex: 1; min-width: 120px; }
.mitem.new {
  border-top: 1px dashed var(--line-on-green);
  padding-top: 0.7rem;
  margin-top: 0.4rem;
}
.mitem.unavailable .mini-input { opacity: 0.55; }

.staff-row {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid var(--line-on-green);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem 1rem;
  margin-bottom: 0.6rem;
}
.staff-row.inactive { opacity: 0.55; }
.st-info { display: flex; flex-direction: column; flex: 1; min-width: 10rem; }
.st-name { font-weight: 500; }
.st-email { font-size: 0.82rem; color: var(--on-green-soft); }
.st-state { font-size: 0.82rem; color: var(--on-green); }
.st-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }

/* ===== Menu editor: two-level navigation ===== */
.mcat-row {
  border: 1px solid var(--line-on-green);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.8rem 1.1rem;
  margin-bottom: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.mcat-main { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.mcat-open {
  flex: 1;
  min-width: 10rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  background: none;
  border: none;
  color: var(--white);
  font-family: inherit;
  cursor: pointer;
  text-align: start;
  padding: 0;
}
.mco-ar { font-weight: 500; font-size: 1.05rem; }
.mco-en { font-size: 0.78rem; color: var(--on-green-soft); }
.mcat-open:hover .mco-ar { text-decoration: underline; text-underline-offset: 4px; }
.mco-chevron { font-size: 1.3rem; color: var(--on-green-soft); }
.cat-chip {
  font-size: 0.75rem;
  padding: 0.12rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--on-green);
  white-space: nowrap;
}
.mcat-edit {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  border-top: 1px dashed var(--line-on-green);
  padding-top: 0.7rem;
}
.mcat-edit .mini-input { flex: 1; min-width: 140px; }
.cat-detail-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.cat-detail-title { font-weight: 500; font-size: 1.15rem; }
.icon-btn.arrow { padding: 0.45rem 0.7rem; display: inline-flex; align-items: center; justify-content: center; }

/* ===== Floating social speed-dial ===== */
.social-fab {
  position: fixed;
  bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px));
  inset-inline-start: 1.4rem;
  z-index: 90;
  display: flex;
  flex-direction: column; /* items above, main button pinned at the bottom */
  align-items: center;
  gap: 0.7rem;
}
.social-main {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.social-main:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); }
.social-main svg { transition: transform 0.3s ease; }
.social-fab.open .social-main { background: var(--silver-light); }
.social-fab.open .social-main svg { transform: rotate(90deg) scale(0.92); }
.social-main::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  animation: waPulse 2.4s ease-out infinite;
}
.social-fab.open .social-main::after { animation: none; opacity: 0; }
.social-main { position: relative; }
@keyframes waPulse {
  0% { transform: scale(1); opacity: 1; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}

.social-items {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.7rem;
  pointer-events: none;
}
.social-fab.open .social-items { pointer-events: auto; }
.social-item {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transform: translateY(14px) scale(0.3);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}
.social-fab.open .social-item { transform: translateY(0) scale(1); opacity: 1; }
/* stagger: WhatsApp pops first (nearest), then upward */
.social-fab.open .social-item:nth-child(1) { transition-delay: 0s; }
.social-fab.open .social-item:nth-child(2) { transition-delay: 0.05s; }
.social-fab.open .social-item:nth-child(3) { transition-delay: 0.1s; }
.social-fab.open .social-item:nth-child(4) { transition-delay: 0.15s; }
.social-item:hover { filter: brightness(1.08); }
.social-item.whatsapp { background: #25d366; }
.social-item.snapchat { background: #fffc00; color: #1a1a1a; }
.social-item.tiktok { background: #121212; }
.social-item.instagram {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
@media (prefers-reduced-motion: reduce) {
  .social-main::after { animation: none; }
  .social-item { transition: opacity 0.2s ease; transform: none; }
}
