/* NTMG General Trading — shared styles. Colours from the company logo and letterhead. */
:root {
  --navy: #163a6b;
  --navy-deep: #0e2747;
  --blue: #2b9ad6;
  --yellow: #ffc000;
  --yellow-dark: #e0a800;
  --gold: #c9a24a;
  --ink: #1b2430;
  --muted: #5a6573;
  --line: #e2e7ee;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(14, 39, 71, 0.08);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; color: var(--navy-deep); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.section.navy { background: var(--navy-deep); color: #dfe8f3; }
.section.navy h2, .section.navy h3 { color: #fff; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6em;
}
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section.navy .section-head p { color: #b9c8da; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--yellow); color: var(--navy-deep); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-outline { border-color: rgba(255, 255, 255, 0.8); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-deep); }
.brand img { width: 52px; height: 60px; object-fit: cover; border-radius: 8px; }
.brand-name { font-weight: 800; font-size: 1.1rem; line-height: 1.1; }
.brand-name small { display: block; font-weight: 600; font-size: 0.75rem; color: var(--gold); letter-spacing: 0.04em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
}
.nav a:hover { background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--navy); background: #e8f1fa; }
.nav .btn { margin-left: 8px; padding: 10px 18px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 10px; cursor: pointer; color: var(--navy-deep);
}
.nav-toggle svg { display: block; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-radius: 8px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* Hero */
.hero {
  position: relative; color: #fff;
  background: var(--navy-deep) url("../images/hero-kiosk.jpg") center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14, 39, 71, 0.94) 0%, rgba(14, 39, 71, 0.8) 45%, rgba(14, 39, 71, 0.35) 100%);
}
.hero .container { position: relative; padding-top: 110px; padding-bottom: 110px; }
.hero h1 { color: #fff; max-width: 720px; }
.hero h1 span { color: var(--yellow); }
.hero p.lead { font-size: 1.2rem; max-width: 600px; color: #dbe6f2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.badge {
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 600;
}

.page-hero { background: var(--navy-deep); color: #fff; }
.page-hero .container { padding-top: 64px; padding-bottom: 56px; }
.page-hero h1 { color: #fff; margin-bottom: 0.3em; }
.page-hero p { color: #b9c8da; max-width: 680px; font-size: 1.1rem; margin: 0; }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card p { color: var(--muted); }
.card ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.card li { margin-bottom: 4px; }
.icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: #e8f1fa; color: var(--navy);
}
.icon svg { width: 28px; height: 28px; }
.card-link { display: inline-block; margin-top: 12px; font-weight: 700; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

.photo-card { padding: 0; overflow: hidden; }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card .body { padding: 24px 28px 28px; }

/* Split section */
.split { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr 1fr; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2747' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Credentials strip */
.creds { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.cred {
  border-left: 4px solid var(--yellow); background: #fff; padding: 16px 18px;
  border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow);
}
.cred strong { display: block; color: var(--navy-deep); font-size: 1.05rem; }
.cred span { color: var(--muted); font-size: 0.9rem; }

/* Stats */
.stats { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.stat strong { display: block; font-size: 2.4rem; color: var(--yellow); line-height: 1.1; }
.stat span { color: #b9c8da; }

.provinces { display: flex; flex-wrap: wrap; gap: 10px; }
.provinces span {
  background: #e8f1fa; color: var(--navy); font-weight: 600;
  padding: 6px 14px; border-radius: 999px; font-size: 0.95rem;
}

/* Process timeline */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps li {
  counter-increment: step; position: relative; padding: 24px 24px 24px 84px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step); position: absolute; left: 24px; top: 22px;
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--yellow);
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
}
.steps h3 { margin-bottom: 0.3em; }
.steps p { margin: 0; color: var(--muted); }

/* Products */
.products { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; }
.product img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; padding: 12px; }
.product span { display: block; padding: 10px 8px 14px; font-weight: 600; font-size: 0.92rem; color: var(--navy-deep); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  font: inherit; font-weight: 600; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 8px 16px; border-radius: 999px;
}
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery button { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: none; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.25s; }
.gallery img.contain { object-fit: contain; background: #fff; padding: 12px; }
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 12px 16px; font-size: 0.92rem; color: var(--muted); }
.gallery figure[hidden] { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(8, 18, 33, 0.92);
  display: none; align-items: center; justify-content: center; flex-direction: column; padding: 24px 16px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 80vh; max-width: min(1100px, 100%); border-radius: 8px; background: #fff; }
.lightbox p { color: #dfe8f3; margin: 14px 0 0; text-align: center; }
.lightbox button {
  position: absolute; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; line-height: 1;
}
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { width: 44px; height: 44px; margin: 0; flex: none; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--navy-deep); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.phones a { display: block; }
dl.reg { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0; }
dl.reg dt { font-weight: 700; color: var(--navy-deep); }
dl.reg dd { margin: 0; color: var(--muted); }

/* CTA band */
.cta { background: var(--yellow); }
.cta .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 44px; padding-bottom: 44px; }
.cta h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta p { margin: 4px 0 0; color: var(--navy-deep); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b9c8da; font-size: 0.95rem; }
.site-footer .container { padding-top: 56px; padding-bottom: 24px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer a { color: #dfe8f3; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem;
}

.whatsapp-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.whatsapp-fab svg { width: 30px; height: 30px; }

.muted { color: var(--muted); }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .gallery img { transition: none; } }
