* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #302622;
  background: #f7f2ec;
  font-family: Arial, sans-serif;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px max(5%, calc((100% - 1120px) / 2));
  background: #fffdfb;
  box-shadow: 0 4px 18px #50362b12;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #87506d;
  font: bold 25px Georgia, serif;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #554942;
  font-size: 14px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: #9a567a;
}

.page-hero {
  padding: 72px 24px;
  background: linear-gradient(120deg, #f7f2ec, #f1e1e8);
}

.inner {
  width: min(100% - 48px, 1100px);
  margin-inline: auto;
}

.kicker,
.label {
  color: #925574;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.page-hero h1,
.home-hero h1 {
  margin: 18px 0;
  font: normal clamp(44px, 8vw, 82px)/1.05 Georgia, serif;
}

.page-hero p,
.home-hero p {
  max-width: 680px;
  color: #746b65;
  font-size: 17px;
  line-height: 1.8;
}

.home-hero {
  padding: 100px 24px 86px;
  background: linear-gradient(120deg, #f7f2ec, #f1e1e8);
}

.home-hero-content {
  width: min(100% - 48px, 1100px);
  margin: auto;
}

.section {
  padding: 64px 0 90px;
}

.section-title {
  margin: 12px 0;
  font: normal clamp(32px, 5vw, 46px) Georgia, serif;
}

.section-intro {
  margin: 0 0 30px;
  color: #746b65;
  line-height: 1.8;
}

.menu-section {
  padding: 76px 0 90px;
}

.menu-grid,
.work-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.menu-card {
  min-height: 240px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #eee5df;
  border-radius: 22px;
  background: #fffdfb;
  box-shadow: 0 12px 35px #50362b0d;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}

.menu-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px #50362b1a;
}

.menu-icon {
  font-size: 34px;
}

.menu-card h2,
.menu-card h3 {
  margin: 20px 0 8px;
  color: #87506d;
  font: normal 27px Georgia, serif;
}

.menu-card p,
.work-card p {
  color: #746b65;
  line-height: 1.7;
}

.open-link {
  margin-top: 16px;
  color: #87506d;
  font-size: 14px;
  font-weight: bold;
}

.about-block,
.contact-block {
  padding: 72px 24px;
  text-align: center;
}

.about-block {
  background: #efe3e7;
}

.about-block h2,
.contact-block h2 {
  margin: 14px 0;
  font: normal clamp(32px, 5vw, 42px) Georgia, serif;
}

.about-block p,
.contact-block p {
  max-width: 680px;
  margin: auto;
  color: #665d58;
  line-height: 1.8;
}

.contact-block {
  background: #f7f2ec;
}

.button {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 20px;
  border: 0;
  border-radius: 28px;
  color: white;
  background: #87506d;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #70415a;
}

.work-card {
  overflow: hidden;
  border: 1px solid #eee5df;
  border-radius: 18px;
  background: #fffdfb;
  box-shadow: 0 12px 35px #50362b0d;
}

.work-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eee5df;
}

.work-card-copy {
  padding: 18px;
}

.work-card h2,
.work-card h3 {
  margin: 0 0 8px;
  color: #87506d;
  font: normal 23px Georgia, serif;
}

.work-card p {
  margin: 0;
}

.video-grid {
  align-items: start;
}

.video-card {
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  background: #fffdfb;
  box-shadow: 0 12px 35px #50362b0d;
  animation: float-card 6s ease-in-out infinite;
}

.video-card:nth-child(even) {
  animation-delay: -2s;
}

.video-card video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  border-radius: 12px;
  background: #111;
  object-fit: contain;
}

.video-card h2 {
  margin: 14px 4px 4px;
  color: #302622;
  font: normal 22px Georgia, serif;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Tombol kembali */
.back-row {
  width: min(100% - 48px, 1100px);
  margin: 24px auto 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #e5d7dc;
  border-radius: 24px;
  color: #87506d;
  background: #fffdfb;
  text-decoration: none;
  font-size: 14px;
  transition: transform .2s, background .2s;
}

.back-link:hover {
  transform: translateX(-3px);
  background: #f1e1e8;
}

/* Testimoni */
.review-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: start;
  gap: 22px;
}

.review-post {
  min-width: 0;
  overflow: hidden;
  padding: 16px;
  border-radius: 18px;
  color: white;
  background: #202020;
  box-shadow: 0 16px 40px #241a201a;
  animation: float-card 6s ease-in-out infinite;
}

.review-post:nth-child(even) {
  animation-delay: -2s;
}

.review-post-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, #e7c8d2, #824c66);
  font: 18px Georgia, serif;
}

.review-name {
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.review-label {
  color: #b8b1b4;
  font-size: 12px;
}

.review-post img {
  display: block;
  width: 100%;
  max-height: 760px;
  border-radius: 12px;
  background: #111;
  object-fit: contain;
}

.review-text {
  margin: 12px 2px 2px;
  color: #eee;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.review-form {
  margin-top: 44px;
  padding: 24px;
  border: 1px solid #eadfe3;
  border-radius: 18px;
  background: #fffdfa;
  box-shadow: 0 12px 32px #4934350c;
}

.review-form h2 {
  font: normal 34px Georgia, serif;
}

.review-form label {
  display: block;
  margin: 16px 0 6px;
  font-size: 13px;
  font-weight: 700;
}

.review-form input,
.review-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid #ded2d7;
  border-radius: 10px;
  color: #292521;
  background: white;
  font: inherit;
}

.review-form textarea {
  min-height: 120px;
  resize: vertical;
}

.review-form input[type="file"] {
  padding: 10px;
}

.review-form button:disabled {
  cursor: wait;
  opacity: .7;
}

.form-note,
.form-message {
  color: #77716d;
  font-size: 13px;
  line-height: 1.6;
}

.form-message {
  min-height: 20px;
  margin-top: 10px;
}

footer {
  padding: 24px;
  color: #746b65;
  text-align: center;
  background: #fffdfb;
}

/* Tablet */
@media (max-width: 900px) {
  .topbar {
    padding-inline: 5%;
  }

  .nav-links {
    gap: 14px;
  }

  .menu-grid,
  .work-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* HP */
@media (max-width: 600px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 10px 16px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .inner,
  .home-hero-content {
    width: min(100% - 32px, 1100px);
  }

  .page-hero {
    padding: 60px 16px;
  }

  .home-hero {
    padding: 70px 16px;
  }

  .section {
    padding: 44px 0 64px;
  }

  .menu-section {
    padding: 54px 0 64px;
  }

  .menu-grid,
  .work-grid,
  .video-grid,
  .review-wall {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .menu-card {
    min-height: 210px;
  }

  .video-card,
  .review-post {
    animation: none;
  }

  .review-form {
    margin-top: 30px;
    padding: 18px;
  }

  .review-form h2 {
    font-size: 28px;
  }

  .review-form button {
    width: 100%;
  }

  .about-block,
  .contact-block {
    padding: 56px 18px;
  }

  .back-row {
    width: min(100% - 32px, 1100px);
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}