:root {
  --navy: #1b3556;
  --blue: #2f5d9b;
  --blue-soft: #e8eef6;
  --ink: #151a21;
  --muted: #6b7380;
  --line: #dde2ea;
  --tint: #f6f5f1;
  --white: #fff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.container { width: min(1320px, 100% - 64px); margin-inline: auto; }

/* Typography */
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
.eyebrow { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--blue); margin-bottom: 18px; }
.eyebrow--line { display: flex; align-items: center; gap: 14px; }
.eyebrow--line::after { content: ""; width: 56px; height: 1px; background: var(--blue); }
.lead { color: var(--muted); max-width: 440px; margin: 22px 0 34px; }

/* Buttons & links */
.btn { display: inline-block; padding: 14px 34px; border: 1px solid var(--navy); color: var(--navy); font-size: .9rem; letter-spacing: .04em; transition: .25s; }
.btn:hover { background: var(--navy); color: var(--white); }
.link { font-size: .85rem; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--blue); padding-bottom: 3px; transition: .2s; white-space: nowrap; }
.link:hover { color: var(--blue); }
.split__text .link { display: inline-block; margin-top: 10px; }

/* Placeholder images */
.ph { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius); color: rgba(255,255,255,.75); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px); }
.ph span { position: relative; }
.ph--1 { background: linear-gradient(135deg, #2b4a73, #6d8fbd); }
.ph--2 { background: linear-gradient(135deg, #1b3556, #4d76a8); }
.ph--3 { background: linear-gradient(135deg, #3d5a80, #98b4d4); }
.ph--4 { background: linear-gradient(135deg, #23405f, #7a9cc6); }
.ph--5 { background: linear-gradient(135deg, #14294a, #3f6aa3); }
.ph--6 { background: linear-gradient(135deg, #304f78, #8aa9cf); }

/* Navbar */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: block; line-height: 0; }
.logo img { height: 56px; width: auto; }
.logo--light img { height: 72px; }
.nav__menu { display: flex; gap: 48px; margin-left: auto; margin-right: 40px; }
.nav__menu a { font-size: .88rem; position: relative; padding: 4px 0; }
.nav__menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--blue); transition: .25s; }
.nav__menu a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { background: none; border: 0; padding: 8px; color: var(--navy); display: grid; place-items: center; }
.nav__toggle { display: none; }

/* Search overlay */
.search { position: fixed; inset: 0; z-index: 100; background: rgba(21,26,33,.92); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s; }
.search.is-open { opacity: 1; visibility: visible; }
.search__form { width: min(640px, 100% - 48px); }
.search__form input { width: 100%; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.5); color: var(--white); font: 400 1.75rem var(--serif); padding: 14px 0; outline: none; }
.search__form input::placeholder { color: rgba(255,255,255,.5); }
.search__close { position: absolute; top: 20px; right: 28px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); border: 0; color: var(--white); cursor: pointer; }
.search__close:hover { background: rgba(255,255,255,.22); }

/* Hero */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hero { background: #f1eeea; }
.hero__stage { position: relative; }
.hero__slide { display: none; }
.hero__slide.is-active { display: block; animation: fade .7s ease; }
.hero__slide img { width: 100%; height: auto; aspect-ratio: 2860 / 856; object-fit: cover; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--navy); background: rgba(255,255,255,.85); color: var(--navy); display: grid; place-items: center; transition: .25s; z-index: 2; }
.hero__arrow:hover { background: var(--navy); color: var(--white); }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }
.hero__foot { padding: 22px 0 26px; }
.hero__dots { display: flex; gap: 22px; }
.hero__dots button { background: none; border: 0; border-bottom: 3px solid rgba(27,53,86,.15); padding: 0 6px 8px 0; font: 400 1.3rem var(--serif); color: var(--muted); transition: .25s; min-width: 38px; text-align: left; }
.hero__dots button.is-active { border-color: var(--blue); color: var(--navy); }

/* Sections */
.section { padding: 100px 0; }
.section--tint { background: var(--tint); }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.head .eyebrow { margin-bottom: 14px; }

.split { display: grid; grid-template-columns: 1fr 1.35fr; gap: 80px; align-items: center; }
.split--reverse { grid-template-columns: 1.35fr 1fr; }
.split__text h2 { margin-bottom: 24px; }
.split__text p + p { margin-top: 14px; }
.split__text p:not(.eyebrow) { color: var(--muted); max-width: 440px; }
.split__text .btn { margin-top: 30px; }
.split__media { aspect-ratio: 16/10; }
.split--about { grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); gap: 48px; }
.split__img { width: 100%; height: auto; border-radius: var(--radius); }

/* Video */
.video { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.video__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1)); transition: transform .5s; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,.75), rgba(10,22,40,.05) 55%); pointer-events: none; }
.video:hover .video__thumb { transform: scale(calc(var(--zoom, 1) * 1.04)); }
.video__play { position: absolute; top: 50%; left: 50%; z-index: 1; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; padding-left: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .25s; }
.video:hover .video__play { transform: scale(1.1); }
.video__caption { position: absolute; left: 28px; bottom: 24px; z-index: 1; color: var(--white); display: flex; flex-direction: column; text-align: left; }
.video__caption strong { font: 500 1.4rem/1.2 var(--serif); }
.video__caption small { font-size: .85rem; opacity: .85; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }

/* Cards */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card__img { aspect-ratio: 3/2; margin-bottom: 18px; transition: .4s; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card__img { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(27,53,86,.18); }
.card__cat { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.card__title { font: 500 1.35rem/1.25 var(--serif); color: var(--navy); }
.card--article .card__img { aspect-ratio: 3/2; }
.card--article .card__title { font: 500 1.1rem/1.35 var(--sans); color: var(--ink); }
.card__date { display: block; margin-top: 8px; font-size: .75rem; color: var(--muted); }

/* Services */
.section--services { padding: 72px 0; }
.services { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: center; }
.services__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.services__list li { padding: 4px 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.dot { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; margin-bottom: 14px; }
.services__list strong { font-size: .92rem; font-weight: 600; color: var(--navy); }
.services__list small { font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* CTA */
.cta__inner { display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch; }
.cta__img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.cta__text { align-self: center; padding: 80px max(32px, calc((100vw - 1320px) / 2)) 80px 72px; }
.cta__text h2 { margin-bottom: 24px; }
.cta__text p:not(.eyebrow) { color: var(--muted); max-width: 440px; }
.cta__text .btn { margin-top: 30px; }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; padding-bottom: 48px; }
.footer__grid--solo { grid-template-columns: 1fr; }
.footer__brand .footer__social { margin-top: 24px; }
.footer__tagline { max-width: 380px; margin: 18px 0 0; font-size: .92rem; line-height: 1.7; }
.footer__title { font: 500 1.35rem/1.2 var(--serif); color: var(--white); margin: 0 0 18px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: .92rem; }
.footer__list li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 4px 16px; }
.footer__label { color: rgba(255,255,255,.5); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
.footer__list address { font-style: normal; line-height: 1.65; }
.footer__list a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.footer__list a:hover { text-decoration-color: var(--white); }
.footer__more { grid-column: 2; font-size: .85rem; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; font-size: .72rem; font-weight: 600; color: var(--white); transition: .25s; }
.footer__social a:hover { background: var(--white); color: var(--navy); }
.footer__copy { border-top: 1px solid rgba(255,255,255,.15); padding: 20px 0; font-size: .78rem; color: rgba(255,255,255,.5); }

/* Responsive */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .split, .split--reverse, .split--about { grid-template-columns: 1fr; gap: 36px; }
  .video__caption { left: 18px; bottom: 16px; }
  .video__play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .cta__inner { grid-template-columns: 1fr; }
  .cta__img { min-height: 0; aspect-ratio: 16/9; }
  .cta__text { padding: 56px 32px 72px; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; gap: 36px; }
  .services__list { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
@media (max-width: 720px) {
  .nav__toggle { display: grid; }
  .logo img { height: 48px; }
  .nav__menu { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: var(--white); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .3s; }
  .nav__menu.is-open { max-height: 320px; }
  .nav__menu a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .nav__actions { margin-left: auto; }
  .head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .hero__arrow { width: 36px; height: 36px; }
  .hero__arrow--prev { left: 8px; }
  .hero__arrow--next { right: 8px; }
  }

/* ===== Halaman Projects, detail, artikel ===== */
.container--narrow { width: min(820px, 100% - 64px); }
.h2 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; color: var(--navy); font-size: clamp(2rem, 3.5vw, 2.75rem); margin: 0; }
.nav__menu a.is-active::after { width: 100%; }
.nav__menu a.is-active { color: var(--navy); font-weight: 500; }

.page-banner { background: #e9e3da; line-height: 0; }
.page-banner img { width: 100%; height: auto; aspect-ratio: 2400 / 518; object-fit: cover; }

.head--stack { display: block; margin-bottom: 32px; }
.head__sub { color: var(--muted); max-width: 560px; margin-top: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.pill { display: inline-block; padding: 8px 20px; border: 1px solid var(--navy); border-radius: 999px; font-size: .82rem; color: var(--navy); background: transparent; transition: .2s; }
.pill:hover { background: var(--blue-soft); }
.pill.is-active { background: var(--navy); color: var(--white); }

.cat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.cat-card { position: relative; grid-column: span 4; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; background: var(--navy); }
.cat-card:nth-child(-n+4) { grid-column: span 3; aspect-ratio: 4 / 3; }
.cat-card img, .cat-card__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,.78), rgba(10,22,40,0) 62%); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card__body { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; color: var(--white); display: flex; flex-direction: column; }
.cat-card__body strong { font: 500 1.3rem/1.2 var(--serif); }
.cat-card__body small { font-size: .78rem; opacity: .85; margin-top: 2px; }

.empty-note { color: var(--muted); padding: 24px 0; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); font-size: .9rem; color: var(--navy); }
.pagination a:hover { background: var(--blue-soft); }
.pagination span { background: var(--navy); color: var(--white); border-color: var(--navy); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--ink); }
.detail { padding-top: 56px; }
.detail__head { margin-bottom: 32px; }
.detail__head .eyebrow a:hover { text-decoration: underline; }
.detail__head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.detail__meta { color: var(--muted); margin-top: 12px; font-size: .92rem; }
.detail__cover { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.detail__cover img { width: 100%; height: auto; max-height: 640px; object-fit: cover; }
.detail__lead { font: 400 1.35rem/1.5 var(--serif); color: var(--navy); margin-bottom: 24px; }
.prose { max-width: 720px; color: #2a3038; font-size: 1.02rem; line-height: 1.8; }
.prose p { margin: 0 0 1.2em; }
.detail__sub { font-size: 1.8rem; margin: 56px 0 20px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-grid a { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 2; background: var(--tint); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid a:hover img { transform: scale(1.05); }
.detail__cta { margin-top: 64px; padding: 36px 40px; background: var(--tint); border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.detail__cta p { margin: 0; font: 500 1.5rem/1.3 var(--serif); color: var(--navy); }
.notfound { text-align: center; padding: 60px 0; }
.notfound h1 { margin-bottom: 14px; }
.notfound .eyebrow { justify-content: center; }
.notfound p { color: var(--muted); margin-bottom: 24px; }

/* Lightbox galeri */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10,22,40,.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(1200px, 88vw); }
.lightbox img { max-width: 100%; max-height: 80vh; display: block; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { color: rgba(255,255,255,.85); text-align: center; font-size: .9rem; margin-top: 12px; min-height: 1.4em; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.12); color: var(--white); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 20px; right: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

@media (max-width: 960px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card, .cat-card:nth-child(-n+4) { grid-column: auto; aspect-ratio: 4 / 3; }
  .container--narrow { width: min(820px, 100% - 48px); }
}
@media (max-width: 720px) {
  .cat-grid { grid-template-columns: 1fr; gap: 16px; }
  .detail { padding-top: 36px; }
  .detail__cta { padding: 28px 24px; }
  .lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; }
}


/* ===== Produk: kartu, detail, pop-up ===== */
.card__price { margin-top: 6px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.card__price--ask { font-weight: 400; color: var(--muted); font-size: .85rem; }
.btn--solid { background: var(--navy); color: var(--white); }
.btn--solid:hover { background: var(--navy-dark, #14294a); color: var(--white); }

.pdetail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.pdetail__gallery { display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 14px; align-items: start; }
.pdetail__main { aspect-ratio: 4 / 3; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; }
.pdetail__main img { width: 100%; height: 100%; object-fit: contain; }
.pdetail__noimg { color: var(--muted); font-size: .85rem; }
.pdetail__thumbs { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pdetail__thumbs a { display: block; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--tint); opacity: .7; transition: .2s; }
.pdetail__thumbs a:hover, .pdetail__thumbs a.is-active { opacity: 1; border-color: var(--navy); }
.pdetail__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdetail__info .eyebrow { margin-bottom: 8px; }
.pdetail__name { font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.1; font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 0; }
.pdetail__price { font-size: 1.25rem; font-weight: 600; color: var(--ink); margin: 10px 0 18px; }
.pdetail__price--ask { font-size: 1rem; font-weight: 400; color: var(--muted); }
.pdetail__desc { font-size: .95rem; line-height: 1.7; margin-bottom: 20px; }
.pdetail__note { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }
.specs { margin: 0 0 28px; display: grid; gap: 8px; }
.specs div { display: grid; grid-template-columns: 90px 1fr; font-size: .95rem; }
.specs dt { font-weight: 500; }
.specs dd { margin: 0; }
.specs dd::before { content: ": "; }
.pdetail__info .btn { display: block; text-align: center; width: 100%; padding: 16px; font-weight: 600; }
.pdetail__related { grid-column: 1 / -1; margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.pdetail__related h3 { font-size: 1rem; font-weight: 600; margin: 0 0 16px; }
.related-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; }
.mini__img { display: block; aspect-ratio: 4 / 3; background: var(--tint); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 6px; }
.mini__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mini:hover .mini__img img { transform: scale(1.05); }
.mini__name { font-weight: 500; color: var(--ink); }
.mini__price { color: var(--muted); font-size: .82rem; }

.pmodal { border: 0; padding: 0; background: var(--white); border-radius: 20px; width: min(1040px, calc(100% - 32px)); max-height: 92vh; overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.pmodal::backdrop { background: rgba(10,22,40,.7); }
.pmodal__body { padding: 40px; }
.pmodal__close { position: sticky; top: 14px; --sz: 40px; margin: 14px 14px calc(-1 * var(--sz)) auto; z-index: 3; width: var(--sz); height: var(--sz); border: 0; border-radius: 50%; background: var(--tint); color: var(--navy); cursor: pointer; display: grid; place-items: center; padding: 0; }
.pmodal__close:hover { background: var(--line); }
.pmodal__loading { text-align: center; color: var(--muted); padding: 60px 0; }

@media (max-width: 960px) {
  .pdetail { grid-template-columns: 1fr; gap: 28px; }
  .related-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .pdetail__gallery { grid-template-columns: 1fr; }
  .pdetail__thumbs { flex-direction: row; order: 2; }
  .pdetail__thumbs li { width: 64px; }
  .pmodal { border-radius: 14px; }
  .pmodal__body { padding: 24px 18px; }
}


/* ===== Halaman Contact ===== */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.contact__info p { color: var(--muted); max-width: 440px; margin: 20px 0; }
.contact__info .btn { color: var(--white); }
.contact__social { list-style: none; margin: 28px 0 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.contact__social a { font-size: .88rem; color: var(--navy); border-bottom: 1px solid var(--blue); padding-bottom: 2px; }
.contact__panel { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 36px 40px; box-shadow: 0 14px 40px rgba(27,53,86,.06); }
.contact__thanks h2 { font-size: 2rem; margin-bottom: 12px; }
.contact__thanks p { color: var(--muted); margin: 0 0 14px; }
.form-public label { display: block; font-size: .82rem; font-weight: 500; color: var(--navy); margin: 18px 0 6px; }
.form-public > label:first-of-type { margin-top: 0; }
.form-public input, .form-public textarea { width: 100%; padding: 12px 14px; font: inherit; font-size: .95rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); }
.form-public input:focus, .form-public textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form-public [aria-invalid="true"] { border-color: #a4262c; }
.form-public__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-public__hint { font-size: .78rem; color: var(--muted); margin: 6px 0 0; }
.form-public .btn--wide { width: 100%; margin-top: 26px; padding: 15px; font-weight: 600; cursor: pointer; border: 0; }
.field-error { color: #a4262c; font-size: .8rem; margin: 6px 0 0; }
.alert-public { padding: 12px 16px; border-radius: var(--radius); font-size: .9rem; margin: 0 0 22px; }
.alert-public--error { background: #fbeaea; color: #a4262c; border: 1px solid #efc4c6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 720px) { .contact__panel { padding: 26px 20px; } .form-public__row { grid-template-columns: 1fr; gap: 0; } }

/* ===== Banner di HP =====
   Teks banner berada di dalam gambar, sisi KIRI. Di layar sempit gambar dipotong ke bagian kiri dan dibuat lebih tinggi,
   sehingga teksnya ±2× lebih besar. Rasio dipilih agar ±45% lebar gambar terlihat (teks hanya mengisi ±38% pertama). */
.hero__stage { touch-action: pan-y; }   /* gerakan horizontal dipakai untuk geser slider; gulir vertikal tetap normal */
@media (max-width: 520px) {   /* HP posisi tegak; HP mendatar dan tablet tetap memakai banner utuh */
  .hero__slide img { aspect-ratio: 3 / 2; object-position: left center; }
  .hero__arrow { display: none; }       /* panah menimpa teks banner; ganti dengan geser jari dan titik 01/02 */
  .page-banner img { aspect-ratio: 2.1 / 1; object-position: left center; }
}

@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) {
  .footer__list li { grid-template-columns: 1fr; }
  .footer__more { grid-column: 1; }
}

/* ===== Penyempurnaan tampilan HP ===== */
/* Area sentuh tautan teks diperluas tanpa mengubah tampilan (elemen semu tak terlihat, tetap bisa disentuh) */
.link, .breadcrumb a { position: relative; }
.link::before { content: ""; position: absolute; inset: -12px -6px; }
.breadcrumb a::before { content: ""; position: absolute; inset: -12px -4px; }

@media (max-width: 720px) {
  /* 1) Area sentuh minimal 44 px */
  .icon-btn { min-width: 44px; min-height: 44px; }
  .hero__arrow { width: 44px; height: 44px; }
  .hero__dots button { min-width: 44px; min-height: 44px; }
  .footer__social a { width: 44px; height: 44px; }
  .footer__list a { display: inline-block; padding: 8px 0; }
  .pill { min-height: 44px; display: inline-flex; align-items: center; }
  .pagination a, .pagination span { min-width: 44px; height: 44px; }
  .pmodal__close { --sz: 44px; }

  /* 2) Teks kecil naik dari 11,5 px ke ±12,5 px */
  .eyebrow, .card__cat { font-size: .78rem; }

  /* 3) Video: tombol play naik sedikit dan caption diperkecil agar tidak tumpang tindih */
  .video__play { top: 42%; width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .video__caption strong { font-size: 1.1rem; }
  .video__caption small { font-size: .78rem; }

  /* 4) Filter kategori: satu baris yang bisa digeser, melebar sampai tepi layar */
  .pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: -32px; padding-inline: 32px; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .pills::-webkit-scrollbar { display: none; }
  .pill { flex: 0 0 auto; white-space: nowrap; }

  /* 5) Kartu kategori Projects: 2 kolom */
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card, .cat-card:nth-child(-n+4) { aspect-ratio: 1 / 1; }
  .cat-card__body { left: 12px; right: 12px; bottom: 12px; }
  .cat-card__body strong { font-size: 1.05rem; }
  .cat-card__body small { display: none; }

  /* 6) Katalog produk: 2 kolom */
  .grid--4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .grid--4 .card__title { font-size: 1.05rem; }
  .grid--4 .card__price { font-size: .85rem; }
}

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

/* Halaman pencarian */
.searchbar { display: flex; gap: 12px; max-width: 640px; margin: 0 0 40px; }
.searchbar input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 12px 16px; font: 400 1rem var(--sans, inherit); color: var(--navy); background: var(--white); }
.searchbar input:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.search-group { font: 500 1.5rem var(--serif); color: var(--navy); margin: 40px 0 20px; }

/* Halaman About */
.about-hero { background: #e9e3da; line-height: 0; }
.about-hero img { width: 100%; height: auto; aspect-ratio: 2400 / 1000; max-height: 480px; object-fit: cover; }
@media (max-width: 720px) { .about-hero img { aspect-ratio: 2 / 1; } }
.about__title { margin-bottom: 28px; }
.about__cta { margin-top: 36px; }
