/*
Theme Name: MakingITworc
Theme URI: https://makingitworc.ca
Author: MakingITworc
Author URI: https://makingitworc.ca
Description: Custom WordPress theme for MakingITworc — Ontario IT services. Navy + red brand with Inter typography, real Dell product photos, Square Appointments integration, and Brevo form routing.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary — © MakingITworc
License URI: https://makingitworc.ca
Text Domain: makingitworc
Tags: business, custom-menu, featured-images, one-column
*/

/* MakingITworc theme styles */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #2C2C2A; background: #FAFAF7; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F1EFE8;
  --bg-tertiary: #FAFAF7;
  --text-primary: #2C2C2A;
  --text-secondary: #5F5E5A;
  --text-tertiary: #888780;
  --border: rgba(0,0,0,0.12);
  --border-strong: rgba(0,0,0,0.25);
  --brand: #1B3A6B;
  --brand-dark: #0F2548;
  --accent: #A32D2D;
  --accent-dark: #791F1F;
  --radius-md: 8px;
  --radius-lg: 12px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
html { scroll-behavior: smooth; }

/* Skip-to-content link — hidden until focused via keyboard */
.skip-link { position: absolute; top: -40px; left: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 0 0 6px 6px; text-decoration: none; font-size: 13px; font-weight: 600; z-index: 100; }
.skip-link:focus { top: 0; }

/* Focus states — keyboard a11y polish */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Scroll-fade — sections fade up as they enter view. Triggered by JS adding .in-view */
[data-animate] { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
[data-animate].in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Book-a-call "What to expect" steps */
.book-expect { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.book-expect-card { background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.book-expect-num { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 12px; }
.book-expect-card h4 { font-size: 15px; color: var(--brand); margin: 0 0 6px; }
.book-expect-card p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.55; }

/* "What to have ready" card on Book page */
.ready-card { background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px 28px; margin-top: 32px; border-left: 3px solid var(--accent); }
.ready-card h3 { font-size: 16px; color: var(--brand); margin: 0 0 6px; font-weight: 700; }
.ready-card > p { font-size: 13px; color: var(--text-tertiary); margin: 0 0 14px; font-style: italic; }
.ready-list { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--text-primary); }
.ready-list li { padding: 6px 0 6px 24px; position: relative; line-height: 1.5; }
.ready-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border: 1.5px solid var(--accent); border-radius: 2px; }

/* "What we don't do" list on About page */
.dont-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.dont-item { display: flex; gap: 16px; background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; }
.dont-mark { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(163, 45, 45, 0.08); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; line-height: 1; }
.dont-item h4 { font-size: 14px; font-weight: 600; color: var(--brand); margin: 0 0 4px; }
.dont-item p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* 404 page */
.notfound-code { font-size: 96px; font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: -0.03em; opacity: 0.15; margin-bottom: 4px; }
.notfound-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 760px; margin: 0 auto; }
.notfound-link { display: flex; flex-direction: column; gap: 3px; background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-md); padding: 14px 18px; text-align: left; transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease; }
.notfound-link:hover { border-color: var(--brand); box-shadow: 0 6px 16px rgba(15, 37, 72, 0.06); transform: translateY(-2px); }
.notfound-link-label { font-size: 14px; font-weight: 600; color: var(--brand); }
.notfound-link-desc { font-size: 12px; color: var(--text-tertiary); }

/* Audience cards (homepage) */
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.audience-card { background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; border-top: 3px solid var(--brand); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.audience-card:hover { box-shadow: 0 10px 24px rgba(15, 37, 72, 0.07); transform: translateY(-2px); }
.audience-card:nth-child(2) { border-top-color: var(--accent); }
.audience-card:nth-child(3) { border-top-color: #1D9E75; }
.audience-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--text-tertiary); margin-bottom: 10px; }
.audience-card h4 { font-size: 18px; color: var(--brand); margin: 0 0 10px; font-weight: 700; }
.audience-card > p { font-size: 13px; color: var(--text-secondary); margin: 0 0 14px; line-height: 1.6; }
.audience-list { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.audience-list li { padding: 4px 0 4px 18px; position: relative; color: var(--text-primary); line-height: 1.5; }
.audience-list li::before { content: "→"; position: absolute; left: 0; top: 4px; color: var(--accent); font-weight: 700; }

/* Deliverable cards (Network & Security) */
.deliverable-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 960px; margin: 24px auto 0; }
.deliverable-card { background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
.deliverable-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; background: rgba(27, 58, 107, 0.08); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.deliverable-icon svg { width: 22px; height: 22px; }
.deliverable-card h4 { font-size: 15px; color: var(--brand); margin: 0 0 6px; font-weight: 600; }
.deliverable-card p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* Grant cycle advisory (Non-profit) */
.grant-advisory { background: linear-gradient(135deg, #F7F1E8, #FBE9C2); border-radius: var(--radius-lg); padding: 32px 36px; display: flex; gap: 24px; align-items: flex-start; }
.grant-advisory-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; background: rgba(99, 56, 6, 0.1); color: #633806; display: flex; align-items: center; justify-content: center; }
.grant-advisory-icon svg { width: 26px; height: 26px; }
.grant-advisory h3 { font-size: 20px; color: #633806; margin: 0 0 10px; font-weight: 700; }
.grant-advisory > div > p { font-size: 14px; color: #4F2D04; margin: 0 0 18px; line-height: 1.7; }
.grant-timeline { display: flex; gap: 0; flex-wrap: wrap; border-top: 0.5px solid rgba(99, 56, 6, 0.18); padding-top: 16px; }
.grant-timeline-step { flex: 1; min-width: 140px; padding: 8px 12px 8px 0; }
.grant-timeline-when { font-size: 12px; font-weight: 700; color: #633806; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.grant-timeline-what { font-size: 13px; color: #4F2D04; line-height: 1.5; }

/* Tools we use pills (About) */
.tools-grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.tool-pill { background: var(--bg-primary); border: 0.5px solid var(--border); color: var(--text-primary); padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; transition: border-color 0.15s, background 0.15s; }
.tool-pill:hover { border-color: var(--brand); background: var(--bg-secondary); }

/* Call outcomes (Book) */
.outcomes-section { margin-top: 40px; padding-top: 36px; border-top: 0.5px solid var(--border); }
.outcomes-title { font-size: 20px; color: var(--brand); text-align: center; margin: 0 0 6px; font-weight: 700; }
.outcomes-sub { font-size: 14px; color: var(--text-secondary); text-align: center; margin: 0 0 24px; }
.outcomes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.outcome-card { background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 22px; text-align: center; }
.outcome-pct { font-size: 32px; font-weight: 700; color: var(--brand); letter-spacing: -0.02em; line-height: 1; margin-bottom: 10px; }
.outcome-card h4 { font-size: 15px; color: var(--brand); margin: 0 0 8px; font-weight: 600; }
.outcome-card p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.55; }

/* Sustainability card (Laptops) */
.sustain-card { background: linear-gradient(135deg, #E1F5EE, #F0FDF9); border: 0.5px solid rgba(29, 158, 117, 0.2); border-radius: var(--radius-lg); padding: 28px 32px; margin-top: 32px; display: flex; gap: 22px; align-items: flex-start; max-width: 960px; margin-left: auto; margin-right: auto; }
.sustain-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: rgba(29, 158, 117, 0.18); color: #0D7A5A; display: flex; align-items: center; justify-content: center; }
.sustain-icon svg { width: 24px; height: 24px; }
.sustain-card h3 { font-size: 18px; color: #085041; margin: 0 0 8px; font-weight: 700; }
.sustain-card > div > p { font-size: 14px; color: #0D4A3B; margin: 0 0 10px; line-height: 1.65; }

/* Referral / "How we grow" cards on About page */
.referral-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.referral-card { background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; border-left: 3px solid var(--accent); transition: box-shadow 0.2s ease; }
.referral-card:hover { box-shadow: 0 8px 20px rgba(15, 37, 72, 0.06); }
.referral-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(163, 45, 45, 0.08); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.referral-icon svg { width: 20px; height: 20px; }
.referral-card h4 { font-size: 15px; color: var(--brand); margin: 0 0 8px; font-weight: 600; }
.referral-card p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.6; }
.referral-note { font-size: 14px; color: var(--text-secondary); text-align: center; margin: 28px auto 0; font-style: italic; max-width: 560px; }

/* Header — centered logo with nav below, dropdown support */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg-primary); border-bottom: 0.5px solid var(--border); }
.header-top { position: relative; display: flex; justify-content: center; align-items: center; padding: 18px 28px 10px; }
.logo-wrap { display: inline-flex; align-items: center; }
.logo-img, .custom-logo { height: 48px; width: auto; display: block; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 28px; padding: 6px 28px 14px; flex-wrap: wrap; }
.nav-links { display: flex; gap: 22px; font-size: 13px; color: var(--text-secondary); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links li { list-style: none; position: relative; }
.nav-links a.active, .nav-links a:hover, .nav-links .current-menu-item > a { color: var(--text-primary); }
.nav-cta { font-size: 13px; padding: 8px 16px; border: 0.5px solid var(--border-strong); border-radius: var(--radius-md); color: var(--text-primary); transition: background 0.15s; }
.nav-cta:hover { background: var(--bg-secondary); }

/* Dropdown submenus (desktop) */
.nav-links .menu-item-has-children > a::after { content: " ▾"; font-size: 9px; opacity: 0.7; }
.nav-links .sub-menu { list-style: none; margin: 0; padding: 8px 0; display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-md); min-width: 200px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 20; }
.nav-links .menu-item-has-children:hover > .sub-menu,
.nav-links .menu-item-has-children:focus-within > .sub-menu { display: block; }
.nav-links .sub-menu a { display: block; padding: 8px 18px; font-size: 13px; white-space: nowrap; color: var(--text-secondary); }
.nav-links .sub-menu a:hover { background: var(--bg-secondary); color: var(--text-primary); }

/* Mobile menu toggle */
.nav-toggle { display: none; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); background: transparent; border: 0.5px solid var(--border-strong); border-radius: var(--radius-md); padding: 6px 10px; cursor: pointer; font-size: 16px; }

/* Container */
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.section { padding: 56px 0; }
.section-sm { padding: 40px 0; }

/* Typography */
h1 { font-size: 36px; font-weight: 600; line-height: 1.2; margin: 0 0 14px; letter-spacing: -0.01em; color: var(--brand); }
h2 { font-size: 24px; font-weight: 600; margin: 0 0 8px; color: var(--brand); }
h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
h4 { font-size: 15px; font-weight: 600; margin: 0 0 6px; }
p { margin: 0 0 12px; color: var(--text-secondary); }
.section-title { font-size: 22px; font-weight: 600; margin: 0 0 6px; color: var(--brand); }
.section-sub { font-size: 14px; color: var(--text-secondary); margin: 0 0 24px; }
.lead { font-size: 16px; color: var(--text-secondary); max-width: 640px; line-height: 1.65; }

/* Buttons */
.btn { display: inline-block; padding: 10px 18px; font-size: 14px; border-radius: var(--radius-md); border: 0.5px solid transparent; cursor: pointer; transition: opacity 0.15s; font-family: inherit; font-weight: 500; }
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-secondary { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg-secondary); }

/* Hero */
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--text-secondary); margin-top: 20px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #1D9E75; }

/* Mini form */
.mini-form { background: var(--bg-secondary); border-radius: var(--radius-lg); padding: 22px; }
.mini-form h3 { margin: 0 0 14px; font-size: 15px; color: var(--brand); }
.mini-form input, .mini-form select, .mini-form textarea { width: 100%; background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-md); padding: 10px 12px; font-size: 13px; color: var(--text-primary); margin-bottom: 8px; font-family: inherit; outline: none; }
.mini-form input::placeholder, .mini-form textarea::placeholder { color: var(--text-tertiary); }
.mini-form input:focus, .mini-form select:focus, .mini-form textarea:focus { border-color: var(--brand); }
.mini-form textarea { resize: vertical; min-height: 72px; }

/* Service cards */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.svc-card { background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 20px; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; display: block; color: inherit; }
a.svc-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15, 37, 72, 0.08); border-color: rgba(27, 58, 107, 0.35); }
.svc-card h4 { font-size: 15px; font-weight: 600; margin: 0 0 6px; color: var(--brand); }
.svc-card p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.6; }
.svc-icon { width: 40px; height: 40px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.svc-icon svg { width: 20px; height: 20px; }

/* Technologies strip */
.tech-strip { background: var(--bg-secondary); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); padding: 22px 0; }
.tech-strip-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.tech-strip-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: var(--text-tertiary); }
.tech-strip-items { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tech-badge { background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-md); padding: 8px 14px; font-size: 13px; font-weight: 500; color: var(--text-primary); }

/* Recent-wins big numbers (dark section variant) */
.win-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.win-card { background: #1B3A6B; border: 1px solid #2D4F87; border-radius: var(--radius-lg); padding: 24px; }
.win-num { font-size: 36px; font-weight: 700; color: #FFFFFF; line-height: 1; margin-bottom: 10px; letter-spacing: -0.01em; }
.win-num .win-unit { font-size: 18px; font-weight: 500; color: #B4B2A9; margin-left: 4px; }
.win-card p { color: #D3D1C7; font-size: 13px; margin: 0; line-height: 1.6; }

/* Final CTA section */
.cta-band { background: linear-gradient(135deg, #1B3A6B 0%, #0F2548 100%); color: #FFFFFF; padding: 56px 0; text-align: center; }
.cta-band h2 { color: #FFFFFF; font-size: 28px; margin: 0 0 10px; }
.cta-band p { color: #D3D1C7; font-size: 15px; max-width: 560px; margin: 0 auto 24px; }
.cta-band .btn-primary { background: var(--accent); border: none; padding: 12px 24px; font-size: 14px; }
.cta-band .btn-primary:hover { background: var(--accent-dark); }
.cta-band .btn-secondary { background: transparent; color: #FFFFFF; border: 0.5px solid rgba(255,255,255,0.4); margin-left: 8px; }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,0.08); }

/* Hero polish */
.hero-section { background: radial-gradient(ellipse at top left, rgba(27, 58, 107, 0.04), transparent 60%), var(--bg-tertiary); position: relative; overflow: hidden; }
.hero-section::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(27, 58, 107, 0.09) 1px, transparent 0); background-size: 20px 20px; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 15% 60%, black 0%, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 15% 60%, black 0%, transparent 70%); pointer-events: none; z-index: 0; }
.hero-section .container { position: relative; z-index: 1; }
.hero-accent { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.hero-bold { color: var(--brand); font-weight: 800; }
h1 .hero-bold { background: linear-gradient(120deg, var(--brand) 0%, #2D5A9C 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Audience route buttons (homepage hero) */
.audience-route { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.audience-route-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--bg-primary); border: 0.5px solid var(--border-strong); border-radius: var(--radius-md); padding: 12px 18px; font-size: 13px; color: var(--text-primary); transition: border-color 0.15s, background 0.15s, transform 0.15s; }
.audience-route-btn:hover { border-color: var(--brand); background: var(--bg-secondary); transform: translateX(2px); }
.audience-route-label { font-weight: 500; }
.audience-route-arrow { color: var(--accent); font-weight: 700; transition: transform 0.15s; }
.audience-route-btn:hover .audience-route-arrow { transform: translateX(3px); }

/* Our process */
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.process-step { background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 22px; position: relative; }
.process-num { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 14px; display: block; }
.process-step h4 { font-size: 16px; color: var(--brand); margin: 0 0 8px; }
.process-step p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.6; }
.process-step::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--text-tertiary); font-size: 18px; opacity: 0.6; }
.process-step:last-child::after { display: none; }

/* FAQ section */
.faq-section { max-width: 760px; margin: 0 auto; }

/* Dark section */
.dark-section { background: #0F2548; color: #F1EFE8; }
.dark-section .section-title { color: #FFFFFF; }
.dark-section .section-sub { color: #B4B2A9; }
.dark-section .svc-card { background: #1B3A6B; border-color: #2D4F87; }
.dark-section .svc-card h4 { color: #FFFFFF; }
.dark-section .svc-card p { color: #D3D1C7; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat { background: var(--bg-secondary); border-radius: var(--radius-md); padding: 18px; }
.stat-num { font-size: 26px; font-weight: 600; margin-bottom: 2px; color: var(--brand); }
.stat-lbl { font-size: 13px; color: var(--text-secondary); }

/* Tiers */
.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tier { background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.tier.featured { border: 2px solid var(--brand); }
.tier-badge { display: inline-block; font-size: 11px; background: #E6F1FB; color: var(--brand); padding: 4px 10px; border-radius: 12px; margin-bottom: 10px; font-weight: 500; }
.tier-name { font-size: 16px; font-weight: 600; margin: 0 0 4px; color: var(--brand); }
.tier-sub { font-size: 13px; color: var(--text-secondary); margin: 0 0 14px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: 13px; color: var(--text-secondary); line-height: 2; }
.tier ul li { padding-left: 18px; position: relative; }
.tier ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: #1D9E75; }
.tier .btn { display: block; text-align: center; }
.tier-badge-slot { min-height: 26px; margin-bottom: 0; }
#tier-grid .tier { cursor: pointer; transition: border-color 0.15s, transform 0.15s; user-select: none; }
#tier-grid .tier:hover { border-color: var(--border-strong); }
#tier-grid .tier.featured:hover { border-color: var(--brand); }
#tier-grid .tier:active { transform: scale(0.995); }
#tier-grid .tier:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Product grid (Meraki) */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.prod { background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-md); padding: 14px; }
.prod-model { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--brand); }
.prod-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

/* Dark hero for network/security */
.net-sec-hero { background: #0F2548; color: #F1EFE8; padding: 64px 0; }
.net-sec-hero h1 { color: #FFFFFF; }
.net-sec-hero .lead { color: #D3D1C7; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.pill { font-size: 12px; background: #1B3A6B; color: #F1EFE8; padding: 6px 12px; border-radius: 14px; }

/* Non-profit banner */
.np-banner { background: #E1F5EE; border-radius: var(--radius-lg); padding: 26px; margin-bottom: 28px; }
.np-banner h3 { font-size: 18px; font-weight: 600; color: #085041; margin: 0 0 6px; }
.np-banner p { font-size: 14px; color: #085041; margin: 0; line-height: 1.6; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; align-items: start; }
.portrait { aspect-ratio: 1; background: var(--bg-secondary); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: var(--text-tertiary); font-size: 13px; }
.cred-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.cred { background: var(--bg-secondary); border-radius: var(--radius-md); padding: 12px; text-align: center; font-size: 12px; color: var(--text-secondary); }
.cred strong { display: block; font-size: 15px; font-weight: 600; color: var(--brand); margin-bottom: 2px; }

/* FAQ */
.faq-item { border-bottom: 0.5px solid var(--border); padding: 16px 0; cursor: pointer; }
.faq-q { font-size: 14px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.faq-a { font-size: 13px; color: var(--text-secondary); margin-top: 8px; line-height: 1.65; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-toggle::before { content: "−"; }
.faq-toggle::before { content: "+"; font-size: 18px; color: var(--text-secondary); }
.faq-item.featured { padding: 22px 0; border-bottom-width: 1px; border-bottom-color: var(--border-strong); }
.faq-item.featured .faq-q { font-size: 18px; font-weight: 700; color: var(--brand); }
.faq-item.featured .faq-a { font-size: 15px; color: var(--text-primary); margin-top: 12px; line-height: 1.7; }
.faq-item.featured .faq-toggle::before { font-size: 22px; color: var(--brand); }

/* Trust bar (laptops hero) */
.trust-bar { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 0.5px solid var(--border); font-size: 13px; color: var(--text-secondary); }
.trust-bar span { display: inline-flex; align-items: center; gap: 8px; }
.trust-bar svg { width: 16px; height: 16px; color: #1D9E75; flex-shrink: 0; }

/* Laptop listings — Amazon-style 3-column product grid */
.lap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1160px; margin: 0 auto; }
.lap-card { background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-lg); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.lap-card:hover { box-shadow: 0 12px 32px rgba(15, 37, 72, 0.09); transform: translateY(-2px); border-color: rgba(27, 58, 107, 0.25); }

.lap-status-bar { display: flex; justify-content: space-between; align-items: center; padding: 9px 16px; background: var(--bg-secondary); border-bottom: 0.5px solid var(--border); font-size: 11px; }
.lap-status-bar .in-stock { color: #0D7A5A; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; display: inline-flex; align-items: center; gap: 6px; }
.lap-status-bar .in-stock::before { content: ""; width: 7px; height: 7px; background: #1D9E75; border-radius: 50%; display: inline-block; }
.lap-status-bar .ship-from { color: var(--text-tertiary); font-weight: 500; }

.lap-gallery { padding: 18px 18px 0; display: flex; flex-direction: column; gap: 8px; }
.lap-main-img { background: var(--bg-secondary); border-radius: var(--radius-md); aspect-ratio: 4/3; overflow: hidden; position: relative; }
.lap-main-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lap-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.lap-thumb { background: var(--bg-secondary); border-radius: 6px; aspect-ratio: 1/1; border: 2px solid transparent; cursor: pointer; overflow: hidden; transition: border-color 0.15s; }
.lap-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lap-thumb.active { border-color: var(--brand); }
.lap-thumb:hover { border-color: rgba(27, 58, 107, 0.4); }
.lap-thumb.spin360 { display: flex; align-items: center; justify-content: center; background: var(--bg-primary); border: 0.5px dashed var(--border-strong); color: var(--text-secondary); font-size: 9px; font-weight: 600; cursor: pointer; text-align: center; line-height: 1.15; padding: 2px; }
.lap-thumb.spin360:hover { background: var(--bg-secondary); color: var(--brand); border-style: solid; border-color: var(--brand); }

.lap-info { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.lap-info h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--brand); letter-spacing: -0.01em; }
.lap-variant { display: inline-block; font-size: 11px; font-weight: 600; background: var(--bg-secondary); color: var(--text-secondary); padding: 2px 8px; border-radius: 10px; margin-left: 4px; vertical-align: middle; }
.lap-tagline { font-size: 12px; color: var(--text-tertiary); margin-bottom: 14px; }

.lap-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 0.5px solid var(--border); }
.lap-price { font-size: 32px; font-weight: 700; color: var(--brand); line-height: 1; letter-spacing: -0.02em; }
.lap-price-suffix { font-size: 12px; color: var(--text-tertiary); font-weight: 500; }

.lap-features { list-style: none; padding: 0; margin: 0 0 18px; font-size: 13px; }
.lap-features li { padding: 3px 0 3px 22px; position: relative; color: var(--text-primary); line-height: 1.5; }
.lap-features li::before { content: "✓"; position: absolute; left: 0; top: 3px; color: #1D9E75; font-weight: 700; font-size: 14px; }

.lap-actions { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.lap-actions .btn { font-size: 13px; padding: 11px 16px; text-align: center; }

/* Placeholder laptop cards — for models not yet fully photographed/spec'd */
.lap-card-placeholder { opacity: 0.95; }
.lap-card-placeholder .lap-status-bar .coming-soon { color: #633806; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; display: inline-flex; align-items: center; gap: 6px; }
.lap-card-placeholder .lap-status-bar .coming-soon::before { content: ""; width: 7px; height: 7px; background: #D68E2F; border-radius: 50%; display: inline-block; }
.lap-placeholder-img { display: flex; align-items: center; justify-content: center; background: var(--bg-secondary); color: var(--text-tertiary); }
.lap-placeholder-img svg { width: 60px; height: 60px; opacity: 0.5; }
.lap-price-tbd { font-size: 16px !important; font-weight: 600; color: var(--text-secondary) !important; letter-spacing: 0 !important; }

/* Spec comparison table */
.spec-compare-wrap { overflow-x: auto; max-width: 1160px; margin: 24px auto 0; }
.spec-compare-table { width: 100%; border-collapse: collapse; background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; font-size: 13px; min-width: 640px; }
.spec-compare-table th { background: var(--bg-primary); padding: 16px 18px; text-align: left; font-weight: 700; color: var(--brand); font-size: 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.spec-compare-table td { padding: 12px 18px; border-top: 0.5px solid var(--border); color: var(--text-primary); vertical-align: top; }
.spec-compare-table tbody tr:nth-child(even) { background: var(--bg-tertiary); }
.spec-compare-table td:first-child { color: var(--text-tertiary); font-weight: 500; width: 180px; }
.spec-compare-table .spec-yes { color: #1D9E75; font-weight: 700; font-size: 16px; }
.spec-compare-table .spec-no { color: var(--text-tertiary); }
.lap-variant-inline { display: inline-block; font-size: 10px; font-weight: 600; background: var(--bg-secondary); color: var(--text-secondary); padding: 2px 6px; border-radius: 8px; margin-left: 2px; vertical-align: middle; }

/* Trade-in / buyback section */
.buyback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1000px; margin: 24px auto 0; }
.buyback-card { background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden; transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.buyback-card:hover { box-shadow: 0 10px 24px rgba(15, 37, 72, 0.07); border-color: rgba(27, 58, 107, 0.25); }
.buyback-card::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--accent); }
.buyback-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--brand); }
.buyback-icon svg { width: 24px; height: 24px; }
.buyback-card h3 { font-size: 18px; color: var(--brand); margin: 0 0 10px; font-weight: 700; }
.buyback-card > p { font-size: 14px; color: var(--text-secondary); margin: 0 0 16px; line-height: 1.65; }
.buyback-list { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.buyback-list li { padding: 5px 0 5px 20px; position: relative; color: var(--text-primary); line-height: 1.5; }
.buyback-list li::before { content: "→"; position: absolute; left: 0; top: 5px; color: var(--accent); font-weight: 700; }
.buyback-note { font-size: 13px; color: var(--text-tertiary); text-align: center; margin: 24px auto 0; max-width: 680px; font-style: italic; }

/* Reason cards — "Why buy from us" */
.reasons-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; max-width: 1120px; margin-left: auto; margin-right: auto; }
.reason-card { background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 22px; transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.reason-card:hover { box-shadow: 0 8px 20px rgba(15, 37, 72, 0.06); border-color: rgba(27, 58, 107, 0.25); }
.reason-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(29, 158, 117, 0.12); color: #0D7A5A; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.reason-icon svg { width: 20px; height: 20px; }
.reason-card h4 { font-size: 15px; color: var(--brand); margin: 0 0 6px; font-weight: 600; }
.reason-card p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* Payment cards */
.pay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.pay-card { background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.pay-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--brand); }
.pay-icon svg { width: 22px; height: 22px; }
.pay-card h4 { font-size: 16px; font-weight: 600; margin: 0 0 8px; color: var(--brand); }
.pay-card p { font-size: 13px; color: var(--text-secondary); margin: 0 0 12px; line-height: 1.6; }
.pay-card .detail { font-size: 12px; color: var(--text-tertiary); display: block; }

/* 360° modal */
.spin-modal { display: none; position: fixed; inset: 0; background: rgba(15, 37, 72, 0.75); z-index: 100; align-items: center; justify-content: center; padding: 20px; }
.spin-modal.open { display: flex; }
.spin-modal-inner { background: var(--bg-primary); border-radius: var(--radius-lg); padding: 22px; max-width: 480px; width: 100%; }
.spin-modal h3 { margin: 0 0 6px; color: var(--brand); font-size: 17px; }
.spin-modal p { font-size: 13px; margin: 0 0 14px; line-height: 1.6; }
.spin-modal .close-x { float: right; cursor: pointer; font-size: 22px; color: var(--text-tertiary); line-height: 1; padding: 0 4px; user-select: none; }
.spin-preview { background-color: var(--bg-secondary); background-size: cover; background-position: center; border-radius: var(--radius-md); aspect-ratio: 16/10; margin-bottom: 16px; border: 0.5px solid var(--border); }

/* Footer */
.footer { background: #0F2548; color: #D3D1C7; padding: 48px 0 24px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h5 { color: #FFFFFF; font-size: 13px; font-weight: 600; margin: 0 0 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-grid div a, .footer-grid div p { color: #B4B2A9; display: block; line-height: 2; margin: 0; }
.footer-grid div a:hover { color: #FFFFFF; }
.footer-grid div p { line-height: 1.6; margin-bottom: 16px; }
.footer-hours { margin-top: 4px; padding-top: 14px; border-top: 0.5px solid rgba(255,255,255,0.1); }
.footer-hours-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; line-height: 1.9; font-size: 12px; }
.footer-hours-label { color: #888780; }
.footer-hours-row span:last-child { color: #D3D1C7; text-align: right; }
.footer-book-link { margin-top: 8px; color: #FFFFFF !important; font-weight: 500; border-top: 0.5px solid rgba(255,255,255,0.1); padding-top: 10px; }
.footer-bottom { border-top: 0.5px solid #2D4F87; margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #888780; font-size: 12px; flex-wrap: wrap; }
.footer-top-link { display: inline-flex; align-items: center; gap: 6px; color: #B4B2A9 !important; font-size: 12px; padding: 6px 12px; border: 0.5px solid rgba(255,255,255,0.15); border-radius: 6px; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.footer-top-link:hover { color: #FFFFFF !important; background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.3); }

.divider { height: 0.5px; background: var(--border); border: none; margin: 0; }

/* Service rate cards */
.rate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 820px; }
.rate-card { background: var(--bg-primary); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.rate-card.featured { border: 2px solid var(--brand); }
.rate-label { font-size: 11px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; font-weight: 600; }
.rate-price { font-size: 40px; font-weight: 700; color: var(--brand); line-height: 1; margin-bottom: 14px; }
.rate-price .rate-unit { font-size: 16px; font-weight: 500; color: var(--text-secondary); margin-left: 4px; }
.rate-card > p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin: 0 0 14px; }
.rate-list { list-style: none; padding: 0; margin: 0; font-size: 13px; color: var(--text-secondary); line-height: 1.9; }
.rate-list li { padding-left: 18px; position: relative; }
.rate-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* WordPress standard classes */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }

/* Responsive */
@media (max-width: 820px) {
  .header-top { padding: 14px 16px; }
  .primary-nav { display: none; flex-direction: column; padding: 10px 16px 14px; gap: 12px; }
  .primary-nav.open { display: flex; }
  .nav-links { flex-direction: column; gap: 10px; width: 100%; align-items: flex-start; }
  .nav-toggle { display: inline-block; }
  /* Inline submenus on mobile */
  .nav-links .sub-menu { position: static; display: block; transform: none; box-shadow: none; border: none; background: transparent; padding: 4px 0 4px 16px; min-width: 0; }
  .nav-links .menu-item-has-children > a::after { display: none; }
  .nav-cta { align-self: flex-start; }
  .container { padding: 0 16px; }
  h1 { font-size: 28px; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .services-grid, .tier-grid, .stats, .product-grid, .cred-row, .footer-grid, .pay-grid, .win-grid, .buyback-grid, .reasons-grid, .notfound-links, .audience-grid, .outcomes-grid, .referral-grid { grid-template-columns: 1fr 1fr; }
  .deliverable-grid { grid-template-columns: 1fr; }
  .grant-advisory { flex-direction: column; padding: 24px; gap: 16px; }
  .sustain-card { flex-direction: column; padding: 22px; gap: 14px; }
  .process-grid, .book-expect { grid-template-columns: 1fr 1fr; }
  .process-step::after { display: none; }
  .section { padding: 40px 0; }
}
@media (max-width: 900px) {
  .lap-grid { grid-template-columns: 1fr; max-width: 520px; }
  .lap-main-img { aspect-ratio: 16/10; }
}
@media (max-width: 620px) {
  .rate-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .services-grid, .tier-grid, .stats, .cred-row, .product-grid, .footer-grid, .pay-grid, .win-grid, .process-grid, .book-expect, .buyback-grid, .reasons-grid, .notfound-links, .audience-grid, .outcomes-grid, .deliverable-grid, .referral-grid { grid-template-columns: 1fr; }
}
