/* ==========================================================================
   Sedap Malam — Nasi Padang & Coffee Loft
   Native HTML/CSS/JS. Layout inspired by the Agrikon theme (topbar, rough
   section edges, overlapping cards, script accents), dark green palette.
   ========================================================================== */

:root {
  --bg: #0a1812;          /* page background, near black green */
  --bg-2: #0f2219;        /* alternate dark section */
  --green-900: #0c1f16;
  --green-800: #123023;
  --green-700: #17402e;
  --green-600: #1f5a3e;
  --green: #3e9a62;       /* accent green (buttons, icons) */
  --green-l: #6fc08c;
  --gold: #d1a650;        /* from the logo */
  --gold-l: #e9c97c;
  --cream: #f3ede1;
  --text: #c9d3cc;
  --muted: #8fa198;
  --white: #ffffff;
  --line: rgba(255, 255, 255, .09);
  --card: #132a20;
  --wa: #25d366;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Handlee', 'Segoe Script', cursive;
  /* Hero titles: closest free match to "The Seasons", the serif used on the Instagram posters (the original is a commercial font) */
  --display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --wrap: 1200px;
  --radius: 10px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.75 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-l); text-decoration: none; transition: color .2s; }
a:hover { color: var(--white); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--white); font-weight: 800; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
.script { font-family: var(--script); font-weight: 400; color: var(--gold-l); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--gold); color: var(--green-900); padding: 8px 14px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 15px 30px; border: 0; border-radius: var(--radius); cursor: pointer;
  font: 700 .95rem/1.2 var(--font); letter-spacing: .01em; text-decoration: none;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.btn .ic { width: 1.2em; height: 1.2em; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--green-900); }
.btn--gold:hover { background: var(--gold-l); color: var(--green-900); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-l); color: var(--green-900); }
.btn--wa { background: var(--wa); color: #06301a; }
.btn--wa:hover { background: #3ee07f; color: #06301a; }
.btn--line { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.btn--line:hover { box-shadow: inset 0 0 0 2px var(--gold); color: var(--gold-l); }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btnrow { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Section titles (Agrikon style: leaf icon + kicker + bold title) ---------- */
.title { margin-bottom: 48px; }
.title--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.title__leaf { width: 26px; height: 26px; color: var(--green-l); margin-bottom: 8px; }
.title--center .title__leaf { margin-left: auto; margin-right: auto; }
.title__kicker { font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.title h2 { margin: 0; }
.title h2 em { font-style: normal; color: var(--gold-l); }
.title__text { margin: 16px 0 0; color: var(--muted); }

/* ---------- Top bar ---------- */
.topbar { background: var(--green-900); border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.topbar__in { display: flex; align-items: center; gap: 22px; min-height: 42px; }
.topbar__social { display: flex; gap: 14px; margin-right: auto; }
.topbar__social a { color: var(--muted); display: inline-flex; }
.topbar__social a:hover { color: var(--gold-l); }
.topbar__social .ic { width: 15px; height: 15px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.topbar__item .ic { color: var(--green-l); width: 15px; height: 15px; }
.topbar__item:hover { color: var(--white); }
@media (max-width: 860px) { .topbar__hide { display: none; } }
@media (max-width: 560px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(10, 24, 18, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-stuck { box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.header__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { margin-right: auto; display: block; }
.brand img { height: 58px; width: auto; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.menu a { position: relative; color: var(--cream); font-weight: 600; font-size: .95rem; padding: 6px 0; }
.menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--gold-l); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu__cta { display: none; }
.callbox { display: flex; align-items: center; gap: 12px; background: var(--gold); color: var(--green-900); padding: 10px 18px; border-radius: var(--radius); }
.callbox:hover { background: var(--gold-l); color: var(--green-900); }
.callbox .ic { width: 28px; height: 28px; stroke-width: 1.6; }
.callbox small { display: block; font-size: .72rem; font-weight: 600; opacity: .8; }
.callbox strong { display: block; font-size: 1rem; line-height: 1.2; }
.navtoggle { display: none; width: 46px; height: 46px; padding: 12px 10px; background: var(--green-800); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.navtoggle span { display: block; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .navtoggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-open .navtoggle span:nth-child(2) { opacity: 0; }
.nav-open .navtoggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1100px) {
  .callbox { display: none; }
}
@media (max-width: 991px) {
  :root { --header-h: 76px; }
  .brand img { height: 46px; }
  .navtoggle { display: flex; }
  .menu {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--green-900); padding: 12px 20px 40px;
    overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s;
  }
  .nav-open .menu { opacity: 1; visibility: visible; transform: none; }
  /* backdrop-filter would make the fixed menu panel position relative to the header, so drop it while the menu is open */
  .nav-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--green-900); }
  .nav-open { overflow: hidden; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu a { display: block; padding: 15px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .menu a::after { display: none; }
  .menu a.menu__cta { display: flex; align-items: center; justify-content: center; gap: .7em; width: 100%; margin-top: 24px; padding: 16px 20px; border: 0; color: #06301a; font-size: 1rem; }
  .menu a.menu__cta .ic { width: 1.35em; height: 1.35em; }
}

/* ---------- Rough (torn) section edges ---------- */
.rough-b, .rough-t { position: relative; }
.rough-b::after, .rough-t::before {
  content: ''; position: absolute; left: 0; right: 0; height: 22px; z-index: 3; pointer-events: none;
  background: var(--edge, var(--bg));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V9l18 3 22-6 26 5 19-4 31 6 24-7 27 4 21-3 30 6 22-5 25 3 28-6 24 5 20-2 33 6 21-6 26 4 23-3 29 7 22-6 27 3 24-4 30 5 19-3 28 6 25-7 22 4 31-2 20 5 26-6 24 3 29-4 21 6 27-5 23 2 30 5 22-6 26 4 25-3 28 6 20-5 31 3 24-4 26 6 22-6 29 4 21-2 25 5 27-6 23 3 28-4 24 6 26-5 22 2 30 5 21-6 27 4 23-3 29 6 25-5 22 3 28-4 31 6 0 13z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V9l18 3 22-6 26 5 19-4 31 6 24-7 27 4 21-3 30 6 22-5 25 3 28-6 24 5 20-2 33 6 21-6 26 4 23-3 29 7 22-6 27 3 24-4 30 5 19-3 28 6 25-7 22 4 31-2 20 5 26-6 24 3 29-4 21 6 27-5 23 2 30 5 22-6 26 4 25-3 28 6 20-5 31 3 24-4 26 6 22-6 29 4 21-2 25 5 27-6 23 3 28-4 24 6 26-5 22 2 30 5 21-6 27 4 23-3 29 6 25-5 22 3 28-4 31 6 0 13z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.rough-b::after { bottom: -1px; }
.rough-t::before { top: -1px; transform: scaleY(-1); }

/* ---------- Hero slider ---------- */
.hero { position: relative; isolation: isolate; min-height: min(86vh, 760px); display: grid; overflow: hidden; background: var(--green-900); --edge: var(--green-800); }
.hero__slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s, visibility 1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); transition: transform 7s ease-out; }
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__slide::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 18, 12, .92) 0%, rgba(6, 18, 12, .72) 45%, rgba(6, 18, 12, .25) 100%); }
.hero__txt { padding: 110px 20px 150px; max-width: var(--wrap); width: 100%; margin: 0 auto; }
.hero__txt > * { max-width: 640px; opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s; }
.hero__slide.is-active .hero__txt > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__txt > :nth-child(2) { transition-delay: .15s; }
.hero__slide.is-active .hero__txt > :nth-child(3) { transition-delay: .3s; }
.hero__slide.is-active .hero__txt > :nth-child(4) { transition-delay: .45s; }
.hero__kicker { font-size: .78rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--cream); margin-bottom: 14px; }
.hero h1, .hero .hero__title { font-family: var(--display); font-weight: 350; font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 0; font-size: clamp(2.5rem, 6.2vw, 4.7rem); line-height: 1.1; color: var(--cream); margin-bottom: 22px; letter-spacing: .012em; text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.hero__title span {
  display: inline-block; color: var(--gold-l);
  /* background-clip:text only paints inside the box: extra bottom room so descenders (g, y, p) are not cut off */
  padding-bottom: .16em; margin-bottom: -.16em;
  /* gold gradient like the lettering on the posters and logo */
  background: linear-gradient(180deg, #f6dc98 0%, #e2b866 45%, #c08a33 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: none; filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .45));
}
.hero__lead { font-size: 1.08rem; color: var(--cream); margin-bottom: 30px; }
.hero__arrows { position: absolute; z-index: 4; right: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; }
.hero__arrow { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .15); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: .25s; }
.hero__arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--green-900); }
.hero__arrow .ic { width: 20px; height: 20px; }
.hero__dots { position: absolute; z-index: 4; left: 50%; bottom: 64px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .4); cursor: pointer; transition: .25s; }
.hero__dots button[aria-current="true"] { background: var(--gold); width: 30px; border-radius: 6px; }
@media (max-width: 767px) {
  .hero__arrows { display: none; }
  .hero__txt { padding: 80px 20px 130px; }
  .hero__slide::before { background: linear-gradient(180deg, rgba(6, 18, 12, .55), rgba(6, 18, 12, .9)); }
}

/* Inner page banner */
.banner { position: relative; isolation: isolate; padding: 110px 0 120px; text-align: center; background: var(--green-900); --edge: var(--bg); overflow: hidden; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 18, 12, .78), rgba(6, 18, 12, .88)); }
.banner h1 { font-family: var(--script); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 10px; }
.crumbs { display: inline-flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--cream); margin: 0; }
.crumbs a { color: var(--gold-l); }

/* ---------- Generic sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--green { background: var(--green-800); }
.section--deep { background: var(--green-900); }
.section--alt { background: var(--bg-2); }
@media (max-width: 767px) { .section { padding: 80px 0; } }

/* Features band (gold/green band with 3 overlapping cards in Agrikon) */
.feature-band { position: relative; background: var(--green-800); padding: 0 0 20px; }
.feature-band::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: var(--bg); }
.features { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 70px; }
.feature { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--card); }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.feature:hover img { transform: scale(1.06); }
.feature__label { position: absolute; left: 18px; right: 18px; bottom: 0; background: var(--green-900); padding: 14px 16px 12px; border-radius: 8px 8px 0 0; text-align: center; color: var(--white); font-weight: 700; font-size: 1.08rem; display: flex; align-items: center; justify-content: center; gap: 10px; }
.feature__label .ic { color: var(--gold); width: 22px; height: 22px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* About (stacked photos + trusted badge) */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.about__media { position: relative; padding: 0 0 90px 40px; }
.about__media .img-a { border-radius: var(--radius); width: 78%; aspect-ratio: 3 / 4; object-fit: cover; margin-left: auto; box-shadow: var(--shadow); }
.about__media .img-b { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 8px solid var(--bg); box-shadow: var(--shadow); }
.badge-round {
  position: absolute; left: 6%; top: 40px; z-index: 2; width: 140px; height: 140px; border-radius: 50%;
  background: var(--gold); color: var(--green-900); display: grid; place-items: center; text-align: center; box-shadow: var(--shadow);
  outline: 2px dashed rgba(209, 166, 80, .6); outline-offset: 7px;
}
.badge-round small { display: block; font-size: .64rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.badge-round strong { display: block; font-family: var(--script); font-weight: 400; font-size: 1.8rem; line-height: 1.1; }
.about__lead { font-family: var(--script); font-size: 1.35rem; line-height: 1.45; color: var(--gold-l); margin: 20px 0 16px; }
.about__points { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 26px 0; margin: 26px 0 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.point { display: flex; align-items: center; gap: 14px; color: var(--white); font-weight: 700; line-height: 1.3; }
.point .ic { width: 44px; height: 44px; color: var(--green-l); stroke-width: 1.4; }
@media (max-width: 960px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) { .about__points { grid-template-columns: 1fr; } .badge-round { width: 112px; height: 112px; } .badge-round strong { font-size: 1.4rem; } }

/* Offer cards (image + round icon overlapping) */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.offer { background: var(--card); border-radius: var(--radius); overflow: hidden; text-align: center; box-shadow: var(--shadow); transition: transform .3s; display: flex; flex-direction: column; }
.offer:hover { transform: translateY(-6px); }
.offer__img { aspect-ratio: 4 / 3; overflow: hidden; }
.offer__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.offer:hover .offer__img img { transform: scale(1.07); }
.offer__icon { width: 74px; height: 74px; margin: -37px auto 0; position: relative; z-index: 1; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; border: 6px solid var(--card); }
.offer__icon .ic { width: 30px; height: 30px; }
.offer__body { padding: 18px 22px 28px; display: flex; flex-direction: column; flex: 1; }
.offer h3 { margin-bottom: 8px; }
.offer p { color: var(--muted); font-size: .92rem; }
.offer .link { margin-top: auto; font-weight: 700; font-size: .9rem; display: inline-flex; gap: 8px; align-items: center; justify-content: center; }
@media (max-width: 1024px) { .offers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .offers { grid-template-columns: 1fr; } }

/* Signature dishes */
.dishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.dish { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.dish__img { position: relative; aspect-ratio: 1; overflow: hidden; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.dish:hover .dish__img img { transform: scale(1.06); }
.dish__tag { position: absolute; top: 16px; left: 16px; background: var(--gold); color: var(--green-900); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 30px; }
.dish__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.dish__body h3 { font-size: 1.35rem; }
.dish__body p { color: var(--muted); font-size: .95rem; }
.dish__body .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .dishes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dishes { grid-template-columns: 1fr; } }

/* Menu page list */
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mcard { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, border-color .3s; }
.mcard:hover { transform: translateY(-5px); border-color: rgba(209, 166, 80, .5); }
.mcard img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.mcard__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.mcard h3 { font-size: 1.08rem; margin-bottom: 6px; }
.mcard p { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.mcard .btn { margin-top: auto; }
@media (max-width: 1024px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .mcard__body { padding: 14px; } .mcard .btn { padding: 9px 10px; font-size: .78rem; } }

/* Carousel (scroll-snap, used for the place photos and the Instagram feed) */
.carousel { position: relative; }
.carousel__track { --per: 3; --gap: 24px; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; }
.carousel--4 .carousel__track { --per: 4; }
@media (max-width: 960px) { .carousel__track, .carousel--4 .carousel__track { --per: 2; --gap: 16px; } }
@media (max-width: 560px) { .carousel__track { --per: 1; } .carousel--4 .carousel__track { --per: 2; --gap: 12px; } }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; }
.carousel__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--white); cursor: pointer; display: grid; place-items: center; transition: .25s; }
.carousel__btn:hover { background: var(--gold); border-color: var(--gold); color: var(--green-900); }
.carousel__btn .ic { width: 18px; height: 18px; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .25); cursor: pointer; transition: .25s; }
.carousel__dots button[aria-current="true"] { background: var(--gold); width: 26px; border-radius: 5px; }
.shot { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--card); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.shot:hover img { transform: scale(1.06); }
.shot figcaption, .shot__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(6, 18, 12, .92)); color: var(--white); font-weight: 700; }
.shot__cap small { display: block; color: var(--gold-l); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }

/* Green CTA band with two images */
.ctaband { background: var(--green-700); --edge: var(--green-900); padding: 90px 0; overflow: hidden; }
.ctaband__in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ctaband__imgs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: end; }
.ctaband__imgs img { border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.ctaband__imgs img:first-child { aspect-ratio: 3 / 4; margin-bottom: -50px; }
.ctaband__imgs img:last-child { aspect-ratio: 4 / 5; }
.ctaband h2 { font-family: var(--script); font-weight: 400; font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.12; }
.ctaband p { color: var(--cream); }
@media (max-width: 860px) { .ctaband__in { grid-template-columns: 1fr; } .ctaband__imgs { max-width: 480px; } }

/* Why us (testimonial-style dark block) */
.why { background: var(--green-900); --edge: var(--bg); text-align: center; position: relative; }
.why__side { position: absolute; left: 30px; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: center; font-size: .74rem; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.stars { color: var(--gold); letter-spacing: 4px; font-size: 1.3rem; margin-bottom: 16px; }
.why blockquote { margin: 0 auto 40px; max-width: 820px; font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.6; color: var(--white); font-weight: 500; }
.why__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1000px; margin: 0 auto; }
.why__item { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .02); }
.why__item .ic { width: 40px; height: 40px; color: var(--gold); margin: 0 auto 12px; stroke-width: 1.4; }
.why__item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why__item p { margin: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .why__list { grid-template-columns: 1fr; } .why__side { display: none; } }

/* Info strip (hours / address / order) */
.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info { display: flex; gap: 18px; padding: 30px 28px; background: var(--card); }
.info + .info { border-left: 1px solid var(--line); }
.info .ic { width: 44px; height: 44px; color: var(--green-l); stroke-width: 1.4; }
.info h3 { font-size: 1.05rem; margin-bottom: 4px; }
.info p { margin: 0; font-size: .92rem; color: var(--muted); }
.open-now { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 30px; background: rgba(255, 255, 255, .06); color: var(--muted); }
.open-now::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-now.is-open { color: var(--green-l); background: rgba(62, 154, 98, .14); }
.open-now.is-closed { color: #e98a7a; background: rgba(233, 138, 122, .12); }
@media (max-width: 860px) { .info-strip { grid-template-columns: 1fr; } .info + .info { border-left: 0; border-top: 1px solid var(--line); } }

/* Order channels */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.channel { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 30px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .3s, border-color .3s; color: var(--text); }
.channel:hover { transform: translateY(-5px); border-color: var(--gold); color: var(--text); }
.channel__icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: rgba(62, 154, 98, .16); color: var(--green-l); }
.channel__icon .ic { width: 28px; height: 28px; }
.channel--wa .channel__icon { background: rgba(37, 211, 102, .14); color: var(--wa); }
.channel--grab .channel__icon { background: rgba(0, 177, 79, .14); color: #00c35a; }
.channel--map .channel__icon { background: rgba(209, 166, 80, .14); color: var(--gold-l); }
.channel h3 { margin: 6px 0 0; }
.channel p { margin: 0; font-size: .92rem; color: var(--muted); }
.channel .link { margin-top: auto; padding-top: 8px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; color: var(--gold-l); }
@media (max-width: 860px) { .channels { grid-template-columns: 1fr; } }

/* Services detail (Layanan page) */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 50px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc:nth-child(even) .svc__media { order: 2; }
.svc__media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.svc__num { font-family: var(--script); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.checks { list-style: none; padding: 0; margin: 18px 0 28px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; gap: 28px; } .svc:nth-child(even) .svc__media { order: 0; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--card); border-radius: var(--radius); padding: 28px 24px; border-top: 3px solid var(--green); }
.steps li::before { content: '0' counter(s); display: block; font-family: var(--script); color: var(--gold); font-size: 2.2rem; line-height: 1; margin-bottom: 10px; }
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Vision / mission + team */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.vm__card { background: var(--card); border-radius: var(--radius); padding: 34px 32px; border-left: 4px solid var(--gold); }
.vm__card .ic { width: 42px; height: 42px; color: var(--green-l); margin-bottom: 14px; stroke-width: 1.4; }
@media (max-width: 760px) { .vm { grid-template-columns: 1fr; } }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team__group { background: var(--card); border-radius: var(--radius); padding: 28px 24px; text-align: center; border: 1px solid var(--line); }
.team__group .ic { width: 46px; height: 46px; color: var(--gold); margin: 0 auto 12px; stroke-width: 1.4; }
.team__group h3 { color: var(--gold-l); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.team__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--white); font-weight: 600; }
@media (max-width: 960px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .team { grid-template-columns: 1fr; } }

/* Gallery grid + filter + lightbox */
.filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.chip { padding: 10px 20px; border-radius: 30px; border: 1px solid var(--line); background: var(--card); color: var(--cream); font: 600 .9rem var(--font); cursor: pointer; transition: .25s; }
.chip:hover { border-color: var(--gold); }
.chip.is-on { background: var(--gold); color: var(--green-900); border-color: var(--gold); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery .shot { aspect-ratio: 1; }
.gallery .shot.is-hidden { display: none; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(4, 12, 8, .95); display: flex; align-items: center; justify-content: center; padding: 60px 16px 30px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: var(--cream); margin-top: 12px; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.lightbox__btn:hover { background: var(--gold); color: var(--green-900); }
.lightbox__btn .ic { width: 20px; height: 20px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.contact__media { position: relative; max-width: 460px; margin: 0 auto; width: 100%; }
.contact__media img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; position: relative; z-index: 1; border: 10px solid var(--bg); }
.contact__media::before { content: ''; position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--green); top: -4%; left: -4%; }
.contact__media::after { content: ''; position: absolute; width: 16%; aspect-ratio: 1; border-radius: 50%; background: var(--gold); bottom: 2%; left: 2%; z-index: 2; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--white); background: var(--card); border: 1px solid var(--line);
  border-radius: 8px; padding: 14px 16px; transition: border-color .2s;
}
.field select option { background: var(--green-900); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field.has-error input, .field.has-error select { border-color: #e98a7a; }
.field .error { display: none; color: #f0a596; font-size: .82rem; margin: 6px 0 0; }
.field.has-error .error { display: block; }
.form__note { font-size: .85rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.2) contrast(1.05); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 22px; height: 22px; color: var(--green-l); margin-top: 3px; }
.contact-list a, .contact-list span { color: var(--cream); }
.contact-list a:hover { color: var(--gold-l); }

/* Care strip (Agrikon "We care about…") */
.care { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.care > .ic { width: 64px; height: 64px; color: var(--green-l); stroke-width: 1.2; }
.care h3 { font-size: 1.5rem; margin-bottom: 6px; }
.care p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .care { grid-template-columns: 1fr; text-align: left; } }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); --edge: var(--green-900); padding: 100px 0 0; color: var(--muted); font-size: .94rem; position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__logo { width: 230px; margin-bottom: 18px; }
.footer h4 { font-size: 1.1rem; color: var(--white); margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__links a { color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.footer__links a::before { content: '›'; color: var(--green-l); font-size: 1.2rem; line-height: 1; }
.footer__links a:hover { color: var(--gold-l); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.footer__contact .ic { color: var(--gold); width: 18px; height: 18px; margin-top: 4px; }
.footer__contact a { color: var(--muted); }
.footer__contact a:hover { color: var(--gold-l); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .06); display: grid; place-items: center; color: var(--cream); transition: .25s; }
.social a:hover { background: var(--gold); color: var(--green-900); }
.social .ic { width: 17px; height: 17px; }
.footer__bottom { margin-top: 70px; background: #07130d; padding: 22px 0; font-size: .85rem; }
.footer__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp + back to top */
.wafloat { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37, 211, 102, .4); }
.wafloat:hover { color: #fff; transform: scale(1.06); }
.wafloat .ic { width: 30px; height: 30px; }
.wafloat::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.4s infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }
.totop { position: fixed; right: 30px; bottom: 92px; z-index: 89; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s; }
.totop.is-on { opacity: 1; visibility: visible; }
.totop:hover { background: var(--gold); color: var(--green-900); }
.totop .ic { width: 18px; height: 18px; }
.nav-open .wafloat, .nav-open .totop { opacity: 0; visibility: hidden; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
