/* ═══════════════════════════════════════════
   NORTH ADVISORY THEME CSS
   northadvisory.ca | Build Smart. Grow Right.
═══════════════════════════════════════════ */

/* ── Variables ───────────────────────────── */
:root {
  --indigo: #2D3561;
  --terra:  #E07A5F;
  --sand:   #F2CC8F;
  --light:  #FDF8F0;
  --dark:   #1A1A2E;
  --gray:   #6B6B6B;
  --lgray:  #F5F5F5;
  --white:  #FFFFFF;
  --border: #E8E0D5;
  --max:    1100px;
  --pad:    clamp(1.5rem, 5vw, 3rem);
  --radius: 12px;
  --trans:  all .25s ease;
}

/* ── Reset ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--light); color: var(--dark); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Typography ──────────────────────────── */
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p { line-height: 1.75; }
.label { font-size: .74rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--terra); display: block; margin-bottom: .5rem; }
.muted { color: var(--gray); font-size: .95rem; }

/* ── Layout ──────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 5rem 0; }
.section--dark  { background: var(--indigo); color: var(--white); }
.section--lgray { background: var(--lgray); }
.section--white { background: var(--white); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.text-center { text-align: center; }

/* ── Buttons ─────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .875rem 1.8rem; border-radius: 8px; font-size: .95rem; font-weight: 600; cursor: pointer; transition: var(--trans); text-decoration: none; white-space: nowrap; border: none; }
.btn-primary { background: var(--terra); color: var(--white); }
.btn-primary:hover { background: #c9694f; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(224,122,95,.35); }
.btn-outline { background: transparent; color: var(--indigo); border: 2px solid var(--indigo); }
.btn-outline:hover { background: var(--indigo); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn-wa { background: #25D366; color: var(--white); }
.btn-wa:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.btn-lg { padding: 1.05rem 2.3rem; font-size: 1.05rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── Navigation ──────────────────────────── */
.nav { position: sticky; top: 0; z-index: 100; background: var(--indigo); border-bottom: 1px solid rgba(255,255,255,.08); transition: box-shadow .3s; }
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: .95rem var(--pad); max-width: var(--max); margin: 0 auto; }
.nav-logo { font-size: 1.3rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; text-decoration: none; transition: opacity .2s; }
.nav-logo:hover { opacity: .85; }
.nav-logo span { color: var(--terra); }
#desktop-nav { display: flex; align-items: center; gap: 2rem; }
.nav-link { color: rgba(255,255,255,.75); font-size: .9rem; font-weight: 500; text-decoration: none; transition: color .2s; padding: .25rem 0; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--terra); transition: width .25s; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-cta { background: var(--terra); color: var(--white); padding: .55rem 1.3rem; border-radius: 6px; font-size: .875rem; font-weight: 600; text-decoration: none; transition: var(--trans); }
.nav-cta:hover { background: #c9694f; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: .25rem; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--trans); }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-mobile { display: none; flex-direction: column; background: var(--indigo); border-top: 1px solid rgba(255,255,255,.08); padding: 1rem var(--pad); }
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }

/* ── Hero ────────────────────────────────── */
.hero { background: var(--indigo); color: var(--white); padding: 6rem 0 5rem; }
.hero-label { display: inline-block; background: rgba(242,204,143,.15); color: var(--sand); font-size: .74rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; padding: .4rem .95rem; border-radius: 20px; margin-bottom: 1.5rem; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--terra); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.8); max-width: 600px; margin-bottom: 2.5rem; line-height: 1.7; }
.hero-note { margin-top: 2rem; font-size: .85rem; color: rgba(255,255,255,.5); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.badge { background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); font-size: .8rem; padding: .35rem .9rem; border-radius: 20px; border: 1px solid rgba(255,255,255,.12); }

/* ── Divider ─────────────────────────────── */
.divider { height: 3px; background: var(--sand); border: none; margin: 0; }

/* ── Problem Section ─────────────────────── */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.problem-list li { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: flex-start; color: var(--gray); }
.problem-list li::before { content: ''; display: block; width: 8px; height: 8px; min-width: 8px; background: var(--terra); border-radius: 50%; margin-top: .55rem; }
.diff-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.diff-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; position: relative; overflow: hidden; }
.diff-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--terra); border-radius: 4px 0 0 4px; }
.diff-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.diff-card h3 { margin-bottom: .5rem; color: var(--indigo); }
.diff-card p { color: var(--gray); font-size: .9rem; line-height: 1.65; }

/* ── Service Cards ───────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; transition: var(--trans); }
.service-card:hover { border-color: var(--terra); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(45,53,97,.1); }
.service-num { font-size: .74rem; font-weight: 700; color: var(--terra); letter-spacing: .1em; margin-bottom: .75rem; }
.service-card h3 { margin-bottom: .75rem; color: var(--indigo); }
.service-card p { color: var(--gray); font-size: .9rem; line-height: 1.65; }

/* ── Stats ───────────────────────────────── */
.stat-card { text-align: center; padding: 2.25rem 1.5rem; background: rgba(255,255,255,.07); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1); }
.stat-num { font-size: 2.6rem; font-weight: 700; color: var(--sand); display: block; margin-bottom: .3rem; }
.stat-label { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.5; }

/* ── Process Steps ───────────────────────── */
.step { display: flex; gap: 1.5rem; margin-bottom: 2rem; align-items: flex-start; }
.step-num { width: 44px; height: 44px; min-width: 44px; background: var(--terra); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; box-shadow: 0 4px 12px rgba(224,122,95,.3); }
.step-body h3 { margin-bottom: .35rem; color: var(--indigo); }
.step-body p { color: var(--gray); font-size: .95rem; }

/* ── Testimonials ────────────────────────── */
.testimonial { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.testimonial-text { font-size: 1rem; color: var(--dark); font-style: italic; margin-bottom: 1.25rem; line-height: 1.7; }
.testimonial-author { font-weight: 600; font-size: .9rem; color: var(--indigo); }
.testimonial-role { font-size: .8rem; color: var(--gray); }

/* ── Cred Items ──────────────────────────── */
.cred-items, .cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.cred-item { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem; }
.cred-item strong { display: block; font-size: .95rem; color: var(--dark); margin-bottom: .2rem; }
.cred-item span { font-size: .85rem; color: var(--gray); }

/* ── Value Cards ─────────────────────────── */
.value-cards { display: flex; flex-direction: column; gap: 1rem; }
.value-card { padding: 1.35rem 1.5rem; border-left: 3px solid var(--terra); background: var(--white); border-radius: 0 10px 10px 0; }
.value-card h4 { color: var(--indigo); margin-bottom: .4rem; }
.value-card p { font-size: .9rem; color: var(--gray); line-height: 1.65; }

/* ── About Page ──────────────────────────── */
.founder-block { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
.founder-photo { background: var(--lgray); border-radius: 16px; aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; color: var(--gray); font-size: .9rem; border: 2px dashed var(--border); text-align: center; padding: 2rem; overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── Services Detail ─────────────────────── */
.services-detail { display: flex; flex-direction: column; gap: 1rem; }
.service-area { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.service-area-header { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; cursor: pointer; user-select: none; transition: background .2s; }
.service-area-header:hover, .service-area-header.active { background: rgba(224,122,95,.06); }
.service-area-num { background: var(--terra); color: var(--white); width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.service-area-title { flex: 1; font-weight: 600; font-size: 1.05rem; color: var(--indigo); }
.service-area-tag { font-size: .74rem; color: var(--gray); background: var(--lgray); padding: .3rem .8rem; border-radius: 20px; }
.service-area-icon { font-size: 1.25rem; color: var(--terra); font-weight: 300; width: 24px; text-align: center; transition: transform .25s; }
.service-area-body { padding: 0 1.5rem 1.5rem; display: none; }
.service-area-body.open { display: block; }
.service-area-body p { color: var(--gray); font-size: .92rem; margin-bottom: .75rem; margin-top: .5rem; }
.service-area-body ul { margin-top: .5rem; }
.service-area-body ul li { position: relative; padding-left: 1.5rem; margin-bottom: .6rem; font-size: .9rem; color: var(--gray); line-height: 1.6; }
.service-area-body ul li::before { content: '→'; position: absolute; left: 0; color: var(--terra); font-size: .85rem; }

/* ── Boundaries ──────────────────────────── */
.boundaries { display: flex; flex-direction: column; gap: .75rem; }
.boundary-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.25rem; background: var(--lgray); border-radius: 8px; font-size: .9rem; color: var(--dark); }
.boundary-x { color: var(--terra); font-weight: 700; flex-shrink: 0; font-size: 1rem; }

/* ── Content Page ────────────────────────── */
.yt-embed { background: var(--dark); border-radius: var(--radius); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); font-size: 1rem; border: 2px dashed rgba(255,255,255,.15); text-align: center; padding: 2rem; }
.pillar-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; text-align: center; }
.pillar-pct { font-size: 2.5rem; font-weight: 700; color: var(--terra); display: block; margin-bottom: .5rem; }
.pillar-card h3 { color: var(--indigo); margin-bottom: .75rem; }
.topics { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.topic-tag { display: inline-block; background: var(--light); border: 1px solid var(--border); color: var(--dark); font-size: .8rem; padding: .38rem .95rem; border-radius: 20px; transition: var(--trans); }
.topic-tag:hover { border-color: var(--terra); color: var(--terra); }

/* ── Contact ─────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.contact-option { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; text-align: center; }
.contact-option--primary { border-color: var(--terra); border-width: 2px; }
.contact-icon { font-size: 2.5rem; margin-bottom: 1.25rem; }
.contact-option h3 { color: var(--indigo); margin-bottom: .75rem; }
.contact-option p { color: var(--gray); font-size: .9rem; margin-bottom: 1.5rem; line-height: 1.65; }
.contact-note { font-size: .8rem; color: var(--gray); margin-top: .75rem; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-q { font-weight: 600; color: var(--indigo); margin-bottom: .6rem; font-size: .95rem; }
.faq-a { color: var(--gray); font-size: .9rem; line-height: 1.65; }

/* ── CTA Box ─────────────────────────────── */
.cta-box { background: var(--indigo); border-radius: 16px; padding: 3.5rem; text-align: center; color: var(--white); }
.cta-box h2 { color: var(--white); margin-bottom: 1rem; }
.cta-box p { color: rgba(255,255,255,.75); max-width: 520px; margin: 0 auto 2rem; }

/* ── Footer ──────────────────────────────── */
.footer { background: var(--dark); color: rgba(255,255,255,.65); padding: 3.5rem 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand { color: var(--white); font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
.footer-tagline { font-size: .85rem; color: rgba(255,255,255,.45); margin-bottom: 1rem; }
.footer-desc { font-size: .85rem; color: rgba(255,255,255,.4); line-height: 1.65; }
.footer-col h4 { color: rgba(255,255,255,.85); font-size: .9rem; margin-bottom: .9rem; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col a { color: rgba(255,255,255,.5); font-size: .875rem; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: .8rem; color: rgba(255,255,255,.35); flex-wrap: wrap; gap: .5rem; }

/* ── Blog ────────────────────────────────── */
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; margin-bottom: 1.5rem; }
.blog-card h2 { font-size: 1.3rem; color: var(--indigo); margin-bottom: .5rem; }
.blog-card h2 a:hover { color: var(--terra); }
.main-content { min-height: 60vh; }
.page-title { color: var(--indigo); margin-bottom: 2rem; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4, .problem-grid, .founder-block, .footer-inner, .cred-items, .cred-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3.5rem; }
  .section { padding: 3.5rem 0; }
  .footer-inner { gap: 2rem; }
  .service-area-tag { display: none; }
}
@media (max-width: 640px) {
  #desktop-nav, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .stat-num { font-size: 2rem; }
  .cta-box { padding: 2.5rem 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: .5rem; }
}
