:root {
  --cream: #fff5f7;
  --cream-dark: #fcdde6;
  --brown: #c13d6a;
  --brown-dark: #5a2238;
  --caramel: #e8739a;
  --caramel-dark: #c13d6a;
  --text: #4a1f30;
  --muted: #8f6474;
  --white: #ffffff;
  --wa: #25d366;
  --wa-dark: #1ea952;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(193, 61, 106, 0.12);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.section { padding: 96px 0; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--brown-dark); }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
h1 em { color: var(--caramel); font-style: italic; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--caramel-dark);
  margin-bottom: 10px;
}

/* ---------- Butang ---------- */
.ico { width: 20px; height: 20px; flex-shrink: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn .ico { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:hover .ico-arrow { transform: translateX(3px); }
.btn .ico { transition: transform 0.2s; }

.btn-primary { background: var(--brown); color: var(--white); box-shadow: 0 6px 18px rgba(193, 61, 106, 0.22); }
.btn-primary:hover { background: #a93159; box-shadow: 0 10px 24px rgba(193, 61, 106, 0.3); }
.btn-outline { background: var(--white); border-color: var(--cream-dark); color: var(--brown); }
.btn-outline:hover { border-color: var(--brown); background: var(--white); box-shadow: 0 8px 20px rgba(193, 61, 106, 0.12); }
.btn-light { background: var(--white); color: var(--brown); }
.btn-wa { background: var(--wa); color: var(--white); box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3); }
.btn-wa:hover { background: var(--wa-dark); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35); }
.btn-wa .ico { width: 21px; height: 21px; }
.btn-block { width: 100%; }

/* Fokus papan kekunci yang jelas untuk semua butang & pautan */
.btn:focus-visible,
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(232, 115, 154, 0.55);
  outline-offset: 3px;
}

/* Navbar */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.navbar.scrolled {
  background: rgba(255, 245, 247, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: -0.01em;
}
.logo-img { display: block; height: 54px; width: auto; transition: transform 0.3s; }
.logo:hover .logo-img { transform: scale(1.03); }
.navbar.scrolled .logo-img { height: 46px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-weight: 500; position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--caramel);
  transition: width 0.25s;
}
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn,
.menu-toggle,
.cart-close,
.modal-close {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  color: var(--brown-dark);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.cart-btn:hover,
.menu-toggle:hover,
.cart-close:hover,
.modal-close:hover { border-color: var(--caramel); color: var(--brown); transform: translateY(-1px); }
.cart-btn .ico { width: 21px; height: 21px; }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--caramel);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.cart-count.bump { animation: bump 0.4s; }
@keyframes bump { 50% { transform: scale(1.4); } }
.menu-toggle { display: none; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background:
    radial-gradient(circle at 85% 20%, rgba(232, 115, 154, 0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(193, 61, 106, 0.08), transparent 40%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.badge {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--brown);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-text p { font-size: 1.1rem; color: var(--muted); margin: 20px 0 32px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--brown); }
.hero-stats span { font-size: 0.9rem; color: var(--muted); }

.hero-visual { display: flex; justify-content: center; }
.hero-circle {
  position: relative;
  width: min(420px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 10px solid var(--white);
  box-shadow: 0 30px 60px rgba(193, 61, 106, 0.3);
}
.hero-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.float {
  position: absolute;
  width: clamp(70px, 18vw, 104px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--white);
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.f1 { top: 2%; left: 6%; }
.f2 { top: 10%; right: -2%; }
.f3 { bottom: 6%; left: -2%; }
.f4 { bottom: 0; right: 10%; }
@keyframes float { 50% { transform: translateY(-14px); } }

/* About */
.about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-card {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.about-tag {
  position: absolute;
  bottom: 24px; right: -16px;
  background: var(--brown);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.about-text > p { color: var(--muted); margin-bottom: 28px; }
.features { list-style: none; display: grid; gap: 20px; }
.features li, .info-list li { display: flex; gap: 16px; align-items: flex-start; }
.features li > span, .info-list li > span {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}
.features p, .info-list p { color: var(--muted); font-size: 0.95rem; }

/* Menu */
.section-head { text-align: center; max-width: 600px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--white);
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--cream-dark);
  transition: all 0.2s;
}
.filter:hover { color: var(--brown); }
.filter.active { background: var(--brown); color: var(--white); border-color: var(--brown); }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-play-state: paused;
}
.menu-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(193, 61, 106, 0.18); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.menu-thumb {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: var(--cream-dark);
}
.menu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.menu-card:hover .menu-thumb img { transform: scale(1.06); }
.menu-label {
  position: absolute;
  z-index: 1;
  top: 12px; left: 12px;
  background: var(--caramel);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.menu-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.menu-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.menu-body p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.menu-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.price { font-weight: 700; font-size: 1.1rem; color: var(--brown); }
.add-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--brown);
  transition: background 0.2s, color 0.2s, transform 0.25s, box-shadow 0.2s;
}
.add-btn .ico { width: 18px; height: 18px; transition: transform 0.25s; }
.add-btn:hover { background: var(--brown); color: var(--white); box-shadow: 0 6px 16px rgba(193, 61, 106, 0.3); }
.add-btn:hover .ico { transform: rotate(90deg); }
.add-btn:active { transform: scale(0.92); }

/* Promo */
.promo { background: linear-gradient(120deg, var(--brown), var(--caramel)); color: var(--white); padding: 56px 0; }
.promo-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.promo h2 { color: var(--white); margin-bottom: 8px; }
.promo p { opacity: 0.9; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testi { background: var(--white); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.stars { color: var(--caramel); font-size: 1.1rem; letter-spacing: 2px; }
.testi blockquote { margin: 14px 0 20px; font-style: italic; }
.testi figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.testi figcaption small { display: block; font-weight: 400; color: var(--muted); margin-left: auto; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--brown);
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* Contact */
.contact { background: var(--white); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.info-list { list-style: none; display: grid; gap: 22px; margin-top: 12px; }
.open-status {
  display: inline-block;
  margin-top: 28px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.open-status.open { background: #e3f4e5; color: #2e7d32; }
.open-status.closed { background: #fbe4e2; color: #c0392b; }
.contact-form {
  background: var(--cream);
  padding: 36px;
  border-radius: 24px;
  display: grid;
  gap: 18px;
}
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.9rem; }
.contact-form input, .contact-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 13px 16px;
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--caramel);
  box-shadow: 0 0 0 3px rgba(232, 115, 154, 0.2);
}
.map-card {
  margin-top: 28px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow);
}
.map-card iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  filter: saturate(0.85);
}
.map-actions { display: flex; gap: 10px; padding: 12px; }
.map-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brown);
  background: var(--cream);
  transition: background 0.2s, color 0.2s;
}
.map-btn .ico { width: 18px; height: 18px; }
.map-btn:hover { background: var(--brown); color: var(--white); }
.form-intro { color: var(--muted); font-size: 0.9rem; margin-top: -10px; }
.contact-form select {
  font: inherit;
  font-weight: 400;
  padding: 13px 16px;
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
}
.contact-form select:focus { outline: none; border-color: var(--caramel); box-shadow: 0 0 0 3px rgba(232, 115, 154, 0.2); }
.tel-link { color: var(--brown); font-weight: 600; }
.tel-link:hover { text-decoration: underline; }

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s, background 0.2s;
  animation: pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s backwards;
}
.wa-float .ico { width: 30px; height: 30px; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { background: var(--wa-dark); transform: scale(1.06); }
.wa-float-tip {
  position: absolute;
  right: calc(100% + 12px);
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.wa-float:hover .wa-float-tip { opacity: 1; transform: none; }
body.cart-open .wa-float { opacity: 0; pointer-events: none; }

.form-note { font-size: 0.9rem; color: #2e7d32; min-height: 1.2em; }

/* Footer */
.footer { background: var(--brown-dark); color: var(--cream-dark); padding: 56px 0 28px; }
.footer .logo {
  padding: 10px 18px;
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.footer .logo-img { height: 58px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-inner p { opacity: 0.8; margin-top: 6px; }
.footer-links { display: flex; gap: 28px; align-items: center; }
.footer-links a:hover { color: var(--caramel); }
.copyright {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(60, 15, 32, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 90;
}
.cart {
  position: fixed;
  top: 0; right: 0;
  width: min(400px, 100%);
  height: 100dvh;
  background: var(--white);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
body.cart-open .cart { transform: none; }
body.cart-open .cart-overlay { opacity: 1; visibility: visible; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--cream-dark); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty { text-align: center; color: var(--muted); padding: 48px 0; }
.cart-empty span { display: block; font-size: 3rem; margin-bottom: 8px; }
.cart-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--cream-dark); }
.cart-item-img { width: 54px; height: 54px; object-fit: cover; border-radius: 12px; flex-shrink: 0; background: var(--cream); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info strong { display: block; font-size: 0.95rem; }
.cart-item-info small { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  color: var(--brown);
  font-weight: 700;
  transition: all 0.2s;
}
.qty button:hover { background: var(--brown); border-color: var(--brown); color: var(--white); }
.cart-foot { padding: 24px; border-top: 1px solid var(--cream-dark); display: grid; gap: 16px; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.1rem; }
.cart-total strong { color: var(--brown); }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translate(-50%, 120px);
  background: var(--brown-dark);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  z-index: 120;
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Skrin sambutan ---------- */
body.is-loading { overflow: hidden; }
.welcome {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 42%, var(--white) 0%, var(--cream) 55%, var(--cream-dark) 100%);
  cursor: pointer;
  transition: transform 1s cubic-bezier(0.77, 0, 0.18, 1), border-radius 1s cubic-bezier(0.77, 0, 0.18, 1);
}
.welcome.done {
  transform: translateY(-100%);
  border-radius: 0 0 50% 50% / 0 0 16% 16%;
}
.welcome.gone { display: none; }
.welcome-inner {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 0 16px;
  transition: opacity 0.5s, transform 0.6s;
}
.welcome.done .welcome-inner { opacity: 0; transform: translateY(-40px); }
.welcome-mark {
  position: relative;
  width: 124px;
  height: 124px;
  margin-bottom: 8px;
  animation: markIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.welcome-mark img {
  position: absolute;
  inset: 12px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(193, 61, 106, 0.25);
}
.welcome-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.welcome-ring circle {
  fill: none;
  stroke: var(--caramel);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 352;
  stroke-dashoffset: 352;
  animation: draw 1.6s 0.2s ease-in-out forwards;
}
.welcome-title { font-size: clamp(2.2rem, 7vw, 3.4rem); }
.welcome-title .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.7em) rotate(6deg);
  animation: chIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(0.45s + var(--i) * 45ms);
}
.welcome-title .ch:nth-child(n + 6) { color: var(--caramel); font-style: italic; }
.welcome-sub {
  color: var(--muted);
  letter-spacing: 0.04em;
  opacity: 0;
  animation: fadeIn 0.7s 1.3s forwards;
}
.welcome-bar {
  width: 140px;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: var(--cream-dark);
  overflow: hidden;
}
.welcome-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--caramel), var(--brown));
  transform: scaleX(0);
  transform-origin: left;
  animation: bar 2s 0.3s ease-in-out forwards;
}
@keyframes markIn { from { opacity: 0; transform: scale(0.6); } }
.welcome-logo {
  width: min(440px, 82vw);
  height: auto;
  animation: logoReveal 1.5s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes logoReveal {
  from { clip-path: inset(0 100% 0 0); opacity: 0.3; transform: translateY(10px); }
  to { clip-path: inset(0 0 0 0); opacity: 1; transform: none; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes chIn { to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes bar { to { transform: scaleX(1); } }

/* ---------- Animasi hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
  animation: drift 16s ease-in-out infinite alternate;
}
.b1 { width: 460px; height: 460px; background: #ffc9d9; top: -120px; right: -80px; }
.b2 { width: 360px; height: 360px; background: #ffe3cf; bottom: -120px; left: -100px; animation-duration: 20s; }
.b3 { width: 220px; height: 220px; background: #f9b8cc; top: 40%; left: 45%; opacity: 0.35; animation-duration: 13s; }
@keyframes drift {
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}

/* Semua animasi hero menunggu skrin sambutan selesai */
body.is-loading .hero *,
body.is-loading .navbar { animation-play-state: paused !important; }

.navbar { animation: navIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards; }
@keyframes navIn { from { opacity: 0; transform: translateY(-100%); } }

.hero-text .badge,
.hero-text p,
.hero-cta,
.promo-card,
.hero-best {
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}
.hero-text .badge { animation-delay: 0.15s; }
.hero-text p { animation-delay: 0.55s; }
.hero-cta { animation-delay: 0.7s; }
.promo-card { animation-delay: 0.9s; }
.hero-best { animation-delay: 1.15s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

h1 .line { display: block; overflow: hidden; padding: 0 0.12em 0.1em 0; margin-bottom: -0.1em; }
h1 .line > span { display: inline-block; animation: lineUp 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
h1 .line:nth-child(1) > span { animation-delay: 0.25s; }
h1 .line:nth-child(2) > span { animation-delay: 0.38s; }
@keyframes lineUp { from { transform: translateY(110%); } }

.hero-circle { animation: circleIn 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards; }
.hero-main { animation: zoomOut 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards; }
@keyframes circleIn { from { opacity: 0; transform: scale(0.75) rotate(-10deg); } }
@keyframes zoomOut { from { transform: scale(1.35); } }

.float { animation: pop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards, float 4s ease-in-out infinite; }
.f1 { animation-delay: 0.8s, 1.6s; }
.f2 { animation-delay: 0.95s, 2.6s; }
.f3 { animation-delay: 1.1s, 3.6s; }
.f4 { animation-delay: 1.25s, 4.6s; }
@keyframes pop { from { opacity: 0; transform: scale(0); } }

.spin-badge {
  position: absolute;
  top: 50%;
  right: -9%;
  width: clamp(96px, 22vw, 122px);
  aspect-ratio: 1;
  margin-top: -61px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  animation: pop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s backwards;
}
.spin-badge svg {
  position: absolute;
  inset: 0;
  animation: spin 16s linear infinite;
}
.spin-badge text {
  font-family: var(--font-body);
  font-size: 8.6px;
  font-weight: 700;
  letter-spacing: 0.5px;
  fill: var(--brown);
}
.spin-badge img {
  width: 42%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero: promosi & paling laris ---------- */
.hero {
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 110px 0 48px;
}
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
.hero-text p { margin: 18px 0 26px; }
.hero-circle { width: min(400px, 78vw); }

.promo-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  max-width: 560px;
  padding: 14px 18px 14px 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--cream-dark);
  border-radius: 22px;
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(193, 61, 106, 0.18); }
.promo-card > img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
.promo-card-body { display: grid; gap: 2px; min-width: 0; }
.promo-tag {
  justify-self: start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--brown);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(193, 61, 106, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(193, 61, 106, 0); }
}
.promo-card-body strong { font-size: 1rem; color: var(--brown-dark); }
.promo-card-body small { color: var(--muted); font-size: 0.82rem; }
.countdown { display: grid; gap: 4px; justify-items: center; }
.cd-label { font-size: 0.68rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.cd-boxes { display: flex; gap: 5px; }
.cd-boxes span {
  display: grid;
  justify-items: center;
  min-width: 40px;
  padding: 5px 4px;
  border-radius: 10px;
  background: var(--cream);
}
.cd-boxes b { font-family: var(--font-head); font-size: 1.05rem; color: var(--brown); line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd-boxes i { font-style: normal; font-size: 0.6rem; color: var(--muted); }

.hero-best { position: relative; z-index: 1; text-align: left; }
.best-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.best-head h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.best-head h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--caramel);
  box-shadow: 0 0 0 4px rgba(232, 115, 154, 0.25);
}
.best-head a { font-size: 0.9rem; font-weight: 600; color: var(--brown); white-space: nowrap; }
.best-head a:hover { text-decoration: underline; }
.best-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.best-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--cream-dark);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(193, 61, 106, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.best-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.best-card img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.best-rank {
  position: absolute;
  top: -8px;
  left: -6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  background: var(--brown);
  border: 2px solid var(--white);
}
.best-info { flex: 1; min-width: 0; display: grid; }
.best-info strong { font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.best-info span { font-size: 0.8rem; color: var(--muted); }
.best-info span b { color: var(--brown); }
.best-card .add-btn { width: 34px; height: 34px; font-size: 1.1rem; flex-shrink: 0; }

@media (max-width: 1024px) {
  .best-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding-top: 96px; }
  .promo-card { margin-inline: auto; }
}
@media (max-width: 560px) {
  .promo-card { grid-template-columns: auto 1fr; }
  .countdown { grid-column: 1 / -1; justify-items: stretch; }
  .cd-boxes span { flex: 1; }
  .best-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 2px 8px;
    margin: -10px -2px 0;
  }
  .best-card { flex: 0 0 78%; scroll-snap-align: start; }
  .best-head h3 { font-size: 1.05rem; white-space: nowrap; }
  .best-head a { font-size: 0.82rem; }
}

/* ---------- Sentuhan lembut ---------- */
.menu-card.visible { animation-play-state: running; }
.testi { transition: opacity 0.7s, transform 0.7s, box-shadow 0.3s; }
.testi:nth-child(2) { transition-delay: 0.12s; }
.testi:nth-child(3) { transition-delay: 0.24s; }
.testi.visible:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(193, 61, 106, 0.16); transition-delay: 0s; }

/* ---------- Pautan aktif & menu "lihat semua" ---------- */
.nav-links a.active { color: var(--brown); font-weight: 600; }
.nav-links a.active::after { width: 100%; }
.menu-more-wrap { text-align: center; margin-top: 40px; }

/* ---------- Halaman produk ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 56px;
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.3rem); margin: 10px 0 14px; }
.page-hero h1 em { color: var(--caramel); font-style: italic; }
.page-hero-text > * { animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.page-hero-text > :nth-child(2) { animation-delay: 0.1s; }
.page-hero-text > :nth-child(3) { animation-delay: 0.2s; }
.page-hero-text > :nth-child(4) { animation-delay: 0.3s; }
.page-hero p { color: var(--muted); max-width: 520px; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.88rem; color: var(--muted); }
.breadcrumb a { color: var(--brown); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 480px;
  margin-top: 26px;
  padding: 6px 8px 6px 18px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.search:focus-within { border-color: var(--caramel); box-shadow: 0 0 0 4px rgba(232, 115, 154, 0.18); }
.search input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  outline: none;
  background: none;
  font: inherit;
  color: var(--text);
}
.page-hero-art { position: relative; height: 280px; }
.art {
  position: absolute;
  object-fit: cover;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
  animation: pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) backwards, float 5s ease-in-out infinite;
}
.a1 { width: 220px; height: 220px; border-radius: 50%; right: 10%; top: 10px; animation-delay: 0.2s, 1s; }
.a2 { width: 130px; height: 130px; border-radius: 50%; left: 8%; bottom: 0; animation-delay: 0.4s, 2s; }
.a3 { width: 110px; height: 110px; border-radius: 28px; right: 0; bottom: -10px; animation-delay: 0.6s, 3s; }

.shop { padding: 40px 0 96px; }
.cat-chips {
  position: relative;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: none;
}
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  font-weight: 600;
  color: var(--text);
  transition: all 0.25s;
}
.cat-chip img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.cat-chip small {
  min-width: 24px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--muted);
  font-size: 0.75rem;
}
.cat-chip:hover { border-color: var(--caramel); transform: translateY(-2px); }
.cat-chip.active { background: var(--brown); border-color: var(--brown); color: var(--white); box-shadow: 0 8px 20px rgba(193, 61, 106, 0.25); }
.cat-chip.active small { background: rgba(255, 255, 255, 0.2); color: var(--white); }

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0 28px;
}
.shop-toolbar p { color: var(--muted); }
.shop-toolbar b { color: var(--brown-dark); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; }
.sort select {
  font: inherit;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--cream-dark);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
}
.sort select:focus { outline: none; border-color: var(--caramel); }

#productGrid .menu-card { cursor: pointer; }
.cat-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  background: var(--cream);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.rating { display: block; font-size: 0.8rem; color: var(--muted); }

.empty-state { text-align: center; padding: 48px 16px; }
.empty-state span { font-size: 3rem; }
.empty-state h3 { margin: 8px 0 6px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }

.custom-cake {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 72px;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(120deg, var(--white), var(--cream-dark));
  box-shadow: var(--shadow);
}
.custom-cake img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.custom-cake p { color: var(--muted); margin-bottom: 20px; }

/* Modal butiran produk */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(60, 15, 32, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s;
}
.modal-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(860px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(60, 15, 32, 0.3);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.25s, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.modal.open .modal-backdrop { opacity: 1; }
.modal.open .modal-box { opacity: 1; transform: none; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  box-shadow: var(--shadow);
}
.modal-img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.modal-body { padding: 36px 32px; display: flex; flex-direction: column; }
.modal-body h2 { font-size: 1.8rem; margin-bottom: 6px; }
.modal-rating { color: var(--caramel); font-weight: 700; font-size: 0.9rem; margin-bottom: 14px; }
.modal-rating span { color: var(--muted); font-weight: 500; }
.modal-body p { color: var(--muted); }
.modal-price { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--brown); margin: 18px 0; }
.modal-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.modal-actions .btn { flex: 1; }
.qty-lg { padding: 6px; border-radius: 999px; background: var(--cream); gap: 12px; }
.qty-lg button { width: 38px; height: 38px; }
.qty-lg span { min-width: 20px; text-align: center; font-weight: 700; }
.modal-notes { list-style: none; margin-top: 22px; display: grid; gap: 6px; font-size: 0.88rem; color: var(--muted); }
.modal-notes [hidden] { display: none; }

@media (max-width: 900px) {
  .page-hero { padding-top: 110px; text-align: center; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero p, .search { margin-inline: auto; }
  .breadcrumb { justify-content: center; }
  .page-hero-art { display: none; }
  .custom-cake { grid-template-columns: 1fr; text-align: center; }
  .modal-box { grid-template-columns: 1fr; }
  .modal-img img { min-height: 0; aspect-ratio: 4 / 3; }
  .modal-body { padding: 24px; }
}

/* ---------- Halaman Tentang ---------- */
.about-more { margin-top: 28px; }
.page-hero .hero-cta { margin-top: 26px; }

.story { background: var(--white); }
.story-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.story-visual { position: relative; }
.story-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.story-quote {
  position: absolute;
  left: -24px;
  bottom: 32px;
  max-width: 280px;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(193, 61, 106, 0.18);
}
.story-quote p { font-family: var(--font-head); font-size: 1.1rem; color: var(--brown-dark); line-height: 1.35; }
.story-quote span { display: block; margin-top: 8px; font-size: 0.85rem; color: var(--caramel-dark); font-weight: 600; }
.story-text p { color: var(--muted); margin-bottom: 16px; }
.stats { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.stats div { flex: 1; min-width: 120px; padding: 18px; border-radius: 18px; background: var(--cream); text-align: center; }
.stats strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--brown); }
.stats span { font-size: 0.85rem; color: var(--muted); }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
  padding: 28px 24px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  transition: opacity 0.7s, transform 0.7s, box-shadow 0.3s;
}
.value-card:nth-child(2) { transition-delay: 0.1s; }
.value-card:nth-child(3) { transition-delay: 0.2s; }
.value-card:nth-child(4) { transition-delay: 0.3s; }
.value-card.visible:hover { transform: translateY(-6px); box-shadow: var(--shadow); transition-delay: 0s; }
.value-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--cream-dark);
  color: var(--brown);
}
.value-icon .ico { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 0.92rem; }

.journey { background: var(--white); }
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--caramel) 0 8px, transparent 8px 16px);
  opacity: 0.5;
}
.timeline li { position: relative; text-align: center; padding: 0 8px; }
.timeline li:nth-child(2) { transition-delay: 0.12s; }
.timeline li:nth-child(3) { transition-delay: 0.24s; }
.timeline li:nth-child(4) { transition-delay: 0.36s; }
.year {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 76px;
  height: 44px;
  padding: 0 16px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--white), 0 8px 20px rgba(193, 61, 106, 0.25);
}
.timeline h3 { font-size: 1.15rem; margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: 0.92rem; }

.review-layout { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.rating-card {
  position: sticky;
  top: 100px;
  padding: 30px 26px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}
.rating-big { display: block; font-family: var(--font-head); font-size: 4rem; line-height: 1; color: var(--brown-dark); }
.rating-card .stars { font-size: 1.3rem; margin: 8px 0 4px; }
.rating-card > p { color: var(--muted); font-size: 0.9rem; }
.rating-bars { list-style: none; display: grid; gap: 8px; margin: 22px 0 24px; }
.rating-bars li { display: grid; grid-template-columns: 30px 1fr 38px; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--muted); }
.rating-bars i { position: relative; height: 8px; border-radius: 99px; background: var(--cream); overflow: hidden; }
.rating-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 99px; background: var(--caramel); }
.review-grid { grid-template-columns: repeat(2, 1fr); }
.testi figcaption div { display: grid; }
.testi figcaption div small { margin-left: 0; }
.testi:nth-child(4) { transition-delay: 0.1s; }
.testi:nth-child(5) { transition-delay: 0.2s; }
.testi:nth-child(6) { transition-delay: 0.3s; }

.community { background: var(--white); }
.ig-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.ig-head p { color: var(--muted); }
.ig-handle { color: var(--brown); font-weight: 700; }
.ig-handle:hover { text-decoration: underline; }
.btn-ig {
  color: var(--white);
  background: linear-gradient(45deg, #f9a14b, #e1306c 45%, #a23bd6);
  box-shadow: 0 6px 18px rgba(225, 48, 108, 0.28);
}
.btn-ig:hover { box-shadow: 0 10px 24px rgba(225, 48, 108, 0.36); filter: brightness(1.05); }
.btn-fb { color: var(--white); background: #1877f2; box-shadow: 0 6px 18px rgba(24, 119, 242, 0.28); }
.btn-fb:hover { background: #0f63d6; box-shadow: 0 10px 24px rgba(24, 119, 242, 0.36); }

.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ig-post { position: relative; display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--cream-dark); }
.ig-post:nth-child(4n + 2) { transition-delay: 0.08s; }
.ig-post:nth-child(4n + 3) { transition-delay: 0.16s; }
.ig-post:nth-child(4n + 4) { transition-delay: 0.24s; }
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ig-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: rgba(90, 34, 56, 0.45);
  color: var(--white);
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s;
}
.ig-overlay span { display: inline-flex; align-items: center; gap: 6px; }
.ig-post:hover img { transform: scale(1.08); }
.ig-post:hover .ig-overlay,
.ig-post:focus-visible .ig-overlay { opacity: 1; }

.fb-card {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding: 28px 32px;
  border-radius: 24px;
  background: linear-gradient(120deg, #eef4ff, var(--cream));
  border: 1px solid #dde8fb;
}
.fb-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #1877f2;
  color: var(--white);
}
.fb-icon .ico { width: 34px; height: 34px; }
.fb-text { flex: 1; }
.fb-text h3 { font-size: 1.3rem; margin-bottom: 4px; }
.fb-text p { color: var(--muted); font-size: 0.95rem; }

/* Ikon media sosial di footer */
.socials { display: flex; gap: 10px; align-items: center; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  transition: background 0.2s, transform 0.2s;
}
.socials a:hover { background: var(--caramel); transform: translateY(-2px); }
.socials .ico { width: 19px; height: 19px; }

@media (max-width: 1024px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .review-layout { grid-template-columns: 1fr; }
  .rating-card { position: static; max-width: 420px; margin: 0 auto; width: 100%; }
}
@media (max-width: 900px) {
  .story-inner { grid-template-columns: 1fr; gap: 40px; }
  .story-visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .story-quote { left: 12px; right: 12px; bottom: 16px; max-width: none; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .timeline::before { display: none; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .fb-card { flex-direction: column; text-align: center; }
  .page-hero .hero-cta { justify-content: center; }
}
@media (max-width: 560px) {
  .value-grid, .review-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .ig-head { flex-direction: column; align-items: flex-start; }
  .ig-head .btn { width: 100%; }
  .fb-card .btn { width: 100%; }
}

/* Responsive */
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero-text p { margin-inline: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .about-visual { max-width: 360px; margin: 0 auto; width: 100%; }
  .about-tag { right: 8px; }

  .menu-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 100%; left: 16px; right: 16px;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links a { padding: 14px 20px; border-bottom: 1px solid var(--cream); }
  .nav-links a::after { display: none; }
}

@media (max-width: 520px) {
  .logo-img, .navbar.scrolled .logo-img { height: 42px; }
  .contact-form { padding: 24px; }
  .hero-stats { gap: 24px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .welcome { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
