/* ==========================================================================
   Casatria — Studio Arsitektur & Kontraktor
   main.css — redesigned 2026
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0f1716;
  --ink-2: #182422;
  --ink-3: #223330;
  --body-c: #46584f;
  --muted: #6d807a;
  --teal: #58c8b8;
  --teal-soft: #d9f2ed;
  --teal-deep: #10796b;
  --teal-dark: #0c5f54;
  --paper: #ffffff;
  --mist: #f4f8f7;
  --line: #e3ece9;
  --gold: #f0b429;
  --wa: #22c15e;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-1: 0 1px 2px rgba(15, 23, 22, .04), 0 8px 24px rgba(15, 23, 22, .06);
  --shadow-2: 0 2px 4px rgba(15, 23, 22, .05), 0 18px 44px rgba(15, 23, 22, .12);
  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body-c);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-family: var(--font-display); line-height: 1.18; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--teal); color: var(--ink); }
:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: 2px;
  border-radius: 4px;
}
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.section { padding: clamp(68px, 9vw, 116px) 0; }
.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.grid-2-rev { grid-template-columns: 1fr 1.05fr; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-sub { color: var(--muted); font-size: 1.0625rem; }
.section-head .section-sub { margin-top: .35em; }

/* ---------- Typography ---------- */
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
.h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); font-weight: 600; }
.h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: .35em; }
.h2-light { color: #fff; }
.lead { font-size: 1.125rem; color: var(--ink-2); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow-line { width: 34px; height: 2px; background: var(--teal); flex: none; }
.eyebrow-light { color: #cfeee8; }
.eyebrow-light .eyebrow-line { background: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
    border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal); color: #06231e; }
.btn-primary:hover { background: #6fd4c4; box-shadow: 0 10px 26px rgba(88, 200, 184, .35); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); box-shadow: var(--shadow-2); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); }
.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn-sm { padding: 11px 20px; font-size: .875rem; }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .925rem;
  color: var(--teal-deep);
}
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--teal-deep);
  border-bottom: 1px solid transparent;
}
.link-inline:hover { border-color: currentColor; }
.link-inline .ic { width: 1em; height: 1em; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: 14px 0;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand img {
  height: 38px;
  width: auto;
  transition: height .3s var(--ease);
}
.nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.nav-list { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); }
.nav-link {
  position: relative;
  font-size: .9375rem;
  font-weight: 500;
  color: #fff;
  opacity: .92;
  padding: 6px 2px;
  transition: color .25s var(--ease), opacity .25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="true"] { opacity: 1; }
.nav-link:hover::after, .nav-link[aria-current="true"]::after { transform: scaleX(1); }
.nav-toggle {
  display: none;
  padding: 10px;
  border-radius: 12px;
  color: #fff;
  transition: background-color .25s var(--ease);
}
.nav-toggle .ic { width: 26px; height: 26px; }
.nav-toggle .ic-close { display: none; }

/* Header states */
.header.is-solid {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px rgba(15, 23, 22, .06);
  padding: 9px 0;
}
.header.is-solid .nav-link { color: var(--ink); }
.header.is-solid .nav-toggle { color: var(--ink); }
.header.is-solid .brand img { height: 33px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 18, 17, .62) 0%, rgba(10, 18, 17, .28) 38%, rgba(10, 18, 17, .38) 62%, rgba(10, 18, 17, .82) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 120px;
  max-width: 1200px;
}
.hero-title {
  color: #fff;
  font-size: clamp(2.15rem, 5.6vw, 4.35rem);
  font-weight: 700;
  max-width: 17ch;
  margin-bottom: .35em;
  text-wrap: balance;
}
.hero-sub {
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 52ch;
  margin-bottom: 2em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  color: #fff;
  animation: bob 2.6s ease-in-out infinite;
  transition: background-color .25s var(--ease);
}
.hero-scroll:hover { background: rgba(255, 255, 255, .14); }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  padding-right: clamp(22px, 3vw, 44px);
}
.marquee-group span {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9fd9cf;
  white-space: nowrap;
}
.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Media frames ---------- */
.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame-tall { aspect-ratio: 4 / 5; max-width: 460px; }
.tentang-media { position: relative; }
.tentang-media .media-frame { aspect-ratio: 4 / 5; }
.tentang-media::before {
  content: "";
  position: absolute;
  inset: -16px -16px auto auto;
  width: 58%;
  height: 62%;
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  z-index: -1;
}
.media-badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: var(--shadow-1);
  display: grid;
  gap: 2px;
}
.media-badge strong { font-family: var(--font-display); font-size: .95rem; color: var(--ink); }
.media-badge span { font-size: .8rem; color: var(--muted); }

/* ---------- Chips / quote ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--mist);
  border: 1px solid var(--line);
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-3);
}
.quote {
  margin: 0;
  padding: 18px 22px;
  border-left: 3px solid var(--teal);
  background: var(--mist);
  border-radius: 0 16px 16px 0;
}
.quote p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink-2);
  font-weight: 600;
}

/* ---------- Layanan ---------- */
.layanan { background: var(--mist); }
.layanan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
}
.layanan-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.layanan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
  border-color: #d3e6e1;
}
.layanan-media { aspect-ratio: 16 / 11; overflow: hidden; }
.layanan-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.layanan-card:hover .layanan-media img { transform: scale(1.05); }
.layanan-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.layanan-num {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--teal-deep);
  margin-bottom: 10px;
}
.layanan-body p { margin-bottom: 18px; }
.layanan-body .link-arrow { margin-top: auto; }

/* ---------- Keunggulan ---------- */
.keunggulan-list {
  counter-reset: item;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.keunggulan-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease), padding-left .3s var(--ease);
}
.keunggulan-item:hover { background: var(--mist); padding-left: 14px; }
.keunggulan-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal-deep);
  padding-top: 3px;
}
.keunggulan-item p { margin: 0; font-size: .96rem; }

/* ---------- Proyek ---------- */
.filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: .9rem;
  font-weight: 500;
  color: var(--body-c);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.filter-btn:hover { border-color: var(--teal); transform: translateY(-1px); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.proyek-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
}
.proyek-card { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.proyek-card.is-hidden { display: none; }
.card-btn {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow-1);
}
.proyek-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .65s var(--ease);
}
.card-btn:hover img { transform: scale(1.055); }
.proyek-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 8px;
  padding: 60px 22px 20px;
  background: linear-gradient(180deg, rgba(10, 18, 17, 0) 0%, rgba(10, 18, 17, .82) 72%);
  color: #fff;
}
.proyek-tag {
  justify-self: start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(88, 200, 184, .92);
  color: #06231e;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.proyek-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ---------- Galeri ---------- */
.galeri { background: var(--ink); }
.galeri .eyebrow { color: var(--teal); }
.galeri .eyebrow-line { background: var(--teal); }
.galeri .h2 { color: #fff; }
.galeri .section-sub { color: rgba(255, 255, 255, .68); }
.galeri-grid { columns: 3 300px; column-gap: clamp(14px, 2vw, 20px); }
.galeri-item { margin: 0 0 clamp(14px, 2vw, 20px); break-inside: avoid; }
.galeri-item .card-btn { border-radius: 16px; box-shadow: none; }
.galeri-item img { width: 100%; height: auto; transition: transform .65s var(--ease), opacity .4s var(--ease); }
.galeri-item .card-btn:hover img { transform: scale(1.04); }
.galeri-item figcaption {
  padding: 10px 4px 2px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .62);
}

/* ---------- Video ---------- */
.video-media { display: flex; justify-content: center; }
.video-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--teal);
  color: #06231e;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
}
.video-badge .ic { width: 30px; height: 30px; margin-left: 3px; }
.video-copy .btn { margin-top: 10px; }

/* ---------- Testimoni ---------- */
.testimoni { background: var(--mist); }
.testimoni-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 28px);
  max-width: 980px;
}
.testi-card {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.stars { display: flex; gap: 4px; color: var(--gold); }
.stars .ic { width: 19px; height: 19px; }
.star-off { opacity: .22; }
.testi-quote { margin: 0; flex: 1; }
.testi-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.5;
}
.testi-meta { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.testi-meta strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.testi-meta small { color: var(--muted); font-size: .8rem; }

/* ---------- CTA band ---------- */
.cta { padding-bottom: clamp(40px, 6vw, 72px); }
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  z-index: -2;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 32, 29, .93) 0%, rgba(9, 32, 29, .78) 46%, rgba(9, 32, 29, .42) 100%);
  z-index: -1;
}
.cta-content {
  padding: clamp(44px, 6.5vw, 84px);
  max-width: 640px;
}
.cta-content p { color: rgba(255, 255, 255, .85); margin: 0 0 1.8em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Kontak ---------- */
.kontak-copy .section-sub { margin-bottom: 30px; }
.kontak-list { display: grid; gap: 8px; }
.kontak-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.kontak-item:last-child { border-bottom: 0; }
.kontak-ic {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal-dark);
}
.kontak-ic .ic { width: 22px; height: 22px; }
.kontak-item strong { display: block; font-family: var(--font-display); font-size: .95rem; color: var(--ink); }
.kontak-item p { margin: 2px 0 4px; }
.kontak-item .link-inline { font-size: .9rem; }

.kontak-form {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 38px);
}
.form-hint { font-size: .88rem; color: var(--muted); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink-2); margin-bottom: 8px; }
.req { color: #d14343; }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  font: inherit;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(88, 200, 184, .18);
}
.field.has-error input,
.field.has-error textarea { border-color: #d14343; }
.field-error { margin: 8px 0 0; font-size: .82rem; color: #d14343; }
.kontak-form .btn { margin-top: 6px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #a9bbb5;
  padding: clamp(56px, 7vw, 88px) 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 5vw, 56px);
}
.f-logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  margin-bottom: 14px;
}
.f-logo span { color: var(--teal); }
.footer-brand p { font-size: .92rem; margin-bottom: 20px; max-width: 34ch; }
.footer-col h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; font-size: .92rem; }
.footer-col a { transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 24px;
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--teal); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 32px rgba(34, 193, 94, .4);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .25s var(--ease);
}
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: #1eb355; transform: translateY(-3px); }
.wa-float .ic { width: 28px; height: 28px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 13, .93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade .25s var(--ease);
}
.lightbox-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1080px, 92vw);
  animation: rise .3s var(--ease);
}
.lightbox-figure img {
  max-width: min(1080px, 92vw);
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
}
.lightbox-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  color: rgba(255, 255, 255, .9);
  padding: 16px 6px 0;
}
.lightbox-caption strong { font-family: var(--font-display); font-size: 1.05rem; }
.lightbox-caption span { font-size: .85rem; color: rgba(255, 255, 255, .6); }
.lb-btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-btn .ic { width: 22px; height: 22px; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-2, .grid-2-rev { grid-template-columns: 1fr; }
  .grid-2-rev .keunggulan-media { order: 2; }
  .layanan-grid { grid-template-columns: repeat(2, 1fr); }
  .proyek-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tentang-media { max-width: 560px; }
}
@media (max-width: 920px) {
  .nav {
    position: absolute;
    top: calc(100% + 6px);
    left: clamp(16px, 4vw, 32px);
    right: clamp(16px, 4vw, 32px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow-2);
    display: none;
  }
  .nav.is-open { display: flex; animation: rise .28s var(--ease); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    display: block;
    color: var(--ink);
    padding: 12px 10px;
    border-radius: 12px;
    font-size: 1rem;
  }
  .nav-link:hover { background: var(--mist); }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 10px; justify-content: center; }
  .nav-toggle { display: grid; place-items: center; }
  .header.is-open { background: rgba(255, 255, 255, .97); box-shadow: var(--shadow-1); }
  .header.is-open .nav-link { color: var(--ink); }
  .header.is-open .nav-toggle { color: var(--ink); }
  .header.is-open .nav-toggle .ic-menu { display: none; }
  .header.is-open .nav-toggle .ic-close { display: block; }
  .hero-content { padding-top: 140px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}
@media (max-width: 640px) {
  .layanan-grid, .proyek-grid, .testimoni-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .media-badge { left: 12px; }
  .tentang-media::before { display: none; }
  .galeri-grid { columns: 2 160px; }
  .wa-float { right: 16px; bottom: 16px; }
  .lb-close { top: 12px; right: 12px; }
  .lightbox-caption { padding: 12px 8px 0; }
}
@media (max-width: 420px) {
  .galeri-grid { columns: 1; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .hero-scroll { animation: none; }
}
