/* ============================================================
   KroyTech Systems & Solutions — light editorial corporate style
   White / off-white surfaces, deep navy ink, solid green & blue
   brand accents. No gradients, no glassmorphism.
   ============================================================ */

:root {
  --green: #79b62b;          /* KroyTech leaf green */
  --green-dark: #5f9420;
  --blue: #1b9bd7;           /* KroyTech azure */
  --blue-dark: #1273a3;
  --ink: #16304f;            /* deep navy ink */
  --ink-soft: #33475e;
  --muted: #5c6f82;
  --paper: #ffffff;
  --paper-alt: #f4f6f4;
  --rule: #e2e8ea;
  --navy-band: #12263f;
  --radius: 3px;
  --gold: #c9a227;
  --font-head: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue-dark); }
img { max-width: 100%; height: auto; display: block; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.narrow { width: min(780px, 92%); margin: 0 auto; }
.section { padding: 4.6rem 0; }
.section-alt { background: var(--paper-alt); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* Uppercase kicker labels */
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin: 0 0 0.9rem;
  padding-bottom: 0.45rem;
  border-bottom: 3px solid var(--green);
}
.kicker-light { color: #cde9a8; border-bottom-color: var(--green); }

.lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-head h2 { margin-bottom: 0.5rem; }

/* Buttons — solid colours only */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy-band); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eef3ee; }
.btn-ghost-light { border-color: rgba(255,255,255,0.65); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.12); color: #fff; }
.btn-small { padding: 0.6rem 1.15rem; font-size: 0.86rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex; align-items: center; gap: 2rem;
  padding-top: 0.7rem; padding-bottom: 0.7rem;
}
.brand img { width: 190px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 0.65rem 0.95rem;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  border-radius: var(--radius);
}
.main-nav a:hover { background: var(--paper-alt); }
.main-nav a.is-active { color: var(--green-dark); box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.has-dropdown { position: static; }
.services-toggle { display: inline-flex; align-items: center; gap: 0.35rem; }
.services-toggle .chev { transition: transform 0.25s ease; }
.has-dropdown.open .services-toggle .chev { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--rule);
  box-shadow: 0 32px 64px rgba(18, 38, 63, 0.13);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.has-dropdown.open .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
/* Pointer-precise devices keep a hover affordance; touch uses the JS toggle. */
@media (hover: hover) and (pointer: fine) {
  .has-dropdown:hover .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
  .has-dropdown:hover .services-toggle .chev { transform: rotate(180deg); }
}
.mega-inner {
  display: grid; grid-template-columns: 1fr 270px; gap: 2rem;
  padding-top: 1.5rem; padding-bottom: 1.5rem;
}
.mega-links {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.1rem 0.5rem;
  list-style: none; margin: 0; padding: 0;
}
.mega-links a {
  display: block; padding: 0.45rem 0.6rem; border-radius: var(--radius); text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 0.86rem; color: var(--ink); line-height: 1.3;
}
.mega-links a:hover { background: var(--paper-alt); color: var(--green-dark); }
.mega-feature {
  background: var(--paper-alt); border-top: 3px solid var(--green);
  border-radius: var(--radius); padding: 1.15rem 1.2rem; align-self: start;
}
.mega-feature .kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-dark); margin: 0 0 0.5rem;
}
.mega-feature h3 { font-size: 1.15rem; margin: 0 0 0.5rem; color: var(--ink); }
.mega-feature p { font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 1rem; }
.mega-call {
  display: inline-block; background: var(--ink); color: #fff !important;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  padding: 0.6rem 1.1rem; border-radius: var(--radius); text-decoration: none;
  margin-bottom: 0.8rem;
}
.mega-call:hover { background: var(--navy-band); }
.mega-link { display: inline-block; font-weight: 600; font-size: 0.88rem; color: var(--green-dark); text-decoration: none; }
.mega-link:hover { text-decoration: underline; }
.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.phone-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ink); color: #fff; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
  padding: 0.62rem 1.1rem; border-radius: var(--radius); white-space: nowrap;
}
.phone-btn:hover { background: var(--navy-band); color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 0.55rem 0.6rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }
.mobile-nav { display: none; border-top: 1px solid var(--rule); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav > ul { list-style: none; margin: 0; padding: 0.6rem 4%; }
.mobile-nav a, .mobile-services-toggle {
  display: block; width: 100%; text-align: left;
  padding: 0.7rem 0.4rem; color: var(--ink); text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  background: none; border: none; border-bottom: 1px solid var(--rule); cursor: pointer;
}
.mobile-services-list { display: none; list-style: none; padding: 0 0 0 1rem; }
.mobile-services-list.open { display: block; }
.mobile-services-list a { font-size: 0.92rem; font-weight: 500; }
.mobile-call { color: var(--green-dark) !important; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 1.4rem 0 0; font-size: 0.86rem; color: var(--muted); }
.breadcrumb a { color: var(--blue-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span.sep { margin: 0 0.45rem; }

/* ---------- Page head (inner pages) ---------- */
.page-head { padding: 3rem 0 2.6rem; border-bottom: 1px solid var(--rule); }
.page-head h1 { margin-bottom: 0.55rem; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper-alt); border-bottom: 1px solid var(--rule); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem; align-items: center; padding: 4.2rem 0;
}
.hero-copy h1 { margin-bottom: 0.7rem; }
.hero-copy h1 .accent-green { color: var(--green-dark); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.7rem 0 2.2rem; }
.hero-stats { display: flex; gap: 2.4rem; border-top: 1px solid var(--rule); padding-top: 1.4rem; }
.stat b {
  display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800;
  color: var(--ink); letter-spacing: -0.015em; white-space: nowrap; line-height: 1.15;
}
.stat b .plus { color: var(--green-dark); }
.stat span { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 0.35rem; line-height: 1.5; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: var(--radius); border: 1px solid var(--rule); }
.hero-photo figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(18, 38, 63, 0.88); color: #fff;
  font-size: 0.8rem; padding: 0.45rem 0.8rem; border-radius: var(--radius);
  border-left: 4px solid var(--green);
}

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; border-top: 4px solid var(--rule);
  transition: border-top-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  display: flex; flex-direction: column;
}
.card:hover { border-top-color: var(--green); box-shadow: 0 14px 30px rgba(18,38,63,0.10); transform: translateY(-3px); }
.card h3 { margin-bottom: 0.5rem; font-size: 1.06rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--green-dark); }
.card p { font-size: 0.93rem; color: var(--muted); margin-bottom: 1rem; flex: 1; }
.card-more { font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; color: var(--blue-dark); text-decoration: none; }
.card-more:hover { color: var(--green-dark); }
a.card-link { text-decoration: none; color: inherit; }

/* Service index on home */

/* ---------- Two column / photos ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.framed-photo img { border: 1px solid var(--rule); border-radius: var(--radius); }
.framed-photo figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 0.6rem; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 1.2rem 0; padding: 0; }
.checklist li {
  position: relative; padding: 0.55rem 0 0.55rem 2rem;
  border-bottom: 1px solid var(--rule); font-size: 0.98rem; color: var(--ink-soft);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.95rem;
  width: 0.85rem; height: 0.5rem;
  border-left: 3px solid var(--green); border-bottom: 3px solid var(--green);
  transform: rotate(-45deg) translateY(-2px);
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { border-top: 4px solid var(--blue); padding-top: 1.1rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--blue);
  display: block; margin-bottom: 0.5rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--rule); border-radius: var(--radius); margin-bottom: 0.8rem; background: #fff; }
.faq summary {
  cursor: pointer; padding: 1rem 1.2rem;
  font-family: var(--font-head); font-weight: 600; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--green-dark); font-weight: 700; flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; font-size: 0.95rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-band); color: #dbe5ee; }
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2.5rem; padding: 3.6rem 0;
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band-actions { display: flex; gap: 0.9rem; flex-shrink: 0; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-card { border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.2rem; background: #fff; }
.contact-card h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--green-dark); margin-bottom: 0.5rem; }
.contact-card p { margin: 0; font-size: 1.02rem; color: var(--ink); }
.contact-card a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-card a:hover { color: var(--green-dark); }
.enquiry-form { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 2rem; border-top: 4px solid var(--green); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: var(--ink); margin-bottom: 0.35rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 0.9rem; font: inherit; font-size: 0.95rem;
  border: 1px solid #c7d2d8; border-radius: var(--radius); background: #fff; color: var(--ink);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,155,215,0.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-msg { display: none; border-radius: var(--radius); padding: 0.9rem 1.1rem; margin-bottom: 1.1rem; font-size: 0.94rem; }
.form-msg.success { display: block; background: #eef6e4; border: 1px solid var(--green); color: #3c6420; }
.form-msg.error { display: block; background: #fdeeee; border: 1px solid #d77; color: #8f2b2b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-band); color: #b9c7d6; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.7fr 1.3fr 0.9fr; gap: 2.5rem; padding: 3.6rem 0 2.6rem; }
.footer-brand img { background: #fff; padding: 6px 10px; border-radius: var(--radius); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; }
.footer-contact a { color: #fff; font-weight: 600; text-decoration: none; }
.footer-links h3 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1rem; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.42rem; }
.footer-links a { color: #b9c7d6; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-services ul { columns: 2; column-gap: 1.4rem; }
.footer-links address { font-style: normal; font-size: 0.9rem; margin-bottom: 1.1rem; }
.footer-links address a { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-size: 0.82rem; color: #8fa0b3; }
.footer-bottom p { margin: 0; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .mega-inner { grid-template-columns: 1fr 230px; gap: 1.4rem; }
  .mega-links { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; padding: 3rem 0; }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .main-nav, .header-actions .phone-btn { display: none; }
  .nav-toggle { display: block; }
  .header-inner { gap: 1rem; }
  .brand img { width: 160px; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-services ul { columns: 1; }
  .hero-stats { flex-wrap: wrap; gap: 1.4rem; }
  .section { padding: 3.2rem 0; }
  .footer-bottom-inner { flex-direction: column; }
}

/* ---------- Small dropdown (Brands nav) ---------- */
.has-drop { position: relative; }
.nav-dropdown-sm {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 0.5rem; z-index: 300;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.has-drop:hover .nav-dropdown-sm, .has-drop.open .nav-dropdown-sm {
  opacity: 1; visibility: visible; transform: none;
}
.nav-dropdown-sm a {
  display: block; padding: 0.6rem 0.8rem; border-radius: var(--radius);
  font-size: 0.92rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.nav-dropdown-sm a:hover { background: var(--paper-alt); color: var(--green-dark); }

/* ---------- Brand / product pages ---------- */
.hl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hl-stat {
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.hl-stat b {
  display: block; font-family: var(--font-head); font-size: 1.6rem; font-weight: 800;
  color: var(--green-dark); letter-spacing: -0.01em;
}
.hl-stat span { font-size: 0.85rem; color: var(--muted); }

.spec-table {
  width: 100%; border-collapse: collapse; font-size: 0.92rem;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
}
.spec-table th, .spec-table td { text-align: left; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--rule); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { font-weight: 600; color: var(--muted); width: 42%; font-size: 0.85rem; }
.spec-table td { font-weight: 600; color: var(--ink); }

/* Comparison tables (brand pages) */
.compare-wrap { margin-top: 2rem; }
.compare-toggle {
  display: inline-block; cursor: pointer; font-weight: 700; font-size: 0.95rem;
  color: var(--green-dark); padding: 0.7rem 1.2rem; border: 1px solid var(--rule);
  border-radius: var(--radius); background: var(--paper);
}
.compare-toggle:hover { border-color: var(--green); }
.compare-wrap[open] .compare-toggle { margin-bottom: 1rem; }
.table-scroll { overflow-x: auto; }
.compare-table { min-width: 640px; }
.compare-table thead th {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted); background: var(--tint); width: auto;
}
.compare-table tbody th { width: auto; color: var(--ink); font-size: 0.92rem; }
.compare-table td { font-size: 0.9rem; white-space: nowrap; }
.compare-table td:last-child { white-space: normal; }
.compare-table a { color: var(--green-dark); font-weight: 700; }

.gen-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--green-dark); margin: 0 0 0.6rem;
}
.card-specs { font-size: 0.86rem; color: var(--muted); }
.card-specs strong { color: var(--ink); }

.rel-grid { display: grid; gap: 1rem; }

.faq { max-width: 820px; }
.faq details {
  border: 1px solid var(--rule); border-radius: var(--radius);
  margin-bottom: 0.7rem; background: var(--paper);
}
.faq summary {
  cursor: pointer; padding: 1rem 1.2rem; font-weight: 700;
  font-family: var(--font-head); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--green-dark); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--muted); }

@media (max-width: 860px) {
  .hl-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hl-stats { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .hl-stat b { font-size: 1.25rem; }
}

/* SonicWall product imagery — official product shots on dark panels */
.sw-hero-wrap { margin-top: 1.6rem; background: #101418; border-radius: 14px; padding: 1.5rem 1.2rem; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.sw-hero-img { display: block; width: 100%; max-width: 720px; margin: 0 auto; height: auto; }
.sw-series-img { display: block; width: 100%; max-width: 620px; height: auto; background: #101418; border-radius: 12px; padding: 1.1rem 1rem; margin: 1.1rem 0 1.3rem; box-shadow: 0 8px 24px rgba(0,0,0,.10); }
/* Caption labelling a representative (illustrative) product image */
.sw-img-caption { text-align: center; color: #9aa4ae; font-size: 0.82rem; margin: 0.9rem 0 0; }
@media (max-width: 640px) {
  .sw-hero-wrap { padding: 1rem 0.6rem; }
  .sw-series-img { padding: 0.8rem 0.6rem; }
}

/* SonicWall brand logo — transparent wordmark */
.sw-brand-logo { display: block; width: 100%; max-width: 300px; height: auto; margin: 0.4rem 0 1.1rem; }

/* Performance disclaimer used on Fortinet product pages */
.perf-note { font-size: 0.85rem; color: #5b6570; font-style: italic; }

/* WhatsApp floating chat button — site-wide, injected via includes/footer.php */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.28);
  transition: transform .2s ease, background .2s ease;
}
.wa-float:hover { background: #1eb857; transform: translateY(-2px); color: #fff; }
@media (max-width: 640px) {
  .wa-float { right: 1rem; bottom: 1rem; width: 52px; height: 52px; }
}

/* "Not published" footnotes for catalogue spec tables */
.spec-note { font-size: 0.85rem; color: #5b6570; font-style: italic; margin-top: 0.8rem; }

/* ============ Blog / estimator / FAQ (2026-09-21d) ============ */
.post-narrow { max-width: 780px; margin: 0 auto; }
.btn-block { display: block; width: 100%; text-align: center; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-grid-3 { grid-template-columns: repeat(3, 1fr); }
.blog-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(13,42,74,.35); }
.blog-card-media { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.blog-card-body h2, .blog-card-body h3 { font-size: 1.1rem; line-height: 1.35; margin: 0; }
.blog-card-body h2 a, .blog-card-body h3 a { color: var(--ink); text-decoration: none; }
.blog-card-body h2 a:hover, .blog-card-body h3 a:hover { color: var(--green); }
.blog-card-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.post-meta { font-size: .82rem; color: var(--muted); }
.post-cat { color: var(--green); font-weight: 700; }

.post-article h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.post-byline { color: var(--muted); font-size: .95rem; margin-top: .75rem; }
.post-hero { margin: 1.5rem 0 2rem; border-radius: var(--radius); overflow: hidden; }
.post-hero img { width: 100%; aspect-ratio: 16/8; object-fit: cover; display: block; }
.post-body { font-size: 1.05rem; line-height: 1.75; color: #243145; }
.post-body h2 { font-size: 1.35rem; margin: 2rem 0 .75rem; color: var(--ink); }
.post-body ul { padding-left: 1.4rem; margin: 1rem 0; }
.post-body li { margin-bottom: .5rem; }
.post-body a { color: var(--green); font-weight: 600; }
.post-cta { background: var(--navy-band); color: #fff; border-radius: var(--radius); padding: 2rem; margin: 2.5rem 0; }
.post-cta h2 { color: #fff; margin-top: 0; font-size: 1.4rem; }
.post-cta p { color: rgba(255,255,255,.85); }
.post-cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.25rem; }
.related-posts { margin-top: 3rem; }
.related-posts h2 { margin-bottom: 1.25rem; }

/* Estimator */
.estimator-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.est-step { border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; padding: 1.5rem; margin: 0 0 1.5rem; }
.est-step legend { padding: 0 .6rem; font-weight: 800; font-size: 1.1rem; }
.est-num { display: inline-flex; align-items: center; justify-content: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--green); color: #fff; font-size: .95rem; margin-right: .5rem; }
.est-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.est-card { position: relative; border: 2px solid var(--rule); border-radius: var(--radius); padding: 1.1rem; cursor: pointer; transition: border-color .2s, box-shadow .2s; display: flex; flex-direction: column; gap: .35rem; }
.est-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.est-card-title { font-weight: 800; font-size: 1.05rem; }
.est-card-desc { font-size: .85rem; color: var(--muted); }
.est-card:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 3px rgba(46,139,87,.15); }
.est-card:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.est-panel .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.est-hint { font-size: .88rem; color: var(--muted); margin: .75rem 0 0; }
.est-addons { display: grid; gap: .75rem; }
.est-check { display: flex; gap: .9rem; align-items: flex-start; border: 1px solid var(--rule); border-radius: var(--radius); padding: .9rem 1rem; cursor: pointer; }
.est-check input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--green); }
.est-check strong { display: block; }
.est-check small { color: var(--muted); }
.est-result-card { position: sticky; top: 110px; background: var(--navy-band); color: #fff; border-radius: var(--radius); padding: 1.75rem; }
.est-result-card .kicker { color: var(--gold); }
.est-range { font-size: 1.6rem; font-weight: 800; margin: .5rem 0 1rem; line-height: 1.25; }
.est-breakdown { list-style: none; margin: 0 0 1rem; padding: 0; font-size: .9rem; }
.est-breakdown li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.est-breakdown li:last-child { border-bottom: 0; }
.est-breakdown span { color: rgba(255,255,255,.8); }
.est-breakdown strong { text-align: right; white-space: nowrap; }
.est-disclaimer { font-size: .8rem; color: rgba(255,255,255,.7); margin: 0 0 1.25rem; }
.est-privacy { margin-top: 1rem; font-size: .92rem; color: var(--muted); }

/* FAQ */
.faq-group { margin-bottom: 2.25rem; }
.faq-group h2 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--ink); }
.faq-item { border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; margin-bottom: .6rem; }
.faq-item summary { cursor: pointer; padding: 1.05rem 1.25rem; font-weight: 700; list-style: none; position: relative; padding-right: 3rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--green); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.faq-answer { padding: 0 1.25rem 1.25rem; color: #33405a; line-height: 1.7; }
.faq-answer a { color: var(--green); font-weight: 600; }

@media (max-width: 960px) {
  .blog-grid, .blog-grid-3 { grid-template-columns: 1fr 1fr; }
  .estimator-grid { grid-template-columns: 1fr; }
  .est-result-card { position: static; }
}
@media (max-width: 640px) {
  .blog-grid, .blog-grid-3 { grid-template-columns: 1fr; }
  .est-cards { grid-template-columns: 1fr; }
  .est-panel .form-row { grid-template-columns: 1fr; }
  .post-cta-actions .btn { flex: 1 1 100%; text-align: center; }
}
