/* Karya Jun Teknik — industrial-premium stainless steel theme */
:root {
  --blue: #0b4a9c;
  --blue-b: #1c6fd6;
  --blue-deep: #0a3670;
  --steel: #aeb9c4;
  --steel-d: #7c8894;
  --steel-l: #e8edf2;
  --ink: #141b24;
  --ink-2: #33404d;
  --muted: #697380;
  --bg: #f4f6f8;
  --card: #ffffff;
  --line: #e2e7ec;
  --line-2: #d3dbe3;
  --accent: #f5a623;
  --wa: #25d366;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 34px rgba(15, 35, 60, 0.09);
  --shadow-lg: 0 26px 60px rgba(11, 40, 80, 0.18);
  --steel-grad: linear-gradient(
    135deg,
    #dfe5ec 0%,
    #b7c1cc 22%,
    #eef2f6 40%,
    #9aa6b3 60%,
    #cfd7df 80%,
    #aab5c1 100%
  );
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
.tnum {
  font-variant-numeric: tabular-nums;
}
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px;
}
section {
  padding: 84px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-b);
  background: #e8f0fb;
  padding: 7px 15px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.eyebrow.light {
  background: rgba(255, 255, 255, 0.14);
  color: #bcd6ff;
}
h2.sec {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.12;
}
.sub {
  color: var(--muted);
  max-width: 620px;
  margin-top: 14px;
  font-size: 1.04rem;
}
.center {
  text-align: center;
}
.center .sub {
  margin-left: auto;
  margin-right: auto;
}
.sec-head {
  max-width: 660px;
  margin: 0 auto 46px;
}

/* steel diagonal band bg */
.steelbg {
  background: linear-gradient(135deg, #0a3670 0%, #0b4a9c 46%, #12518f 100%);
  position: relative;
  overflow: hidden;
}
.steelbg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: repeating-linear-gradient(
    115deg,
    #fff 0 2px,
    transparent 2px 9px
  );
}
.steelbg > * {
  position: relative;
  z-index: 1;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 100px;
  font-size: 0.96rem;
  cursor: pointer;
  border: none;
  transition:
    transform 0.16s ease,
    box-shadow 0.2s,
    background 0.2s;
  min-height: 46px;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.34);
}
.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.42);
}
.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(11, 74, 156, 0.34);
}
.btn-ghost {
  background: #fff;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-ghost:hover {
  background: var(--blue);
  color: #fff;
}
.btn-ghost-l {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.btn-ghost-l:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* NAV */
header.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-2);
  transition: color 0.18s;
}
.nav-links a:hover {
  color: var(--blue-b);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 9px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.burger span {
  width: 26px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.25s;
}
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 35, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 55;
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* HERO */
.hero {
  color: #fff;
  padding: 92px 0 108px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.55rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -1.2px;
}
.hero h1 span {
  color: #7fb4ff;
}
.hero p {
  margin-top: 20px;
  font-size: 1.12rem;
  color: #d5e2f5;
  max-width: 530px;
}
.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-stats .n {
  font-size: 1.95rem;
  font-weight: 800;
}
.hero-stats .l {
  font-size: 0.8rem;
  color: #a9c3e6;
  letter-spacing: 0.4px;
}
.hero-visual {
  position: relative;
}
.hero-visual .frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 4/5;
  background: var(--steel-grad);
}
.hero-visual .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -18px;
  background: #fff;
  color: var(--ink);
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 0.92rem;
}
.hero-badge .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.24);
}

/* SERVICES */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.svc:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}
.svc .ic {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue-b), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.svc .ic svg {
  width: 27px;
  height: 27px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}
.svc h3 {
  font-size: 1.14rem;
  font-weight: 700;
  margin-bottom: 7px;
}
.svc p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* CATALOG */
.cat-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-start;
  margin-bottom: 38px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  padding-inline: 16px;
}
/* center row when it fits, scroll from left when it overflows */
@media (min-width: 720px) {
  .cat-filters {
    justify-content: center;
    padding-inline: 0;
  }
}
.cat-filters::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: 0.18s;
  min-height: 36px;
}
.chip:hover {
  border-color: var(--blue-b);
  color: var(--blue-b);
}
.chip.on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.item .thumb {
  aspect-ratio: 4/3;
  background: var(--steel-grad);
  position: relative;
  overflow: hidden;
}
.item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item .cat {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(11, 74, 156, 0.9);
  padding: 5px 11px;
  border-radius: 7px;
  backdrop-filter: blur(2px);
}
.item .body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.item h4 {
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.25;
}
.item .size {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 5px;
  font-variant-numeric: tabular-nums;
}
.item .price {
  margin-top: 16px;
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.item .order {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
  background: var(--wa);
  padding: 11px 12px;
  border-radius: 100px;
  min-height: 44px;
  transition: transform 0.15s;
}
.item .order svg {
  flex: 0 0 auto;
}
.item .order:hover {
  transform: translateY(-1px);
}
.item .order svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}
.cat-note {
  margin-top: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.cat-empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--muted);
  padding: 40px;
}

/* KITCHEN SET */
.kset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.kset-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 5/4;
  background: var(--steel-grad);
}
.kset-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kset ul {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 13px;
}
.kset li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-2);
}
.kset li svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  stroke: var(--blue-b);
  fill: none;
  stroke-width: 2.6;
  margin-top: 2px;
}

/* PORTFOLIO */
.gal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
}
.gal figure {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  background: var(--steel-grad);
}
.gal figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.gal figure:hover img {
  transform: scale(1.07);
}
.gal .big {
  grid-column: span 2;
  grid-row: span 2;
}
.gal .tall {
  grid-row: span 2;
}
.gal figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(8, 22, 45, 0.85));
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}

/* WHY */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why {
  padding: 26px 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.why .num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-b);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.why h4 {
  margin-top: 10px;
  font-weight: 700;
}
.why p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

/* TESTIMONIALS */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.testi .stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}
.testi .stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.testi p {
  color: var(--ink-2);
  font-size: 0.98rem;
  flex: 1;
}
.testi .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.testi .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testi .who b {
  display: block;
  font-size: 0.94rem;
}
.testi .who span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h2 {
  color: #fff;
}
.contact-info .sub {
  color: #d5e2f5;
}
.ci-list {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}
.ci {
  display: flex;
  gap: 15px;
  align-items: center;
  color: #e6eefb;
}
.ci .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-content: center;
  flex-shrink: 0;
}
.ci .ic svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}
.ci b {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}
.ci span {
  font-size: 0.88rem;
  color: #b9cbe6;
}
.lead-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.lead-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.lead-card > p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 22px;
}
.field-row {
  margin-bottom: 16px;
}
.field-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-2);
}
.field-row .req {
  color: #c0392b;
}
.field {
  width: 100%;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-2);
  font-family: inherit;
  font-size: 0.96rem;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  min-height: 46px;
}
.field:focus {
  border-color: var(--blue-b);
  box-shadow: 0 0 0 3px rgba(28, 111, 214, 0.12);
}
textarea.field {
  resize: vertical;
  min-height: 110px;
}
.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.alert {
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.alert svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.alert-ok {
  background: #eafaf0;
  color: #1c7d47;
  border: 1px solid #a8e6c4;
}
.alert-err {
  background: #fdeeee;
  color: #a5342c;
  border: 1px solid #f2b9b4;
}

/* FOOTER */
footer {
  background: #0d1620;
  color: #9fb0c2;
  padding: 54px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 44px;
}
footer .flogo {
  height: 46px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
footer h5 {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}
footer a,
footer p.fi {
  display: block;
  color: #9fb0c2;
  padding: 5px 0;
  font-size: 0.92rem;
}
footer a:hover {
  color: #fff;
}
.foot-bottom {
  border-top: 1px solid #1e2c3a;
  margin-top: 38px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7a8a;
}

/* FLOAT WA */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--wa);
  color: #fff;
  border-radius: 100px;
  height: 58px;
  padding: 0 18px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
  font-weight: 700;
  overflow: hidden;
  transition:
    gap 0.25s,
    padding 0.25s;
}
.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  flex-shrink: 0;
}
.wa-float .txt {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  transition:
    max-width 0.3s,
    opacity 0.25s,
    margin 0.3s;
  font-size: 0.94rem;
}
.wa-float:hover .txt {
  max-width: 170px;
  opacity: 1;
  margin-left: 10px;
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 100px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gal {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .hero-grid,
  .kset,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    max-width: 460px;
    margin: 0 auto;
  }
  .svc-grid,
  .testi-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: 78%;
    max-width: 320px;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 40px;
    z-index: 58;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    font-size: 1.15rem;
  }
  .burger {
    display: flex;
  }
  .burger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger.open span:nth-child(2) {
    opacity: 0;
  }
  .burger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
@media (max-width: 600px) {
  section {
    padding: 58px 0;
  }
  .svc-grid,
  .testi-grid,
  .why-grid,
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .gal {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }
  .gal .big,
  .gal .tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  .hero-stats {
    gap: 22px;
  }
  .hero-badge {
    left: 0;
    bottom: -16px;
    padding: 12px 15px;
  }
  .lead-card {
    padding: 24px 20px;
  }
  .item .body {
    padding: 13px;
  }
  .item h4 {
    font-size: 0.95rem;
  }
  .item .size {
    font-size: 0.8rem;
    margin-top: 4px;
  }
  .item .price {
    font-size: 1.12rem;
    margin-top: 12px;
  }
  .item .order {
    font-size: 0.84rem;
    padding: 11px 10px;
    gap: 7px;
    margin-top: 12px;
  }
  .item .order svg {
    width: 16px;
    height: 16px;
  }
  .item .order .ol {
    display: none;
  }
  .wa-float .txt {
    display: none;
  }
  .wa-float {
    padding: 0;
    width: 58px;
    justify-content: center;
  }
}
@media (max-width: 360px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
