:root {
  --red: #d71920;
  --red-dark: #a90f15;
  --blue: #0f5f91;
  --ink: #18212c;
  --muted: #617082;
  --line: #dce4ea;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --warm: #fffafa;
  --green: #128c4a;
  --shadow: 0 22px 60px rgba(17, 35, 54, 0.18);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 228, 234, 0.8);
  backdrop-filter: blur(14px);
  transition: box-shadow 240ms ease, background-color 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(220, 228, 234, 0.55);
  box-shadow: 0 12px 34px rgba(12, 23, 34, 0.12);
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px max(16px, calc((100% - 1120px) / 2));
  color: #fff;
  background: var(--red);
  font-size: 14px;
}

.topbar p {
  margin: 0;
}

.topbar a {
  font-weight: 700;
  white-space: nowrap;
}

.navbar {
  width: min(1120px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  transition: transform 220ms ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
}

.brand-mark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0;
}

.menu {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #344353;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.menu a:hover {
  color: var(--red);
}

.menu a {
  position: relative;
  transition: color 180ms ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.menu a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  gap: 4px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 220ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: 74vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background: url("assets/hero-service.jpg") center / cover no-repeat;
  transform: scale(1.01);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 22, 35, 0.88) 0%, rgba(8, 22, 35, 0.72) 43%, rgba(8, 22, 35, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 22, 35, 0.16), rgba(8, 22, 35, 0.16));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0;
  color: #fff;
}

.hero .eyebrow,
.hero h1,
.hero .lead,
.hero-actions,
.hero-stats {
  animation: fadeSlideUp 720ms ease both;
}

.hero h1 {
  animation-delay: 90ms;
}

.hero .lead {
  animation-delay: 170ms;
}

.hero-actions {
  animation-delay: 260ms;
}

.hero-stats {
  animation-delay: 340ms;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb5b8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 30px rgba(215, 25, 32, 0.32);
}

.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 16px 36px rgba(215, 25, 32, 0.38);
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 42px 0 0;
}

.hero-stats div {
  width: min(190px, 100%);
  padding: 14px 16px;
  border-left: 4px solid var(--red);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transition: transform 220ms ease, background-color 220ms ease;
}

.hero-stats div:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.18);
}

.hero-stats dt {
  font-weight: 900;
  font-size: 20px;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.intro-band {
  padding: 34px 0;
  background: var(--soft);
}

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

.intro-grid article,
.service-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(18, 35, 52, 0.06);
}

.intro-grid article {
  padding: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.intro-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 25, 32, 0.24);
  box-shadow: 0 18px 42px rgba(18, 35, 52, 0.11);
}

.intro-grid span {
  color: var(--red);
  font-weight: 900;
}

.intro-grid h2,
.service-card h3 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.25;
}

.intro-grid p,
.service-card p,
.section-copy,
.section-head p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 82px 0;
  scroll-margin-top: 126px;
}

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

.section-head-center {
  text-align: center;
}

.section-head-center .eyebrow {
  color: var(--red);
}

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

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.service-card {
  min-height: 184px;
  padding: 26px;
  border-top: 4px solid var(--red);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-section,
.why-section,
.faq-section {
  background: #fafafa;
}

.feature-grid,
.reason-grid {
  display: grid;
  gap: 24px;
}

.feature-grid-layanan {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.reason-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icon-card {
  min-height: 334px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 40px 34px 36px;
  border: 1px solid rgba(9, 18, 34, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(9, 18, 34, 0.1);
  text-align: center;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.icon-card:hover {
  transform: translateY(-8px);
  border-color: rgba(215, 25, 32, 0.26);
  box-shadow: 0 20px 46px rgba(9, 18, 34, 0.15);
}

.icon-card:hover .line-icon {
  color: #fff;
  background: var(--red);
  transform: scale(1.04);
}

.icon-card-wide {
  grid-column: 1 / -1;
  width: min(680px, 100%);
  margin: 0 auto;
}

.line-icon {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 3px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  transition: transform 240ms ease, color 240ms ease, background-color 240ms ease;
}

.line-icon svg {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-card h3 {
  max-width: 520px;
  margin: 0;
  font-size: 22px;
  line-height: 1.24;
}

.icon-card p {
  max-width: 560px;
  margin: 0;
  color: #777;
  font-size: 18px;
  line-height: 1.62;
}

.reason-grid .icon-card {
  min-height: 388px;
  padding: 38px 30px 34px;
}

.reason-grid .line-icon {
  width: 84px;
  height: 84px;
}

.reason-grid .line-icon svg {
  width: 48px;
  height: 48px;
}

.reason-grid .icon-card h3 {
  font-size: 20px;
}

.reason-grid .icon-card p {
  font-size: 16px;
}

.split-section {
  color: #fff;
  background: #122d43;
}

.split-section .eyebrow {
  color: #ffb5b8;
}

.split-section .section-copy {
  color: rgba(255, 255, 255, 0.76);
}

.split-grid,
.contact-grid,
.area-layout,
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list p {
  margin: 0;
  padding: 17px 18px;
  border-left: 4px solid var(--red);
  background: rgba(255, 255, 255, 0.09);
}

.area-section {
  background: #fff;
}

.portfolio-section {
  overflow: hidden;
  background: #fff;
}

.marquee {
  width: 100%;
  overflow: hidden;
  margin-top: 18px;
}

.marquee-track {
  width: max-content;
  display: flex;
  gap: 15px;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-reverse .marquee-track {
  animation-direction: reverse;
}

.marquee img {
  width: 270px;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(9, 18, 34, 0.14);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.marquee img:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 34px rgba(9, 18, 34, 0.22);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.about-section {
  background: var(--warm);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-grid h2 {
  margin-top: 0;
}

.about-grid p:not(.eyebrow) {
  margin: 0 0 22px;
  color: #111;
}

.about-collage {
  display: grid;
  grid-template-columns: 0.82fr 1.38fr;
  grid-template-rows: 236px 236px;
  gap: 10px;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.about-collage:hover .about-img {
  filter: saturate(1.06);
}

.about-img:hover {
  transform: scale(1.025);
}

.about-img-a {
  border-top-left-radius: 150px;
}

.about-img-c {
  grid-column: 1 / -1;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-list details {
  border: 1px solid rgba(9, 18, 34, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(9, 18, 34, 0.06);
  overflow: hidden;
  transition: box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.faq-list details:hover,
.faq-list details[open] {
  border-color: rgba(215, 25, 32, 0.24);
  box-shadow: 0 14px 30px rgba(9, 18, 34, 0.1);
}

.faq-list summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  color: #1f2732;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: var(--red);
  font-size: 26px;
  line-height: 1;
  transition: transform 220ms ease;
}

.faq-list details[open] summary::after {
  content: "-";
  transform: translateY(-50%) rotate(180deg);
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tags span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #314151;
  background: var(--soft);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.area-tags span:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 25, 32, 0.24);
  background: #fff;
}

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

.contact-form {
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: #334354;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd7e0;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(15, 95, 145, 0.16);
  border-color: var(--blue);
  transform: translateY(-1px);
}

.contact-form .btn {
  width: 100%;
}

.site-footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #0c1722;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

.footer-copyright {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  box-shadow: var(--shadow);
  animation: floatPulse 2.8s ease-in-out infinite;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
  background: #0f7f43;
  box-shadow: 0 20px 48px rgba(18, 140, 74, 0.35);
}

.wa-float svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 80ms;
}

.reveal-delay-2 {
  transition-delay: 160ms;
}

.reveal-delay-3 {
  transition-delay: 240ms;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.01) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.06) translate3d(1.2%, -1%, 0);
  }
}

@keyframes floatPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 14px 36px rgba(18, 140, 74, 0.32);
  }

  50% {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(18, 140, 74, 0.42);
  }
}

@media (max-width: 860px) {
  .topbar {
    display: none;
  }

  .navbar {
    min-height: 66px;
  }

  .menu-toggle {
    display: grid;
  }

  .menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 67px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu a {
    padding: 13px 10px;
  }

  .menu a::after {
    bottom: 8px;
    left: 10px;
    right: auto;
    width: 36px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 76px 0 54px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(8, 22, 35, 0.92), rgba(8, 22, 35, 0.52));
  }

  .lead {
    font-size: 18px;
  }

  .intro-grid,
  .service-grid,
  .feature-grid-layanan,
  .reason-grid,
  .split-grid,
  .contact-grid,
  .area-layout,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .icon-card-wide {
    grid-column: auto;
  }

  .about-grid {
    gap: 34px;
  }

  .about-collage {
    grid-template-rows: 190px 220px;
  }

  .section {
    padding: 62px 0;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 23px;
  }

  h1 {
    font-size: 42px;
  }

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

  .hero-stats {
    display: grid;
  }

  .hero-stats div {
    width: 100%;
  }

  .intro-grid article,
  .service-card,
  .icon-card,
  .contact-form {
    padding: 22px;
  }

  .icon-card {
    min-height: auto;
  }

  .line-icon {
    width: 86px;
    height: 86px;
  }

  .line-icon svg {
    width: 50px;
    height: 50px;
  }

  .icon-card h3 {
    font-size: 20px;
  }

  .icon-card p {
    font-size: 16px;
  }

  .about-collage {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 190px);
  }

  .about-img-a {
    border-top-right-radius: 120px;
  }

  .about-img-c {
    grid-column: auto;
  }

  .marquee img {
    width: 220px;
    height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
