/* =========================================================
   HIKMAT PRINTING — GAYA GLOBAL DAN HALAMAN HOME
   File ini dipakai oleh semua halaman. Aturan halaman dalam
   (About, Services, Projects, Contact) ada di pages.css.
   ========================================================= */

:root {
  --green-900: #12352f;
  --green-800: #183f38;
  --green-100: #eef8f2;
  --yellow: #f8dc4f;
  --ink: #082a30;
  --muted: #526665;
  --white: #ffffff;
  --line: #dce8e2;
  --whatsapp: #0aa91a;
  --call: #cf1717;
  --shadow: 0 22px 50px rgba(18, 53, 47, .12);
  --nav-height: 82px;
  --content-max: 1320px;
  --page-gutter: clamp(24px, 4vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Inter", "Poppins", "Trebuchet MS", Arial, sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* NAVBAR — satu aturan untuk semua halaman dan ukuran layar. */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  min-height: var(--nav-height);
  padding: 14px var(--page-gutter);
  color: var(--white);
  background: rgba(4, 28, 32, .95);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
}

.brand,
.footer-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; background: var(--white); object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 13px; font-weight: 800; }
.menu-toggle,
.mobile-menu,
.menu-backdrop { display: none; }

.quote-btn,
.primary-btn,
.outline-btn,
.learn-btn,
.center-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.quote-btn,
.primary-btn,
.whatsapp-btn { color: var(--white); background: var(--whatsapp); }
.quote-btn:hover,
.primary-btn:hover,
.whatsapp-btn:hover { background: #078b15; }
.outline-btn,
.learn-btn,
.center-btn { border: 1.5px solid currentColor; }

/* HERO HOME — tinggi selalu satu layar. */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay { position: absolute; inset: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 32, 30, .82), rgba(8, 32, 30, .55) 44%, rgba(8, 32, 30, .18)),
    linear-gradient(180deg, rgba(8, 32, 30, .35), rgba(8, 32, 30, .20));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: clamp(150px, 20vh, 210px) 0 110px;
}

.hero-content h1 {
  width: min(850px, 100%);
  margin: 0;
  font-size: clamp(46px, 4.8vw, 76px);
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.hero-content p { width: min(590px, 100%); margin: 22px 0 0; font-size: 16px; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 48px; }

/* SECTION HOME. */
.features,
.services-home,
.projects,
.testimonials,
.why-us { padding: clamp(64px, 7vw, 92px) var(--page-gutter); }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; background: var(--green-100); text-align: center; }
.features article { max-width: 250px; margin: 0 auto; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 18px; border-radius: 50%; background: #52685b; color: var(--white); font-size: 13px; font-weight: 900; }
.features h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.2; }
.features p,
.about-copy p,
.service-card p,
.why-item p,
.review-grid p,
.footer p { color: var(--muted); }

.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2))); margin: 0 auto; padding: clamp(64px, 7vw, 92px) 0; }
.about-media { position: relative; height: clamp(360px, 32vw, 480px); }
.about-main,
.about-float { border-radius: 18px; box-shadow: var(--shadow); }
.about-main { width: 76%; height: 76%; background: var(--green-100); object-fit: contain; }
.about-float { position: absolute; right: 0; bottom: 0; width: 54%; height: 58%; border: 8px solid var(--white); background: var(--white); object-fit: contain; }

.kicker { margin: 0 0 16px; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.kicker::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50% 50% 50% 0; background: currentColor; transform: rotate(-35deg); }
.kicker.light { color: var(--white); }

.about-copy h2,
.section-heading h2,
.why-copy h2,
.final-content h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.12; letter-spacing: -1.2px; }
.about-copy ul { margin: 28px 0 34px; padding: 0; list-style: none; font-weight: 800; }
.about-copy li { margin: 8px 0; }
.about-copy li::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 10px; border-radius: 50%; background: var(--yellow); }

.services-home,
.projects { background: var(--green-100); }
.section-heading { width: min(760px, 100%); margin: 0 auto 44px; text-align: center; }
.service-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; width: min(1120px, 100%); margin: 0 auto; }
.service-card { display: flex; flex-direction: column; min-height: 440px; padding: 30px; border-radius: 18px; background: var(--white); box-shadow: 0 12px 38px rgba(18, 53, 47, .06); }
.card-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--ink); border-radius: 50%; font-weight: 900; }
.service-card h3 { margin: 24px 0 12px; font-size: 24px; line-height: 1.2; }
.service-card img { width: 100%; height: 180px; margin-top: auto; border-radius: 10px; background: #f3faf6; object-fit: contain; }
.center-btn { display: flex; width: fit-content; margin: 40px auto 0; }

.why-us { display: grid; grid-template-columns: 1fr .98fr; gap: clamp(48px, 8vw, 90px); align-items: center; background: var(--green-900); color: var(--white); }
.why-us > img { width: 100%; height: 620px; border-radius: 18px; object-fit: cover; }
.why-copy { max-width: 620px; justify-self: end; }
.why-item { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.why-item span { width: 22px; height: 22px; margin-top: 6px; border-radius: 50%; background: var(--yellow); }
.why-item h3 { margin: 0 0 8px; font-size: 24px; }
.why-item p { margin: 0; color: rgba(255, 255, 255, .86); font-weight: 700; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: min(1120px, 100%); margin: 0 auto; }
.project-grid article { position: relative; min-height: 260px; overflow: hidden; border-radius: 18px; }
.project-grid img { width: 100%; height: 260px; object-fit: cover; filter: brightness(.72); }
.project-grid span { position: absolute; inset: 50% 24px auto; transform: translateY(-50%); color: var(--white); font-size: 21px; font-weight: 900; text-align: center; }

.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: min(980px, 100%); margin: 0 auto; }
.review-grid article { padding: 38px; border-radius: 18px; background: var(--green-100); }
.review-person { display: flex; align-items: center; gap: 14px; }
.review-person span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); font-weight: 900; }
.review-person strong,
.review-person small { display: block; }
.stars { color: #f1a83b; }

.final-cta { position: relative; display: grid; align-items: center; min-height: 420px; overflow: hidden; color: var(--white); }
.final-bg,
.final-overlay { position: absolute; inset: 0; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; }
.final-overlay { background: linear-gradient(90deg, rgba(8, 32, 30, .55), rgba(8, 32, 30, .86)); }
.final-content { position: relative; z-index: 1; width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding-left: 48%; }
.final-content p { font-weight: 800; }

.footer { display: grid; grid-template-columns: 1.15fr .8fr 1fr 1fr; gap: 50px; padding: 48px var(--page-gutter); background: var(--green-100); }
.footer h3 { margin: 0 0 18px; font-size: 22px; }
.footer a,
.footer p { display: block; margin: 8px 0; }
.copyright { padding: 18px; border-top: 1px solid var(--line); background: var(--green-100); color: var(--muted); text-align: center; }

.floating-actions { position: fixed; inset: auto 0 0; z-index: 1300; display: none; gap: 10px; padding: 10px; background: rgba(18, 53, 47, .92); }
.floating-actions a { flex: 1; display: grid; place-items: center; min-height: 54px; border-radius: 999px; color: var(--white); font-weight: 900; }
.float-call { background: var(--call); }
.float-wa { background: var(--whatsapp); }
.desktop-whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 1100; width: clamp(190px, 17vw, 290px); transition: transform .2s ease; }
.desktop-whatsapp img { width: 100%; height: auto; }
.desktop-whatsapp:hover { transform: scale(1.04); }

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .navbar { justify-content: flex-start; padding-right: 24px; padding-left: 24px; }
  .menu-toggle { display: grid; flex: 0 0 42px; gap: 5px; width: 42px; height: 42px; padding: 10px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 10px; background: rgba(8, 32, 30, .35); color: var(--white); cursor: pointer; }
  .menu-toggle span { display: block; width: 100%; height: 2px; border-radius: 2px; background: currentColor; }
  .quote-btn { margin-left: auto; }
  .mobile-menu { position: fixed; inset: 0 auto 0 0; z-index: 1400; display: flex; flex-direction: column; width: min(310px, 82vw); padding: 20px; background: var(--green-900); color: var(--white); box-shadow: 18px 0 42px rgba(0, 0, 0, .28); transform: translateX(-105%); transition: transform .25s ease; }
  .mobile-menu__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .2); font-size: 21px; font-weight: 900; }
  .menu-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--white); font-size: 29px; line-height: 1; cursor: pointer; }
  .mobile-menu > a:not(.mobile-menu__whatsapp) { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 17px; font-weight: 800; }
  .mobile-menu__whatsapp { display: grid; place-items: center; min-height: 48px; margin-top: auto; border-radius: 999px; background: var(--whatsapp); color: var(--white); font-weight: 900; }
  .menu-backdrop { position: fixed; inset: 0; z-index: 1350; background: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
  .menu-open { overflow: hidden; }
  .menu-open .mobile-menu { transform: translateX(0); }
  .menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }
  .features,
  .service-cards,
  .project-grid,
  .review-grid,
  .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-preview,
  .why-us { grid-template-columns: 1fr; }
  .why-copy { justify-self: start; }
  .final-content { padding-left: 0; }
}

@media (max-width: 680px) {
  :root { --nav-height: 76px; --page-gutter: 18px; }
  .navbar { gap: 18px; padding: 10px 18px; }
  .quote-btn { display: none; }
  .brand { gap: 6px; }
  .hero-content { padding-top: 135px; padding-bottom: 120px; }
  .hero-content h1 { font-size: clamp(39px, 11vw, 52px); }
  .features,
  .service-cards,
  .project-grid,
  .review-grid,
  .footer { grid-template-columns: 1fr; }
  .about-preview,
  .features,
  .services-home,
  .projects,
  .testimonials,
  .why-us { padding-top: 64px; padding-bottom: 64px; }
  .about-preview { gap: 32px; }
  .about-media { display: grid; height: auto; gap: 14px; }
  .about-main,
  .about-float { position: static; width: 100%; height: 280px; margin: 0; border: 0; object-fit: contain; }
  .why-us > img { height: 360px; }
  .floating-actions { display: flex; }
  .desktop-whatsapp { display: none; }
  .copyright { padding-bottom: 92px; }
}
