/* =========================================================
   Karunia Maju — Jasa Waterproofing Jakarta
   Landing page & halaman artikel
   ========================================================= */

:root {
  color-scheme: light;
  --ink: #0d2433;
  --ink-soft: #3c5564;
  --muted: #6d818d;
  --line: #dfe9ee;
  --line-dark: #c9dbe4;
  --paper: #ffffff;
  --wash: #f3f8fa;
  --wash-2: #e8f2f6;
  --deep: #032d54;
  --deep-2: #021f3a;
  --brand: #065891;
  --brand-light: #0b74b4;
  --aqua: #bfe3ef;
  --accent: #f5b31c;
  --accent-dark: #d99a0b;
  --accent-soft: #fff4d8;
  --max: 1180px;
  --shadow: 0 22px 60px rgba(3, 45, 84, 0.13);
  --font-head: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
}

::selection {
  background: var(--accent);
  color: var(--deep-2);
}

:focus-visible {
  outline: 3px solid var(--brand-light);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: var(--deep);
  color: #fff;
  font-size: 0.82rem;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}

/* ---------- shared type / buttons ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 2px;
  background: var(--accent);
  content: "";
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.section-head > div {
  max-width: 640px;
}

.section-head h2 {
  margin: 13px 0 13px;
  font-size: clamp(2rem, 3.5vw, 2.85rem);
}

.section-head p {
  max-width: 56ch;
  color: var(--muted);
  font-size: 0.92rem;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn:hover {
  border-color: var(--deep);
  background: var(--deep);
  transform: translateY(-2px);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--accent {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--deep-2);
}

.btn--accent:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: var(--deep-2);
}

.btn--dark {
  border-color: var(--deep);
  background: var(--deep);
}

.btn--dark:hover {
  border-color: var(--brand);
  background: var(--brand);
}

.btn--ghost {
  border-color: var(--line-dark);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.btn--light:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--deep-2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 0.79rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s;
}

.text-link:hover {
  color: var(--brand);
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* ---------- header ---------- */

.header {
  position: sticky;
  z-index: 90;
  top: 0;
  border-bottom: 1px solid rgba(223, 233, 238, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.25s;
}

.header.is-scrolled {
  box-shadow: 0 12px 34px rgba(3, 45, 84, 0.08);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  transition: min-height 0.25s ease;
}

.header.is-scrolled .header-inner {
  min-height: 70px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 46px;
  height: 42px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--deep);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 23px;
}

.nav > a:not(.nav-cta) {
  position: relative;
  padding: 7px 0;
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-size: 0.79rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav > a:not(.nav-cta):hover,
.nav > a:not(.nav-cta)[aria-current="page"] {
  color: var(--deep);
}

.nav > a:not(.nav-cta):hover::after,
.nav > a:not(.nav-cta)[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  background: var(--accent);
  color: var(--deep-2);
  font-family: var(--font-head);
  font-size: 0.77rem;
  font-weight: 800;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--deep);
}

.menu-toggle svg {
  width: 21px;
  height: 21px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 0;
  background:
    radial-gradient(900px 460px at 88% 10%, rgba(191, 227, 239, 0.5), transparent 65%),
    linear-gradient(180deg, #f7fbfc 0%, #ffffff 72%);
}

.hero::before {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(6, 88, 145, 0.09);
  border-radius: 50%;
  content: "";
}

.hero::after {
  position: absolute;
  top: -110px;
  right: -110px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(6, 88, 145, 0.07);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 58px;
  align-items: center;
}

.hero-copy {
  padding-bottom: 26px;
}

.hero h1 {
  max-width: 13ch;
  margin: 17px 0 20px;
  color: var(--deep);
  font-size: clamp(2.85rem, 5vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero h1 em {
  position: relative;
  isolation: isolate;
  color: var(--brand);
  font-style: normal;
}

.hero h1 em::after {
  position: absolute;
  right: 2px;
  bottom: 2px;
  left: 2px;
  z-index: -1;
  height: 12px;
  background: var(--accent);
  content: "";
  opacity: 0.42;
}

.hero-copy > p {
  max-width: 50ch;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-note svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.hero-media {
  position: relative;
  min-height: 545px;
  animation: softIn 0.9s ease 0.1s backwards;
}

.hero-photo {
  position: absolute;
  inset: 0 0 46px 44px;
  background: var(--wash-2);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 1.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 31, 58, 0) 55%, rgba(2, 31, 58, 0.28));
  content: "";
  pointer-events: none;
}

.hero-inset {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42%;
  height: 52%;
  border: 8px solid #fff;
  background: var(--wash);
  box-shadow: 0 18px 40px rgba(3, 45, 84, 0.18);
  animation: softIn 0.9s ease 0.42s backwards;
}

.hero-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 62px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 7px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(3, 45, 84, 0.16);
  animation: softIn 0.8s ease 0.55s backwards;
}

.hero-badge img {
  width: 36px;
  height: 32px;
  object-fit: contain;
}

.hero-badge span {
  display: flex;
  flex-direction: column;
  color: var(--deep);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-badge small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--deep);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  text-align: right;
  animation: softIn 0.8s ease 0.65s backwards;
}

.hero-caption span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 500;
}

.hero-intro {
  position: relative;
  z-index: 1;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  margin-top: 34px;
}

.hero-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  padding-top: 26px;
}

.hero-intro p {
  max-width: 88ch;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hero-intro strong {
  color: var(--deep);
  font-family: var(--font-head);
  font-weight: 700;
}

.values-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 12px;
  border-top: 1px solid var(--line);
}

.value {
  position: relative;
  padding: 27px 26px 30px;
  border-right: 1px solid var(--line);
}

.value:first-child {
  padding-left: 0;
}

.value:last-child {
  padding-right: 0;
  border-right: 0;
}

.value span {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.value h3 {
  margin-bottom: 6px;
  color: var(--deep);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.value p {
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.6;
}

/* ---------- about ---------- */

.about {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 78px;
  align-items: center;
}

.about-media {
  position: relative;
  min-height: min(520px, 44vw);
}

.about-main {
  position: absolute;
  inset: 0 48px 48px 0;
  overflow: hidden;
  background: var(--wash-2);
}

.about-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-media:hover .about-main img {
  transform: scale(1.035);
}

.about-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 44%;
  border: 8px solid #fff;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(3, 45, 84, 0.16);
}

.about-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-tag {
  position: absolute;
  top: 24px;
  left: 0;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--deep-2);
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-copy h2 {
  margin: 14px 0 16px;
  color: var(--deep);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.about-copy > p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.about-copy > p + p {
  margin-top: 12px;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 24px 0 28px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.check-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--brand);
}

/* ---------- services ---------- */

.services {
  padding: 96px 0;
  background: var(--wash);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
  border-color: var(--line-dark);
  box-shadow: 0 18px 42px rgba(3, 45, 84, 0.09);
  transform: translateY(-4px);
}

.service-photo {
  position: relative;
  height: 208px;
  overflow: hidden;
  background: var(--wash-2);
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-photo img {
  transform: scale(1.045);
}

.service-num {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.service-body h3 {
  margin-bottom: 9px;
  color: var(--deep);
  font-size: 1.12rem;
}

.service-body p {
  flex: 1;
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.65;
}

.service-body .text-link {
  align-self: flex-start;
  margin-top: 17px;
  font-size: 0.74rem;
}

/* ---------- approach ---------- */

.approach {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: var(--deep-2);
  color: #fff;
}

.approach::before {
  position: absolute;
  top: -160px;
  right: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 116, 180, 0.28), transparent 68%);
  content: "";
}

.approach .eyebrow {
  color: var(--aqua);
}

.approach-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.approach-media {
  position: relative;
  min-height: 440px;
}

.approach-main {
  position: absolute;
  inset: 0 42px 42px 0;
  overflow: hidden;
}

.approach-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 42%;
  border: 7px solid var(--deep-2);
  overflow: hidden;
}

.approach-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-copy h2 {
  max-width: 17ch;
  margin: 15px 0 18px;
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
}

.approach-copy > p {
  color: #b8cbd8;
  font-size: 0.9rem;
}

.approach-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.approach-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(191, 227, 239, 0.18);
}

.approach-item span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(245, 179, 28, 0.55);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 800;
}

.approach-item h3 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.96rem;
}

.approach-item p {
  color: #a9c0cf;
  font-size: 0.79rem;
  line-height: 1.6;
}

/* ---------- process ---------- */

.process {
  padding: 96px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-step {
  position: relative;
  padding: 26px 26px 28px 0;
  border-right: 1px solid var(--line);
}

.process-step + .process-step {
  padding-left: 26px;
}

.process-step:last-child {
  border-right: 0;
}

.process-step::before {
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.process-step + .process-step::before {
  left: 26px;
}

.process-step span {
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  opacity: 0.32;
}

.process-step h3 {
  margin: 12px 0 7px;
  color: var(--deep);
  font-size: 1rem;
}

.process-step p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ---------- gallery ---------- */

.gallery {
  padding: 96px 0;
  background: var(--wash);
}

.gallery-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}

.gallery-head .section-head {
  margin-bottom: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
}

.filters button {
  padding: 8px 12px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.filters button:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.filters button[aria-pressed="true"] {
  border-color: var(--deep);
  background: var(--deep);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 172px;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background: var(--wash-2);
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(6) {
  grid-row: span 2;
}

.gallery-item:nth-child(9) {
  grid-column: span 2;
}

.gallery-item:nth-child(14) {
  grid-row: span 2;
}

.gallery-item:nth-child(17) {
  grid-column: span 2;
}

.gallery-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
}

.gallery-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-btn:hover img,
.gallery-btn:focus-visible img {
  transform: scale(1.05);
}

.gallery-cap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 34px 14px 12px;
  background: linear-gradient(180deg, rgba(2, 31, 58, 0) 0%, rgba(2, 31, 58, 0.78) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
}

.gallery-cap span {
  color: #c5dce7;
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 400;
}

.gallery-btn:hover .gallery-cap,
.gallery-btn:focus-visible .gallery-cap {
  opacity: 1;
  transform: none;
}

.gallery-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s, transform 0.2s;
}

.gallery-zoom svg {
  width: 15px;
  height: 15px;
}

.gallery-btn:hover .gallery-zoom,
.gallery-btn:focus-visible .gallery-zoom {
  opacity: 1;
  transform: none;
}

/* ---------- testimonials ---------- */

.testimonials {
  padding: 92px 0;
  background:
    linear-gradient(90deg, rgba(191, 227, 239, 0.2), transparent 40%),
    var(--deep);
  color: #fff;
}

.testimonials .eyebrow {
  color: var(--aqua);
}

.testimonials .section-head h2 {
  color: #fff;
}

.testimonials .section-head p {
  color: #b7cad7;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border: 1px solid rgba(191, 227, 239, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

.stars {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

.testimonial blockquote {
  flex: 1;
  margin: 15px 0 18px;
  color: #e2edf3;
  font-size: 0.92rem;
  line-height: 1.7;
}

.testimonial cite {
  color: #9fb8c8;
  font-family: var(--font-head);
  font-size: 0.71rem;
  font-style: normal;
  font-weight: 600;
}

/* ---------- faq ---------- */

.faq {
  padding: 96px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 72px;
  align-items: start;
}

.faq-intro h2 {
  margin: 14px 0 14px;
  color: var(--deep);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
}

.faq-intro p {
  color: var(--muted);
  font-size: 0.89rem;
}

.faq-intro .btn {
  margin-top: 22px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  border: 0;
  background: none;
  color: var(--deep);
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
}

.faq-question svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--brand);
  transition: transform 0.25s;
}

.faq-item.is-open .faq-question svg {
  transform: rotate(45deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}

.faq-panel > div {
  overflow: hidden;
}

.faq-panel p {
  max-width: 68ch;
  padding: 0 36px 20px 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

/* ---------- blog cards ---------- */

.blog {
  padding: 96px 0;
  background: var(--wash);
}

.post-count {
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.post-card:hover {
  border-color: var(--line-dark);
  box-shadow: 0 18px 42px rgba(3, 45, 84, 0.09);
  transform: translateY(-4px);
}

.post-thumb {
  height: 198px;
  overflow: hidden;
  background: var(--wash-2);
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s;
}

.post-card:hover .post-thumb img {
  transform: scale(1.035);
}

.post-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 22px 23px;
}

.post-cat {
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.post-card h3 {
  margin: 8px 0 8px;
  color: var(--deep);
  font-size: 1.05rem;
  line-height: 1.35;
}

.post-card p {
  flex: 1;
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.6;
}

.post-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.post-more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.post-card:hover .post-more {
  color: var(--brand);
}

.post-card:hover .post-more svg {
  transform: translateX(3px);
}

.post-card--feature {
  grid-column: span 2;
  flex-direction: row;
}

.post-card--feature .post-thumb {
  flex: 0 0 48%;
  height: auto;
  min-height: 260px;
}

.post-card--feature .post-body {
  justify-content: center;
  padding: 28px 30px;
}

.post-card--feature h3 {
  font-size: 1.32rem;
}

.post-card--feature p {
  flex: 0 1 auto;
}

/* ---------- location ---------- */

.location {
  padding: 96px 0 0;
}

.location-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  border: 1px solid var(--line);
  background: var(--wash);
}

.map {
  min-height: 430px;
  background: var(--wash-2);
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.map-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  background: var(--wash);
}

.map-card h3 {
  margin-bottom: 8px;
  color: var(--deep);
  font-size: 1.14rem;
}

.map-card .eyebrow {
  margin-bottom: 10px;
}

.map-card p {
  color: var(--muted);
  font-size: 0.84rem;
}

.map-card .btn {
  align-self: flex-start;
  min-height: 42px;
  margin-top: 18px;
  padding: 0 16px;
  font-size: 0.77rem;
}

.map-card .text-link {
  align-self: flex-start;
  margin-top: 14px;
  font-size: 0.77rem;
}

/* ---------- contact ---------- */

.contact {
  padding: 96px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 70px;
  align-items: start;
}

.contact-form-wrap h2 {
  margin: 14px 0 12px;
  color: var(--deep);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
}

.contact-form-wrap > p {
  max-width: 48ch;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form {
  padding: 32px;
  border: 1px solid var(--line);
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 15px;
}

.field label {
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-size: 0.73rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d7e3e9;
  border-radius: 0;
  background: #fff;
  padding: 12px 13px;
  color: var(--ink);
  font-size: 0.88rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aacb6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(6, 88, 145, 0.08);
  outline: none;
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  margin-top: 2px;
}

.form-note {
  margin-top: 11px;
  color: var(--muted);
  font-size: 0.71rem;
  text-align: center;
}

.form-status {
  margin-top: 10px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 600;
  text-align: center;
}

.contact-info h2 {
  margin: 14px 0;
  color: var(--deep);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
}

.contact-info > p {
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.9rem;
}

.info-list {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.info-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-item > span {
  display: block;
  margin-bottom: 4px;
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-item p,
.info-item a {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.info-item a:hover {
  color: var(--brand);
}

/* ---------- footer ---------- */

.footer {
  padding-top: 66px;
  background: var(--deep-2);
  color: #c4d3dc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.72fr 0.88fr 0.95fr 1.2fr;
  gap: 38px;
  padding-bottom: 46px;
}

.footer-brand .brand img {
  width: 48px;
  height: 44px;
  padding: 4px;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}

.footer-brand .brand-copy strong {
  color: #fff;
}

.footer-brand .brand-copy small {
  color: #8fa7b6;
}

.footer-brand > p {
  max-width: 34ch;
  margin-top: 16px;
  color: #9fb4c2;
  font-size: 0.82rem;
}

.footer h3 {
  margin-bottom: 15px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer ul {
  display: grid;
  gap: 8px;
}

.footer ul a {
  color: #a6bbc8;
  font-size: 0.8rem;
  transition: color 0.2s, padding-left 0.2s;
}

.footer ul a:hover {
  padding-left: 3px;
  color: var(--accent);
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #294b64;
  color: #fff;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.socials a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--deep-2);
}

.socials svg {
  width: 17px;
  height: 17px;
}

.footer-contact p {
  margin-bottom: 9px;
  color: #a6bbc8;
  font-size: 0.8rem;
  line-height: 1.55;
}

.footer-contact a {
  color: #e0ebf1;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid #163c58;
  color: #8da4b2;
  font-size: 0.74rem;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ---------- floating actions ---------- */

.float-wa,
.back-top {
  position: fixed;
  z-index: 80;
  right: 24px;
  display: grid;
  place-items: center;
  border: 0;
  transition: transform 0.2s, background 0.2s, opacity 0.2s;
}

.float-wa {
  bottom: 94px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.float-wa::before {
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(37, 211, 102, 0.4);
  border-radius: 50%;
  content: "";
  animation: waPulse 2.6s ease-out infinite;
}

.float-wa:hover {
  background: #1eb958;
  transform: translateY(-3px);
}

.float-wa svg {
  width: 27px;
  height: 27px;
}

.back-top {
  bottom: 24px;
  width: 48px;
  height: 48px;
  background: var(--deep);
  color: #fff;
}

.back-top:hover {
  background: var(--brand);
}

.back-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- lightbox ---------- */

dialog {
  border: 0;
  padding: 0;
}

.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  background: transparent;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(2, 18, 32, 0.94);
  backdrop-filter: blur(4px);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox[open]::backdrop {
  animation: fadeIn 0.25s ease;
}

.lightbox-shell {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  padding: 62px 76px;
  place-items: center;
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: min(1180px, 94vw);
  max-height: 92vh;
  margin: 0;
}

.lightbox[open] .lightbox-figure {
  animation: softIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.lightbox-figure img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #061a2b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  color: #fff;
}

.lightbox-caption strong {
  font: 700 0.9rem var(--font-head);
}

.lightbox-caption span {
  color: #b8c8d3;
  font-size: 0.74rem;
  white-space: nowrap;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(4, 31, 53, 0.78);
  color: #fff;
  transition: background 0.2s, color 0.2s;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--accent);
  color: var(--deep-2);
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
}

.lightbox-close svg {
  width: 19px;
  height: 19px;
}

.lightbox-nav {
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
}

.lightbox-nav svg {
  width: 21px;
  height: 21px;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-nav[hidden] {
  display: none;
}

/* =========================================================
   Halaman artikel
   ========================================================= */

.article-hero {
  padding: 34px 0 0;
  background:
    radial-gradient(760px 320px at 90% 0%, rgba(191, 227, 239, 0.42), transparent 70%),
    linear-gradient(180deg, #f7fbfc, #fff);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.74rem;
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

.article-head {
  max-width: 850px;
}

.article-head .post-cat {
  display: inline-block;
  margin-bottom: 12px;
}

.article-head h1 {
  color: var(--deep);
  font-size: clamp(2.15rem, 4.4vw, 3.4rem);
  line-height: 1.08;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.77rem;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta svg {
  width: 14px;
  height: 14px;
}

.article-cover {
  height: min(56vw, 450px);
  min-height: 260px;
  margin-top: 30px;
  overflow: hidden;
  background: var(--wash-2);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 314px;
  gap: 64px;
  align-items: start;
  padding: 52px 0 96px;
}

.article-body {
  max-width: 760px;
}

.article-body > p:first-of-type {
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.8;
}

.article-body p {
  margin-bottom: 17px;
  color: #445d6b;
  font-size: 0.94rem;
  line-height: 1.82;
}

.article-body h2 {
  margin: 34px 0 12px;
  color: var(--deep);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.25;
}

.article-body h3 {
  margin: 26px 0 10px;
  color: var(--deep);
  font-size: 1.12rem;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 9px;
  margin: 4px 0 20px;
  padding-left: 4px;
}

.article-body li {
  position: relative;
  padding-left: 22px;
  color: #445d6b;
  font-size: 0.92rem;
  line-height: 1.7;
}

.article-body ul li::before {
  position: absolute;
  top: 10px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.article-body ol {
  counter-reset: article-list;
}

.article-body ol li {
  counter-increment: article-list;
}

.article-body ol li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  content: counter(article-list) ".";
}

.article-body blockquote {
  margin: 26px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: var(--wash);
  color: var(--deep);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

.article-body table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.article-body th,
.article-body td {
  padding: 11px 13px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-body th {
  background: var(--wash);
  color: var(--deep);
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
}

.article-body td {
  color: #445d6b;
}

.article-body figure {
  margin: 26px 0;
}

.article-body figure img {
  width: 100%;
  height: auto;
}

.article-body figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.72rem;
}

.callout {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  margin: 28px 0;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--wash);
}

.callout > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: var(--accent);
  color: var(--deep-2);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
}

.callout h3 {
  margin: 0 0 4px;
  font-size: 0.94rem;
}

.callout p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
}

.article-cta {
  margin: 34px 0;
  padding: 28px;
  background: var(--deep);
  color: #fff;
}

.article-cta h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.2rem;
}

.article-cta p {
  margin-bottom: 18px;
  color: #b9cdda;
  font-size: 0.85rem;
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.article-share a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
}

.article-share a:hover {
  color: var(--deep);
}

.article-share svg {
  width: 15px;
  height: 15px;
}

.article-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.aside-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--wash);
}

.aside-card .eyebrow {
  font-size: 0.6rem;
}

.aside-card h3 {
  margin: 10px 0 8px;
  color: var(--deep);
  font-size: 1.05rem;
}

.aside-card p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.aside-card .btn {
  width: 100%;
  margin-top: 16px;
  font-size: 0.76rem;
}

.aside-links {
  border: 1px solid var(--line);
  background: #fff;
}

.aside-links h3 {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--deep);
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.aside-links a {
  display: flex;
  gap: 11px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.79rem;
  line-height: 1.45;
  transition: background 0.2s, color 0.2s;
}

.aside-links a:last-child {
  border-bottom: 0;
}

.aside-links a:hover {
  background: var(--wash);
  color: var(--brand);
}

.aside-links span {
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 800;
}

.article-related {
  padding: 86px 0;
  background: var(--wash);
}

.article-related .section-head {
  margin-bottom: 32px;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 0 96px;
}

.article-nav a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.2s, transform 0.2s;
}

.article-nav a:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.article-nav small {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-nav strong {
  color: var(--deep);
  font-family: var(--font-head);
  font-size: 0.9rem;
  line-height: 1.4;
}

.article-nav a:last-child {
  text-align: right;
}

/* =========================================================
   Animasi sederhana
   ========================================================= */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes softIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.07);
  }
  to {
    transform: scale(1);
  }
}

@keyframes waPulse {
  0% {
    opacity: 0.7;
    transform: scale(0.92);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@keyframes fadeUpPost {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-copy > .eyebrow,
.hero h1,
.hero-copy > p,
.hero-actions,
.hero-note {
  animation: riseIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hero-copy > .eyebrow {
  animation-delay: 0.05s;
}

.hero h1 {
  animation-delay: 0.13s;
}

.hero-copy > p {
  animation-delay: 0.21s;
}

.hero-actions {
  animation-delay: 0.29s;
}

.hero-note {
  animation-delay: 0.37s;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.float-wa {
  animation: softIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.45s backwards;
}

.back-top {
  animation: softIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.6s backwards;
}

.gallery-item {
  animation: fadeIn 0.35s ease;
}

/* =========================================================
   Responsif
   ========================================================= */

@media (max-width: 1120px) {
  .nav {
    gap: 16px;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 4.7vw, 3.7rem);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 0.8fr 0.85fr 0.9fr 1.1fr;
    gap: 28px;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 32px 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 26px rgba(3, 45, 84, 0.09);
  }

  .nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .nav > a:not(.nav-cta) {
    padding: 12px 2px;
    border-bottom: 1px solid #eef4f7;
    font-size: 0.9rem;
  }

  .nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 14px;
  }

  .section-head,
  .gallery-head {
    display: block;
  }

  .section-head > .btn,
  .section-head > .text-link,
  .section-head > .post-count,
  .gallery-head .filters {
    margin-top: 18px;
  }

  .filters {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding-bottom: 6px;
  }

  .hero h1 {
    width: auto;
    max-width: 16ch;
    font-size: clamp(2.9rem, 7.4vw, 4.1rem);
  }

  .hero-media {
    min-height: 500px;
    margin-bottom: 18px;
  }

  .hero-photo {
    inset: 0 0 38px 38px;
  }

  .hero-inset {
    width: 34%;
    height: 44%;
  }

  .hero-badge {
    top: 14px;
    left: 50px;
  }

  .hero-caption {
    bottom: 42px;
  }

  .hero-intro {
    padding: 24px 0 34px;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .value {
    padding: 24px 22px 26px;
  }

  .value:nth-child(2) {
    border-right: 0;
  }

  .value:nth-child(3),
  .value:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .value:nth-child(3) {
    padding-left: 0;
  }

  .about-grid,
  .approach-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-media {
    min-height: min(110vw, 460px);
  }

  .approach-media {
    min-height: 380px;
    order: 2;
  }

  .approach-copy {
    order: 1;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-step {
    border-bottom: 1px solid var(--line);
  }

  .process-step:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }

  .process-step:nth-child(2n + 1) {
    padding-left: 0;
  }

  .process-step:nth-child(2n + 1)::before {
    left: 0;
  }

  .process-step:nth-child(2n)::before {
    left: 26px;
  }

  .gallery-grid {
    grid-auto-rows: 160px;
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
  }

  .gallery-item:nth-child(9) {
    grid-column: span 1;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial {
    padding: 24px;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .post-card--feature {
    grid-column: span 2;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .map,
  .map iframe {
    min-height: 370px;
  }

  .map-card {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: span 3;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .article-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(var(--max), calc(100% - 36px));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand img {
    width: 40px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .brand-copy small {
    font-size: 0.55rem;
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 10.5vw, 3.4rem);
  }

  .hero-media {
    min-height: 400px;
  }

  .hero-photo {
    inset: 0 0 28px 24px;
  }

  .hero-inset {
    width: 34%;
    height: 39%;
    padding: 0;
    border-width: 6px;
  }

  .hero-badge {
    left: 36px;
    padding: 6px 10px 6px 6px;
  }

  .hero-badge img {
    width: 30px;
    height: 27px;
  }

  .hero-caption {
    right: 8px;
    bottom: 36px;
    font-size: 0.63rem;
  }

  .hero-caption span {
    display: none;
  }

  .value {
    padding: 20px 16px 22px;
  }

  .value h3 {
    font-size: 0.9rem;
  }

  .about,
  .services,
  .approach,
  .process,
  .gallery,
  .testimonials,
  .faq,
  .blog,
  .contact {
    padding: 76px 0;
  }

  .location {
    padding-top: 76px;
  }

  .about-media {
    min-height: 360px;
  }

  .about-main {
    inset: 0 34px 34px 0;
  }

  .about-small {
    width: 47%;
    height: 170px;
    border-width: 6px;
  }

  .about-tag {
    top: 18px;
    padding: 10px 13px;
  }

  .section-head h2 {
    font-size: 2rem;
  }

  .approach-media {
    min-height: 320px;
  }

  .approach-main {
    inset: 0 28px 28px 0;
  }

  .approach-small {
    width: 47%;
    height: 43%;
    border-width: 5px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-photo {
    height: 220px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step + .process-step {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:nth-child(2n) {
    padding-right: 0;
  }

  .process-step::before,
  .process-step + .process-step::before,
  .process-step:nth-child(2n)::before {
    left: 0;
  }

  .gallery-grid {
    grid-auto-rows: 148px;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6),
  .gallery-item:nth-child(9),
  .gallery-item:nth-child(14),
  .gallery-item:nth-child(17) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-cap {
    padding: 26px 10px 9px;
    font-size: 0.66rem;
    opacity: 1;
    transform: none;
  }

  .gallery-zoom {
    display: none;
  }

  .post-card--feature {
    grid-column: span 1;
    flex-direction: column;
  }

  .post-card--feature .post-thumb {
    flex-basis: auto;
    height: 200px;
    min-height: 0;
  }

  .post-card--feature .post-body {
    padding: 22px 24px 24px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .map,
  .map iframe {
    min-height: 320px;
  }

  .map-card {
    padding: 24px;
  }

  .footer {
    padding: 52px 0 58px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .float-wa {
    right: 16px;
    bottom: 82px;
    width: 50px;
    height: 50px;
  }

  .back-top {
    right: 16px;
    bottom: 18px;
    width: 44px;
    height: 44px;
  }

  .lightbox-shell {
    padding: 54px 12px;
  }

  .lightbox-figure img {
    max-height: 68vh;
  }

  .lightbox-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    width: 42px;
    height: 42px;
    transform: none;
  }

  .lightbox-prev {
    left: 18px;
  }

  .lightbox-next {
    right: 18px;
  }

  .article-hero {
    padding-top: 24px;
  }

  .article-cover {
    height: 260px;
    margin-top: 24px;
  }

  .article-layout {
    padding: 34px 0 76px;
  }

  .article-body > p:first-of-type {
    font-size: 1rem;
  }

  .article-body p {
    font-size: 0.9rem;
  }

  .article-body table {
    font-size: 0.75rem;
  }

  .article-body th,
  .article-body td {
    padding: 8px 9px;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }

  .article-related {
    padding: 66px 0;
  }

  .article-nav {
    grid-template-columns: 1fr;
    padding-bottom: 76px;
  }

  .article-nav a:last-child {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-media {
    min-height: 350px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .value h3 {
    font-size: 0.84rem;
  }

  .gallery-grid {
    grid-auto-rows: 132px;
  }

  .filters button {
    padding: 7px 9px;
    font-size: 0.69rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
