/* Dolci Sweet - Sharjah branch | Beans Digital concept
   Palette: chocolate / cream / pistachio / rose — from the shop's own signatures
   (chocolate cakes, pistachio cookies, celebration florals). */

@view-transition { navigation: auto; }

:root {
  --choc: #3a2420;
  --choc-deep: #2a1714;
  --cream: #fdf6ec;
  --cream-2: #f7ead9;
  --pist: #7f9c6b;
  --pist-deep: #5d7a4a;
  --rose: #c9697d;
  --rose-soft: #f3dade;
  --gold: #c8a15c;
  --ink: #3a2420;
  --radius: 22px;
  --shadow: 0 14px 40px -18px rgba(58, 36, 32, .35);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; }

a { color: var(--rose); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; }

.container { width: min(1100px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- concept banner ---------- */
.concept-banner {
  background: var(--choc-deep);
  color: var(--cream);
  text-align: center;
  font-size: .8rem;
  letter-spacing: .02em;
  padding: .55rem 1rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58, 36, 32, .12);
  view-transition-name: site-header;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--choc);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .55rem;
  view-transition-name: brand;
}

.brand .brand-dot {
  width: 14px; height: 14px;
  border-radius: 50% 50% 50% 4px;
  background: var(--rose);
  display: inline-block;
  flex: none;
}

.brand em { font-style: italic; color: var(--rose); }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }

.main-nav a {
  text-decoration: none;
  color: var(--choc);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .25s, color .25s;
}

.main-nav a:hover { color: var(--rose); }

.main-nav a[aria-current="page"] {
  color: var(--rose);
  border-bottom-color: var(--rose);
}

.nav-cta {
  background: var(--choc) !important;
  color: var(--cream) !important;
  padding: .55rem 1.2rem !important;
  border-radius: 999px;
  border-bottom: none !important;
}

.nav-cta:hover { background: var(--rose) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--choc);
  border-radius: 10px;
  padding: .4rem .6rem;
  font: inherit;
  font-weight: 700;
  color: var(--choc);
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(640px 320px at 12% 0%, var(--rose-soft), transparent 70%),
    radial-gradient(640px 320px at 88% 10%, #e8efdf, transparent 70%);
}

.hero .kicker,
.kicker {
  display: inline-block;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--pist-deep);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  color: var(--choc);
  margin-bottom: 1.2rem;
}

.hero h1 em { font-style: italic; color: var(--rose); }

.hero p.lede {
  max-width: 34rem;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  color: #5c443e;
}

.hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  font-weight: 700;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  transition: transform .25s, box-shadow .25s, background .25s;
}

.btn-primary { background: var(--choc); color: var(--cream); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--rose); color: #fff; transform: translateY(-2px); }

.btn-ghost { border: 2px solid var(--choc); color: var(--choc); }
.btn-ghost:hover { background: var(--choc); color: var(--cream); transform: translateY(-2px); }

.hero-rating {
  margin-top: 2.4rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: #fff;
  border: 1px solid rgba(58, 36, 32, .1);
  border-radius: 999px;
  padding: .55rem 1.3rem;
  box-shadow: var(--shadow);
  font-weight: 700;
}

.hero-rating .stars { color: var(--gold); letter-spacing: .1em; }
.hero-rating small { font-weight: 400; color: #6b544e; }

/* ---------- scallop divider ---------- */
.scallop { display: block; width: 100%; height: 26px; color: var(--cream-2); }
.scallop.flip { transform: scaleY(-1); }

/* ---------- marquee ---------- */
.marquee {
  background: var(--choc);
  color: var(--cream);
  overflow: hidden;
  padding: .85rem 0;
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  white-space: nowrap;
}

.marquee-track span::after { content: "✿"; margin-left: 2.5rem; color: var(--rose); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- sections ---------- */
section { padding: 4.2rem 0; }

.section-head { text-align: center; max-width: 42rem; margin: 0 auto 2.8rem; }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); color: var(--choc); margin-bottom: .8rem; }
.section-head p { color: #5c443e; }

.alt-bg { background: var(--cream-2); }

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 1.4rem;
}

.card {
  background: #fff;
  border: 1px solid rgba(58, 36, 32, .08);
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.8rem;
  text-align: center;
  box-shadow: 0 6px 24px -16px rgba(58, 36, 32, .3);
  transition: transform .3s, box-shadow .3s;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.card .icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose-soft);
  color: var(--rose);
}

.card:nth-child(2n) .icon { background: #e8efdf; color: var(--pist-deep); }
.card:nth-child(3n) .icon { background: #f3e7d2; color: var(--gold); }

.card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.card p { font-size: .97rem; color: #5c443e; }

/* ---------- reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 1.4rem;
}

.review {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  border-top: 5px solid var(--rose);
  box-shadow: 0 6px 24px -16px rgba(58, 36, 32, .3);
}

.review:nth-child(2) { border-top-color: var(--pist); }
.review:nth-child(3) { border-top-color: var(--gold); }

.review .stars { color: var(--gold); letter-spacing: .12em; margin-bottom: .7rem; }
.review p { font-size: .98rem; font-style: italic; color: #4c3832; }
.review footer { margin-top: .9rem; font-size: .82rem; font-weight: 700; color: var(--pist-deep); letter-spacing: .05em; text-transform: uppercase; }

/* ---------- stats ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--rose);
}

.stat span { font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--choc); }

/* ---------- steps (how to order) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1.4rem; counter-reset: step; }

.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  position: relative;
  border: 1px solid rgba(58, 36, 32, .08);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-style: italic;
  color: var(--rose-soft);
  -webkit-text-stroke: 1px var(--rose);
  display: block;
  margin-bottom: .4rem;
}

.step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.step p { font-size: .95rem; color: #5c443e; }

/* ---------- prose / about ---------- */
.prose { max-width: 44rem; margin-inline: auto; }
.prose h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 2.2rem 0 .9rem; color: var(--choc); }
.prose p + p { margin-top: 1rem; }

.callout {
  background: var(--rose-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  margin: 1.8rem 0;
  border-inline-start: 5px solid var(--rose);
}

/* ---------- FAQ ---------- */
.faq { max-width: 44rem; margin-inline: auto; display: grid; gap: .9rem; }

.faq details {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(58, 36, 32, .1);
  padding: 1.1rem 1.4rem;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::after { content: "+"; color: var(--rose); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .7rem; color: #5c443e; }

/* ---------- hours table ---------- */
.hours-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px -16px rgba(58,36,32,.3); }
.hours-table th, .hours-table td { padding: .85rem 1.3rem; text-align: left; }
.hours-table tr + tr { border-top: 1px solid rgba(58, 36, 32, .08); }
.hours-table th { font-family: var(--font-display); background: var(--choc); color: var(--cream); font-size: 1.05rem; }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--pist-deep); }

/* ---------- contact layout ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 2rem;
  align-items: start;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: 0 6px 24px -16px rgba(58,36,32,.3);
}

.contact-card h3 { margin-bottom: .6rem; font-size: 1.25rem; }
.contact-card + .contact-card { margin-top: 1.4rem; }

.map-frame {
  border: 0;
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--choc);
  color: var(--cream);
  text-align: center;
  border-radius: var(--radius);
  padding: 3.4rem 1.6rem;
  position: relative;
  overflow: hidden;
}

.cta-strip::before, .cta-strip::after {
  content: "✿";
  position: absolute;
  font-size: 7rem;
  opacity: .12;
  color: var(--rose);
}

.cta-strip::before { top: -1.6rem; left: 4%; transform: rotate(-15deg); }
.cta-strip::after { bottom: -2rem; right: 4%; transform: rotate(20deg); }

.cta-strip h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin-bottom: .7rem; }
.cta-strip p { opacity: .85; margin-bottom: 1.6rem; }
.cta-strip .btn-primary { background: var(--rose); color: #fff; }
.cta-strip .btn-primary:hover { background: var(--cream); color: var(--choc); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--choc-deep);
  color: var(--cream);
  margin-top: 4rem;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h4 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: .8rem; color: var(--rose-soft); }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--rose-soft); text-decoration: underline; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; font-size: .95rem; }
.site-footer p { font-size: .95rem; opacity: .85; }

.footer-legal {
  border-top: 1px solid rgba(253, 246, 236, .15);
  padding-top: 1.3rem;
  text-align: center;
  font-size: .85rem;
  opacity: .75;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .4);
  transition: transform .25s;
}

.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* no-JS: everything visible */
html.no-js .reveal, html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.4rem 1.4rem;
    gap: .9rem;
    border-bottom: 1px solid rgba(58, 36, 32, .12);
    box-shadow: 0 20px 30px -20px rgba(58,36,32,.35);
  }

  .main-nav.open { display: flex; }
  .main-nav a { font-size: 1.05rem; }
  .nav-cta { text-align: center; }

  section { padding: 3rem 0; }
  .map-frame { height: 320px; }
}
