/* SoftGuard Protex — softguardplus.co.za */

:root {
  --navy-900: #072B41;
  --navy-800: #0B4A6F;
  --navy-600: #14688F;
  --teal: #1B7A9E;
  --cyan: #46C8E4;
  --cyan-pale: #DBF3F9;
  --silver: #AFB7BC;
  --grey-100: #F4F7F8;
  --grey-200: #E4E9EC;
  --grey-400: #9AA5AC;
  --ink: #121E26;
  --ink-soft: #48565F;
  --white: #FFFFFF;
  --amber: #C8761A;

  --max: 1120px;
  --gap: 1.5rem;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(7,43,65,.06), 0 8px 24px rgba(7,43,65,.07);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

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

a { color: var(--navy-800); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-200);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 1rem;
  min-height: 70px;
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; }
.brand-sub { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-400); font-weight: 600; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav a {
  padding: .5rem .8rem; border-radius: 7px; text-decoration: none;
  color: var(--ink-soft); font-size: .93rem; font-weight: 550;
}
.nav a:hover { background: var(--grey-100); color: var(--navy-800); }
.nav a.active { color: var(--navy-800); font-weight: 650; }

.nav-toggle {
  margin-left: auto; display: none; background: none; border: 1px solid var(--grey-200);
  border-radius: 8px; padding: .5rem .7rem; font-size: 1rem; cursor: pointer; color: var(--ink);
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--grey-200);
    flex-direction: column; align-items: stretch; padding: .5rem 20px 1rem; gap: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .2rem; border-bottom: 1px solid var(--grey-100); border-radius: 0; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: .8rem 1.4rem; border-radius: 8px;
  font-weight: 650; font-size: .97rem; text-decoration: none; border: 1.5px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy-800); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--navy-900); }
.btn-ghost { border-color: var(--grey-200); color: var(--navy-800); background: var(--white); }
.btn-ghost:hover { border-color: var(--navy-600); }
.btn-light { background: var(--white); color: var(--navy-900); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 78% -10%, rgba(70,200,228,.22), transparent 60%),
    linear-gradient(168deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--teal) 130%);
  color: var(--white);
  padding: 4.5rem 0 4rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem); line-height: 1.08;
  letter-spacing: -.03em; margin: 0 0 1rem; font-weight: 800; max-width: 17ch;
}
.hero p.lede { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #CFE6F0; max-width: 54ch; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.eyebrow {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem;
}

/* ---------- sections ---------- */
section { padding: 4rem 0; }
section.tint { background: var(--grey-100); }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.15;
  letter-spacing: -.025em; margin: 0 0 .7rem; font-weight: 750;
}
.section-head p { color: var(--ink-soft); font-size: 1.06rem; margin: 0; }

h3 { font-size: 1.18rem; letter-spacing: -.015em; margin: 0 0 .5rem; font-weight: 700; }

/* ---------- grid + cards ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; flex-direction: column;
}
.card.pad-lg { padding: 2rem; }
.card h3 { margin-top: 0; }
.card p { color: var(--ink-soft); margin: 0 0 1rem; font-size: .97rem; }
.card .card-foot { margin-top: auto; padding-top: .5rem; }

.card-num {
  width: 34px; height: 34px; border-radius: 8px; background: var(--cyan-pale);
  color: var(--navy-800); font-weight: 750; font-size: .95rem;
  display: grid; place-items: center; margin-bottom: .9rem;
}

/* ---------- product cards ---------- */
.product {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column;
}
.product .pack {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .5rem;
}
.product h3 { margin-bottom: .6rem; }
.product p { color: var(--ink-soft); font-size: .95rem; margin: 0 0 1.1rem; }
.product ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.product li {
  font-size: .89rem; color: var(--ink-soft); padding-left: 1.1rem; position: relative; margin-bottom: .28rem;
}
.product li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--cyan);
}
.product.featured { border-color: var(--navy-600); box-shadow: var(--shadow); }

.tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .22rem .55rem; border-radius: 5px;
}
.tag-soon { background: var(--grey-200); color: var(--ink-soft); }
.tag-pick { background: var(--navy-800); color: var(--white); }

/* ---------- callout ---------- */
.callout {
  border-left: 4px solid var(--cyan); background: var(--cyan-pale);
  padding: 1.4rem 1.6rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 2rem 0;
}
.callout strong { color: var(--navy-900); }
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-left-color: var(--amber); background: #FDF3E7; }

/* ---------- steps ---------- */
.step { display: flex; gap: 1.1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--grey-200); }
.step:last-child { border-bottom: 0; }
.step-n {
  flex: 0 0 40px; height: 40px; border-radius: 10px;
  background: var(--navy-800); color: var(--white);
  display: grid; place-items: center; font-weight: 750;
}
.step-body h3 { margin-bottom: .3rem; }
.step-body p { margin: 0; color: var(--ink-soft); }

/* ---------- table ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 480px; }
th, td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--grey-200); }
th { font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- form ---------- */
.form-row { margin-bottom: 1.1rem; }
label { display: block; font-weight: 650; font-size: .9rem; margin-bottom: .35rem; }
input, textarea, select {
  width: 100%; padding: .75rem .85rem; font: inherit; font-size: .97rem;
  border: 1.5px solid var(--grey-200); border-radius: 8px; background: var(--white); color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--navy-600); }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--grey-400); margin-top: .3rem; }

/* ---------- cta band ---------- */
.band {
  background: linear-gradient(140deg, var(--navy-900), var(--navy-800));
  color: var(--white); padding: 3.5rem 0;
}
.band h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 0 0 .7rem; letter-spacing: -.02em; }
.band p { color: #CFE6F0; margin: 0 0 1.6rem; max-width: 56ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: #9FBACB; padding: 3rem 0 2rem; font-size: .92rem; }
.site-footer a { color: #CFE6F0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h4 { color: var(--white); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; font-size: .84rem; color: #7C9AAD; }

.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* product card footers align across a row */
.product .card-foot { margin-top: auto; padding-top: .5rem; }

/* bullet lists inside cards, matching the product bullets */
.product-list { list-style: none; padding: 0; margin: 0; }
.product-list li {
  font-size: .95rem; color: var(--ink-soft);
  padding-left: 1.2rem; position: relative; margin-bottom: .5rem;
}
.product-list li::before {
  content: ""; position: absolute; left: 0; top: .65em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
}
.card ul.product-list { margin-bottom: 0; }

/* retail buy buttons */
.buy-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.buy-row .btn { padding: .7rem 1.1rem; font-size: .92rem; }
