/* ==========================================================
   Web Hikerz — main stylesheet
   Brand colours are defined once below. Change them here to
   re-colour the entire website.
   ========================================================== */
:root {
  --navy: #0b1b3f;
  --navy-2: #13285a;
  --primary: #0c7889;        /* logo teal */
  --primary-light: #20b8d0;  /* logo light teal */
  --primary-dark: #095f6d;
  --accent: #12b76a;         /* trail green */
  --warn: #f79009;
  --fail: #f04438;
  --text: #1a2238;
  --muted: #5b6785;
  --line: #e3e8f2;
  --bg: #ffffff;
  --bg-alt: #f5f7fc;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 27, 63, .08);
  --shadow-lg: 0 24px 60px rgba(11, 27, 63, .18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; }
img, svg { max-width: 100%; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
/* Links inside running text are underlined so they stand out (accessibility) */
main p a:not(.btn), .prose li a, .faq a { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); letter-spacing: -.02em; text-wrap: balance; }
p, li { text-wrap: pretty; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.icon { flex-shrink: 0; vertical-align: middle; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 10px; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit; text-decoration: none !important; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(12, 120, 137, .35); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--primary); color: var(--primary-dark); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .15); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #c9d3ea; font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 12px; }
.topbar a { color: #c9d3ea; display: inline-flex; align-items: center; gap: 6px; margin-right: 22px; }
.topbar-right { display: inline-flex; gap: 6px; align-items: center; }
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.logo img { display: block; height: 54px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav ul a { color: var(--text); font-weight: 600; padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.main-nav ul a:hover, .main-nav ul a.active { color: var(--primary-dark); background: #e6f6f8; text-decoration: none; }
.main-nav > ul > li > a, .nav-cta { white-space: nowrap; }
.cta-short { display: none; }
@media (max-width: 1240px) and (min-width: 961px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .main-nav { gap: 10px; }
  .main-nav > ul > li > a { padding: 8px 7px; font-size: 14.5px; }
  .logo img { height: 46px; }
}
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #dfe6f5; padding: 80px 0 90px; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(800px 400px at 85% 10%, rgba(32, 184, 208, .28), transparent 60%),
  radial-gradient(600px 400px at 10% 90%, rgba(18, 183, 106, .18), transparent 60%),
  linear-gradient(160deg, #0b1b3f 0%, #13285a 100%); }
.hero-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120 L180 50 L320 90 L520 20 L700 80 L880 30 L1060 85 L1260 40 L1440 90 L1440 120Z' fill='%23ffffff' fill-opacity='.05'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero h1 { color: #fff; }
.hero .hl { background: linear-gradient(90deg, #5fd4e6, #9ae8f3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; color: #c3cde4; max-width: 620px; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; margin-bottom: 20px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 18px; }
.hero-links a { color: #fff; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

.hero-visual { position: relative; }
.mock-card { background: #fff; color: var(--text); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(-1.5deg); }
.mock-head { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #f1f4fa; border-bottom: 1px solid var(--line); }
.mock-head span { width: 10px; height: 10px; border-radius: 50%; background: #d4dae6; }
.mock-head em { font-style: normal; font-size: 13px; color: var(--muted); margin-left: 8px; font-weight: 600; }
.mock-body { display: flex; gap: 22px; align-items: center; padding: 26px; }
.mock-score { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.mock-score svg { transform: rotate(-90deg); width: 120px; height: 120px; }
.mock-score circle { fill: none; stroke-width: 10; }
.mock-score .track { stroke: #eef1f7; }
.mock-score .bar { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: calc(327 - 327 * var(--p) / 100); }
.mock-score div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.mock-score strong { font-size: 34px; color: var(--navy); line-height: 1; }
.mock-score small { color: var(--muted); }
.mock-list { list-style: none; margin: 0; padding: 0; font-size: 14px; display: grid; gap: 8px; }
.mock-list li { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.mock-list .pass { color: #067647; }
.mock-list .warn { color: #b25e00; }
.mock-list .fail { color: #c8271b; }
.float-chip { position: absolute; background: #fff; color: var(--navy); border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 600; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow-lg); animation: float 5s ease-in-out infinite; }
.float-chip strong { color: #067647; }
.float-chip .icon { color: var(--primary); }
.chip-1 { top: -26px; right: -10px; }
.chip-2 { bottom: -20px; left: -18px; animation-delay: 1.5s; }
.mock-caption { position: absolute; bottom: -52px; right: 0; font-size: 12px; color: #8592b3; margin: 0; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Forms ---------- */
.audit-form, .lead-form, .dapa-form { display: grid; gap: 14px; }
.audit-form.compact { margin-top: 26px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); padding: 18px; border-radius: var(--radius); max-width: 640px; }
.field-row { display: flex; gap: 14px; }
.field { position: relative; display: block; }
.field.grow { flex: 1; min-width: 0; }
.field .label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8a96b3; pointer-events: none; display: flex; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15.5px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.field .input-icon + input { padding-left: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(12, 120, 137, .15); }
.field input.invalid { border-color: var(--fail); }
.compact .field input { border-color: transparent; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; justify-content: center; }
.compact .form-note { color: #b5c1dc; }
.form-note .icon { color: var(--accent); }
.form-error { background: #fff1f0; color: #b42318; border: 1px solid #fecdca; padding: 10px 14px; border-radius: 10px; font-size: 14.5px; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section.tight { padding: 50px 0 70px; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 50px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-block; color: var(--primary-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin-bottom: 10px; }
.eyebrow.light { color: #5fd4e6; }

.stats-strip { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 34px; padding-bottom: 34px; text-align: center; }
.stat strong { display: block; font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--navy); font-weight: 800; line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 600; font-size: 14.5px; }

.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tool-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; color: var(--text); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
a.tool-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #a7dde5; text-decoration: none; }
.tool-card p { color: var(--muted); }
.tool-card.featured { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #dfe6f5; border-color: transparent; }
.tool-card.featured h3 { color: #fff; }
.tool-card.featured p { color: #b9c4de; }
.tool-card.featured .link-arrow { color: #5fd4e6; }
.tool-icon, .service-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: #e6f6f8; color: var(--primary); margin-bottom: 18px; }
.featured .tool-icon { background: rgba(255, 255, 255, .1); color: #5fd4e6; }
.link-arrow { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--primary-dark); }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card h3 { font-size: 1.08rem; }
.service-card p { color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; }
.why-list { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 18px; }
.why-list li { display: flex; gap: 16px; }
.why-list li > span { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #e7f8ef; color: var(--accent); flex-shrink: 0; }
.why-list strong { display: block; color: var(--navy); }
.why-list div { color: var(--muted); font-size: 15px; }
.process { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #c8d2ea; border-radius: 22px; padding: 36px; box-shadow: var(--shadow-lg); }
.process h3 { color: #fff; font-size: 1.4rem; margin-bottom: 24px; }
.process ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.process li { display: flex; gap: 16px; }
.process li > span { font-weight: 800; color: var(--primary); font-size: 1.4rem; width: 44px; flex-shrink: 0; }
.process strong { display: block; color: #fff; font-size: 1.05rem; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { margin: 0; background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.stars { color: #fdb022; display: flex; gap: 2px; margin-bottom: 14px; }
.stars svg { fill: currentColor; }
.testimonial blockquote { margin: 0 0 20px; flex: 1; color: var(--text); }
.testimonial figcaption { display: flex; gap: 12px; align-items: center; }
.testimonial figcaption strong { display: block; color: var(--navy); }
.testimonial figcaption small { color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

.cta-band { background: linear-gradient(120deg, var(--primary) 0%, #20b8d0 100%); color: #fff; padding: 60px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #e6f6f8; max-width: 620px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.cta-band .btn-primary { background: var(--navy); box-shadow: none; }
.cta-band .btn-primary:hover { background: #050f26; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, #0b1b3f 0%, #13285a 100%); color: #c3cde4; padding: 70px 0 60px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(12, 120, 137, .25), transparent 60%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero .lead { font-size: 1.12rem; }
.page-hero.tall { padding: 110px 0; }
.big-check { width: 90px; height: 90px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin: 0 auto 24px; }

.card-title { font-size: 1.2rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-card { margin-top: -90px; position: relative; z-index: 2; box-shadow: var(--shadow-lg); }
.page-hero + .section.tight { padding-top: 0; }
.page-hero:has(+ .section.tight) { padding-bottom: 130px; }

.checks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.check-group { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.check-group h3 { display: flex; gap: 10px; align-items: center; }
.check-group h3 .icon { color: var(--primary); }
.check-group p { color: var(--muted); margin: 0; font-size: 15px; }

.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ---------- Audit results ---------- */
.audit-loading { text-align: center; padding: 50px 0 10px; }
.spinner { width: 54px; height: 54px; border: 5px solid #cdeef3; border-top-color: var(--primary); border-radius: 50%; margin: 0 auto 16px; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.loading-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 360px; text-align: left; color: var(--muted); font-size: 14.5px; }
.loading-steps li { padding: 4px 0 4px 26px; position: relative; opacity: .45; transition: opacity .3s; }
.loading-steps li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #c9d1e3; }
.loading-steps li.done { opacity: 1; color: var(--text); }
.loading-steps li.done::before { background: var(--accent); border-color: var(--accent); }

.audit-results, #dapa-results { margin-top: 40px; scroll-margin-top: 100px; }
.report-section > h3 { gap: 12px; flex-wrap: wrap; }
.report-head { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.score-ring { position: relative; width: 170px; height: 170px; }
.score-ring svg { transform: rotate(-90deg); width: 170px; height: 170px; }
.score-ring circle { fill: none; stroke-width: 13; }
.score-ring .track { stroke: #eef1f7; }
.score-ring .bar { stroke-linecap: round; stroke-dasharray: 471; stroke-dashoffset: 471; transition: stroke-dashoffset 1.2s ease-out; }
.score-ring .val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score-ring strong { font-size: 48px; line-height: 1; color: var(--navy); }
.score-ring small { color: var(--muted); font-weight: 600; }
.report-head h2 { font-size: 1.6rem; margin-bottom: .3em; word-break: break-word; }
.report-url { color: var(--muted); overflow-wrap: anywhere; font-size: 14.5px; margin-bottom: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.pill.pass { background: #e7f8ef; color: #067647; }
.pill.warn { background: #fff4e5; color: #b54708; }
.pill.fail { background: #fff1f0; color: #b42318; }
.cat-bars { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 28px 0 10px; }
.cat-bar { background: var(--bg-alt); border-radius: 12px; padding: 14px 16px; }
.cat-bar span { display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; color: var(--navy); }
.cat-bar .meter { height: 7px; background: #e1e6f0; border-radius: 99px; margin-top: 8px; overflow: hidden; }
.cat-bar .meter i { display: block; height: 100%; border-radius: 99px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 18px 0; }
.fact { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.fact small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.fact strong { font-size: 1.2rem; color: var(--navy); overflow-wrap: anywhere; line-height: 1.3; display: block; }
.report-section { margin-top: 30px; }
.report-section > h3 { display: flex; justify-content: space-between; align-items: center; }
.check-item { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.check-item:last-child { border-bottom: 0; }
.check-status { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; }
.check-item.pass .check-status { background: var(--accent); }
.check-item.warn .check-status { background: var(--warn); }
.check-item.fail .check-status { background: var(--fail); }
.check-item h4 { margin: 2px 0 4px; font-size: 1rem; color: var(--navy); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.check-item h4 small { font-weight: 600; color: var(--muted); background: var(--bg-alt); padding: 2px 8px; border-radius: 6px; font-size: 12px; }
.check-item p { margin: 0; color: var(--muted); font-size: 14.5px; word-break: break-word; }
.check-item .fix { margin-top: 6px; color: var(--text); background: #f2fafb; border-left: 3px solid var(--primary); padding: 8px 12px; border-radius: 0 8px 8px 0; }
.toggle-passed { background: none; border: 0; color: var(--primary-dark); font-weight: 700; cursor: pointer; font: inherit; font-size: 14px; }
.psi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0; }
.psi-score { text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 14px 8px; }
.psi-score strong { display: block; font-size: 1.8rem; line-height: 1.1; }
.psi-score small { color: var(--muted); font-weight: 600; font-size: 13px; }
.psi-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 28px; font-size: 14.5px; }
.psi-metrics div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding: 8px 0; }
.psi-tabs { display: flex; gap: 6px; }
.psi-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 5px 12px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.psi-tabs button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.c-good { color: #067647; } .c-mid { color: #b54708; } .c-bad { color: #b42318; }
.report-cta { margin-top: 30px; background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #c8d2ea; border-radius: var(--radius); padding: 30px; text-align: center; }
.report-cta h3 { color: #fff; font-size: 1.4rem; }
.report-cta .hero-actions { margin-top: 18px; }

/* DA/PA results */
.dapa-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.dapa-table th, .dapa-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.dapa-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.dapa-table td.num { font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.da-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-weight: 800; color: #fff; font-size: 1.1rem; }

/* ---------- Services page ---------- */
.services-detail { display: grid; gap: 30px; }
.service-row { display: grid; grid-template-columns: 120px 1fr; gap: 30px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; scroll-margin-top: 100px; }
.service-row-icon { width: 110px; height: 110px; border-radius: 24px; background: #e6f6f8; color: var(--primary); display: grid; place-items: center; }
.service-row:nth-child(even) .service-row-icon { background: #e7f8ef; color: var(--accent); }
.tick-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 20px; }
.tick-list li { display: flex; gap: 8px; align-items: flex-start; }
.tick-list .icon { color: var(--accent); margin-top: 3px; }

/* ---------- About ---------- */
.founder-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; text-align: center; box-shadow: var(--shadow-lg); }
.founder-photo { width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--primary), #20b8d0); color: #fff; font-size: 54px; font-weight: 800; display: grid; place-items: center; object-fit: cover; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: start; }
.contact-grid .form-card { margin-top: -90px; }
.contact-aside { display: grid; gap: 22px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .icon { color: var(--primary); margin-top: 3px; }
.contact-line small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.card.highlight { background: #f0f9fa; border-color: #bfe5eb; }
.tabs { display: flex; gap: 6px; background: var(--bg-alt); padding: 5px; border-radius: 12px; margin-bottom: 22px; }
.tab { flex: 1; border: 0; background: none; padding: 10px; border-radius: 9px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.tab.active { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }


/* ---------- Dropdown & mega menu ---------- */
.main-nav li { position: relative; }
.main-nav ul a .icon { margin-left: 2px; transition: transform .2s; }
.has-menu:hover > a .icon, .has-menu:focus-within > a .icon { transform: rotate(180deg); }
.mega, .dropdown { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 18px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.has-menu:hover > .mega, .has-menu:focus-within > .mega, .has-menu:hover > .dropdown, .has-menu:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.mega { width: min(1000px, 94vw); display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px 18px; }
/* The big Services menu is centred under the whole header, not under its link */
@media (min-width: 961px) {
  .header-inner { position: relative; }
  .main-nav li:has(> .mega:not(.mega-tools)) { position: static; }
}
.mega-col strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--primary-dark); margin: 4px 0 8px; }
.mega a, .dropdown a { display: flex !important; align-items: flex-start; gap: 8px; padding: 7px 8px !important; border-radius: 8px; font-size: 14px !important; font-weight: 600; color: var(--text); line-height: 1.35; }
.mega a .icon, .dropdown a .icon { color: var(--primary); margin-top: 2px; }
.mega a:hover, .dropdown a:hover { background: #e6f6f8; text-decoration: none; }
.mega-all { grid-column: 1 / -1; justify-content: flex-end; color: var(--primary-dark) !important; border-top: 1px solid var(--line); border-radius: 0 !important; margin-top: 6px; padding-top: 12px !important; }
.dropdown { width: 300px; display: grid; gap: 2px; }
.dropdown small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.new-tag { display: inline-block; background: #067647; color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; padding: 2px 6px; border-radius: 5px; vertical-align: middle; line-height: 1.4; }
.new-tag.corner { position: absolute; top: 16px; right: 16px; }

/* ---------- Cards as links ---------- */
a.service-card { display: block; position: relative; color: var(--text); text-decoration: none; }
a.service-card:hover { border-color: #a7dde5; }
.cat-title { font-size: 1.5rem; margin-bottom: 22px; padding-left: 14px; border-left: 4px solid var(--primary); }
.services-cat { padding: 50px 0 10px; }
.services-cat:last-of-type { padding-bottom: 90px; }

/* ---------- AI band ---------- */
.ai-band { background: radial-gradient(700px 300px at 85% 20%, rgba(18, 183, 106, .25), transparent 60%), linear-gradient(120deg, #0b1b3f, #1b2f6b); color: #c8d2ea; padding: 64px 0; }
.ai-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ai-band h2 { color: #fff; max-width: 720px; }
.ai-band p { max-width: 680px; margin: 0; }
.ai-band-actions { flex-shrink: 0; }

/* ---------- Service & course landing pages ---------- */
.breadcrumb { font-size: 14px; color: #9fb0d4; margin-bottom: 22px; }
.breadcrumb a { color: #dfe6f5; }
.breadcrumb span { margin: 0 4px; }
.service-hero { padding: 50px 0 80px; }
.service-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: center; }
.service-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.hero-actions.left { justify-content: flex-start; margin-top: 24px; }
.service-hero-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); border-radius: 20px; padding: 28px; }
.service-hero-icon { width: 88px; height: 88px; border-radius: 22px; background: linear-gradient(135deg, var(--primary), #20b8d0); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.tick-list.light li { color: #dfe6f5; }
.hero-card-title { color: #fff; font-weight: 700; margin: 0 0 10px; font-size: 1.05rem; }
.hero-card-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; color: #5fd4e6; font-weight: 700; }
.service-hero-card .tick-list { margin-bottom: 0; }
.tick-list.light .icon { color: #4ade80; }
.tick-list.one-col { grid-template-columns: 1fr; }
.center-intro { text-align: center; }
.prose .big, p.big { font-size: 1.15rem; color: var(--muted); }
.included-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.included-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.included-card .num { display: inline-block; font-weight: 800; color: var(--primary); font-size: 1.1rem; margin-bottom: 8px; }
.included-card h3 { font-size: 1.08rem; }
.included-card p { color: var(--muted); margin: 0; font-size: 15px; }
.why-list li div strong { margin-top: 10px; }

.lead-section { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #c8d2ea; }
.lead-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.lead-copy h2 { color: #fff; }
.lead-copy .tick-list { margin: 22px 0; }
.lead-contact { display: flex; flex-wrap: wrap; gap: 20px; }
.lead-contact a { color: #fff; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.form-card-plain { box-shadow: var(--shadow-lg); }

.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; color: var(--text); transition: transform .2s, box-shadow .2s; }
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); text-decoration: none; }
.course-card p { color: var(--muted); font-size: 15px; flex: 1; }
.course-card.flagship { border: 2px solid var(--primary); }
.course-card h3 { margin-top: 2px; }
.course-meta { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.course-meta li { display: inline-flex; gap: 6px; align-items: center; }
.course-meta .icon { color: var(--primary); }
.course-facts dl { margin: 0; display: grid; gap: 0; }
.course-facts dl div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.course-facts dl div:last-child { border-bottom: 0; }
.course-facts dt { display: flex; gap: 8px; align-items: center; color: #9fb0d4; font-weight: 600; }
.course-facts dt .icon { color: #5fd4e6; }
.course-facts dd { margin: 0; color: #fff; font-weight: 700; text-align: right; }
.course-facts dd a { color: #5fd4e6; }
.syllabus summary { justify-content: flex-start; }
.syllabus summary::after { margin-left: auto; }
.mod-num { color: var(--primary-dark); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; min-width: 82px; padding-top: 2px; }
.syllabus .tick-list { padding-bottom: 14px; }


/* ---------- Free tools ---------- */
.mega.mega-tools { width: min(560px, 92vw); grid-template-columns: 1fr 1fr; transform: translate(-50%, 8px); }
.has-menu:hover > .mega.mega-tools, .has-menu:focus-within > .mega.mega-tools { transform: translate(-50%, 0); }
.mini-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-tool { display: flex; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 18px 16px; color: var(--text); box-shadow: 0 4px 14px rgba(11, 27, 63, .05); transition: border-color .15s, transform .15s, box-shadow .15s; }
.mini-tool:hover { border-color: #a7dde5; transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.mini-icon { width: 46px; height: 46px; border-radius: 12px; background: #e6f6f8; color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.mini-text { flex: 1; min-width: 0; }
.mini-text strong { display: block; color: var(--navy); font-size: 15.5px; line-height: 1.3; margin-bottom: 4px; }
.mini-text small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.mini-arrow { color: var(--primary); margin-top: 12px; transition: transform .15s; }
.mini-tool:hover .mini-arrow { transform: translateX(3px); }
.form-step { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; margin: 18px 0 2px; padding-top: 18px; border-top: 1px solid var(--line); }
.ads-form > .form-step:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.form-step > span:first-child { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 800; flex-shrink: 0; }
.form-step .fs-text { line-height: 1.3; }
.form-step small { color: var(--muted); font-weight: 500; font-size: 14px; margin-left: 4px; }
.ads-form { display: grid; gap: 16px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.field .label small { color: var(--muted); font-weight: 500; white-space: nowrap; }
.hint { font-size: 13.5px; color: var(--muted); margin: -4px 0 0; display: flex; gap: 6px; align-items: center; }
.checklist { display: grid; gap: 10px; }
.check-q { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 0; }
.check-q legend { padding: 0; font-weight: 600; font-size: 15px; color: var(--navy); float: left; width: 100%; margin-bottom: 8px; }
.choices { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.choices input { accent-color: var(--primary); margin: 0; }
.choices label:has(input:checked) { border-color: var(--primary); background: #e6f6f8; color: var(--primary-dark); }
.pill.info { background: var(--bg-alt); color: var(--muted); }
.note { background: #f0f9fa; border-left: 3px solid var(--primary); padding: 10px 14px; border-radius: 0 8px 8px 0; margin: 14px 0 0; font-size: 14.5px; }
.tool-head { display: flex; gap: 16px; align-items: center; }
.tool-head h2 { font-size: 1.6rem; margin: 0 0 4px; word-break: break-word; }
.tool-head-icon { font-size: 40px; }
.hl-text { color: var(--primary); }
.kpi-tip { display: block; color: var(--muted); font-weight: 500; font-size: 13px; margin-top: 4px; max-width: 360px; }
.kpi-table td { vertical-align: top; }
.opportunity { margin-top: 16px; background: #e7f8ef; color: #065f3c; border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.dapa-table tr.toxic td { background: #fff7f6; }


/* ---------- Case studies ---------- */
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cs-grid.few { grid-template-columns: repeat(auto-fit, minmax(260px, 370px)); justify-content: center; }
.cs-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .2s, box-shadow .2s; }
.cs-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); text-decoration: none; }
.cs-thumb { display: block; height: 170px; background: #f1f4fa; border-bottom: 1px solid var(--line); overflow: hidden; }
.cs-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; }
.cs-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; flex: 1; }
.cs-title { font-size: 1.08rem; color: var(--navy); line-height: 1.35; }
.cs-summary { color: var(--muted); font-size: 15px; flex: 1; }
.cs-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; align-content: start; }
.cs-stats span { background: var(--bg-alt); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: var(--muted); font-weight: 600; line-height: 1.3; }
.cs-stats b { display: block; font-size: 1.25rem; color: var(--primary); margin-bottom: 2px; }
.cs-results { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.cs-results .stat strong { color: var(--primary); }
.cs-figure { margin: 0 0 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.cs-figure img { width: 100%; height: auto; display: block; border-radius: 8px; }
.cs-figure figcaption { font-size: 14px; color: var(--muted); padding: 10px 4px 2px; }
.approach-h { margin: 18px 0 8px; font-size: 1rem; color: var(--primary-dark); }
.approach-h:first-of-type { margin-top: 6px; }
.why-list li > span.red { background: #fff1f0; color: var(--fail); }
.center-note { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }


/* ---------- Case studies page ---------- */
.cs-rows { display: grid; gap: 40px; }
.cs-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.cs-row.reverse .cs-row-media { order: 2; }
.cs-row-media { display: block; border-radius: 16px; overflow: hidden; background: #fff; padding: 10px; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.cs-row-media img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; transition: transform .4s; }
.cs-row-media:hover img { transform: scale(1.03); }
.cs-row-body h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 12px 0 10px; }
.cs-row-body h2 a { color: var(--navy); }
.cs-row-body > p { color: var(--muted); }
.cs-row-tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cs-time { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.cs-row-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.cs-row-stats div { background: #f0f9fa; border-radius: 12px; padding: 12px 14px; }
.cs-row-stats strong { display: block; font-size: 1.4rem; color: var(--primary); line-height: 1.15; }
.cs-row-stats span { font-size: 12.5px; color: var(--muted); font-weight: 600; line-height: 1.3; display: block; margin-top: 4px; }
.cs-row-services { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 22px; font-size: 14px; font-weight: 600; color: var(--navy); }
.cs-row-services span { display: inline-flex; gap: 6px; align-items: center; }
.cs-row-services .icon { color: var(--accent); }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--text); }
.step-card h3 { font-size: 1.05rem; margin: 14px 0 6px; }
.step-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.step-num { position: absolute; top: 18px; right: 20px; font-weight: 800; font-size: 1.8rem; color: #e1eef1; line-height: 1; }
.step-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #e6f6f8; color: var(--primary); }
.step-cta { background: linear-gradient(160deg, var(--navy), var(--navy-2)); border-color: transparent; color: #c8d2ea; }
.step-cta h3 { color: #fff; }
.step-cta p { color: #b9c4de; margin-bottom: 12px; }
.step-cta .step-icon { background: rgba(255, 255, 255, .1); color: #5fd4e6; }
.step-cta .link-arrow { color: #5fd4e6; }
a.step-cta:hover { text-decoration: none; transform: translateY(-3px); }

.deliv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.deliv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.deliv-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.deliv-head .tool-icon { margin: 0; width: 48px; height: 48px; }
.deliv-head h3 { margin: 0; font-size: 1.08rem; }
.deliv-card .tick-list { margin: 0; gap: 6px; font-size: 15px; }

.cadence { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cadence div { padding: 22px; text-align: center; border-right: 1px solid var(--line); }
.cadence div:last-child { border-right: 0; }
.cadence strong { display: block; color: var(--primary); font-size: 1.15rem; }
.cadence span { color: var(--muted); font-size: 14.5px; }
.certs-block { margin-top: 50px; }
.certs-block h3 { margin-bottom: 0; }

/* ---------- Certifications ---------- */
.certs { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 26px; }
.center .certs, .narrow.center .certs { justify-content: center; }
.cert { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 16px 10px 10px; color: var(--navy); text-align: left; }
a.cert:hover { border-color: var(--primary); text-decoration: none; }
.cert-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: conic-gradient(from 200deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4); }
.cert strong { display: block; font-size: 15px; line-height: 1.2; }
.cert small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.cert-link { color: var(--primary); }
.founder-card .certs { justify-content: center; margin: 14px 0 18px; }

/* ---------- Consultation slot picker & map ---------- */
.slot-picker { border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px 6px; margin: 0; display: grid; gap: 12px; background: #fbfcfe; }
.slot-picker legend { padding: 0 6px; margin-left: -6px; font-weight: 700; color: var(--navy); font-size: 14px; }
.field .label.small { font-size: 13px; color: var(--muted); }
.slot-hint { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: -2px 0 8px; }
.slot-hint .icon { margin-top: 2px; color: var(--primary); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #e9eef5; aspect-ratio: 16 / 7; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 680px) { .map-wrap { aspect-ratio: 4 / 3; } }

/* ---------- Footer ---------- */
.site-footer { background: #071330; color: #9fadcc; padding-top: 70px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer h3, .site-footer .footer-title { color: #fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #c4cee6; }
.site-footer a:hover { color: #fff; }
.footer-about img { margin-bottom: 16px; height: 58px; width: auto; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { color: var(--primary); margin-top: 4px; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; }
.social a:hover { background: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; font-size: 14px; }
.footer-bottom p { margin: 0; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); z-index: 60; transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }
.mobile-bar { display: none; }

/* ---------- Admin ---------- */
.admin { background: var(--bg-alt); }
.admin-header { background: var(--navy); }
.admin-header .header-inner { min-height: 64px; }
.admin-main { padding: 40px 20px 80px; }
.narrow-card { max-width: 460px; margin: 40px auto; display: grid; gap: 14px; }
.narrow-card h1 { font-size: 1.6rem; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-top h1 { margin: 0; }
.setup-card { margin-bottom: 20px; border-left: 4px solid var(--warn); }
.setup-card p { margin: 6px 0; font-size: 14.5px; }
.setup-card.ok { border-left-color: var(--accent); }
.setup-card code { background: var(--bg-alt); padding: 1px 6px; border-radius: 5px; }
.mail-log { margin-top: 14px; }
.mail-log summary { cursor: pointer; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.admin-stats .card { padding: 18px 22px; }
.admin-stats strong { display: block; font-size: 2rem; color: var(--navy); line-height: 1.1; }
.admin-stats span { color: var(--muted); font-weight: 600; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.admin-filters a { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 14px; }
.admin-filters a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.leads-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.leads-table th, .leads-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.leads-table th { background: #f8fafd; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.leads-table td.details { max-width: 380px; color: var(--muted); }
.tag { background: #e6f6f8; color: var(--primary-dark); padding: 3px 9px; border-radius: 6px; font-weight: 700; font-size: 12.5px; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav ul a { padding: 8px 8px; font-size: 14.5px; }
  .mega { grid-template-columns: repeat(3, 1fr); }
  .mini-tools { grid-template-columns: repeat(2, 1fr); }
  .main-nav { gap: 12px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-header { backdrop-filter: none; background: #fff; }
  .main-nav:not(.open) { visibility: hidden; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: #fff; flex-direction: column; align-items: stretch; padding: 90px 22px 22px; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .25s, visibility .25s; z-index: 70; overflow-y: auto; }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { display: block; padding: 12px 14px; font-size: 16px; }
  .nav-toggle[aria-expanded="true"] { position: fixed; right: 16px; top: 16px; z-index: 80; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 30px auto 0; }
  .tools-grid, .testimonials, .checks-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .contact-grid .form-card { margin-top: -90px; }
  .contact-aside { order: 2; }
  .service-hero-grid, .lead-grid { grid-template-columns: 1fr; }
  .included-grid, .courses-grid, .cs-grid, .deliv-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .cs-row { grid-template-columns: 1fr; gap: 24px; }
  .cs-row.reverse .cs-row-media { order: 0; }
  .cadence { grid-template-columns: 1fr 1fr; }
  .cadence div:nth-child(2) { border-right: 0; }
  .cadence div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ai-band-inner { flex-direction: column; align-items: flex-start; }
  .main-nav { width: min(360px, 90vw); }
  .has-menu > a { display: flex !important; justify-content: space-between; align-items: center; }
  .mega, .dropdown { position: static; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 8px 10px; width: auto; display: none; grid-template-columns: 1fr; }
  .has-menu.open > .mega, .has-menu.open > .dropdown { display: grid; }
  .mega.mega-tools { grid-template-columns: 1fr; width: auto; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .has-menu.open > a .icon { transform: rotate(180deg); }
  .has-menu:hover > a .icon { transform: none; }
  .has-menu::after { display: none; }
  .mega-all { justify-content: flex-start; }
}
@media (max-width: 680px) {
  body { font-size: 15.5px; padding-bottom: 62px; }
  .logo img { height: 46px; }
  .topbar-right, .topbar a:nth-child(2) { display: none; }
  .hero { padding: 50px 0 70px; }
  .field-row { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .services-grid, .tools-grid, .testimonials, .checks-grid, .footer-grid, .admin-stats, .included-grid, .courses-grid, .cs-grid, .deliv-grid, .steps-grid { grid-template-columns: 1fr; }
  .cs-row { padding: 16px; border-radius: 18px; }
  .cs-row-stats { grid-template-columns: 1fr 1fr; }
  .service-hero { padding: 36px 0 60px; }
  /* Compact cards on phones: icon beside text, shorter page */
  .services-grid .service-card { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 18px; }
  .services-grid .service-card .service-icon { width: 46px; height: 46px; margin: 0; grid-row: span 3; }
  .services-grid .service-card h3 { margin: 0 0 4px; font-size: 1rem; }
  .services-grid .service-card p { margin: 0 0 8px; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .services-grid .service-card .link-arrow { font-size: 14px; }
  .services-grid .service-card .new-tag.corner { top: 10px; right: 10px; }
  .services-grid { gap: 12px; }
  /* Footer links in two columns */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid .footer-about { grid-column: 1 / -1; }
  .site-footer { font-size: 14px; }
  .form-note { font-size: 12.5px; gap: 2px 8px; }
  .form-step small { display: block; margin: 2px 0 0; }
  .center-intro { text-align: left; }
  .service-hero-icon { display: none; }
  .hero-card-title { margin-top: 0; }

  .metric-grid, .mini-tools { grid-template-columns: 1fr; }
  .mega.mega-tools { grid-template-columns: 1fr; }
  .hero-actions.left .btn { width: 100%; }
  .section { padding: 60px 0; }
  .card { padding: 20px; }
  .report-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .report-head .pills { justify-content: center; }
  .psi-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 1fr; padding: 24px; }
  .service-row-icon { width: 76px; height: 76px; }
  .chip-1 { right: 0; } .chip-2 { left: 0; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .whatsapp-float { bottom: 76px; right: 14px; width: 52px; height: 52px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); z-index: 55; box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; font-size: 12.5px; font-weight: 700; color: var(--navy); text-decoration: none; }
  .mobile-bar a.primary { background: var(--primary); color: #fff; }
  .dapa-table thead { display: none; }
  .dapa-table tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); padding: 10px 0; }
  .dapa-table td { border: 0; padding: 6px 4px; }
  .dapa-table td::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; }
  .dapa-table td:first-child { grid-column: 1 / -1; }
  .leads-table thead { display: none; }
  .leads-table tr { display: block; border-bottom: 2px solid var(--line); padding: 8px 0; }
  .leads-table td { display: block; border: 0; padding: 4px 14px; }
  .leads-table td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
