/* PT Dahang Laser Indonesia — dev.dahang.id */
:root {
  --orange: #f58634;
  --orange-dark: #d96f1e;
  --orange-deep: #b05e12;
  --orange-soft: #fdeedd;
  --gray: #97989a;
  --gray-dark: #6d6e71;
  --slate: #4b4d50;
  --slate-2: #5a5c60;
  --ink: #2c2d2f;
  --body: #4d4f52;
  --line: #e4e5e7;
  --bg-soft: #f6f6f7;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(20, 24, 28, .08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--body); background: var(--white); line-height: 1.65; font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-weight: 800; }
.container { width: min(1140px, 92%); margin: 0 auto; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: .3px; }
.brand .mark { width: 42px; height: 42px; object-fit: contain; flex: none; }
.brand small { display: block; font-weight: 600; color: var(--gray-dark); font-size: 11px; letter-spacing: .4px; line-height: 1.1; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 14.5px; }
.nav-links a:hover { color: var(--orange); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; font-size: 12.5px; font-weight: 700; }
.lang-switch a, .lang-switch span { padding: 5px 10px; color: var(--body); }
.lang-switch .active { background: var(--gray-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 8px; font-weight: 700; font-size: 15px; border: 0; cursor: pointer; transition: .18s; }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-dark); color: #fff; }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #178a45; color: #fff; }
.btn-outline { border: 2px solid rgba(255,255,255,.85); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; border-radius: 6px; }

/* ===== Hero ===== */
.hero {
  position: relative; color: #fff;
  background: linear-gradient(100deg, rgba(58,60,63,.94) 34%, rgba(58,60,63,.55) 70%, rgba(245,134,52,.32)),
    url("img/hero.jpg") center/cover no-repeat;
}
.hero-inner { padding: 86px 0 94px; max-width: 900px; }
.hero .kicker { color: #fcb377; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; font-size: 12.5px; }
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 50px); margin: 10px 0 16px; }
.hero p.lead { color: #fff; font-size: 18px; margin-bottom: 18px; max-width: 820px; }
.hero-copy { color: #dcdddf; font-size: 15.5px; max-width: 860px; margin-bottom: 28px; }
.hero-copy p + p { margin-top: 12px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 38px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 26px; color: #fff; }
.hero-stats span { font-size: 13px; color: #c4c5c7; }

/* ===== Sections ===== */
section { padding: 76px 0; }
section.alt { background: var(--bg-soft); }
.sec-head { max-width: 760px; margin-bottom: 42px; }
.sec-head .kicker { color: var(--orange); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; }
.sec-head h2 { font-size: clamp(24px, 3.2vw, 34px); margin: 8px 0 12px; }

/* ===== Category cards ===== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: .18s;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.cat-card .thumb { background: #f2f3f4; aspect-ratio: 16/10; position: relative; padding: 14px; overflow: hidden; }
.cat-card .thumb img {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  max-width: none;
  object-fit: contain;
  object-position: center center;
}
.cat-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cat-card h3 { font-size: 17px; }
.cat-card p { font-size: 14px; }
.cat-card .body > p:last-of-type { flex: 1; }
.cat-card a { font-weight: 700; font-size: 14px; }

/* ===== Product tabs ===== */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.tab-btn {
  padding: 11px 20px; border-radius: 8px; border: 1px solid var(--line); background: #fff;
  font-weight: 700; font-size: 14px; color: var(--body); cursor: pointer; transition: .15s;
}
.tab-btn:hover { border-color: var(--orange); color: var(--orange-dark); }
.tab-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.product-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; margin-bottom: 36px; }
.product-intro img { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; padding: 10px; }
.product-intro h3 { font-size: 22px; margin-bottom: 12px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.badge { background: var(--orange-soft); color: var(--orange-deep); font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 99px; }

/* ===== Tables ===== */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); margin: 18px 0 28px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; }
caption { text-align: left; font-weight: 800; color: var(--ink); padding: 16px 18px 4px; font-size: 15.5px; caption-side: top; }
th, td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead th { background: var(--gray-dark); color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: .6px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafbfb; }
td.num, th.num { text-align: right; }
td.price { font-weight: 700; color: var(--orange-deep); text-align: right; }
.note { font-size: 13px; color: #6b737b; border-left: 3px solid var(--orange); padding: 8px 14px; background: #fdf8f2; border-radius: 0 6px 6px 0; margin: 14px 0; }

/* ===== Services ===== */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.svc-card .ico { width: 44px; height: 44px; border-radius: 9px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.svc-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.svc-card p { font-size: 14px; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.about-grid ul { margin: 14px 0 0 18px; font-size: 15px; }
.about-grid li { margin-bottom: 8px; }

/* ===== Inquiry ===== */
.inquiry { background: var(--slate); color: #d3d4d6; }
.inquiry .sec-head h2, .inquiry h3 { color: #fff; }
.inquiry .sec-head .kicker { color: #fcb377; }
.inquiry-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: start; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; font-size: 15px; }
.contact-line .ico { width: 38px; height: 38px; flex: none; border-radius: 8px; background: var(--slate-2); color: #fcb377; display: grid; place-items: center; }
.contact-line a { color: #fff; font-weight: 700; }
form.inquiry-form { background: #fff; border-radius: var(--radius); padding: 30px 28px; color: var(--body); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 700; color: var(--ink); display: block; margin-bottom: 5px; }
input, select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #d5d9dd; border-radius: 7px;
  font: inherit; font-size: 14px; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(245,134,52,.3); border-color: var(--orange); }
.form-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.form-hint { font-size: 12.5px; color: #79828a; margin-top: 12px; }

/* ===== Footer ===== */
footer { background: #3a3c3f; color: #b9babc; padding: 52px 0 30px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 34px; }
footer h4 { color: #fff; font-size: 14.5px; margin-bottom: 14px; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
footer a { color: #b9babc; }
footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid #55575a; padding-top: 22px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px;
  background: #1fa855; color: #fff; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.28); font-size: 26px;
}
.wa-float:hover { background: #178a45; color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .product-intro, .about-grid, .inquiry-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); flex-direction: column;
    padding: 18px 6%; gap: 14px; align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-inner { padding: 70px 0 78px; }
  .form-grid { grid-template-columns: 1fr; }
  section { padding: 58px 0; }
}
