/* ============================================================
   Josachi TechHub — corporate light theme (matched to logo)
   Palette from logo: royal blue #2a6df4 → sky #4a9be8,
   teal #2fb7cc, charcoal #232e3a, white.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-2: #f4f7fb;
  --surface: #ffffff;
  --line: #e2e8f2;
  --ink: #1d2733;
  --muted: #5b6b7f;
  --navy: #14213d;
  --blue: #2a6df4;
  --blue-dark: #1f56c4;
  --sky: #4a9be8;
  --teal: #2fb7cc;
  --blue-soft: #eaf1fe;
  --green: #1fa15c;
  --red: #d64545;
  --amber: #b97f10;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(20, 33, 61, 0.08);
  --shadow-lg: 0 12px 32px rgba(20, 33, 61, 0.12);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--navy); }
.brand-logo { height: 46px; width: auto; }
.brand-text em { font-style: normal; color: var(--blue); }
.brand-sub { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: -3px; }
.main-nav { display: flex; gap: 2px; margin-left: auto; }
.nav-link {
  padding: 8px 11px; border-radius: 8px; color: var(--muted);
  font-weight: 500; font-size: 0.92rem; white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--navy); }
.nav-link.active { color: var(--blue); background: var(--blue-soft); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 9px; border: 0;
  font-weight: 600; font-size: 0.95rem; transition: background .15s, box-shadow .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 4px 14px rgba(42, 109, 244, 0.32); }
.btn-outline { border: 1.5px solid #cdd8e8; color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-whatsapp { background: #1faa53; color: #fff; }
.btn-whatsapp:hover { background: #188f45; box-shadow: 0 4px 14px rgba(31, 170, 83, 0.3); }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #f7fafd 0%, #eef4fb 100%);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; right: -140px; top: -180px; width: 560px; height: 560px;
  border-radius: 50%; background: radial-gradient(circle, rgba(42, 109, 244, 0.08), transparent 65%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 76px 0 68px; position: relative; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--blue);
  padding: 7px 15px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  border: 1px solid #d8e4f8; margin-bottom: 22px; box-shadow: var(--shadow);
}
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.14; letter-spacing: -0.022em; font-weight: 800; color: var(--navy); }
.hero h1 .grad { color: var(--blue); }
.hero p.lead { color: var(--muted); font-size: 1.08rem; margin: 20px 0 30px; max-width: 33rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 44px; flex-wrap: wrap; }
.hero-stat .num { font-size: 1.55rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.hero-stat .lbl { color: var(--muted); font-size: 0.87rem; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual svg { width: 100%; max-width: 470px; height: auto; }

/* ---------- Sections ---------- */
.section { padding: 74px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-kicker { color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; }
.section-head h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); letter-spacing: -0.018em; margin-top: 8px; color: var(--navy); }
.section-head p { color: var(--muted); margin-top: 10px; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: box-shadow .18s, border-color .18s, transform .18s; display: block;
}
.cat-card:hover { border-color: #c3d4f0; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cat-icon { width: 48px; height: 48px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.cat-card h3 { font-size: 1.04rem; margin-bottom: 6px; color: var(--navy); }
.cat-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 18px; }
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, border-color .18s, transform .18s;
}
.product-card:hover { border-color: #c3d4f0; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card.is-sold { opacity: 0.6; }
.product-card.is-sold:hover { transform: none; box-shadow: none; }
.product-media { position: relative; background: linear-gradient(180deg, #f6f8fb, #eef2f8); padding: 22px 26px 14px; }
.product-media img.product-photo { width: 100%; height: 132px; object-fit: contain; }
.device-art { width: 100%; height: 132px; }
.badge {
  position: absolute; top: 11px; left: 11px;
  font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.04em;
  background: #fff; box-shadow: var(--shadow);
}
.badge-stock { color: var(--green); }
.badge-sold { color: var(--red); }
.badge-tag { left: auto; right: 11px; color: var(--amber); }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-brand { color: var(--blue); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.product-title { font-size: 1.02rem; margin: 3px 0 10px; color: var(--navy); }
.product-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.product-specs li {
  font-size: 0.75rem; color: var(--muted); background: var(--bg-2);
  border: 1px solid var(--line); padding: 3px 9px; border-radius: 6px;
}
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price { font-weight: 800; font-size: 1.01rem; color: var(--navy); }
.product-soldnote { color: var(--muted); font-size: 0.85rem; }

/* ---------- Shop filters ---------- */
.filters {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-bottom: 26px; box-shadow: var(--shadow);
}
.filters input, .filters select {
  background: #fff; color: var(--ink); border: 1px solid #cdd8e8;
  border-radius: 8px; padding: 10px 13px; width: 100%;
}
.filters input:focus, .filters select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42, 109, 244, 0.12); }
.filters .check { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.result-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-weight: 600; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.live-note { color: var(--amber); font-size: 0.9rem; }
.live-note a { color: var(--blue); text-decoration: underline; }
.empty-state { text-align: center; color: var(--muted); padding: 70px 0; }
.empty-state a { color: var(--blue); text-decoration: underline; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .18s, border-color .18s, transform .18s;
}
.blog-card:hover { border-color: #c3d4f0; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-thumb { height: 128px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%); color: #fff; }
.blog-thumb svg { width: 42px; height: 42px; opacity: 0.95; }
.blog-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-date { color: var(--muted); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.blog-card h3 { font-size: 1.05rem; margin: 6px 0 8px; color: var(--navy); }
.blog-card p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.blog-more { margin-top: 14px; color: var(--blue); font-weight: 600; font-size: 0.9rem; }

/* ---------- Blog article ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article-meta { color: var(--muted); font-size: 0.88rem; margin-top: 12px; display: flex; gap: 16px; flex-wrap: wrap; }
.article-lead { font-size: 1.08rem; color: var(--ink); margin-bottom: 8px; }
.article h2 {
  font-size: 1.3rem; color: var(--navy); letter-spacing: -0.015em;
  margin: 38px 0 12px; padding-top: 22px; border-top: 1px solid var(--line);
}
.article h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 28px; }
.article h3 { font-size: 1.05rem; color: var(--navy); margin: 24px 0 8px; }
/* Cap the measure at a comfortable reading length; tables and cards stay full width */
.article p, .article ul.bullets { max-width: 55ch; }
.article p { color: var(--muted); margin-bottom: 14px; }
.article > p:first-child { color: var(--ink); }
.article ul.bullets { margin: 0 0 16px; }
.article ul.bullets li {
  color: var(--muted); padding-left: 26px; position: relative; margin-bottom: 8px;
}
.article ul.bullets li::before {
  content: ""; position: absolute; left: 6px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}
.article ul.ticks li::before {
  content: "\2713"; left: 0; top: 0; width: auto; height: auto;
  background: none; color: var(--green); font-weight: 700;
}

/* Spec pairs inside a product write-up */
.spec-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px 20px; margin: 14px 0 16px; }
.spec-list div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.spec-list dt, .spec-list .k { color: var(--muted); }
.spec-list .v { color: var(--navy); font-weight: 600; text-align: right; }

.article-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin: 20px 0; }
.article-card h3 { margin-top: 0; }

/* Side-by-side comparison */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 18px 0 22px; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 460px; }
.compare th, .compare td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--bg-2); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.compare tbody th { color: var(--navy); font-weight: 600; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }

.pros-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 22px; }
.verdict { background: var(--blue-soft); border: 1px solid #cfe0fd; border-radius: var(--radius); padding: 22px 26px; margin: 26px 0 0; }
.verdict h3 { margin-top: 0; }
.verdict p:last-child { margin-bottom: 0; }

.article-nav { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Feature / why-us ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature-card .cat-icon { margin-bottom: 14px; }
.feature-card h3 { margin-bottom: 6px; font-size: 1.02rem; color: var(--navy); }
.feature-card p { color: var(--muted); font-size: 0.91rem; }

/* ---------- Split CTA panels ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel {
  border-radius: var(--radius); padding: 38px; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow);
}
.panel .section-kicker { display: block; margin-bottom: 6px; }
.panel h3 { font-size: 1.32rem; margin-bottom: 8px; color: var(--navy); letter-spacing: -0.015em; }
.panel p { color: var(--muted); margin-bottom: 22px; max-width: 30rem; }
.panel.panel-navy { background: var(--navy); border-color: var(--navy); }
.panel.panel-navy h3 { color: #fff; }
.panel.panel-navy p { color: #b6c3da; }
.panel.panel-navy .section-kicker { color: var(--teal); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
/* Two real testimonials — centre them rather than leaving a gap in a 3-up grid */
.testi-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin-inline: auto; }
.testi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.testi .stars { color: #e2a614; letter-spacing: 2px; margin-bottom: 10px; font-size: 0.9rem; }
.testi p { color: var(--ink); font-size: 0.94rem; }
.testi .who { margin-top: 14px; color: var(--muted); font-size: 0.85rem; font-weight: 600; }

/* ---------- Finder wizard ---------- */
.wizard { max-width: 740px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.wizard-steps { display: flex; gap: 8px; margin-bottom: 28px; }
.wizard-steps .step { flex: 1; height: 4px; background: var(--line); border-radius: 4px; }
.wizard-steps .step.done { background: var(--blue); }
.wizard h3 { font-size: 1.28rem; margin-bottom: 6px; color: var(--navy); }
.wizard .hint { color: var(--muted); margin-bottom: 22px; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.option-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 16px 18px; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; text-align: left;
}
.option-card:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.option-card.selected { border-color: var(--blue); background: var(--blue-soft); }
.option-card .opt-title { font-weight: 700; display: flex; align-items: center; gap: 10px; color: var(--navy); }
.option-card .opt-title svg { color: var(--blue); flex-shrink: 0; }
.option-card .opt-desc { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }
.budget-row { display: flex; align-items: center; gap: 18px; margin: 10px 0 6px; }
.budget-row input[type="range"] { flex: 1; accent-color: var(--blue); }
.budget-value { font-weight: 800; font-size: 1.22rem; color: var(--blue); min-width: 130px; text-align: right; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 28px; }
.reco-reasons { margin: 10px 0 14px; }
.reco-reasons li { color: var(--muted); font-size: 0.85rem; padding-left: 20px; position: relative; margin-bottom: 4px; }
.reco-reasons li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.reco-rank { position: absolute; top: 11px; right: 11px; background: var(--blue); color: #fff; font-weight: 700; font-size: 0.72rem; padding: 4px 11px; border-radius: 999px; letter-spacing: 0.03em; }

/* ---------- Consultation ---------- */
.consult-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.consult-topics { display: grid; gap: 12px; }
.topic { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.topic .cat-icon { width: 42px; height: 42px; flex-shrink: 0; margin: 0; }
.topic h4 { font-size: 0.98rem; color: var(--navy); }
.topic p { color: var(--muted); font-size: 0.87rem; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  background: #fff; color: var(--ink); border: 1px solid #cdd8e8;
  border-radius: 8px; padding: 11px 14px;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42, 109, 244, 0.12); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { color: var(--muted); font-size: 0.83rem; margin-top: 14px; }
.form-note a { color: var(--blue); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--navy); }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 0.93rem; }

/* ---------- Contact strip ---------- */
.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow); }
.contact-card .cat-icon { margin: 0 auto 12px; }
.contact-card h4 { margin-bottom: 4px; color: var(--navy); }
.contact-card a, .contact-card span { color: var(--muted); font-size: 0.92rem; display: block; }
.contact-card a:hover { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c2cde0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 54px 0 40px; }
.footer-col h4 { margin-bottom: 14px; font-size: 0.92rem; color: #fff; letter-spacing: 0.02em; }
.footer-col a, .footer-col span, .footer-col p { display: block; color: #a7b5cd; font-size: 0.89rem; margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-col .btn { display: inline-flex; margin-top: 6px; }
.footer-brand { margin-bottom: 12px; color: #fff; }
.footer-brand .brand-text em { color: var(--sky); }
.footer-logo { height: 52px; width: auto; margin-bottom: 14px; background: #fff; border-radius: 10px; padding: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0; color: #8fa0bc; font-size: 0.84rem; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  background: #1faa53; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(31, 170, 83, 0.4); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 27px; height: 27px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 52px 0 40px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fafd 0%, #eef4fb 100%);
}
.page-hero h1 { font-size: clamp(1.65rem, 3.2vw, 2.3rem); letter-spacing: -0.02em; color: var(--navy); }
.page-hero p { color: var(--muted); margin-top: 10px; max-width: 42rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cat-grid, .contact-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .testi-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 50px; }
  .hero-visual { display: none; }
  .consult-layout, .split { grid-template-columns: 1fr; }
}
/* Seven nav items no longer fit alongside the logo and CTA below this width */
@media (max-width: 980px) {
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; background: #fff;
    flex-direction: column; padding: 16px; border-bottom: 1px solid var(--line);
    display: none; box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav .nav-link { padding: 11px 14px; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .header-cta { margin-left: auto; }
}

@media (max-width: 720px) {
  .header-cta .btn span { display: none; }
  .header-cta .btn { padding: 9px; }
  .brand-logo { height: 40px; }
  .cat-grid, .feature-grid, .testi-grid, .blog-grid, .contact-strip, .form-grid, .option-grid,
  .testi-grid.two, .pros-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .filters { grid-template-columns: 1fr; }
  .wizard { padding: 24px; }
  .section { padding: 54px 0; }
}
