:root {
  --teal: #0f766e;
  --teal-2: #14b8a6;
  --teal-d: #042f2e;
  --ink: #12211f;
  --muted: #5b6f6c;
  --line: #e4eeec;
  --bg: #f4faf8;
  --white: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .45em; }
h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
p { margin: 0 0 1rem; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { color: var(--teal); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6rem; }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; border-radius: 8px; padding: 11px 18px; font: 650 .86rem/1 "Plus Jakarta Sans", sans-serif; transition: .2s ease; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #0b5e58; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost-dark { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost-dark:hover { border-color: var(--teal); color: var(--teal); }

.topbar { background: var(--teal-d); color: #cde9e4; font-size: .8rem; }
.topbar-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  isolation: isolate;
}
.site-header {
  position: relative;
  z-index: 2;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  min-height: 72px;
  gap: 18px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--teal); flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; display: block; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; color: var(--ink); }
.logo-text strong { font-size: 1.1rem; letter-spacing: .08em; }
.logo-text small { font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.nav > a, .nav .has-sub > a {
  padding: 8px 10px;
  font-weight: 650;
  font-size: .82rem;
  white-space: nowrap;
  color: var(--ink);
}
.nav a:hover, .nav a.is-active, .has-sub:hover > a { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
.has-sub { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 18px 40px rgba(4,47,46,.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: .2s;
  z-index: 1100;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.submenu a { display: block; padding: 9px 16px; font-size: .88rem; white-space: nowrap; color: var(--ink); }
.submenu a:hover { background: var(--bg); color: var(--teal); }
.inquiry-link { position: relative; width: 40px; height: 40px; display: grid; place-items: center; color: var(--teal); }
.inquiry-link svg { width: 22px; height: 22px; fill: currentColor; }
.badge { position: absolute; top: 2px; right: 0; background: var(--teal-2); color: #042f2e; font-size: .65rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 99px; display: grid; place-items: center; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; }
.header-actions .btn { white-space: nowrap; padding: 10px 16px; }

.hero { position: relative; z-index: 0; min-height: 560px; color: #fff; background: #042f2e center/cover no-repeat; display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,47,46,.88) 0%, rgba(15,118,110,.45) 70%, rgba(4,47,46,.2)); }
.hero .container { position: relative; z-index: 1; padding: 90px 0; max-width: 720px; margin-left: max(20px, calc((100% - 1180px) / 2)); }
.hero p { color: #dff6f1; max-width: 540px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.page-hero { min-height: 280px; }
.page-hero .container { padding: 70px 0; }

.stats { background: var(--teal-d); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stats article { padding: 28px 20px; border-left: 1px solid rgba(255,255,255,.08); }
.stats article:first-child { border: 0; }
.stats strong { display: block; font-size: 1.8rem; color: var(--teal-2); }

.section { padding: 80px 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }

.cat-grid, .p-grid, [data-categories], [data-featured], [data-product-grid] { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
[data-featured], [data-product-grid] { grid-template-columns: repeat(4, 1fr); }
.cat-tile { position: relative; min-height: 220px; border-radius: 16px; overflow: hidden; display: flex; align-items: flex-end; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(4,47,46,.85)); }
.cat-tile span { position: relative; z-index: 1; padding: 20px; color: #fff; display: grid; }
.cat-tile small { opacity: .85; }

.p-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.p-card-img { background: var(--bg); aspect-ratio: 1; display: grid; place-items: center; padding: 16px; }
.p-card-img img { max-height: 220px; object-fit: contain; }
.p-card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-card h3 { font-size: 1rem; }
.p-sku { color: var(--teal); font-size: .75rem; font-weight: 700; margin: 0; }
.p-meta { color: var(--muted); font-size: .82rem; margin: 0; }
.p-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.p-actions .btn { flex: 1; min-width: 110px; padding: 9px 10px; }

.about-grid, .split, .detail-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-photos { display: grid; gap: 16px; }
.about-photos img { border-radius: 16px; width: 100%; height: 240px; object-fit: cover; }
.check { list-style: none; padding: 0; }
.check li { padding: 8px 0 8px 28px; position: relative; }
.check li::before { content: ""; position: absolute; left: 0; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal-2); }

.workflow { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.workflow article { background: var(--bg); border-radius: 16px; padding: 22px; }
.workflow span { font-weight: 800; color: var(--teal); }

.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.why-grid article { border: 1px solid var(--line); border-radius: 16px; padding: 22px; }

.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.toolbar input { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; min-width: 240px; font: 500 .9rem "Plus Jakarta Sans", sans-serif; }

.detail-photo { background: var(--bg); border-radius: 20px; padding: 24px; }
.detail-photo img { margin: auto; max-height: 460px; object-fit: contain; }
.spec-list { list-style: none; padding: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.spec-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-list span { color: var(--muted); }

.rfq-form { background: var(--bg); border-radius: 20px; padding: 24px; display: grid; gap: 12px; }
.rfq-form label { display: grid; gap: 6px; font-size: .8rem; font-weight: 700; }
.rfq-form input, .rfq-form textarea, .rfq-form select { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font: 500 .95rem "Plus Jakarta Sans", sans-serif; background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.map-wrap { margin-top: 36px; border-radius: 20px; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 340px; border: 0; }
.inquiry-items { list-style: none; padding: 0; margin: 0 0 16px; }
.inquiry-items li { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.inquiry-items img { width: 54px; height: 54px; object-fit: contain; background: #fff; border-radius: 8px; }
.inquiry-items span { display: block; color: var(--muted); font-size: .8rem; }
.inquiry-items button { border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--muted); }

.site-footer { background: var(--teal-d); color: #c9e4df; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 28px; padding-bottom: 36px; }
.site-footer h4 { color: #fff; }
.site-footer a { display: block; margin: 5px 0; }
.site-footer .logo.light { margin-bottom: 12px; color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 12px; }
.socials a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; display: grid; place-items: center; color: var(--teal-2); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer-base { border-top: 1px solid rgba(255,255,255,.08); padding: 14px 0; font-size: .85rem; }
.float-wa { position: fixed; right: 16px; bottom: 16px; width: 54px; height: 54px; background: #25d366; color: #fff; border-radius: 50%; display: grid; place-items: center; z-index: 50; box-shadow: 0 10px 24px rgba(37,211,102,.35); }
.float-wa svg { width: 28px; height: 28px; fill: currentColor; }

/* Process */
.process-timeline { display: grid; gap: 18px; }
.process-step { display: grid; grid-template-columns: 88px 1fr; gap: 22px; align-items: start; background: var(--bg); border-radius: 20px; padding: 24px 28px; border: 1px solid var(--line); }
.process-step .num { font-size: 2rem; font-weight: 800; color: var(--teal); line-height: 1; }
.process-step h3 { margin-bottom: .35em; }
.process-visual { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.process-visual img { width: 100%; height: 360px; object-fit: cover; border-radius: 20px; }

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item button { width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer; padding: 18px 22px; font: 700 1rem/1.4 "Plus Jakarta Sans", sans-serif; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq-item button::after { content: "+"; color: var(--teal); font-size: 1.3rem; }
.faq-item.is-open button::after { content: "–"; }
.faq-item .faq-body { display: none; padding: 0 22px 18px; color: var(--muted); }
.faq-item.is-open .faq-body { display: block; }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.faq-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 8px 14px; cursor: pointer; font: 650 .82rem "Plus Jakarta Sans", sans-serif; }
.faq-tabs button.is-active { background: var(--teal); color: #fff; border-color: var(--teal); }

/* Catalogue */
.cat-lib { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-file { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.cat-file img { height: 170px; width: 100%; object-fit: cover; }
.cat-file .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-file .tag { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.cat-print { background: #fff; }
.cat-print-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; border-bottom: 2px solid var(--teal); padding-bottom: 16px; margin-bottom: 24px; }
.cat-table { width: 100%; border-collapse: collapse; }
.cat-table th, .cat-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: .9rem; vertical-align: middle; }
.cat-table th { color: var(--muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.cat-table img { width: 54px; height: 54px; object-fit: contain; background: var(--bg); border-radius: 8px; }

@media print {
  .topbar, .site-header, .site-footer, .float-wa, .no-print { display: none !important; }
  .hero { min-height: 0; padding: 0; }
  body { background: #fff; }
}

@media (max-width: 1020px) {
  .process-visual, .cat-lib { grid-template-columns: 1fr 1fr; }
  .process-step { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .process-visual, .cat-lib { grid-template-columns: 1fr; }
}

@media (max-width: 1200px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(4,47,46,.12);
    z-index: 1200;
  }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 8px;
  }
  .menu-toggle { display: block; }
  .header-row { position: relative; }
  .stats-grid, .cat-grid, [data-categories], .workflow, .why-grid, .footer-grid, .about-grid, .split, .detail-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  [data-featured], [data-product-grid], .p-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .topbar-row span { display: none; }
  .stats-grid, .cat-grid, [data-categories], .workflow, .why-grid, .footer-grid, .about-grid, .split, .detail-grid, .contact-grid, .form-row, [data-featured], [data-product-grid], .p-grid { grid-template-columns: 1fr; }
  .hero { min-height: 460px; }
}
