/* Pak Expo – marble.000786.best
   Clean green & white theme, mobile-first, static site */

:root {
  --basalt: #1e2a24;
  --green: #2d6a4f;
  --green-dark: #1b4332;
  --green-light: #40916c;
  --honey: #b08968;
  --stone: #f0ead8;
  --paper: #faf8f3;
  --warm: #f5f0e6;
  --line: #ddd5c3;
  --wa: #25d366;
  --text: #2c3330;
  --muted: #5c6b63;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
}
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--basalt);
}
h1 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
h3 { font-size: 1.1rem; }
a { color: var(--green); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 18px; }

/* Header */
header {
  background: var(--basalt);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 10px 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font: 700 1.35rem Georgia, serif;
  letter-spacing: .02em;
}
.brand img {
  height: 42px;
  width: auto;
  border-radius: 4px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 0;
}
nav a {
  color: #d8e6dc;
  text-decoration: none;
  margin-left: 12px;
  padding: 4px 2px;
  font-size: .92rem;
  white-space: nowrap;
}
nav a:hover, nav a[aria-current="page"] {
  color: #fff;
  border-bottom: 2px solid var(--honey);
}
nav .qlink {
  background: var(--honey);
  color: #fff !important;
  padding: 5px 12px;
  border-radius: 20px;
  margin-left: 14px;
  border-bottom: 0 !important;
  font-weight: 600;
}
nav .qlink:hover { background: #966b4a; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #5a6b62;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: .9rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .65em 1.25em;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.3;
  border: 2px solid var(--green);
  cursor: pointer;
  transition: filter .15s, background .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn.alt {
  background: transparent;
  color: var(--basalt);
  border-color: var(--basalt);
}
.btn.sm { padding: .4em .85em; font-size: .9rem; }
.btn.add {
  background: var(--honey);
  border-color: var(--honey);
  color: #fff;
}
.btn.wa {
  background: var(--wa);
  border-color: var(--wa);
}

/* Hero */
.hero {
  background: linear-gradient(145deg, #e8f0ea 0%, var(--stone) 55%, #e3d9c3 100%);
  padding: 48px 0 40px;
}
.hero .wrap {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: 1.2fr .8fr;
}
.hero img {
  border-radius: 12px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 6px solid var(--paper);
  box-shadow: 0 12px 36px rgba(30,42,36,.2);
}
.hero p { max-width: 38em; color: var(--muted); }

.trust {
  background: var(--basalt);
  color: #c8d6cd;
}
.trust .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px 16px;
  padding: 14px 18px;
  font-size: .93rem;
  text-align: center;
}
.trust b { color: #fff; }

/* Sections */
section { padding: 42px 0; }
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 6px 18px rgba(30,42,36,.05);
  transition: transform .15s, box-shadow .15s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,.06), 0 14px 28px rgba(30,42,36,.1);
}
a.card { display: block; color: inherit; text-decoration: none; }
.card .ph {
  aspect-ratio: 1;
  background: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card .ph img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card .b { padding: 14px 16px 16px; }
.card .b p { margin: .25em 0 .75em; font-size: .93rem; color: var(--muted); }
.card .b .btn { margin: 0 5px 5px 0; }

.cat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.cat-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 10px;
  text-decoration: none;
  color: var(--basalt);
  transition: border-color .15s, box-shadow .15s;
}
.cat-link:hover {
  border-color: var(--green-light);
  box-shadow: 0 4px 14px rgba(45,106,79,.12);
}
.cat-link img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 8px;
  border-radius: 6px;
}
.cat-link span { font-weight: 600; font-size: .92rem; }

.crumbs { font-size: .88rem; margin: 0 0 12px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.note {
  background: var(--stone);
  border-left: 4px solid var(--honey);
  padding: 12px 16px;
  border-radius: 4px;
  margin: 18px 0;
  font-size: .95rem;
}
.more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}
summary { cursor: pointer; font-weight: 600; }
.cta {
  background: var(--basalt);
  color: #fff;
  text-align: center;
}
.cta p { max-width: 34em; margin: 0 auto 1.1em; color: #c8d6cd; }
.cta .btn { background: var(--wa); border-color: var(--wa); }

footer {
  background: #141c18;
  color: #9aaba0;
  padding: 28px 0;
  font-size: .9rem;
}
footer a { color: #d0ddd4; }

/* Floating WhatsApp */
.wafloat {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 50;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 28px;
  box-shadow: 0 5px 16px rgba(0,0,0,.28);
  display: flex;
  align-items: center;
  gap: 6px;
}
.wafloat:hover { filter: brightness(1.08); }

/* Quote list rows */
.qrow {
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}
.qrow img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--warm);
  border-radius: 4px;
}
.qrow input { width: 68px; padding: 6px; border: 1px solid var(--line); border-radius: 4px; }
.qrow button {
  background: none;
  border: 0;
  color: #a33;
  cursor: pointer;
  text-decoration: underline;
  font-size: .9rem;
}
form.qf {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 18px;
}
form.qf label {
  display: grid;
  gap: 4px;
  font-weight: 600;
  font-size: .93rem;
}
form.qf input, form.qf textarea {
  padding: 10px;
  border: 1px solid #c4bba5;
  border-radius: 6px;
  background: #fff;
}
form.qf .full { grid-column: 1 / -1; }

/* Popup logo */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}
.popup-box {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 340px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
  position: relative;
}
.popup-box img {
  max-width: 220px;
  margin: 0 auto 14px;
}
.popup-box .close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}

/* Product meta */
dl.meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  margin: 0 0 10px;
  font-size: .88rem;
}
dl.meta dt { color: var(--muted); }
dl.meta dd { margin: 0; }

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.gallery-grid a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--warm);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s;
}
.gallery-grid a:hover img { transform: scale(1.05); }

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0 12px;
    gap: 4px;
  }
  nav.open { display: flex; }
  nav a { margin: 0; padding: 6px 0; width: 100%; }
  nav .qlink { margin: 8px 0 0; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero img { max-width: 280px; margin: 0 auto; }
  .qrow { grid-template-columns: 56px 1fr auto; }
  .qrow button { grid-column: 2 / 4; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card .b { padding: 10px; }
  .card .b h3 { font-size: 1rem; }
}
:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
