:root{
  --bg:#f7fbf8;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --brand:#16a34a;
  --brand2:#22c55e;
  --brand3:#0ea5a4;
  --line: rgba(2,6,23,.10);
  --shadow: 0 10px 30px rgba(2,6,23,.10);
  --radius: 18px;
  --radius2: 14px;
  --pad: 18px;
  --max: 1120px;
}

/* =========================
   Base
   ========================= */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 420px at 20% -10%, rgba(34,197,94,.18), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(14,165,164,.12), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.45;
}
a{color:inherit}

/* =========================
   Layout
   ========================= */
.container{max-width:var(--max); margin:0 auto; padding:18px}
section{margin-top:14px}
.divider{height:1px; background: rgba(2,6,23,.08); margin:12px 0}

/* =========================
   Topbar + Nav
   ========================= */
.topbar{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:10px 0 16px;
  position:sticky; top:0;
  background: rgba(247,251,248,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(2,6,23,.06);
  z-index: 50;
}

.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none;
  min-width: 240px;
}
.logoMark{
  width:44px; height:44px; border-radius:14px;
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.logoMark:after{
  content:"";
  position:absolute; inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.45), transparent 40%);
  transform: rotate(12deg);
}
.brandTitle{display:flex; flex-direction:column; line-height:1.05}
.brandTitle b{font-size:16px; letter-spacing:.2px}
.brandTitle span{font-size:12px; color:var(--muted); font-weight:600}

nav{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end}
nav a{
  text-decoration:none;
  padding:9px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-weight:700;
  font-size: 13px;
}
nav a:hover{background:rgba(2,6,23,.06); color:var(--text)}

/* =========================
   TOPBAR AUTH ACTIONS
   ========================= */
.topbar{
  position: relative;
}

.authActions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
  position: relative;
}

/* icon buttons */
.iconBtn{
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.85);
  display:grid;
  place-items:center;
  cursor:pointer;
  text-decoration:none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 10px 24px rgba(2,6,23,.08);
}
.iconBtn:hover{ transform: translateY(-1px); }
.iconBtn:active{ transform: translateY(0) scale(.98); }

/* dropdown */
.profileMenu{
  position:absolute;
  right:0;
  top: calc(100% + 8px);
  background:#fff;
  border:1px solid rgba(2,6,23,.10);
  border-radius:14px;
  box-shadow: 0 14px 34px rgba(2,6,23,.14);
  padding:8px;
  min-width: 180px;
  display:none;
  z-index: 60;
}
.profileMenu a{
  display:block;
  padding:10px 10px;
  border-radius:12px;
  text-decoration:none;
  color: inherit;
  font-weight: 800;
}
.profileMenu a:hover{
  background: rgba(2,6,23,.04);
}

.profileMenu.show{ display:block; }

/* default hidden states controlled by JS */
.authDash,
.authProfile{ display:none; }

/* Mobile: keep auth row neat */
@media (max-width: 720px){
  .authActions{
    gap:8px;
  }
  .authLogin{
    padding:10px 12px;
    border-radius:14px;
    font-weight:900;
  }
}


/* =========================
   Pills / Badges / Buttons
   ========================= */
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:999px;
  border:1px solid var(--line); background:#fff;
  font-size:12px; color:var(--muted); font-weight:700;
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px; border-radius:999px;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.22);
  color: var(--text);
  font-size: 12px;
  font-weight:800;
}
.ctaRow{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 14px; border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(2,6,23,.04);
  color: var(--text);
  cursor:pointer;
  text-decoration:none;
  font-weight:900;
}
.btn:hover{background: rgba(2,6,23,.06)}
.btn.primary{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  border-color: transparent;
  color: white;
}
.btn.primary:hover{filter:brightness(1.03)}
.btn.ghost{background:#fff}
.btn.ghost:hover{background:rgba(2,6,23,.03)}

/* =========================
   Cards / Typography
   ========================= */
.card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--pad);
}
h1{margin:12px 0 10px; font-size:34px; line-height:1.1}
h2{margin:0 0 10px; font-size:20px}
p{margin:0 0 12px; color:var(--muted)}

/* =========================
   Grids + Media
   ========================= */
.gridHero{
  display:grid; grid-template-columns: 1.3fr .7fr; gap:14px;
  margin-top:12px;
}
.heroImg{
  width:100%;
  border-radius: var(--radius2);
  max-height: 360px;
  object-fit: cover;
  border: 1px solid rgba(2,6,23,.06);
}

.kpis{display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; margin-top:14px}
.kpi{
  border:1px solid var(--line);
  border-radius: 14px;
  background: rgba(34,197,94,.06);
  padding: 12px;
}
.kpi b{display:block; font-size:13px}
.kpi span{display:block; font-size:12px; color:var(--muted); margin-top:4px}

.split{display:grid; grid-template-columns: 1fr 1fr; gap:14px}
.imgWide{
  width:100%;
  border-radius: var(--radius2);
  border: 1px solid rgba(2,6,23,.06);
  object-fit: cover;
  max-height: 260px;
}

.menuGrid{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px}
.orderGrid{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
.faq{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
.serviceGrid{display:grid; grid-template-columns: repeat(3,1fr); gap:12px}

/* =========================
   Menu (Collections + Items)
   ========================= */
.menuCollections{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin: 8px 0 14px;
}
.menuChip{
  border:1px solid var(--line);
  background: rgba(2,6,23,.02);
  color: var(--text);
  font-weight: 900;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  user-select:none;
}
.menuChip[aria-selected="true"]{
  border-color: rgba(22,163,74,.55);
  background: rgba(34,197,94,.12);
}

.item{
  border:1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background:#fff;
  display:flex; flex-direction:column; gap:8px;
}
.item img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f4f6f5;
  border-radius: 12px;
}
.itemTop{display:flex; justify-content:space-between; gap:10px; align-items:flex-start}
.itemName{font-weight:1000}
.itemPrice{font-weight:1000; color: var(--brand)}
.tags{display:flex; flex-wrap:wrap; gap:6px}
.tag{
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(2,6,23,.02);
  color: var(--muted);
  font-weight: 800;
}
.note{font-size: 12px; color: var(--muted); margin-top: 10px}

/* =========================
   Forms + Alerts
   ========================= */
label{display:block; font-size:12px; color:var(--muted); margin:10px 0 6px; font-weight:900}
input, select, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background:#fff;
  color: var(--text);
  outline:none;
  font-weight: 700;
}
textarea{min-height: 98px; resize:vertical}
input:focus, select:focus, textarea:focus{border-color: rgba(22,163,74,.55)}

.error{
  display:none;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(2,6,23,0.12);
  background: rgba(255, 245, 245, 0.9);
  color: #7f1d1d;
  font-weight:900;
  font-size:12px;
}
.error.show{display:block}

.success{display:none; color:var(--brand); font-weight:900; font-size:12px; margin-top:10px}

/* =========================
   FAQ (upgrade)
   ========================= */

.faq{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  align-items:start;
}

@media (max-width: 980px){
  .faq{ grid-template-columns: 1fr; }
}

/* details card */
.faq details{
  border: 1px solid rgba(2,6,23,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 25px rgba(2,6,23,.06);
  padding: 0;                 /* we'll pad summary/body separately */
  overflow: hidden;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}

.faq details:hover{
  transform: translateY(-1px);
  border-color: rgba(22,163,74,.30);
  background: rgba(34,197,94,.06);
}

/* summary row */
.faq summary{
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-weight: 1000;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

/* remove default marker */
.faq summary::-webkit-details-marker{ display:none; }

/* custom chevron */
.faq summary::after{
  content:"";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  background: rgba(2,6,23,.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230f172a' d='M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform .18s ease, background .18s ease;
}

.faq details[open] summary::after{
  transform: rotate(180deg);
  background: rgba(34,197,94,.16);
}

/* content area */
.faq details > *:not(summary){
  padding: 0 16px 14px;
}

.faq details p{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

/* smooth open animation */
.faq details{
  will-change: transform;
}
.faq details[open]{
  border-color: rgba(22,163,74,.35);
}




/* Contact polish (no emoji) */
.contactGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 860px){
  .contactGrid{ grid-template-columns: 1fr; }
}

.contactChips{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top: 10px;
}

.contactChip{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 999px;
  border:1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 25px rgba(2,6,23,.06);
  text-decoration:none;
  font-weight: 900;
  color: var(--text);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.contactChip:hover{
  transform: translateY(-1px);
  border-color: rgba(22,163,74,.35);
  background: rgba(34,197,94,.08);
}

.ic{
  width:32px;
  height:32px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  background: rgba(2,6,23,.05);
  color: rgba(2,6,23,.70);
}
.ic svg{ display:block; }

.ic.small{
  width:32px;
  height:32px;
}

.mutedStrong{
  color: var(--muted);
  font-weight: 800;
}

.infoRow{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color: var(--muted);
  font-weight: 700;
}
.infoRow b{ color: var(--text); }



/* =========================
   WhatsApp floating button
   ========================= */
.wa-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.18);
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform .15s ease;
}
.wa-float:hover{ transform: translateY(-1px); }
.wa-float__icon{ font-size: 18px; line-height: 1; }
.wa-float__text{ font-weight: 700; letter-spacing: 0.2px; }

/* =========================
   Mobile hamburger nav
   ========================= */
.navWrap{ display:flex; justify-content:flex-end; flex:1 1 auto; }

.navToggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow: 0 8px 18px rgba(2,6,23,.08);
  cursor:pointer;
  padding:0;
}

.burger{
  position:relative;
  width:20px;
  height:2px;
  background: rgba(2,6,23,.72);
  border-radius:999px;
  display:block;
}
.burger::before,
.burger::after{
  content:"";
  position:absolute;
  left:0;
  width:20px;
  height:2px;
  background: rgba(2,6,23,.72);
  border-radius:999px;
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}
.burger::before{ top:-6px; }
.burger::after{ top: 6px; }

/* =========================
   Animations (Reveal)
   ========================= */
@keyframes fadeUp{
  from{ opacity:0; transform: translateY(14px); }
  to{ opacity:1; transform: translateY(0); }
}
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}
.reveal[data-delay="1"]{ transition-delay:.06s; }
.reveal[data-delay="2"]{ transition-delay:.12s; }
.reveal[data-delay="3"]{ transition-delay:.18s; }
.reveal[data-delay="4"]{ transition-delay:.24s; }
.reveal[data-delay="5"]{ transition-delay:.30s; }

.card .badge{ animation: fadeUp .55s ease both; }
.card h1{ animation: fadeUp .6s ease both; }
.card p{ animation: fadeUp .65s ease both; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  .card .badge, .card h1, .card p{ animation:none !important; }
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  .gridHero{grid-template-columns:1fr}
  .kpis{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .menuGrid{grid-template-columns:1fr}
  .orderGrid{grid-template-columns:1fr}
  .faq{grid-template-columns:1fr}
  .serviceGrid{grid-template-columns:1fr}
  h1{font-size:28px}
  .brand{min-width: unset}
}

@media (max-width: 520px){
  .wa-float__text{ display:none; }
  .wa-float{ padding: 12px; }

  .ctaRow .btn{ width: 100%; justify-content: center; }

  .menuCollections{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .menuCollections::-webkit-scrollbar{ height: 6px; }

  .container{ padding: 14px; }
  h1{ font-size: 26px; }
  .card{ padding: 14px; }

  .heroImg{ max-height: 240px; }
  .item img{ height: 150px; }
}

/* Responsive upgrades you used (auto-fit grids) */
.topbar{ flex-wrap: wrap; gap: 10px; }
.brand{ min-width: 0; flex: 1 1 220px; }
nav{ flex: 1 1 320px; justify-content:flex-end; gap:6px; }
@media (max-width: 720px){
  nav{ justify-content: flex-start; }
  nav a{ padding: 8px 10px; font-size: 12.5px; }
}

.kpis{ grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.menuGrid{ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.serviceGrid{ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.faq{ grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.orderGrid{ grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.gridHero{ grid-template-columns: 1fr; }
@media (min-width: 980px){ .gridHero{ grid-template-columns: 1.3fr .7fr; } }

.split{ grid-template-columns: 1fr; }
@media (min-width: 860px){ .split{ grid-template-columns: 1.2fr 1fr; align-items: center; } }

@media (max-width: 820px){
  .topbar{ flex-wrap: nowrap; align-items: center; gap: 10px; position: sticky; }
  .brand{ flex: 1 1 auto; min-width: 0; }

  .navToggle{ display:inline-flex; }

  .navWrap{
    position:absolute;
    left:0; right:0;
    top:100%;
    background: rgba(247,251,248,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(2,6,23,.08);

    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    z-index: 60;
  }

  .navWrap nav{
    padding: 10px 18px 14px;
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    justify-content: initial;
  }

  .navWrap nav a{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    padding: 11px 10px;
    border-radius: 14px;
    background:#fff;
    border:1px solid rgba(2,6,23,.08);
  }

  .topbar.nav-open .navWrap{ max-height: 420px; }

  .topbar.nav-open .burger{ background: transparent; }
  .topbar.nav-open .burger::before{ top:0; transform: rotate(45deg); }
  .topbar.nav-open .burger::after{ top:0; transform: rotate(-45deg); }
}

@media (max-width: 420px){
  .navWrap nav{ grid-template-columns: 1fr; }
}

/* Prevent long text breaking layouts */
.itemName, .note, p{ overflow-wrap:anywhere; }


/* Disable reveal animation for footer only */
/* =========================
   Footer (polish)
   ========================= */
.footer{
  margin-top: 18px;
  padding: 14px 0 6px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;

  border-top: 1px solid rgba(2,6,23,.08);
}

/* Make the pill smaller/cleaner in footer */
.footer .pill{
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

/* Links row */
.footer .legal{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}

/* Remove ugly default underline/blue */
.footer .legal a{
  text-decoration:none;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255,255,255,.55);
}

/* Hover = brand */
.footer .legal a:hover{
  color: var(--text);
  border-color: rgba(22,163,74,.25);
  background: rgba(34,197,94,.10);
}

/* Mobile: stack nicely */
@media (max-width: 520px){
  .footer{
    flex-direction: column;
    align-items:flex-start;
  }
  .footer .legal{
    width: 100%;
  }
}

/* If your footer accidentally has .reveal, kill that animation */
.footer.reveal,
footer.reveal{
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

