/* Warna mengikuti tema anugerahjayarak.com */
:root {
  --primary: #00ffff;
  --primary-hover: #00e6e6;
  --primary-active: #00cccc;
  --navbar: #75fcfc;
  --accent: #ccffff;
  --fg: #002633;
  --fg-strong: #003242;
  --dark: #0d2b36;
  --muted: #67797e;
  --bg: #ffffff;
  --bg-muted: #f2f6f7;
  --border: #e1e9ec;
  --wa: #25d366;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(0, 38, 51, .08);
  --shadow-lg: 0 25px 50px -12px rgba(0, 38, 51, .25);
  --container: 1280px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--fg); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

/* Ikon garis (gaya lucide) */
.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 960px; }
.container--form { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .75rem 1.4rem; border-radius: var(--radius); border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; cursor: pointer; text-align: center;
  transition: background .15s, transform .15s, box-shadow .15s, border-color .15s;
}
.btn:active { transform: scale(.98); }
.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.15rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: var(--fg-strong); box-shadow: 0 10px 20px -6px rgba(0, 230, 230, .55); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--primary:active { background: var(--primary-active); }
.btn--outline { border-color: var(--primary); color: var(--fg-strong); background: #fff; }
.btn--outline:hover { background: var(--accent); }
.btn--dark { background: var(--dark); color: var(--primary); }
.btn--dark:hover { background: #12394a; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navbar);
  transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: 0 6px 20px rgba(0, 38, 51, .12); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .9rem; font-weight: 700; font-size: 1.35rem; color: var(--fg); white-space: nowrap; }
.brand img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }

.nav { display: flex; align-items: center; gap: 2rem; flex: 1; font-weight: 600; font-size: 1.1rem; }
.nav a:not(.btn) { color: var(--fg-strong); transition: color .15s; }
.nav a:not(.btn):first-child { margin-left: auto; }
.nav a:not(.btn):hover { color: #005266; }
.nav__cta { margin-left: auto; padding: .85rem 1.7rem; font-size: 1.15rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--fg); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 96px;
  background: linear-gradient(180deg, #f0ffff 0%, #fff 100%);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.lead { font-size: 1.3rem; color: var(--muted); max-width: 36em; margin-top: 1.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2.5rem; }

.hero__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.slider { position: relative; aspect-ratio: 4 / 3; background: var(--bg-muted); }
.slider img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s ease;
}
.slider img.is-active { opacity: 1; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.slider__dots button {
  width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .55); transition: width .25s, background .25s;
}
.slider__dots button.is-active { width: 32px; background: #fff; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--muted { background: var(--bg-muted); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section__head p { color: var(--muted); font-size: 1.2rem; margin: 0; }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow);
}

/* ---------- Produk ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product > img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bg-muted); }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.product__body h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.product__desc {
  color: var(--muted); font-size: .95rem; margin-bottom: 20px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product__desc p, .product__desc ul { margin: 0 0 .4em; }
.product__desc ul { padding-left: 1.1em; }
.product .btn { margin-top: auto; }

/* ---------- Galeri ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button {
  border: 1px solid var(--border); background: #fff; border-radius: 999px;
  padding: .5rem 1.3rem; font-weight: 600; cursor: pointer; color: var(--fg-strong);
}
.filters button.is-active { background: var(--primary); border-color: var(--primary); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery figure {
  position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3 / 4; cursor: zoom-in; box-shadow: var(--shadow);
}
.gallery figure[hidden] { display: none; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(255, 255, 255, .92); color: var(--fg-strong);
  font-weight: 600; font-size: .85rem; padding: .3rem .8rem; border-radius: 999px;
}

/* ---------- Keunggulan ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; transition: box-shadow .2s, transform .2s;
}
.feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
  background: var(--accent); color: var(--fg-strong); margin-bottom: 20px; font-size: 1.4rem;
}
.feature h3 { font-size: 1.25rem; }
.feature p { color: var(--muted); margin: 0; }

/* ---------- Testimoni ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testi {
  margin: 0; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.testi__photo { display: block; border: 0; padding: 0; cursor: zoom-in; background: var(--bg-muted); }
.testi__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.testi figcaption { padding: 22px 24px 26px; }
.stars { color: #f5b301; letter-spacing: 2px; margin-bottom: 8px; }
.testi blockquote { margin: 0 0 12px; font-size: 1.05rem; color: var(--fg); }
.testi cite { font-style: normal; font-weight: 700; color: var(--fg-strong); }

/* ---------- Video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: #000; }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video__play:hover img { opacity: 1; }
.video__icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; background: var(--primary);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .2s;
}
.video__play:hover .video__icon { transform: translate(-50%, -50%) scale(1.08); }
.video__icon svg { width: 36px; height: 36px; fill: var(--fg-strong); margin-left: 4px; }
.video__title { text-align: center; font-weight: 600; margin-top: 16px; }

/* ---------- Lokasi ---------- */
.location { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: stretch; }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.info h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.info dl { margin: 0 0 24px; }
.info dt { font-weight: 700; margin-top: 14px; }
.info dd { margin: 2px 0 0; color: var(--muted); }
.info dd a { color: var(--fg-strong); font-weight: 600; }
.info dd a:hover { text-decoration: underline; }

/* ---------- Form ---------- */
.form { display: grid; gap: 20px; }
.form label { display: grid; gap: 8px; font-weight: 600; }
.form input, .form textarea {
  font: inherit; font-weight: 400; padding: 14px 16px; border-radius: var(--radius);
  border: 1px solid var(--border); background: #fff; color: var(--fg); width: 100%; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.form__error { color: #dc2626; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--fg); color: rgba(255, 255, 255, .72); padding: 72px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; }
.brand--footer { color: #fff; margin-bottom: 1rem; }
.brand--footer img { width: 48px; height: 48px; }
.footer__tagline { color: var(--primary); font-weight: 600; margin-bottom: .6rem; }
.footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--primary); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 56px; padding-top: 24px; padding-bottom: 24px; text-align: center; font-size: .9rem; }
.footer__bottom p { margin: 0; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 64px; height: 64px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; font-size: 1.6rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .45); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Modal & lightbox ---------- */
dialog { border: 0; padding: 0; color: var(--fg); }
dialog::backdrop { background: rgba(0, 20, 28, .7); backdrop-filter: blur(3px); }
.modal { width: min(920px, calc(100% - 32px)); max-height: calc(100% - 32px); border-radius: var(--radius-lg); }
.modal__grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal__grid > img { width: 100%; height: 100%; object-fit: cover; background: var(--bg-muted); }
.modal__body { padding: 36px 32px 32px; display: flex; flex-direction: column; }
.modal__body h3 { font-size: 1.5rem; padding-right: 32px; }
.modal__desc { color: var(--muted); margin-bottom: 24px; }
.modal__desc ul { padding-left: 1.2em; margin: 0 0 1em; }
.modal__desc strong { color: var(--fg); }
.modal__body .btn { margin-top: auto; }
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); font-size: 1.6rem; line-height: 1; color: var(--fg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.lightbox { background: transparent; max-width: calc(100% - 32px); max-height: calc(100% - 32px); overflow: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius); }
.lightbox .modal__close { top: -14px; right: -14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 1.25rem; font-size: 1rem; }
  .nav__cta { padding: .7rem 1.2rem; font-size: 1rem; }
  .brand { font-size: 1.15rem; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .brand img { width: 46px; height: 46px; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navbar); padding: 8px 32px 24px;
    box-shadow: 0 20px 30px rgba(0, 38, 51, .12);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(0, 50, 66, .12); }
  .nav a:not(.btn):first-child { margin-left: 0; }
  .nav__cta { margin: 16px 0 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .products, .features, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .location { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav { padding: 8px 16px 20px; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 36px; }
  .section__head p { font-size: 1.05rem; }
  .hero { padding: 40px 0 64px; }
  .lead { font-size: 1.1rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .btn--lg { padding: .95rem 1.5rem; font-size: 1.05rem; }
  .products, .features, .testimonials, .footer__grid { grid-template-columns: 1fr; }
  .gallery { gap: 12px; }
  .card, .feature { padding: 24px; }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__grid > img { aspect-ratio: 1; height: auto; }
  .modal__body { padding: 24px 20px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

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