/* ==========================================================
   Dexlab Technologies — public site
   Design system ported from limapos_web (public/assets/css/limapos.css
   and views/pages/landing.php) so the company site and the products
   read as one brand. Tokens, type scale, radii and shadows are the
   product's; only the wordmark differs.
   ========================================================== */

:root {
  --brand-blue:     #3b82f6;
  --brand-blue-dk:  #1d4ed8;
  --blue-light:     #dbeafe;
  --navy:           #1e3a5f;
  --navy-dk:        #142640;
  --navy-deep:      #0f1d2e;
  --emerald:        #10b981;
  --emerald-dk:     #059669;
  --emerald-light:  #d1fae5;
  --emerald-text:   #065f46;
  --amber:          #f59e0b;
  --amber-light:    #fef3c7;
  --amber-text:     #92400e;
  --violet:         #8b5cf6;
  --violet-light:   #ede9fe;
  --violet-text:    #5b21b6;
  --red:            #ef4444;
  --red-light:      #fee2e2;
  --red-text:       #991b1b;

  --card:           #ffffff;
  --surface:        #f6f8fc;
  --border:         #e2e8f0;
  --border-soft:    #eef2f7;
  --text-primary:   #1e293b;
  --text-secondary: #475569;
  --text-muted:     #64748b;
  --text-soft:      #94a3b8;

  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 12px 28px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 50px -16px rgba(15, 23, 42, .16);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section.alt { background: var(--surface); }
.section h2 {
  font-size: 40px; font-weight: 800; letter-spacing: -.025em;
  color: var(--navy); margin: 0 0 14px; line-height: 1.1;
}
.section .lead {
  color: var(--text-secondary); font-size: 17px; line-height: 1.55;
  margin: 0 auto 44px; max-width: 36em;
}
.head-center { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.head-center .lead { margin-bottom: 0; }

.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--brand-blue); margin-bottom: 12px;
}
.eyebrow.on-dark { color: #93c5fd; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r-md);
  font-weight: 700; font-size: 14px; cursor: pointer;
  border: 1px solid transparent; text-decoration: none;
  transition: transform .12s ease, box-shadow .15s ease,
              background .12s ease, border-color .12s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand-blue); color: #fff; }
.btn-primary:hover {
  background: var(--brand-blue-dk); color: #fff;
  box-shadow: 0 6px 16px rgba(59, 130, 246, .32); transform: translateY(-1px);
}
.btn-success { background: var(--emerald); color: #fff; }
.btn-success:hover {
  background: var(--emerald-dk); color: #fff;
  box-shadow: 0 6px 16px rgba(16, 185, 129, .32); transform: translateY(-1px);
}
.btn-outline {
  background: #fff; color: var(--navy); border-color: var(--border);
}
.btn-outline:hover { border-color: var(--brand-blue); color: var(--brand-blue-dk); }
.btn-ghost {
  background: rgba(255, 255, 255, .10); color: #fff;
  border-color: rgba(255, 255, 255, .30);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 12px; }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  height: 70px; display: flex; align-items: center; gap: 30px;
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; color: var(--navy);
  letter-spacing: -.02em; text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand .brand-dot {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-blue), #4f46e5);
  box-shadow: 0 4px 14px rgba(59, 130, 246, .45);
  position: relative; flex: 0 0 30px;
}
.brand .brand-dot::after {
  content: "D"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 15px;
}
.nav-links {
  display: flex; gap: 26px; margin-left: auto; align-items: center;
}
.nav-links > a {
  color: var(--text-secondary); font-weight: 600; font-size: 14px;
  transition: color .15s; text-decoration: none;
}
.nav-links > a:not(.btn):hover { color: var(--navy); text-decoration: none; }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 8px 10px; cursor: pointer;
  color: var(--navy); font-size: 16px; line-height: 1;
}

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(ellipse at 20% 0%, #1e3a5f 0%, #14233a 50%, #0f1d2e 100%);
  padding: 100px 0 110px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(40px);
}
.hero::before {
  top: -250px; right: -150px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, .4), transparent 65%);
}
.hero::after {
  bottom: -200px; left: -120px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(16, 185, 129, .30), transparent 65%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 60px; align-items: center;
}
.hero h1 {
  font-size: 58px; line-height: 1.04; font-weight: 800;
  letter-spacing: -.035em; margin: 0 0 20px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #7dd3fc 0%, #a5f3c9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: 19px; line-height: 1.6; color: #cfe0f2;
  margin: 0 0 32px; max-width: 32em;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #dbeafe; font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.pill .dotpulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); }
  70%  { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .pill .dotpulse { animation: none; }
  .btn:hover { transform: none; }
}

.trust {
  margin-top: 32px; display: flex; gap: 28px; flex-wrap: wrap;
  color: #9fb7d4; font-size: 13px; align-items: center;
}
.trust .check {
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(16, 185, 129, .25); color: #a5f3c9;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 11px; margin-right: 6px;
}

/* Hero product mockup */
.mock {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .55);
  transform: perspective(1400px) rotateY(-7deg) rotateX(4deg);
}
.mock .bar {
  display: flex; align-items: center; gap: 6px; padding: 12px 16px;
  background: #eef2f8; border-bottom: 1px solid var(--border);
}
.mock .bar i { width: 11px; height: 11px; border-radius: 50%; }
.mock .bar i:nth-child(1) { background: #ef4444; }
.mock .bar i:nth-child(2) { background: #f59e0b; }
.mock .bar i:nth-child(3) { background: #10b981; }
.mock .url { margin-left: auto; font-size: 11px; color: var(--text-soft); }
.mock .body { padding: 18px; }
.mock .mrow {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 14px;
}
.mock .mstat {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: 11px; padding: 12px 14px;
}
.mock .mstat .l {
  font-size: 10px; color: var(--text-muted); font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.mock .mstat .v {
  font-size: 18px; font-weight: 800; color: var(--navy);
  margin-top: 4px; letter-spacing: -.01em;
}
.mock .mstat .v.green { color: var(--emerald-text); }
.mock .mstat .v.amber { color: var(--amber-text); }
.mock .mchart {
  height: 110px; display: flex; align-items: flex-end; gap: 8px; padding: 12px;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: 11px;
}
.mock .mchart span {
  flex: 1; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #3b82f6, #93c5fd);
}
.mock .mchart span:nth-child(4) {
  background: linear-gradient(180deg, #10b981, #86efac);
}

/* ============ Stats band ============ */
.stats {
  padding: 60px 0; color: #fff;
  background: linear-gradient(135deg, #1e3a5f, #2d5f8a);
}
.stats .grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; text-align: center; max-width: 840px; margin: 0 auto;
}
.stats .num {
  font-size: 44px; font-weight: 900; letter-spacing: -.03em;
  line-height: 1; margin-bottom: 6px;
  background: linear-gradient(180deg, #fff, #dbeafe);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats .lab { color: #9fb7d4; font-size: 13px; font-weight: 600; }

/* ============ Product cards ============ */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.product-card {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: 30px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-card .picon {
  width: 46px; height: 46px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
  background: var(--blue-light); color: var(--brand-blue-dk);
}
.product-card.t-green .picon { background: var(--emerald-light); color: var(--emerald-text); }
.product-card.t-violet .picon { background: var(--violet-light); color: var(--violet-text); }
.product-card h3 {
  font-size: 21px; font-weight: 800; color: var(--navy);
  margin: 0 0 10px; letter-spacing: -.02em;
}
.product-card p {
  color: var(--text-secondary); font-size: 14.5px;
  line-height: 1.65; margin: 0 0 18px;
}
.product-card ul {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.product-card ul li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text-primary); font-size: 14px; font-weight: 500;
}
.product-card ul li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--emerald-light) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23047857' d='M6.5 11.5L3 8l1.4-1.4 2.1 2.1 4.6-4.6L12.5 5.5z'/></svg>") center/13px no-repeat;
}
.product-card .pfoot { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

.tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: .08em;
}
.tag.t-blue   { background: var(--blue-light);    color: var(--brand-blue-dk); }
.tag.t-green  { background: var(--emerald-light); color: var(--emerald-text); }
.tag.t-amber  { background: var(--amber-light);   color: var(--amber-text); }
.tag.t-violet { background: var(--violet-light);  color: var(--violet-text); }

/* Variant rows inside a product card (e.g. desktop vs cloud POS) */
.variant {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: var(--r-md);
  background: var(--surface); margin-bottom: 10px;
}
.variant .vmeta { flex: 1; }
.variant .vname {
  font-size: 13.5px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.variant .vdesc { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }

/* ============ Feature rows ============ */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; margin-bottom: 80px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse > .ftxt { order: 2; }
.feature-row.reverse > .fviz { order: 1; }
.ftxt h3 {
  font-size: 30px; font-weight: 800; color: var(--navy);
  margin: 0 0 14px; letter-spacing: -.02em; line-height: 1.15;
}
.ftxt p {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.65; margin: 0 0 22px;
}
.ftxt ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 11px;
}
.ftxt ul li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text-primary); font-size: 14px; font-weight: 500;
}
.ftxt ul li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: var(--emerald-light) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23047857' d='M6.5 11.5L3 8l1.4-1.4 2.1 2.1 4.6-4.6L12.5 5.5z'/></svg>") center/13px no-repeat;
}
.fviz-card {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.fviz-card .hdr {
  padding: 14px 18px; border-bottom: 1px solid var(--border-soft);
  background: #f8fafc; display: flex; justify-content: space-between; align-items: center;
}
.fviz-card .hdr .t { font-weight: 800; color: var(--navy); font-size: 14px; }
.fviz-card .hdr .s { font-size: 11px; color: var(--text-muted); }
.fviz-card .bd { padding: 18px; }
.fr-rows { display: flex; flex-direction: column; gap: 10px; }
.fr-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-md); background: var(--surface);
}
.fr-row .ic {
  width: 36px; height: 36px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.fr-row .lbl { flex: 1; font-size: 13px; color: var(--text-primary); font-weight: 600; }
.fr-row .sub { font-size: 11px; color: var(--text-muted); }
.fr-row .v { font-size: 14px; font-weight: 800; color: var(--navy); }
.fr-row .v.green { color: var(--emerald-text); }
.fr-row .v.amber { color: var(--amber-text); }

/* Pipeline strip (lead-gen: source -> enrich -> score -> output) */
.pipeline { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.pipeline .step {
  flex: 1 1 140px; background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-md); padding: 14px 16px; box-shadow: var(--shadow-sm);
}
.pipeline .step .n {
  font-size: 10px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-blue);
}
.pipeline .step .t {
  font-size: 15px; font-weight: 800; color: var(--navy); margin-top: 4px;
}
.pipeline .step .d { font-size: 12.5px; color: var(--text-muted); margin-top: 4px; }

/* ============ Generic card grid (blog, content) ============ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .card-img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--surface); }
.card .card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card .card-body h3 {
  font-size: 18px; font-weight: 800; color: var(--navy);
  margin: 0 0 8px; letter-spacing: -.015em; line-height: 1.3;
}
.card .card-body p { color: var(--text-secondary); font-size: 14px; margin: 0 0 16px; }
.card .card-meta {
  font-size: 12px; color: var(--text-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px;
}
.card .card-body .btn { margin-top: auto; align-self: flex-start; }

/* ============ Prose (about, terms, article) ============ */
.prose { max-width: 46em; margin: 0 auto; }
.prose h2 { font-size: 28px; margin-top: 44px; }
.prose h3 { font-size: 21px; font-weight: 800; color: var(--navy); margin: 32px 0 10px; }
.prose p { color: var(--text-secondary); font-size: 16px; line-height: 1.75; margin: 0 0 18px; }
.prose ul, .prose ol { color: var(--text-secondary); font-size: 16px; line-height: 1.75; padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose img { border-radius: var(--r-lg); margin: 24px 0; }

/* ============ Page header (inner pages) ============ */
.page-head {
  background: linear-gradient(135deg, #1e3a5f, #2d5f8a);
  color: #fff; padding: 64px 0 56px; text-align: center;
}
.page-head h1 {
  font-size: 42px; font-weight: 800; letter-spacing: -.03em;
  margin: 0 0 12px; line-height: 1.1;
}
.page-head p { color: #cfe0f2; font-size: 17px; margin: 0 auto; max-width: 40em; }

/* ============ Forms ============ */
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--navy); margin-bottom: 6px;
}
.input, input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], select, textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  font-family: inherit; font-size: 14px; color: var(--text-primary);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.input:focus, input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}
textarea { min-height: 130px; resize: vertical; }

.form-card {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm);
}

.alert { padding: 12px 16px; border-radius: var(--r-md); font-size: 14px; margin-bottom: 18px; }
.alert.ok    { background: var(--emerald-light); color: var(--emerald-text); }
.alert.error { background: var(--red-light);     color: var(--red-text); }

/* ============ CTA strip ============ */
.cta-strip {
  background: radial-gradient(ellipse at 30% 0%, #1e3a5f 0%, #14233a 60%, #0f1d2e 100%);
  color: #fff; padding: 80px 0; text-align: center;
}
.cta-strip h2 { color: #fff; font-size: 38px; margin: 0 0 14px; }
.cta-strip p { color: #cfe0f2; font-size: 17px; margin: 0 auto 30px; max-width: 34em; }
.cta-strip .btn { padding: 14px 32px; font-size: 15px; font-weight: 700; }

/* ============ Footer ============ */
footer.site { background: var(--navy-deep); color: #b9cbe2; padding: 64px 0 28px; }
footer.site .grid {
  /* Five columns since the Marketing System sub-services got their own list.
     Its labels are the longest, so it takes a wider track than the other
     link columns and the brand column gives up some width to pay for it. */
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.25fr 0.9fr 1.15fr;
  gap: 34px; margin-bottom: 40px;
}
footer.site .brand { color: #fff; }
footer.site .brand-col p {
  color: #9fb7d4; font-size: 14px; line-height: 1.6;
  margin: 14px 0 0; max-width: 280px;
}
footer.site h4 {
  color: #fff; font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em; margin: 0 0 16px;
}
footer.site ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer.site ul a { color: #b9cbe2; font-size: 14px; text-decoration: none; transition: color .15s; }
footer.site ul a:hover { color: #fff; text-decoration: none; }
footer.site .sub-form { display: flex; gap: 8px; margin-top: 14px; }
footer.site .sub-form input {
  flex: 1; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18); color: #fff;
  padding: 10px 12px; border-radius: var(--r-sm); font-size: 13px;
}
footer.site .sub-form input::placeholder { color: #7f96b3; }
footer.site .sub-form input:focus {
  outline: none; border-color: var(--brand-blue); box-shadow: none;
}
footer.site .social { display: flex; gap: 10px; margin-top: 18px; }
footer.site .social a {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255, 255, 255, .08); color: #b9cbe2;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; transition: background .15s, color .15s;
}
footer.site .social a:hover { background: var(--brand-blue); color: #fff; text-decoration: none; }
footer.site .legal {
  border-top: 1px solid rgba(255, 255, 255, .10); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #7f96b3;
}
footer.site .legal a { color: #7f96b3; }
footer.site .legal a:hover { color: #fff; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: 44px; }
  .mock { transform: none; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 34px; }
  .feature-row.reverse > .ftxt, .feature-row.reverse > .fviz { order: initial; }
  .product-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  footer.site .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border-soft);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 12px 24px; }
  .nav-links > a.btn { margin: 8px 24px; justify-content: center; }
  .section { padding: 64px 0; }
  .section h2, .cta-strip h2 { font-size: 30px; }
  .hero { padding: 72px 0 80px; }
  .hero h1 { font-size: 36px; }
  .hero p.lead { font-size: 17px; }
  .page-head h1 { font-size: 32px; }
  .product-grid, .card-grid { grid-template-columns: 1fr; }
  .stats .grid { grid-template-columns: 1fr; }
  footer.site .grid { grid-template-columns: 1fr; }
}

/* ---- Products dropdown ------------------------------------ */
.nav-drop { position: relative; }
.nav-drop-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s;
}
.nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { color: var(--navy); }
.nav-drop-btn i { font-size: 10px; transition: transform .15s; }
.nav-drop.open .nav-drop-btn i { transform: rotate(180deg); }

.nav-drop-menu {
  display: none; position: absolute; top: calc(100% + 14px); left: -16px;
  min-width: 290px; padding: 8px;
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  z-index: 60;
}
.nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: block; padding: 10px 12px; border-radius: var(--r-md);
  text-decoration: none; transition: background .12s;
}
.nav-drop-menu a:hover { background: var(--surface); text-decoration: none; }
.nav-drop-menu .d-name {
  display: block; font-size: 14px; font-weight: 700; color: var(--navy);
}
.nav-drop-menu .d-desc {
  display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px;
}
.nav-drop-sep { height: 1px; background: var(--border-soft); margin: 6px 8px; }

@media (max-width: 760px) {
  /* In the stacked mobile menu a floating panel would cover the links behind
     it, so the dropdown becomes an inline block instead. */
  .nav-drop { width: 100%; }
  .nav-drop-btn { padding: 12px 24px; width: 100%; justify-content: space-between; }
  .nav-drop-menu {
    position: static; min-width: 0; box-shadow: none; border: 0;
    border-radius: 0; padding: 0 12px 8px;
  }
}

/* ---- Blog category chips ----------------------------------- */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.chip {
  --chip: var(--brand-blue);
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff;
  font-size: 13.5px; font-weight: 700; color: var(--text-secondary);
  text-decoration: none; transition: border-color .15s, color .15s, background .15s;
}
.chip:hover { border-color: var(--chip); color: var(--navy); text-decoration: none; }
.chip.on { background: var(--chip); border-color: var(--chip); color: #fff; }
.chip .n {
  font-size: 11px; font-weight: 700; opacity: .75;
  background: rgba(0, 0, 0, .08); padding: 1px 7px; border-radius: 999px;
}
.chip.on .n { background: rgba(255, 255, 255, .22); }
.cat-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-blue); margin-right: 5px; vertical-align: middle;
}

/* ---- Post attachments -------------------------------------- */
.attach-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }
.attach {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--border-soft);
  border-radius: var(--r-md); background: #fff; text-decoration: none;
  transition: border-color .15s;
}
.attach:hover { border-color: var(--brand-blue); text-decoration: none; }
.attach .aicon {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px;
  background: var(--blue-light); color: var(--brand-blue-dk);
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}
.attach .aname { display: block; font-size: 14px; font-weight: 700; color: var(--navy); }
.attach .ameta { display: block; font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }
@media (max-width: 760px) { .attach-list { grid-template-columns: 1fr; } }

/* ---- WhatsApp chat button ----------------------------------
   Small and icon-first on purpose. The wide pill it replaces sat over page
   content and read as an advert; this is a quiet affordance that expands to
   its label only when a pointer is on it. */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 200;
  display: inline-flex; align-items: center;
  width: 46px; height: 46px; padding: 0;
  border-radius: 999px; overflow: hidden;
  background: #25D366; color: #fff;
  font-size: 13.5px; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .34);
  transition: width .18s ease, padding .18s ease,
              box-shadow .15s ease, background .15s ease;
}
.wa-fab i { flex: 0 0 46px; text-align: center; font-size: 20px; line-height: 46px; }
.wa-fab .wa-fab-label { white-space: nowrap; opacity: 0; transition: opacity .12s ease .06s; }

/* Expand only where hovering means something. On touch, :hover sticks after a
   tap and would leave the label stranded open. */
@media (hover: hover) and (pointer: fine) {
  .wa-fab:hover {
    width: 176px; padding-right: 18px;
    background: #1ebe5b; color: #fff; text-decoration: none;
    box-shadow: 0 10px 24px rgba(37, 211, 102, .44);
  }
  .wa-fab:hover .wa-fab-label { opacity: 1; }
}
.wa-fab:focus-visible { outline: 3px solid #0f1d2e; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .wa-fab { transition: none; } }
