/* Sun Flower Cafe & Scenery — Natural, Clean Design System */
:root {
  --sunflower: #F4B942;
  --sunflower-light: #FDE8A8;
  --sage: #5C7A3E;
  --sage-dark: #3D4F2F;
  --cream: #FDF8EE;
  --cream-dark: #F5EDD8;
  --earth: #8B6F47;
  --sky: #A8D4E6;
  --sky-deep: #6BA3BE;
  --white: #FFFFFF;
  --text: #2C3328;
  --text-muted: #5A6356;
  --shadow: 0 4px 24px rgba(61, 79, 47, 0.1);
  --shadow-lg: 0 12px 48px rgba(61, 79, 47, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Gambar konten — full width hanya di area foto */
.hero-bg img,
.about-visual > img,
.gallery-item img,
.facility-visual img,
.float-card-visual img,
.hero-mobile-card-img img,
.sunflower-strip img,
.menu-banner-img img,
.lightbox img {
  width: 100%;
  object-fit: cover;
}

svg {
  display: block;
  flex-shrink: 0;
}

a { color: var(--sage); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--sage-dark); }

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--sage-dark);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(92, 122, 62, 0.35);
}

.btn-primary:hover {
  background: var(--sage-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92, 122, 62, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--sage-dark);
  border: 2px solid var(--sage);
}

.btn-secondary:hover {
  background: var(--sage);
  color: var(--white);
}

.btn-sunflower {
  background: var(--sunflower);
  color: var(--sage-dark);
}

.btn-sunflower:hover {
  background: var(--sunflower-light);
  color: var(--sage-dark);
  transform: translateY(-2px);
}

/* Header */
.header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 238, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(61, 79, 47, 0.08);
}

.header {
  padding: 0.65rem 0;
  transition: padding var(--transition);
  border-bottom: 1px solid rgba(92, 122, 62, 0.08);
}

.header.scrolled {
  padding: 0.5rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
  max-width: 1140px;
  margin-inline: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-header-wa {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  font-size: 1.2rem;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(37, 211, 102, 0.4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  width: 44px;
  height: 44px;
  max-width: none;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sage-dark);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.nav-desktop a:hover { color: var(--sage); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sage-dark);
  margin: 5px 0;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(44, 51, 40, 0.6);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-mobile.open {
  display: block;
  opacity: 1;
  pointer-events: all;
}

.nav-mobile-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: var(--cream);
  padding: 4rem 1.75rem 2rem;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-mobile-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--cream-dark);
  color: var(--sage-dark);
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-mobile.open .nav-mobile-panel { transform: translateX(0); }

.nav-mobile ul { list-style: none; }
.nav-mobile li { margin-bottom: 1.25rem; }
.nav-mobile a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--sage-dark);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-total-h, 118px) + 1.25rem + env(safe-area-inset-top, 0)) 0 3rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 22s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(253, 248, 238, 0.82) 0%, rgba(253, 248, 238, 0.55) 45%, rgba(92, 122, 62, 0.25) 100%),
    linear-gradient(to top, rgba(61, 79, 47, 0.5) 0%, transparent 50%);
  z-index: 1;
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}

.hero-mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(92, 122, 62, 0.15);
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  margin-bottom: 1.25rem;
  max-width: 720px;
}

.hero h1 em {
  font-style: normal;
  color: var(--sage);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--sage-dark);
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-float {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(380px, 35vw);
  display: none;
}

@media (min-width: 1024px) {
  .hero-float { display: block; }
}

.float-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.float-card-visual {
  height: 180px;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.float-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.float-card:hover .float-card-visual img {
  transform: scale(1.06);
}

/* Hero mobile preview card */
.hero-mobile-card {
  display: none;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-mobile-card-img {
  height: 180px;
  overflow: hidden;
}

.hero-mobile-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mobile-card-body {
  padding: 1rem 1.25rem;
}

.hero-mobile-card-body strong {
  display: block;
  font-size: 1rem;
  color: var(--sage-dark);
  margin-bottom: 0.25rem;
}

.hero-mobile-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Sections */
section { padding: 5rem 0; }

section:nth-child(even) { background: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-desc { margin-inline: auto; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.about-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-visual:hover > img {
  transform: scale(1.05);
}

.about-visual-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(transparent 40%, rgba(44, 51, 40, 0.7));
  color: var(--white);
}

.about-visual-content h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--sunflower-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Highlights */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.5rem;
}

.highlight-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sunflower-light);
}

.highlight-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--sunflower-light), var(--sunflower));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.highlight-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.highlight-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Menu */
.menu-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  justify-content: flex-start;
  margin-bottom: 2.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tab {
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  border: 2px solid var(--cream-dark);
  background: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text);
  flex-shrink: 0;
  scroll-snap-align: start;
  min-height: 44px;
}

.menu-tab.active,
.menu-tab:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.menu-item:hover { background: var(--cream-dark); }

.menu-item-info h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.menu-item-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.menu-item-price {
  font-weight: 700;
  color: var(--sage);
  white-space: nowrap;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.menu-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: var(--sunflower-light);
  color: var(--earth);
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Facilities */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

.facility-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.facility-card:hover { transform: translateY(-4px); }

.facility-visual {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.facility-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facility-card:hover .facility-visual img {
  transform: scale(1.08);
}

.facility-body { padding: 1.5rem; }
.facility-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.facility-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }

.facility-price {
  font-weight: 700;
  color: var(--sage);
  font-size: 1.1rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 190px);
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  margin: 0;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 280px;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(44, 51, 40, 0.75));
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 1;
  transition: background var(--transition);
}

.gallery-item:hover .gallery-overlay {
  background: linear-gradient(transparent 20%, rgba(44, 51, 40, 0.85));
}

.gallery-zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition);
  z-index: 2;
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Reviews */
.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--cream);
  border-radius: var(--radius);
}

.rating-big {
  text-align: center;
}

.rating-big .score {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--sage-dark);
  line-height: 1;
}

.rating-big .stars { color: var(--sunflower); font-size: 1.5rem; letter-spacing: 2px; }
.rating-big .count { font-size: 0.9rem; color: var(--text-muted); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
  transition: transform var(--transition);
}

.review-card:hover { transform: translateY(-3px); }

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--sunflower));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.review-meta h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}

.review-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-stars { color: var(--sunflower); font-size: 0.9rem; margin-bottom: 0.75rem; }

.review-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.65;
}

.review-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  background: var(--cream);
  border-radius: 50px;
  color: var(--sage);
}

/* FAQ */
.faq-list { max-width: 760px; margin-inline: auto; }

.faq-item {
  border-bottom: 1px solid var(--cream-dark);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--sage-dark);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--sage);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-answer-inner {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer { max-height: 600px; }

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.location-info { display: flex; flex-direction: column; gap: 1.5rem; }

.location-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.location-card-icon {
  width: 44px;
  height: 44px;
  background: var(--sage);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.location-card h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.location-card p { font-size: 0.9rem; color: var(--text-muted); }

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--cream-dark);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Live Status Bar */
.status-bar {
  background: var(--sage-dark);
  color: var(--white);
  font-size: 0.8rem;
  border-bottom: 2px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

.status-bar.is-open {
  background: linear-gradient(90deg, #2d5a27 0%, var(--sage) 100%);
  border-bottom-color: #4ade80;
}

.status-bar.is-closed {
  background: linear-gradient(90deg, #5c2e2e 0%, #8b3a3a 100%);
  border-bottom-color: #f87171;
}

.status-bar-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.45rem clamp(1rem, 4vw, 1.5rem);
  max-width: 1140px;
  margin-inline: auto;
}

.status-bar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.status-bar-left > div {
  min-width: 0;
}

.status-bar-left strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-sub {
  display: block;
  font-size: 0.65rem;
  opacity: 0.88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-dot, .live-dot, .hero-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #4ade80;
}

.status-bar.is-closed .status-dot { background: #f87171; }

.status-dot.pulse, .hero-status-badge.is-open .hero-status-dot {
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

.status-bar-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.68rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.status-visitor,
.status-live {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.status-visitor strong, .status-live strong {
  color: var(--sunflower-light);
  font-size: 0.82rem;
}

.live-dot {
  background: var(--sunflower);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* Closed banner */
.closed-banner {
  position: fixed;
  top: var(--header-total-h, 100px);
  left: 0;
  right: 0;
  z-index: 997;
  background: linear-gradient(90deg, #4a2020, #6b2d2d);
  color: var(--white);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

body.cafe-closed main {
  padding-top: 2.5rem;
}

.closed-banner-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.closed-banner p { flex: 1; min-width: 200px; margin: 0; }

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
}

body.cafe-closed .hero-bg::after {
  background:
    linear-gradient(135deg, rgba(60, 40, 40, 0.75) 0%, rgba(44, 51, 40, 0.65) 100%),
    linear-gradient(to top, rgba(30, 20, 20, 0.6) 0%, transparent 50%);
}

body.cafe-closed .hero {
  filter: saturate(0.65);
}

/* Hero status badge */
.hero-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-status-badge.is-open {
  background: rgba(74, 222, 128, 0.2);
  color: #166534;
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.hero-status-badge.is-closed {
  background: rgba(248, 113, 113, 0.2);
  color: #991b1b;
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.hero-status-badge.is-closed .hero-status-dot { background: #f87171; animation: none; }

/* Live visitor widget */
.live-widget {
  margin-top: 1.75rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid rgba(92, 122, 62, 0.15);
  box-shadow: var(--shadow);
}

.live-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.live-widget-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sage-dark);
}

.live-widget-updated {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.live-widget-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.live-widget-stat {
  text-align: center;
  padding: 0.75rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.live-widget-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--sage);
  line-height: 1.2;
}

.live-widget-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.live-widget-intensity {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 0.25rem;
}

.intensity-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.intensity-sepi { background: #e0f2fe; color: #0369a1; }
.intensity-nyaman { background: #dcfce7; color: #166534; }
.intensity-ramai { background: #fef3c7; color: #b45309; }
.intensity-penuh { background: #fee2e2; color: #b91c1c; }

.live-widget-intensity p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Share / Viral — compact grid */
.share-section {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 3rem 0;
}

.share-section h2 { color: var(--white); margin-bottom: 0.75rem; font-size: clamp(1.35rem, 4vw, 2rem); }
.share-section > .container > p { opacity: 0.92; margin-bottom: 1.75rem; max-width: 520px; margin-inline: auto; font-size: 0.95rem; line-height: 1.65; }

.share-compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  max-width: 340px;
  margin-inline: auto;
}

.share-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.7rem 0.35rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition);
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  min-width: 0;
  min-height: 68px;
  text-align: center;
  line-height: 1.2;
}

.share-chip-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 1.15rem;
  line-height: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.share-chip:hover, .share-chip:active {
  transform: translateY(-2px);
  color: var(--white);
}

.share-chip.wa { background: #25D366; }
.share-chip.ig { background: linear-gradient(135deg, #f09433, #dc2743); }
.share-chip.fb { background: #1877F2; }
.share-chip.tw { background: #111; border: 1px solid rgba(255,255,255,0.15); }
.share-chip.copy {
  background: linear-gradient(145deg, #E8A830 0%, #C27803 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 10px rgba(194, 120, 3, 0.35);
}

.share-chip.copy .share-chip-emoji {
  background: rgba(255, 255, 255, 0.28);
}

.share-chip.native {
  background: linear-gradient(145deg, #5C7A3E 0%, #3D4F2F 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 480px) {
  .share-compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 400px;
  }
}

.share-footnote {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 480px;
  margin-inline: auto;
}

.share-footnote a {
  color: var(--sunflower-light);
  font-weight: 600;
  text-decoration: underline;
}

/* CTA Banner */
.cta-banner {
  background: var(--sunflower-light);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  margin-top: 2rem;
}

.cta-banner h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background: var(--sage-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer .logo-text { color: var(--white); }
.footer .logo-text span { color: var(--sunflower-light); }

.footer-desc {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer h4 {
  color: var(--sunflower-light);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 0.6rem; }
.footer a { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; }
.footer a:hover { color: var(--sunflower-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition);
  text-decoration: none;
  font-size: 1.75rem;
}

.wa-float:hover {
  transform: scale(1.1);
  color: var(--white);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  background: var(--sage-dark);
  color: var(--white);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 1001;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sunflower Petal Animations */
.petals-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.petal {
  position: absolute;
  top: -40px;
  color: var(--sunflower);
  opacity: 0.7;
  animation: petalFall linear infinite;
  will-change: transform;
}

.petal svg { width: 100%; height: 100%; }

@keyframes petalFall {
  0% {
    transform: translateY(-10vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 0.75; }
  90% { opacity: 0.5; }
  100% {
    transform: translateY(110vh) translateX(80px) rotate(360deg);
    opacity: 0;
  }
}

.sunflower-deco {
  position: absolute;
  width: 64px;
  height: 64px;
  max-width: none;
  opacity: 0.35;
  animation: sunflowerSway 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.sunflower-deco--1 { top: 14%; left: 3%; animation-delay: 0s; }
.sunflower-deco--2 { top: 28%; right: 5%; width: 48px; height: 48px; animation-delay: -2s; opacity: 0.3; }
.sunflower-deco--3 { bottom: 22%; left: 8%; width: 40px; height: 40px; animation-delay: -4s; opacity: 0.25; }

@keyframes sunflowerSway {
  0%, 100% { transform: rotate(-5deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.05); }
}

/* Sunflower strip banner */
.sunflower-strip {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.sunflower-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sunflower-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(61, 79, 47, 0.85) 0%, rgba(61, 79, 47, 0.4) 50%, rgba(61, 79, 47, 0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.sunflower-strip-overlay h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.sunflower-strip-overlay p {
  color: var(--sunflower-light);
  font-size: 1.05rem;
  max-width: 520px;
}

/* Menu visual banner */
.menu-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.menu-banner-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.menu-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(44, 51, 40, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }

.lightbox-caption {
  position: absolute;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.9rem;
  text-align: center;
  max-width: 85vw;
  padding: 0 1rem;
}

/* Mobile quick nav */
.mobile-quick-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 850;
  background: rgba(253, 248, 238, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--cream-dark);
  padding: 0.4rem 0.5rem calc(0.4rem + env(safe-area-inset-bottom, 0));
  box-shadow: 0 -4px 20px rgba(61, 79, 47, 0.1);
}

.quick-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.4rem 0.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  min-height: 48px;
  justify-content: center;
}

.quick-nav-item span {
  font-size: 1.2rem;
  line-height: 1;
}

.quick-nav-wa {
  color: var(--sage-dark);
}

.quick-nav-item:active {
  background: var(--cream-dark);
  color: var(--sage);
}

/* Touch devices — zoom icon selalu terlihat */
@media (hover: none) {
  .gallery-zoom-icon {
    opacity: 1;
    transform: scale(1);
  }
}

/* Tablet & Mobile */
@media (max-width: 1024px) {
  .hero-float { display: none; }
  .hero-mobile-card { display: block; }
}

@media (max-width: 900px) {
  .nav-desktop,
  .btn-header-reserve { display: none; }

  .nav-toggle,
  .btn-header-wa { display: flex; }

  .about-grid,
  .location-grid { grid-template-columns: 1fr; }

  .menu-banner { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    gap: 0.75rem;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 9;
    min-height: 200px;
  }

  .gallery-item:not(:nth-child(1)) {
    aspect-ratio: 1 / 1;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .sunflower-deco--1 { width: 44px; height: 44px; top: 12%; left: 2%; }
  .sunflower-deco--2 { width: 36px; height: 36px; top: 22%; right: 3%; }
  .sunflower-deco--3 { width: 32px; height: 32px; bottom: 18%; left: 5%; }

  .mobile-quick-nav {
    display: flex;
  }

  .wa-float {
    bottom: calc(4.5rem + env(safe-area-inset-bottom, 0));
    right: 1rem;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  .toast {
    bottom: calc(7rem + env(safe-area-inset-bottom, 0));
    left: 1rem;
    right: 1rem;
    text-align: center;
  }

  body { padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0)); }
}

@media (max-width: 600px) {
  section { padding: 3rem 0; }

  .section-header { margin-bottom: 2.5rem; }

  .hero {
    padding-top: calc(var(--header-total-h, 108px) + 0.75rem + env(safe-area-inset-top, 0));
    padding-bottom: 2rem;
    align-items: flex-start;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1rem;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 7.5vw, 2.25rem);
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    width: 100%;
  }

  .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-sm);
  }

  .stat-item strong { font-size: 1.35rem; }
  .stat-item span { font-size: 0.7rem; display: block; line-height: 1.3; }

  .hero-mobile-card { margin-top: 1.5rem; }
  .hero-mobile-card-img { height: 160px; }

  .logo-text { font-size: 0.95rem; }
  .logo img { width: 38px; height: 38px; }

  .about-features { grid-template-columns: 1fr; }

  .about-visual-content { padding: 1.25rem; }
  .about-visual-content h3 { font-size: 1.2rem; }

  .highlight-card { padding: 1.5rem; }

  .menu-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .menu-item-price { align-self: flex-start; }

  .facility-visual { height: 180px; }

  .gallery-grid { grid-template-columns: 1fr; }

  .gallery-item:nth-child(1) {
    grid-column: span 1;
    aspect-ratio: 16 / 10;
  }

  .gallery-item:not(:nth-child(1)) {
    aspect-ratio: 16 / 10;
  }

  .reviews-summary {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    text-align: center;
  }

  .review-card { padding: 1.25rem; }

  .share-section { padding: 2.5rem 0; }

  .share-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
    gap: 0.5rem;
    padding-inline: 0.25rem;
  }

  .share-chip {
    min-height: 62px;
    font-size: 0.58rem;
  }

  .share-chip-emoji {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .share-footnote { font-size: 0.8rem; padding: 0 0.25rem; }

  /* Status bar & hero: hindari info ganda di HP */
  .status-bar-right { display: none; }
  .hero-status-badge { display: none; }

  .status-bar-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-block: 0.4rem;
  }

  .status-bar-left {
    justify-content: center;
    width: 100%;
  }

  .status-bar-left strong,
  .status-sub {
    white-space: normal;
    text-align: center;
  }

  .live-widget-body { grid-template-columns: 1fr 1fr; }
  .live-widget-num { font-size: 1.5rem; }

  .closed-banner-inner { flex-direction: column; text-align: center; }

  .cta-banner { padding: 1.75rem 1.25rem; }
  .cta-banner h3 { font-size: 1.35rem; }

  .sunflower-strip { height: 220px; }
  .sunflower-strip-overlay { padding: 1.25rem; }
  .sunflower-strip-overlay p { font-size: 0.9rem; }

  .menu-banner-img { height: 180px; }

  .faq-question {
    font-size: 0.95rem;
    padding: 1rem 0;
  }

  .location-card { padding: 1rem; }

  .location-map { aspect-ratio: 1 / 1; }

  .footer { padding: 3rem 0 1.5rem; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    font-size: 0.8rem;
  }

  .lightbox { padding: 1rem; }
  .lightbox-close { top: 1rem; right: 1rem; }
  .lightbox img { max-width: 95vw; max-height: 75vh; }

  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .logo-text span { font-size: 0.55rem; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat-item span { font-size: 0.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .fade-up { opacity: 1; transform: none; }
  .petal { display: none; }
  .hero-bg img { animation: none; }
  .sunflower-deco { animation: none; opacity: 0.2; }
}
