:root {
  --red: #e31b23;
  --red-dark: #9f1117;
  --black: #08090b;
  --ink: #15171d;
  --muted: #6f7480;
  --line: rgba(255, 255, 255, 0.12);
  --soft: #f4f5f7;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.65;
  background:
    linear-gradient(115deg, rgba(8, 9, 11, 0.86), rgba(8, 9, 11, 0.6)),
    url("../assets/images/city-road-bw.webp") center / cover fixed;
}

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

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

p {
  margin: 0 0 1rem;
}

.site-shell {
  background: var(--white);
  overflow: hidden;
}

.container-narrow {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.topbar {
  background: var(--black);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.topbar .container-narrow {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar a {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 174px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 700;
  color: #2b2d33;
}

.main-nav a {
  position: relative;
  padding: 26px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

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

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  width: 18px;
  height: 2px;
  display: block;
  background: var(--ink);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.btn-main,
.btn-ghost {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-main {
  border: 0;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 16px 35px rgba(227, 27, 35, 0.28);
  cursor: pointer;
}

.btn-main:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.hero {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.9), rgba(8, 9, 11, 0.48) 54%, rgba(227, 27, 35, 0.25)),
    url("../assets/images/production-printer.webp") center / cover fixed;
}

.hero-inner {
  width: 100%;
  padding: 92px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 3px;
  background: var(--red);
}

.hero h1,
.page-hero h1 {
  max-width: 840px;
  margin: 18px 0 20px;
  font-size: clamp(2.7rem, 7vw, 6.5rem);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: 54px;
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-stats div {
  padding: 22px;
  background: rgba(8, 9, 11, 0.72);
}

.hero-stats strong {
  display: block;
  color: var(--white);
  font-size: 1.9rem;
  line-height: 1;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

section {
  padding: 96px 0;
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-soft {
  background: var(--soft);
}

.section-fixed {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.88), rgba(8, 9, 11, 0.55)),
    url("../assets/images/outdoor-road-advertising.webp") center / cover fixed;
}

.section-inquiry {
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.9), rgba(8, 9, 11, 0.5)),
    url("../assets/images/portfolio/branding-area-gs-astra-01.jpg") center / cover fixed;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  margin: 12px 0 14px;
  color: inherit;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: 0;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-head p,
.section-fixed .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.media-stack {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 18px;
  align-items: end;
}

.media-stack img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-stack img:first-child {
  aspect-ratio: 4 / 5;
}

.media-stack img:last-child {
  aspect-ratio: 1 / 1;
  margin-bottom: 34px;
}

.service-card,
.value-card,
.portfolio-card,
.contact-panel,
.info-card {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
}

.service-card {
  min-height: 100%;
  padding: 28px;
}

.service-card .number {
  color: var(--red);
  font-weight: 950;
  font-size: 0.9rem;
}

.service-card h3,
.value-card h3,
.info-card h3 {
  margin: 10px 0 10px;
  font-size: 1.25rem;
  font-weight: 900;
}

.service-card p,
.value-card p,
.info-card p,
.portfolio-card p {
  color: var(--muted);
}

.section-dark .service-card {
  background: #111318;
  border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .service-card p {
  color: rgba(255, 255, 255, 0.66);
}

.section-dark .service-card h3 {
  color: var(--white);
}

.value-card {
  padding: 26px;
}

.value-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-card > img,
.portfolio-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.portfolio-card:hover > img,
.portfolio-media:hover img {
  transform: scale(1.04);
}

.portfolio-grid .portfolio-card > img,
.portfolio-grid .portfolio-media img {
  object-fit: cover;
  background: #f3f4f6;
}

.portfolio-grid .portfolio-card--portrait > img {
  object-fit: contain;
}

.portfolio-media {
  position: relative;
  width: 100%;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: inherit;
  background: #f3f4f6;
  cursor: zoom-in;
}

.portfolio-media:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -3px;
}

.gallery-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-width: 66px;
  padding: 7px 10px;
  border-radius: 4px;
  color: var(--white);
  background: rgba(8, 9, 11, 0.82);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}

.portfolio-body {
  padding: 22px;
}

.portfolio-body h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 900;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  border: 1px solid rgba(227, 27, 35, 0.24);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--red-dark);
  background: rgba(227, 27, 35, 0.06);
  font-size: 0.78rem;
  font-weight: 800;
}

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

.space-intro .section-head {
  margin-bottom: 0;
}

.space-summary {
  flex: 0 0 180px;
  padding: 0 0 8px 22px;
  border-left: 3px solid var(--red);
}

.space-summary strong,
.space-summary span {
  display: block;
}

.space-summary strong {
  color: var(--black);
  font-size: 2.75rem;
  font-weight: 950;
  line-height: 1;
}

.space-summary span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.space-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
}

.space-media {
  position: relative;
  overflow: hidden;
  background: #e8e9ec;
}

.space-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.space-card:hover .space-media img {
  transform: scale(1.025);
}

.availability-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 4px;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 8px 22px rgba(159, 17, 23, 0.3);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.space-body {
  padding: 24px;
}

.space-index {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.space-body h2 {
  min-height: 2.6em;
  margin: 8px 0 20px;
  color: var(--black);
  font-size: 1.28rem;
  font-weight: 950;
  line-height: 1.3;
}

.space-specs {
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.space-specs div {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.space-specs span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.space-specs strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.space-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.coordinate-link {
  color: var(--red-dark);
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.gallery-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

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

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 8, 0.88);
  backdrop-filter: blur(8px);
}

.gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: calc(100vh - 40px);
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #0c0d10;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

.gallery-figure {
  min-width: 0;
  margin: 0;
  background: #0c0d10;
}

.gallery-stage {
  width: 100%;
  height: min(68vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050608;
}

.gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-caption {
  min-height: 84px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 20px 14px;
  color: var(--white);
}

.gallery-caption div {
  min-width: 0;
}

.gallery-caption strong,
.gallery-caption span {
  display: block;
}

.gallery-caption strong {
  margin-bottom: 3px;
  font-size: 1rem;
}

.gallery-caption div span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
  line-height: 1.45;
}

.gallery-position {
  flex: 0 0 auto;
  padding-top: 2px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-weight: 800;
}

.gallery-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 20px 18px;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.gallery-thumbnail {
  flex: 0 0 74px;
  width: 74px;
  height: 50px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 4px;
  background: #1d1f24;
  opacity: 0.58;
  cursor: pointer;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.is-active {
  border-color: var(--red);
  opacity: 1;
}

.gallery-thumbnail:focus-visible,
.gallery-nav:focus-visible,
.gallery-close:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

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

.gallery-nav,
.gallery-close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.gallery-nav {
  justify-self: center;
}

.gallery-nav:hover,
.gallery-close:hover {
  border-color: var(--red);
  background: var(--red);
}

.gallery-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font-size: 1.65rem;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.client-logo {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
}

.client-logo img {
  max-height: 54px;
  object-fit: contain;
}

.page-hero {
  color: var(--white);
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  padding: 110px 0 72px;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.9), rgba(8, 9, 11, 0.48)),
    var(--hero-image, url("../assets/images/city-billboard-bw.webp")) center / cover fixed;
}

.hero-about {
  --hero-image: url("../assets/images/city-billboard-bw.webp");
}

.hero-service {
  --hero-image: url("../assets/images/highway-billboard.webp");
}

.hero-portfolio {
  --hero-image: url("../assets/images/neon-box-installation.webp");
}

.hero-space {
  --hero-image: url("../assets/images/portfolio/advertising-space/jakarta-cikampek-km53-600a.jpg");
}

.hero-contact {
  --hero-image: url("../assets/images/outdoor-road-advertising.webp");
}

.page-hero p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
}

.split-list {
  display: grid;
  gap: 16px;
}

.split-list li {
  padding-left: 24px;
  position: relative;
  list-style: none;
}

.split-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  position: absolute;
  left: 0;
  top: 0.72em;
  border-radius: 50%;
  background: var(--red);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  padding: 24px;
  border-left: 4px solid var(--red);
  color: var(--muted);
  background: var(--soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.timeline-item strong {
  color: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-panel {
  padding: 30px;
}

.contact-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item strong {
  display: block;
  color: var(--black);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  padding: 14px 15px;
  font: inherit;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.map-frame {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(8, 9, 11, 0.84), rgba(227, 27, 35, 0.52)),
    url("../assets/images/highway-billboard.webp") center / cover;
}

.footer {
  color: rgba(255, 255, 255, 0.74);
  background: var(--black);
  padding: 62px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: 34px;
}

.footer img {
  width: 170px;
  margin-bottom: 20px;
  padding: 8px;
  background: var(--white);
  border-radius: 4px;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.2));
}

.footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer a {
  color: rgba(255, 255, 255, 0.84);
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.copyright {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .nav-actions .btn-main {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 12px;
  }

  .main-nav a::after {
    bottom: 8px;
  }

  .grid-2,
  .grid-3,
  .space-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .page-hero,
  .section-fixed {
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  .topbar .container-narrow {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 4px;
  }

  .brand img {
    width: 148px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 72px 0 58px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.55rem;
  }

  .hero-stats,
  .grid-4,
  .client-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 68px 0;
  }

  .media-stack {
    grid-template-columns: 1fr;
  }

  .media-stack img:last-child {
    margin-bottom: 0;
  }

  .space-intro {
    display: block;
  }

  .space-summary {
    margin-top: 26px;
  }

  .space-body h2 {
    min-height: 0;
  }

  .space-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .coordinate-link {
    padding: 5px 0;
    text-align: center;
  }

  .gallery-modal {
    padding: 8px;
  }

  .gallery-dialog {
    max-height: calc(100vh - 16px);
    display: block;
  }

  .gallery-stage {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery-caption {
    min-height: 0;
    display: block;
    padding: 14px 16px 10px;
  }

  .gallery-position {
    margin-top: 8px;
  }

  .gallery-thumbnails {
    padding: 0 16px 14px;
  }

  .gallery-nav {
    position: absolute;
    top: 42%;
    z-index: 2;
    background: rgba(8, 9, 11, 0.78);
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }
}
