/* =====================================================
   StartYourIndustry.com — Main Stylesheet
   ===================================================== */

:root{
  --blue-900:#072F40;
  --blue-700:#0F6488;
  --blue-600:#15799F;
  --blue-100:#E4F0F4;
  --blue-050:#F2F8FA;
  --ink:#14181C;
  --ink-soft:#4A5560;
  --paper:#F4F6F7;
  --paper-deep:#ECEFF0;
  --white:#FFFFFF;
  --amber:#D8862C;
  --amber-dark:#B86C1B;
  --line:rgba(20,24,28,0.10);
  --line-strong:rgba(20,24,28,0.18);
  --radius:10px;
  --shadow-card:0 1px 2px rgba(7,47,64,0.06), 0 8px 24px rgba(7,47,64,0.06);
  --font-display:'Oswald', sans-serif;
  --font-body:'Inter', sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
h1,h2,h3,h4{font-family:var(--font-display); font-weight:600; line-height:1.12; margin:0; letter-spacing:0.2px;}
p{margin:0;}
.container{max-width:1180px; margin:0 auto; padding:0 24px;}
section{position:relative;}

/* ---------- Scroll reveal ---------- */
.reveal{opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease;}
.reveal.is-visible{opacity:1; transform:translateY(0);}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1; transform:none; transition:none;}
  *{animation:none !important;}
}

/* ---------- Gear-tooth divider ---------- */
.gear-divider{
  height:14px; width:100%;
  background:conic-gradient(from 45deg at 50% 50%, var(--blue-700) 0deg 90deg, transparent 0deg);
  background-size:22px 22px;
  background-repeat:repeat-x;
  background-position:center;
  opacity:0.9;
}
.gear-divider.amber{background-image:conic-gradient(from 45deg at 50% 50%, var(--amber) 0deg 90deg, transparent 0deg);}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:9px;
  font-size:15px; font-weight:600; padding:14px 26px;
  border-radius:6px; transition:all .22s ease; cursor:pointer; border:none;
  font-family:var(--font-body);
}
.btn-primary{background:var(--amber); color:var(--white);}
.btn-primary:hover{background:var(--amber-dark); transform:translateY(-2px); box-shadow:0 10px 24px rgba(216,134,44,0.32);}
.btn-primary svg{transition:transform .22s ease;}
.btn-primary:hover svg{transform:translateX(4px);}
.btn-outline{background:transparent; color:var(--blue-900); border:1.5px solid var(--line-strong);}
.btn-outline:hover{border-color:var(--blue-700); background:var(--blue-050);}
.btn-sm{padding:10px 18px; font-size:14px;}

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav{
  position:sticky; top:0; z-index:1000;
  background:rgba(255,255,255,0.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .3s ease;
}
.nav.scrolled{box-shadow:0 4px 18px rgba(7,47,64,0.08);}
.nav-inner{
  max-width:1180px; margin:0 auto; padding:14px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.brand{display:flex; align-items:center; gap:10px;}
.brand img{height:42px; width:42px;}
.brand-text{font-family:var(--font-display); font-size:19px; font-weight:600; color:var(--blue-900); letter-spacing:0.2px;}
.brand-text span{color:var(--amber);}

/* Desktop links */
.nav-links{display:flex; align-items:center; gap:28px; list-style:none; margin:0; padding:0;}
.nav-links > li > a{
  font-size:14.5px; font-weight:500; color:var(--ink-soft);
  position:relative; padding:6px 0;
  transition:color .2s ease; display:inline-block;
}
.nav-links > li > a::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:2px;
  background:var(--amber); transition:width .25s ease;
}
.nav-links > li > a:hover{color:var(--blue-900);}
.nav-links > li > a:hover::after{width:100%;}

/* CTA button */
.nav-cta{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--blue-700); color:var(--white);
  font-size:14px; font-weight:600; padding:11px 20px;
  border-radius:6px; white-space:nowrap;
  transition:background .2s ease, transform .2s ease;
}
.nav-cta:hover{background:var(--blue-900); transform:translateY(-1px);}

/* Dropdowns */
.has-drop{position:relative;}
.drop-trigger{
  display:inline-flex; align-items:center; gap:5px; cursor:pointer;
  font-size:14.5px; font-weight:500; color:var(--ink-soft);
  padding:6px 0; background:none; border:none; font-family:var(--font-body);
  transition:color .2s ease;
}
.has-drop:hover .drop-trigger{color:var(--blue-900);}
.drop-trigger svg{transition:transform .22s ease;}
.has-drop:hover .drop-trigger svg{transform:rotate(180deg);}
.dropdown{
  position:absolute; top:calc(100% + 10px); left:50%;
  min-width:230px; background:var(--white); border:1px solid var(--line);
  border-radius:10px; box-shadow:0 8px 32px rgba(7,47,64,0.13);
  padding:8px 0; z-index:200;
  opacity:0; pointer-events:none;
  transform:translateX(-50%) translateY(-6px);
  transition:opacity .22s ease, transform .22s ease;
}
.has-drop:hover .dropdown{
  opacity:1; pointer-events:auto; transform:translateX(-50%) translateY(0);
}
.dropdown a{
  display:block; padding:10px 18px; font-size:14px; font-weight:500; color:var(--ink);
  transition:background .15s ease, color .15s ease;
}
.dropdown a::after{display:none !important;}
.dropdown a:hover{background:var(--blue-050); color:var(--blue-700);}
.drop-divider{height:1px; background:var(--line); margin:6px 0;}

/* Hamburger */
.nav-toggle{
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:6px;
}
.nav-toggle span{width:24px; height:2px; background:var(--blue-900); display:block; transition:.3s;}
.nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle.open span:nth-child(2){opacity:0;}
.nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* Mobile panel */
.mobile-panel{
  display:none; flex-direction:column; gap:0; padding:4px 24px 18px;
  border-top:1px solid var(--line);
}
.mobile-panel.open{display:flex;}
.mobile-panel > a,
.mob-drop-trigger{
  padding:13px 4px; font-size:15px; font-weight:500; color:var(--ink);
  border-bottom:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between;
  background:none; border-left:none; border-right:none; border-top:none;
  width:100%; text-align:left; font-family:var(--font-body); cursor:pointer;
}
.mob-drop-trigger svg{transition:transform .22s ease; flex-shrink:0;}
.mob-drop-trigger.open svg{transform:rotate(180deg);}
.mob-sub{display:none; flex-direction:column; background:var(--blue-050); border-bottom:1px solid var(--line);}
.mob-sub.open{display:flex;}
.mob-sub a{padding:11px 20px; font-size:14px; font-weight:500; color:var(--ink-soft); border-bottom:1px solid var(--line);}
.mob-sub a:last-child{border-bottom:none;}
.mob-sub a:hover{color:var(--blue-700);}

/* =====================================================
   FOOTER
   ===================================================== */
footer{background:var(--blue-900); color:rgba(255,255,255,0.65); padding:60px 0 0;}
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px;
  padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,0.12);
}
.footer-brand{display:flex; align-items:center; gap:10px; margin-bottom:16px;}
.footer-brand img{height:36px; width:36px;}
.footer-brand-name{font-family:var(--font-display); font-size:17px; color:var(--white); font-weight:600;}
.footer-brand-name span{color:var(--amber);}
.footer-grid p{font-size:14px; line-height:1.7; max-width:280px;}
.footer-col h4{
  font-size:13px; text-transform:uppercase; letter-spacing:0.6px;
  color:var(--white); font-weight:600; margin-bottom:18px; font-family:var(--font-body);
}
.footer-col ul{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:11px;}
.footer-col a{font-size:14px; transition:color .2s ease;}
.footer-col a:hover{color:var(--amber);}
.footer-bottom{
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:12px; padding:24px 0; font-size:13px;
}
.footer-social{display:flex; gap:12px;}
.footer-social a{
  width:34px; height:34px; border-radius:50%;
  border:1px solid rgba(255,255,255,0.2);
  display:flex; align-items:center; justify-content:center; transition:.2s;
  color:rgba(255,255,255,0.65);
}
.footer-social a:hover{background:var(--amber); border-color:var(--amber); color:var(--white);}

/* =====================================================
   SECTION UTILITIES
   ===================================================== */
.section{padding:84px 0;}
.section-head{max-width:640px; margin-bottom:46px;}
.section-eyebrow{
  font-size:12.5px; font-weight:600; letter-spacing:1.2px; text-transform:uppercase;
  color:var(--amber-dark); margin-bottom:12px; display:block;
}
.section-head h2{font-size:32px; color:var(--blue-900); margin-bottom:14px;}
.section-head p{font-size:16px; color:var(--ink-soft);}

/* =====================================================
   HOME — HERO
   ===================================================== */
.hero{
  background:linear-gradient(180deg, var(--blue-050) 0%, var(--white) 75%);
  padding:72px 0 56px; overflow:hidden;
}
.hero-grid{display:grid; grid-template-columns:1.1fr 0.9fr; gap:48px; align-items:center;}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:600; letter-spacing:1.2px; text-transform:uppercase;
  color:var(--blue-700); background:var(--blue-100);
  padding:7px 14px; border-radius:100px; margin-bottom:20px;
}
.eyebrow .dot{width:6px; height:6px; border-radius:50%; background:var(--amber);}
.hero h1{font-size:46px; color:var(--blue-900); margin-bottom:18px;}
.hero h1 em{font-style:normal; color:var(--amber);}
.hero-sub{font-size:17px; color:var(--ink-soft); max-width:520px; margin-bottom:30px;}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:34px;}
.hero-microcopy{display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--ink-soft);}
.hero-microcopy svg{flex-shrink:0; color:var(--blue-600);}

/* Hero visual */
.hero-visual{position:relative; display:flex; align-items:center; justify-content:center; min-height:380px;}
.gear-ring{
  position:absolute; width:380px; height:380px; border-radius:50%;
  border:2px dashed var(--line-strong);
  animation:spin 70s linear infinite;
}
.gear-ring.inner{width:300px; height:300px; animation-duration:50s; animation-direction:reverse; border-color:var(--blue-100);}
@keyframes spin{from{transform:rotate(0deg);} to{transform:rotate(360deg);}}
.hero-logo-wrap{
  position:relative; width:220px; height:220px; border-radius:50%;
  background:var(--white); box-shadow:var(--shadow-card);
  display:flex; align-items:center; justify-content:center;
  animation:float 6s ease-in-out infinite;
}
@keyframes float{0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);}}
.hero-logo-wrap img{width:160px; height:160px;}
.orbit-chip{
  position:absolute; background:var(--white); border:1px solid var(--line);
  border-radius:8px; padding:9px 13px; box-shadow:var(--shadow-card);
  font-size:12.5px; font-weight:600; color:var(--blue-900);
  display:flex; align-items:center; gap:7px;
}
.orbit-chip svg{color:var(--amber); flex-shrink:0;}
.chip-1{top:6%; left:0%;}
.chip-2{bottom:14%; left:-4%;}
.chip-3{top:10%; right:-2%;}
.chip-4{bottom:6%; right:4%;}

/* =====================================================
   HOME — STATS
   ===================================================== */
.stats{background:var(--blue-900); padding:38px 0;}
.stats-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center;}
.stat-num{font-family:var(--font-display); font-size:32px; color:var(--white); font-weight:600;}
.stat-num .amber{color:var(--amber);}
.stat-label{font-size:13px; color:rgba(255,255,255,0.65); margin-top:4px; letter-spacing:0.3px;}

/* =====================================================
   HOME — PATTERNS
   ===================================================== */
.patterns{background:var(--paper);}
.pattern-list{display:flex; flex-direction:column; gap:0;}
.pattern-item{
  display:grid; grid-template-columns:64px 1fr; gap:22px; align-items:flex-start;
  padding:26px 0; border-bottom:1px solid var(--line);
}
.pattern-item:first-child{padding-top:0;}
.pattern-item:last-child{border-bottom:none;}
.pattern-num{
  font-family:var(--font-display); font-size:26px;
  color:var(--blue-100); -webkit-text-stroke:1.4px var(--blue-700); font-weight:600;
}
.pattern-text p:first-child{font-size:17px; font-weight:500; color:var(--ink); margin-bottom:6px;}
.pattern-text p:last-child{font-size:14.5px; color:var(--ink-soft);}

/* =====================================================
   HOME — DIAGNOSTIC
   ===================================================== */
.diagnostic{
  background:linear-gradient(120deg, var(--blue-700) 0%, var(--blue-900) 100%);
  border-radius:18px; padding:54px 48px;
  display:grid; grid-template-columns:1.3fr 0.7fr; gap:30px; align-items:center;
  position:relative; overflow:hidden;
  max-width:1132px; margin-left:auto; margin-right:auto;
}
.diagnostic::before{
  content:''; position:absolute; right:-60px; top:-60px; width:220px; height:220px;
  border-radius:50%; border:24px solid rgba(255,255,255,0.06);
}
.diagnostic::after{
  content:''; position:absolute; right:40px; bottom:-90px; width:160px; height:160px;
  border-radius:50%; border:18px solid rgba(255,255,255,0.05);
}
.diagnostic h2{font-size:28px; color:var(--white); margin-bottom:12px;}
.diagnostic p{font-size:15.5px; color:rgba(255,255,255,0.78); max-width:440px;}
.diagnostic .btn-primary{margin-top:24px;}
.diag-right{display:flex; justify-content:center; position:relative; z-index:1;}
.diag-badge{
  background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.18);
  border-radius:14px; padding:26px; text-align:center; backdrop-filter:blur(4px);
}
.diag-badge .big{font-family:var(--font-display); font-size:40px; color:var(--white); font-weight:600;}
.diag-badge .small{font-size:12.5px; color:rgba(255,255,255,0.7); margin-top:4px;}

/* =====================================================
   HOME — INSIGHTS CARDS
   ===================================================== */
.insights-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.insight-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:26px; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.insight-card:hover{transform:translateY(-5px); box-shadow:var(--shadow-card); border-color:var(--line-strong);}
.insight-tag{
  display:inline-block; font-size:11.5px; font-weight:600; letter-spacing:0.4px; text-transform:uppercase;
  color:var(--blue-700); background:var(--blue-050); padding:4px 10px; border-radius:5px; margin-bottom:14px;
}
.insight-card h3{font-size:18px; color:var(--ink); margin-bottom:10px; font-family:var(--font-body); font-weight:600;}
.insight-card p{font-size:14px; color:var(--ink-soft); margin-bottom:16px;}
.insight-meta{display:flex; align-items:center; justify-content:space-between; font-size:12.5px; color:var(--ink-soft);}
.insight-meta .read-link{color:var(--amber-dark); font-weight:600; display:inline-flex; align-items:center; gap:5px;}
.insights-foot{display:flex; justify-content:center; margin-top:38px;}

/* =====================================================
   HOME — ABOUT TEASER
   ===================================================== */
.about-teaser{background:var(--paper);}
.about-grid{display:grid; grid-template-columns:0.85fr 1.15fr; gap:54px; align-items:center;}
.about-visual{
  aspect-ratio:1/1; border-radius:18px; background:var(--blue-900);
  display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;
}
.about-visual img{width:55%; opacity:0.92;}
.about-visual::after{
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 70% 20%, rgba(216,134,44,0.18), transparent 55%);
}
.about-text h2{font-size:30px; color:var(--blue-900); margin-bottom:16px;}
.about-text p{font-size:15.5px; color:var(--ink-soft); margin-bottom:14px;}
.about-list{list-style:none; padding:0; margin:24px 0 28px; display:flex; flex-direction:column; gap:12px;}
.about-list li{display:flex; align-items:center; gap:10px; font-size:14.5px; color:var(--ink); font-weight:500;}
.about-list svg{color:var(--blue-700); flex-shrink:0;}

/* =====================================================
   HOME — CTA STRIP
   ===================================================== */
.cta-strip{background:var(--ink); padding:54px 0; text-align:center;}
.cta-strip h2{color:var(--white); font-size:26px; margin-bottom:10px;}
.cta-strip p{color:rgba(255,255,255,0.6); font-size:15px; margin-bottom:28px;}
.cta-strip .btn-row{display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}
.cta-strip .btn-outline{color:var(--white); border-color:rgba(255,255,255,0.25);}
.cta-strip .btn-outline:hover{background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.4);}

/* =====================================================
   INNER PAGE — PAGE HERO (reusable)
   ===================================================== */
.page-hero{
  background:linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  padding:72px 0 60px; position:relative; overflow:hidden;
}
.page-hero::after{
  content:''; position:absolute; right:-80px; top:-80px; width:320px; height:320px;
  border-radius:50%; border:36px solid rgba(255,255,255,0.05);
}
.page-hero::before{
  content:''; position:absolute; left:-40px; bottom:-100px; width:260px; height:260px;
  border-radius:50%; border:28px solid rgba(255,255,255,0.04);
}
.page-hero-inner{position:relative; z-index:1;}
.breadcrumb{
  display:flex; align-items:center; gap:8px; margin-bottom:20px;
  font-size:13.5px; color:rgba(255,255,255,0.6);
}
.breadcrumb a{color:rgba(255,255,255,0.6); transition:color .2s;}
.breadcrumb a:hover{color:var(--amber);}
.breadcrumb svg{flex-shrink:0;}
.page-hero h1{font-size:42px; color:var(--white); margin-bottom:14px;}
.page-hero p{font-size:17px; color:rgba(255,255,255,0.8); max-width:580px;}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-page-intro{padding:72px 0 40px;}
.about-intro-grid{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;}
.about-lead{font-size:20px; color:var(--blue-900); font-weight:500; line-height:1.5; margin-bottom:22px;}
.about-page-intro p{font-size:16px; color:var(--ink-soft); margin-bottom:14px;}

/* About — values grid */
.values-section{background:var(--paper); padding:72px 0;}
.values-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:46px;}
.value-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px 24px; transition:transform .25s ease, box-shadow .25s ease;
}
.value-card:hover{transform:translateY(-4px); box-shadow:var(--shadow-card);}
.value-icon{
  width:46px; height:46px; border-radius:10px; background:var(--blue-050);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.value-icon svg{color:var(--blue-700);}
.value-card h3{font-size:17px; color:var(--ink); margin-bottom:8px; font-family:var(--font-body); font-weight:600;}
.value-card p{font-size:14px; color:var(--ink-soft);}

/* About — experience timeline */
.timeline-section{padding:72px 0;}
.timeline{display:flex; flex-direction:column; gap:0; margin-top:40px; position:relative;}
.timeline::before{
  content:''; position:absolute; left:18px; top:8px; bottom:8px;
  width:2px; background:var(--blue-100);
}
.tl-item{display:grid; grid-template-columns:56px 1fr; gap:22px; padding-bottom:34px; position:relative;}
.tl-item:last-child{padding-bottom:0;}
.tl-dot{
  width:36px; height:36px; border-radius:50%; background:var(--white);
  border:2px solid var(--blue-700); display:flex; align-items:center; justify-content:center;
  flex-shrink:0; position:relative; z-index:1; margin-top:2px;
}
.tl-dot svg{color:var(--blue-700);}
.tl-year{font-size:12px; font-weight:600; color:var(--blue-700); margin-bottom:4px; letter-spacing:0.5px;}
.tl-content h3{font-size:17px; color:var(--ink); margin-bottom:6px; font-family:var(--font-body); font-weight:600;}
.tl-content p{font-size:14.5px; color:var(--ink-soft);}

/* About — team / consultant */
.team-section{background:var(--paper); padding:72px 0;}
.consultant-card{
  display:grid; grid-template-columns:280px 1fr; gap:48px; align-items:center;
  background:var(--white); border:1px solid var(--line); border-radius:16px; padding:40px;
}
.consultant-photo{
  aspect-ratio:1/1; border-radius:14px; background:var(--blue-900);
  display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative;
}
.consultant-photo img{width:60%; opacity:0.9;}
.consultant-photo::after{
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 60% 10%, rgba(216,134,44,0.2), transparent 60%);
}
.consultant-name{font-size:24px; color:var(--blue-900); margin-bottom:4px;}
.consultant-title{font-size:14px; color:var(--amber-dark); font-weight:600; letter-spacing:0.4px; text-transform:uppercase; margin-bottom:18px;}
.consultant-bio p{font-size:15.5px; color:var(--ink-soft); margin-bottom:12px;}
.consultant-tags{display:flex; gap:8px; flex-wrap:wrap; margin-top:16px;}
.ctag{
  font-size:12.5px; font-weight:600; color:var(--blue-700);
  background:var(--blue-050); padding:5px 12px; border-radius:100px;
}

/* About — sectors */
.sectors-section{padding:72px 0;}
.sectors-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:40px;}
.sector-pill{
  background:var(--paper); border:1px solid var(--line); border-radius:8px;
  padding:14px 16px; font-size:14px; font-weight:500; color:var(--ink);
  display:flex; align-items:center; gap:10px;
  transition:background .2s, border-color .2s, color .2s;
}
.sector-pill:hover{background:var(--blue-050); border-color:var(--blue-600); color:var(--blue-700);}
.sector-pill svg{color:var(--blue-600); flex-shrink:0;}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr; gap:42px;}
  .hero-visual{order:-1; min-height:300px;}
  .hero h1{font-size:36px;}
  .stats-grid{grid-template-columns:repeat(2,1fr); row-gap:28px;}
  .insights-grid{grid-template-columns:1fr 1fr;}
  .about-grid{grid-template-columns:1fr;}
  .about-visual{max-width:360px; margin:0 auto;}
  .diagnostic{grid-template-columns:1fr; text-align:center; padding:42px 28px;}
  .diag-right{order:-1;}
  .diagnostic p{margin:0 auto;}
  .footer-grid{grid-template-columns:1fr 1fr; row-gap:36px;}
  /* about page */
  .about-intro-grid{grid-template-columns:1fr; gap:32px;}
  .values-grid{grid-template-columns:1fr 1fr;}
  .consultant-card{grid-template-columns:1fr; gap:28px;}
  .consultant-photo{max-width:260px; margin:0 auto;}
  .sectors-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:760px){
  .nav-links{display:none;}
  .nav-cta{display:none;}
  .nav-toggle{display:flex;}
  .mobile-panel.open{display:flex;}
  .hero{padding:48px 0 40px;}
  .hero h1{font-size:30px;}
  .hero-sub{font-size:15.5px;}
  .section{padding:60px 0;}
  .section-head h2{font-size:26px;}
  .insights-grid{grid-template-columns:1fr;}
  .pattern-item{grid-template-columns:40px 1fr;}
  .footer-grid{grid-template-columns:1fr; gap:30px;}
  .footer-grid p{max-width:none;}
  .footer-bottom{flex-direction:column; align-items:flex-start;}
  .gear-ring{width:260px; height:260px;}
  .gear-ring.inner{width:200px; height:200px;}
  .hero-logo-wrap{width:160px; height:160px;}
  .hero-logo-wrap img{width:120px; height:120px;}
  .orbit-chip{font-size:11px; padding:7px 10px;}
  /* about page */
  .values-grid{grid-template-columns:1fr;}
  .page-hero h1{font-size:30px;}
  .sectors-grid{grid-template-columns:1fr 1fr;}
  .about-lead{font-size:17px;}
}
@media (max-width:480px){
  .stats-grid{grid-template-columns:1fr 1fr;}
  .hero-ctas{flex-direction:column; align-items:stretch;}
  .hero-ctas .btn{justify-content:center;}
  .sectors-grid{grid-template-columns:1fr;}
}

/* =====================================================
   CHECK YOUR IDEA — WIZARD
   ===================================================== */

/* Page layout */
.wizard-page{background:var(--paper); min-height:calc(100vh - 80px); padding:56px 0 80px;}
.wizard-wrap{max-width:740px; margin:0 auto;}

/* Progress bar */
.wizard-progress{margin-bottom:36px;}
.progress-steps{display:flex; align-items:center; justify-content:center; gap:0; margin-bottom:16px;}
.ps-item{display:flex; align-items:center;}
.ps-dot{
  width:34px; height:34px; border-radius:50%; border:2px solid var(--line-strong);
  background:var(--white); display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:600; color:var(--ink-soft);
  position:relative; z-index:1; flex-shrink:0; transition:all .3s ease;
}
.ps-dot.active{border-color:var(--blue-700); background:var(--blue-700); color:var(--white);}
.ps-dot.done{border-color:var(--blue-700); background:var(--blue-700); color:var(--white);}
.ps-dot.done::after{content:''; display:block; width:10px; height:6px; border-left:2px solid #fff; border-bottom:2px solid #fff; transform:rotate(-45deg) translate(1px,-2px);}
.ps-dot.done span{display:none;}
.ps-line{height:2px; width:60px; background:var(--line-strong); transition:background .3s ease;}
.ps-line.done{background:var(--blue-700);}
.progress-labels{display:flex; justify-content:space-between; padding:0 4px;}
.pl-item{font-size:12px; color:var(--ink-soft); text-align:center; flex:1; transition:color .3s;}
.pl-item.active{color:var(--blue-700); font-weight:600;}
.pl-item.done{color:var(--blue-600);}

/* Bar */
.progress-bar-wrap{height:4px; background:var(--line); border-radius:2px; margin-top:10px;}
.progress-bar-fill{height:4px; background:var(--blue-700); border-radius:2px; transition:width .4s ease;}

/* Card */
.wizard-card{
  background:var(--white); border:1px solid var(--line); border-radius:16px;
  padding:40px 44px; box-shadow:var(--shadow-card);
}
.step-header{margin-bottom:28px; padding-bottom:22px; border-bottom:1px solid var(--line);}
.step-eyebrow{font-size:12px; font-weight:600; letter-spacing:1px; text-transform:uppercase; color:var(--amber-dark); margin-bottom:8px;}
.step-title{font-size:22px; color:var(--blue-900); margin-bottom:6px;}
.step-subtitle{font-size:14.5px; color:var(--ink-soft);}

/* Questions */
.q-group{margin-bottom:28px;}
.q-label{
  display:flex; align-items:center; gap:8px;
  font-size:15px; font-weight:600; color:var(--ink); margin-bottom:10px;
}
.q-label span{color:var(--amber-dark);}

/* Tooltip */
.tooltip-wrap{position:relative; display:inline-flex; align-items:center;}
.tooltip-icon{
  width:18px; height:18px; border-radius:50%; border:1.5px solid var(--ink-soft);
  display:inline-flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:700; color:var(--ink-soft); cursor:help;
  flex-shrink:0;
}
.tooltip-box{
  position:absolute; left:50%; bottom:calc(100% + 8px); transform:translateX(-50%);
  background:var(--blue-900); color:rgba(255,255,255,0.9);
  font-size:12.5px; font-weight:400; line-height:1.5;
  padding:10px 14px; border-radius:8px; width:240px;
  opacity:0; pointer-events:none; transition:opacity .2s ease;
  z-index:100; text-align:left;
  box-shadow:0 4px 16px rgba(7,47,64,0.25);
}
.tooltip-box::after{
  content:''; position:absolute; top:100%; left:50%; transform:translateX(-50%);
  border:6px solid transparent; border-top-color:var(--blue-900);
}
.tooltip-wrap:hover .tooltip-box{opacity:1;}

/* Option cards (radio/checkbox as cards) */
.option-cards{display:grid; gap:10px;}
.option-cards.cols-2{grid-template-columns:1fr 1fr;}
.option-cards.cols-3{grid-template-columns:1fr 1fr 1fr;}
.opt-card{position:relative;}
.opt-card input{position:absolute; opacity:0; width:0; height:0;}
.opt-card label{
  display:flex; align-items:flex-start; gap:12px;
  padding:14px 16px; border:1.5px solid var(--line-strong);
  border-radius:var(--radius); cursor:pointer; background:var(--white);
  transition:all .2s ease; font-size:14.5px; color:var(--ink);
}
.opt-card label:hover{border-color:var(--blue-600); background:var(--blue-050);}
.opt-card input:checked + label{
  border-color:var(--blue-700); background:var(--blue-050);
  color:var(--blue-900);
}
.opt-card input:focus-visible + label{outline:2px solid var(--blue-700); outline-offset:2px;}
.opt-icon{font-size:18px; flex-shrink:0; margin-top:1px;}
.opt-text{}
.opt-text strong{display:block; font-size:14.5px; font-weight:600; margin-bottom:2px;}
.opt-text small{font-size:12.5px; color:var(--ink-soft);}
.opt-card input:checked + label .opt-text small{color:var(--blue-600);}
.check-indicator{
  width:20px; height:20px; border-radius:50%; border:2px solid var(--line-strong);
  flex-shrink:0; margin-left:auto; margin-top:2px; transition:all .2s;
  display:flex; align-items:center; justify-content:center;
}
.opt-card input:checked + label .check-indicator{
  border-color:var(--blue-700); background:var(--blue-700);
}
.opt-card input:checked + label .check-indicator::after{
  content:''; width:8px; height:5px; border-left:2px solid #fff; border-bottom:2px solid #fff;
  transform:rotate(-45deg) translate(1px,-1px); display:block;
}

/* Help text */
.q-help{font-size:13px; color:var(--ink-soft); margin-top:6px; display:flex; align-items:flex-start; gap:6px; padding:10px 12px; background:var(--blue-050); border-radius:6px; border-left:3px solid var(--blue-600);}
.q-help svg{flex-shrink:0; color:var(--blue-600); margin-top:1px;}

/* Error states */
.field-error{
  font-size:13px; color:#c0392b; margin-top:6px; display:none;
  align-items:center; gap:5px;
}
.field-error.show{display:flex;}
.field-error svg{flex-shrink:0;}
.opt-cards-wrap.has-error .opt-card label{border-color:rgba(192,57,43,0.3);}

/* Contact fields */
.form-field{margin-bottom:22px;}
.form-field label{display:block; font-size:14.5px; font-weight:600; color:var(--ink); margin-bottom:8px;}
.form-field label .req{color:var(--amber-dark);}
.form-input{
  width:100%; padding:12px 16px; border:1.5px solid var(--line-strong);
  border-radius:var(--radius); font-size:15px; color:var(--ink);
  font-family:var(--font-body); background:var(--white);
  transition:border-color .2s ease, box-shadow .2s ease;
  appearance:none;
}
.form-input:focus{
  outline:none; border-color:var(--blue-700);
  box-shadow:0 0 0 3px rgba(15,100,136,0.12);
}
.form-input.error{border-color:#c0392b;}
.form-input.success{border-color:#27ae60;}
.form-select-wrap{position:relative;}
.form-select-wrap::after{
  content:''; position:absolute; right:14px; top:50%; transform:translateY(-50%);
  width:0; height:0; border-left:5px solid transparent; border-right:5px solid transparent;
  border-top:6px solid var(--ink-soft); pointer-events:none;
}
.field-hint{font-size:12.5px; color:var(--ink-soft); margin-top:5px;}
.conditional-field{display:none;}
.conditional-field.show{display:block;}

/* Phone input with flag */
.phone-wrap{position:relative;}
.phone-prefix{
  position:absolute; left:14px; top:50%; transform:translateY(-50%);
  font-size:14px; color:var(--ink-soft); font-weight:500; pointer-events:none;
}
.form-input.has-prefix{padding-left:52px;}

/* Navigation buttons */
.wizard-nav{
  display:flex; align-items:center; justify-content:space-between;
  margin-top:32px; padding-top:24px; border-top:1px solid var(--line);
}
.btn-back{
  display:inline-flex; align-items:center; gap:8px;
  font-size:14.5px; font-weight:600; color:var(--ink-soft);
  background:none; border:none; cursor:pointer; padding:12px 0;
  font-family:var(--font-body); transition:color .2s;
}
.btn-back:hover{color:var(--blue-700);}
.btn-next{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--blue-700); color:var(--white);
  font-size:15px; font-weight:600; padding:13px 28px;
  border-radius:6px; border:none; cursor:pointer; font-family:var(--font-body);
  transition:all .22s ease;
}
.btn-next:hover{background:var(--blue-900); transform:translateY(-1px);}
.btn-next:disabled{background:var(--line-strong); cursor:not-allowed; transform:none;}
.btn-submit{background:var(--amber);}
.btn-submit:hover{background:var(--amber-dark);}
.step-count{font-size:13px; color:var(--ink-soft);}

/* =====================================================
   RESULT PAGE
   ===================================================== */
.result-page{background:var(--paper); min-height:calc(100vh - 80px); padding:56px 0 80px;}
.result-wrap{max-width:740px; margin:0 auto;}

.result-header{
  background:var(--white); border:1px solid var(--line); border-radius:16px;
  padding:36px 40px; margin-bottom:20px; box-shadow:var(--shadow-card);
}
.result-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 16px; border-radius:100px; font-size:13px; font-weight:600;
  margin-bottom:18px;
}
.badge-risk{background:#fde8e8; color:#c0392b;}
.badge-work{background:#fff3e0; color:#e67e22;}
.badge-scheme{background:#e8f4f8; color:#0F6488;}
.badge-early{background:#eaf7ea; color:#27ae60;}
.badge-good{background:#eaf7ea; color:#27ae60;}

.result-title{font-size:26px; color:var(--blue-900); margin-bottom:10px;}
.result-subtitle{font-size:15.5px; color:var(--ink-soft);}

.flags-card{
  background:var(--white); border:1px solid var(--line); border-radius:16px;
  padding:30px 36px; margin-bottom:20px; box-shadow:var(--shadow-card);
}
.flags-card h3{font-size:16px; color:var(--ink); margin-bottom:18px;}
.flag-item{
  display:flex; gap:14px; padding:14px 0; border-bottom:1px solid var(--line);
  align-items:flex-start;
}
.flag-item:last-child{border-bottom:none; padding-bottom:0;}
.flag-icon{
  width:34px; height:34px; border-radius:8px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.flag-icon.red{background:#fde8e8;}
.flag-icon.amber{background:#fff3e0;}
.flag-icon.blue{background:var(--blue-050);}
.flag-icon.green{background:#eaf7ea;}
.flag-icon.red svg{color:#c0392b;}
.flag-icon.amber svg{color:#e67e22;}
.flag-icon.blue svg{color:var(--blue-700);}
.flag-icon.green svg{color:#27ae60;}
.flag-text strong{display:block; font-size:14.5px; font-weight:600; color:var(--ink); margin-bottom:3px;}
.flag-text p{font-size:13.5px; color:var(--ink-soft);}

.next-steps-card{
  background:linear-gradient(120deg, var(--blue-700) 0%, var(--blue-900) 100%);
  border-radius:16px; padding:32px 36px; margin-bottom:20px;
  color:var(--white);
}
.next-steps-card h3{font-size:18px; color:var(--white); margin-bottom:10px;}
.next-steps-card p{font-size:15px; color:rgba(255,255,255,0.82); margin-bottom:20px;}
.result-ctas{display:flex; gap:12px; flex-wrap:wrap;}
.btn-wa{
  display:inline-flex; align-items:center; gap:9px;
  background:#25D366; color:var(--white);
  font-size:14.5px; font-weight:600; padding:13px 22px;
  border-radius:6px; transition:all .22s ease;
}
.btn-wa:hover{background:#1da851; transform:translateY(-1px);}
.btn-email{
  display:inline-flex; align-items:center; gap:9px;
  background:rgba(255,255,255,0.15); color:var(--white);
  border:1.5px solid rgba(255,255,255,0.3);
  font-size:14.5px; font-weight:600; padding:13px 22px;
  border-radius:6px; transition:all .22s ease;
}
.btn-email:hover{background:rgba(255,255,255,0.25);}

.result-restart{text-align:center; margin-top:10px;}
.result-restart a{font-size:14px; color:var(--ink-soft); text-decoration:underline;}
.result-restart a:hover{color:var(--blue-700);}

@media (max-width:760px){
  .wizard-card{padding:28px 22px;}
  .result-header,.flags-card,.next-steps-card{padding:24px 22px;}
  .option-cards.cols-2,.option-cards.cols-3{grid-template-columns:1fr;}
  .ps-line{width:32px;}
  .pl-item{font-size:11px;}
  .wizard-nav{flex-wrap:wrap; gap:12px;}
  .btn-next{flex:1; justify-content:center;}
}
@media (max-width:480px){
  .progress-labels{display:none;}
}

/* =====================================================
   CONTENT + SIDEBAR LAYOUT — replaces all inline grids
   ===================================================== */
.content-sidebar{
  display:grid;
  grid-template-columns:1fr 320px;
  gap:48px;
  align-items:start;
}
.content-sidebar-narrow{
  display:grid;
  grid-template-columns:1fr 300px;
  gap:40px;
  align-items:start;
}

/* Category filter pills */
.filter-pills{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:34px;}
.filter-pill{
  padding:8px 16px; border:1.5px solid var(--line-strong);
  border-radius:100px; font-size:13.5px; font-weight:500; color:var(--ink);
  text-decoration:none; transition:all .18s ease; cursor:pointer;
  background:var(--white);
}
.filter-pill:hover,.filter-pill.active{
  background:var(--blue-700); border-color:var(--blue-700); color:#fff;
}

/* =====================================================
   PROJECT SEARCH PAGE
   ===================================================== */
.ps-hero{background:var(--blue-900); padding:60px 0 50px; text-align:center;}
.ps-hero h1{color:#fff; margin-bottom:10px;}
.ps-hero p{color:rgba(255,255,255,.75); max-width:560px; margin:0 auto;}

.cat-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:40px;}
.cat-card{
  background:var(--white); border:1.5px solid var(--line); border-radius:12px;
  padding:24px 20px; text-decoration:none; color:var(--ink);
  transition:all .22s ease; display:flex; flex-direction:column; gap:12px;
}
.cat-card:hover{border-color:var(--blue-600); transform:translateY(-2px); box-shadow:var(--shadow-card);}
.cat-card-icon{
  width:48px; height:48px; border-radius:10px; background:var(--blue-050);
  display:flex; align-items:center; justify-content:center;
}
.cat-card-icon svg{color:var(--blue-700);}
.cat-card h3{font-size:15px; color:var(--blue-900); line-height:1.3; margin:0;}
.cat-card .cat-count{font-size:12.5px; color:var(--ink-soft);}

/* Project listing cards */
.proj-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.proj-card{
  background:var(--white); border:1.5px solid var(--line); border-radius:10px;
  padding:20px; text-decoration:none; color:var(--ink);
  transition:all .2s ease; display:flex; flex-direction:column; gap:8px;
}
.proj-card:hover{border-color:var(--blue-600); box-shadow:var(--shadow-card);}
.proj-card-tag{
  font-size:11.5px; font-weight:600; letter-spacing:.5px; text-transform:uppercase;
  color:var(--amber-dark); background:rgba(216,134,44,.1); padding:4px 10px;
  border-radius:100px; display:inline-block; width:fit-content;
}
.proj-card h3{font-size:14.5px; font-weight:600; color:var(--blue-900); line-height:1.4; margin:0;}
.proj-card-arrow{
  margin-top:auto; display:flex; align-items:center; gap:6px;
  font-size:13px; font-weight:600; color:var(--blue-700);
}

/* Project detail page */
.proj-detail-head{margin-bottom:36px;}
.proj-detail-head h1{font-size:30px; color:var(--blue-900); margin-bottom:10px;}
.proj-detail-head p{font-size:16px; color:var(--ink-soft);}

.proj-section{margin-bottom:36px;}
.proj-section h2{font-size:18px; color:var(--blue-900); margin-bottom:14px; padding-bottom:10px; border-bottom:2px solid var(--line); font-family:var(--font-display);}

.swot-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.swot-card{padding:18px; border-radius:10px; border:1px solid var(--line);}
.swot-card h4{font-size:13.5px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; margin-bottom:8px;}
.swot-card p{font-size:14px; color:var(--ink);}
.swot-s{background:#f0fdf4;} .swot-s h4{color:#15803d;}
.swot-w{background:#fff7ed;} .swot-w h4{color:#c2410c;}
.swot-o{background:#eff6ff;} .swot-o h4{color:#1d4ed8;}
.swot-t{background:#fdf2f8;} .swot-t h4{color:#7e22ce;}

/* Profile tabs */
.profile-tabs{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:20px;}
.profile-tab{
  padding:9px 18px; border:1.5px solid var(--line-strong); border-radius:6px;
  font-size:13.5px; font-weight:600; cursor:pointer; background:var(--white);
  color:var(--ink); transition:all .18s; font-family:var(--font-body);
}
.profile-tab.active{background:var(--blue-700); border-color:var(--blue-700); color:#fff;}
.profile-panel{display:none;}
.profile-panel.active{display:block;}

.profile-card{background:var(--white); border:1.5px solid var(--line); border-radius:12px; overflow:hidden;}
.profile-card-head{
  background:var(--blue-900); padding:16px 22px; display:flex; align-items:center;
  justify-content:space-between; flex-wrap:wrap; gap:10px;
}
.profile-card-head h3{font-size:15px; color:#fff; margin:0;}
.profile-badge{
  font-size:12px; font-weight:600; padding:4px 12px; border-radius:100px;
  background:rgba(255,255,255,.15); color:rgba(255,255,255,.9);
}
.profile-figures{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:0; border-bottom:1px solid var(--line);
}
.pf-item{
  padding:18px 20px; border-right:1px solid var(--line); text-align:center;
}
.pf-item:last-child,.pf-item:nth-child(3),.pf-item:nth-child(6){border-right:none;}
.pf-item:nth-child(n+4){border-top:1px solid var(--line);}
.pf-label{font-size:12px; color:var(--ink-soft); margin-bottom:4px;}
.pf-value{font-size:17px; font-weight:700; color:var(--blue-900); font-family:var(--font-display);}
.pf-masked{font-size:13px; color:var(--ink-soft); font-style:italic;}
.profile-analysis{display:grid; grid-template-columns:1fr 1fr 1fr; gap:16px; padding:20px;}
.pa-item{padding:14px; background:var(--paper); border-radius:8px; text-align:center;}
.pa-label{font-size:12px; color:var(--ink-soft); margin-bottom:4px;}
.pa-value{font-size:14px; font-weight:600; color:var(--ink);}
.pa-value.rising{color:#15803d;} .pa-value.stable{color:var(--blue-700);}
.pa-value.high{color:#c0392b;} .pa-value.medium{color:#d97706;} .pa-value.low{color:#15803d;}

/* Market analysis pills */
.ma-row{padding:16px 20px; display:flex; gap:12px; flex-wrap:wrap; border-top:1px solid var(--line);}
.ma-pill{display:flex; align-items:center; gap:6px; font-size:13px;}
.ma-dot{width:8px; height:8px; border-radius:50%; flex-shrink:0;}

/* Unlock CTA */
.unlock-cta{
  background:linear-gradient(120deg, var(--blue-700), var(--blue-900));
  border-radius:10px; padding:24px; text-align:center; margin:20px;
}
.unlock-cta p{color:rgba(255,255,255,.85); font-size:14px; margin-bottom:14px;}
.unlock-cta .btn-amber{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--amber); color:#fff; padding:11px 24px;
  border-radius:6px; font-weight:600; font-size:14.5px;
  transition:background .2s;
}
.unlock-cta .btn-amber:hover{background:var(--amber-dark);}

/* Pagination */
.pagination{display:flex; gap:8px; flex-wrap:wrap; margin-top:32px;}
.page-btn{
  padding:9px 16px; border:1.5px solid var(--line-strong); border-radius:6px;
  font-size:13.5px; font-weight:600; color:var(--ink); background:var(--white);
  text-decoration:none; transition:all .18s;
}
.page-btn:hover,.page-btn.active{
  background:var(--blue-700); border-color:var(--blue-700); color:#fff;
}

/* Mobile sidebar toggle button */
.sidebar-toggle{
  display:none; align-items:center; gap:8px; padding:10px 18px;
  background:var(--blue-050); border:1.5px solid var(--blue-200,#bfdbfe);
  border-radius:8px; font-size:14px; font-weight:600; color:var(--blue-700);
  cursor:pointer; margin-bottom:20px; width:100%;
}
.sidebar-toggle svg{transition:transform .2s;}
.sidebar-toggle.open svg{transform:rotate(180deg);}
.sidebar-collapsible{transition:all .3s ease;}

/* =====================================================
   COMPREHENSIVE MOBILE — all breakpoints
   ===================================================== */
@media (max-width:1100px){
  .cat-grid{grid-template-columns:repeat(3,1fr);}
  .proj-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:900px){
  /* Collapse content+sidebar to single column */
  .content-sidebar,
  .content-sidebar-narrow{
    grid-template-columns:1fr;
    gap:32px;
  }
  /* Sidebar becomes full-width column below content */
  .content-sidebar aside,
  .content-sidebar-narrow aside{
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
  }
  .sidebar-toggle{display:flex;}

  /* Article layouts */
  .proj-detail-head h1{font-size:24px;}
  .swot-grid{grid-template-columns:1fr;}
  .profile-figures{grid-template-columns:1fr 1fr;}
  .profile-analysis{grid-template-columns:1fr 1fr;}
  .cat-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:760px){
  /* Page hero */
  .page-hero{padding:40px 0 32px;}
  .page-hero h1{font-size:26px;}

  /* Project grids */
  .proj-grid{grid-template-columns:1fr;}
  .profile-figures{grid-template-columns:1fr 1fr;}
  .pf-item:nth-child(3){border-right:1px solid var(--line);}
  .pf-item:nth-child(2),.pf-item:nth-child(4),.pf-item:nth-child(6){border-right:none;}
  .profile-analysis{grid-template-columns:1fr;}
  .ma-row{flex-direction:column;}
  .cat-grid{grid-template-columns:1fr 1fr;}

  /* Wizard on mobile */
  .wizard-card{padding:22px 16px;}
  .option-cards.cols-2,
  .option-cards.cols-3{grid-template-columns:1fr;}

  /* Result page */
  .result-header,.flags-card,.next-steps-card{padding:22px 18px;}
  .result-ctas{flex-direction:column;}
  .btn-wa,.btn-email{justify-content:center;}

  /* Insights/news listing inline grids */
  [style*="grid-template-columns:1fr 320px"],
  [style*="grid-template-columns: 1fr 320px"]{
    display:block !important;
  }
}
@media (max-width:480px){
  .cat-grid{grid-template-columns:1fr;}
  .swot-grid{grid-template-columns:1fr;}
  .profile-figures{grid-template-columns:1fr;}
  .pf-item{border-right:none !important; border-bottom:1px solid var(--line);}
  .pf-item:last-child{border-bottom:none;}

  /* Nav brand text truncate */
  .brand-text{font-size:14px;}
  .brand-text span{display:none;}

  /* Page hero */
  .page-hero h1{font-size:22px;}

  /* Breadcrumb truncate */
  .breadcrumb{font-size:12px;}
}

/* =====================================================
   PROJECT CONTENT — ul/li/ol/h3/h4 rich text
   ===================================================== */
.proj-content{font-size:15.5px; line-height:1.85; color:var(--ink);}
.proj-content p{margin:0 0 14px;}
.proj-content ul,.proj-content ol{
  padding-left:24px; margin:0 0 14px;
}
.proj-content ul{list-style:disc;}
.proj-content ol{list-style:decimal;}
.proj-content li{margin-bottom:7px; padding-left:4px;}
.proj-content li::marker{color:var(--blue-700); font-weight:600;}
.proj-content h3{font-family:var(--font-display); font-size:18px; color:var(--blue-900); margin:22px 0 10px;}
.proj-content h4{font-size:15px; font-weight:700; color:var(--blue-900); margin:16px 0 8px;}
.proj-content strong,.proj-content b{color:var(--ink); font-weight:600;}
.proj-content em,.proj-content i{font-style:italic;}
.proj-content table{width:100%; border-collapse:collapse; margin:16px 0; font-size:14px;}
.proj-content th{background:var(--blue-900); color:#fff; padding:10px 14px; text-align:left; font-weight:600;}
.proj-content td{border:1px solid var(--line); padding:9px 14px;}
.proj-content tr:nth-child(even) td{background:var(--paper);}

/* SWOT content */
.swot-card p{font-size:14px; line-height:1.75;}
.swot-card ul{list-style:disc; padding-left:18px; margin:8px 0 0;}
.swot-card li{font-size:13.5px; margin-bottom:5px; color:var(--ink);}

/* =====================================================
   CURRENCY SWITCHER
   ===================================================== */
.currency-switcher{
  display:flex; align-items:center; gap:6px;
  background:var(--paper); border:1.5px solid var(--line); border-radius:8px;
  padding:4px; width:fit-content;
}
.currency-btn{
  padding:6px 14px; border-radius:5px; border:none; cursor:pointer;
  font-size:13px; font-weight:600; color:var(--ink-soft); background:transparent;
  font-family:var(--font-body); transition:all .18s;
}
.currency-btn.active{background:var(--blue-700); color:#fff; box-shadow:0 1px 4px rgba(15,100,136,.2);}
.currency-note{font-size:11.5px; color:var(--ink-soft); margin-left:6px;}

/* Profile header with currency switcher */
.profile-card-head-inner{
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:10px;
}

/* =====================================================
   PROJECTION CONFIDENCE (replaces AI confidence)
   ===================================================== */
.confidence-block{
  display:flex; align-items:center; gap:10px; padding:12px 20px;
  background:var(--paper); border-top:1px solid var(--line);
}
.confidence-label{font-size:12px; color:var(--ink-soft); flex-shrink:0;}
.confidence-bar-wrap{
  flex:1; height:6px; background:var(--line); border-radius:3px; overflow:hidden; min-width:60px;
}
.confidence-bar-fill{height:100%; border-radius:3px; transition:width .6s ease;}
.confidence-bar-fill.high{background:#16a34a;}
.confidence-bar-fill.mid{background:#d97706;}
.confidence-bar-fill.low{background:var(--blue-400,#60a5fa);}
.confidence-rating{font-size:12px; font-weight:600; flex-shrink:0;}
.confidence-rating.high{color:#16a34a;}
.confidence-rating.mid{color:#d97706;}
.confidence-rating.low{color:var(--ink-soft);}

/* =====================================================
   FAQ ACCORDION (exclusive open, styled)
   ===================================================== */
.faq-item{
  border:1.5px solid var(--line); border-radius:10px;
  margin-bottom:10px; overflow:hidden; transition:border-color .2s;
}
.faq-item[open]{border-color:var(--blue-600);}
.faq-item summary{
  padding:16px 20px; font-size:15px; font-weight:600; cursor:pointer;
  color:var(--blue-900); list-style:none; display:flex;
  justify-content:space-between; align-items:center; gap:12px;
  background:var(--white); user-select:none;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item[open] summary{background:var(--blue-050);}
.faq-chevron{
  flex-shrink:0; width:18px; height:18px; transition:transform .25s ease;
  color:var(--ink-soft);
}
.faq-item[open] .faq-chevron{transform:rotate(180deg);}
.faq-body{
  padding:14px 20px 18px; font-size:14.5px; color:var(--ink);
  border-top:1.5px solid var(--line); line-height:1.75;
}
.faq-body ul{list-style:disc; padding-left:20px; margin:8px 0;}
.faq-body li{margin-bottom:5px;}

/* =====================================================
   RELATED PROJECTS SECTION
   ===================================================== */
.related-section{padding:56px 0 80px; background:var(--paper); margin-top:0;}
.related-section .section-head{text-align:left; margin-bottom:28px;}
.related-section .section-head h2{font-size:22px;}
.related-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}

@media(max-width:900px){
  .related-grid{grid-template-columns:1fr 1fr;}
  .confidence-block{flex-wrap:wrap;}
}
@media(max-width:600px){
  .related-grid{grid-template-columns:1fr;}
  .profile-card-head-inner{flex-direction:column; align-items:flex-start;}
}

/* =====================================================
   PROJECT DETAIL — MOBILE SPECIFIC FIXES
   ===================================================== */

/* Profile tabs — horizontal scroll on mobile (don't wrap/overflow) */
@media (max-width: 768px) {
  /* Main container padding */
  /* main wrap padding now handled by .proj-main-wrap class */

  /* Reduce section spacing */
  .proj-section{margin-bottom:26px;}
  .proj-section h2{font-size:17px; padding-bottom:8px;}

  /* Profile card head stacks cleanly */
  .profile-card-head{padding:14px 16px;}
  .profile-card-head-inner{flex-direction:column; align-items:flex-start; gap:10px;}
  .profile-card-head h3{font-size:14px;}

  /* Currency switcher full width centered */
  .currency-switcher{width:100%; justify-content:center;}
  .currency-note{display:block; text-align:center; width:100%; margin:0;}

  /* Profile figures — tighter padding, smaller text */
  .pf-item{padding:13px 10px;}
  .pf-value{font-size:14.5px;}
  .pf-label{font-size:11px;}

  /* Market analysis pills row */
  .ma-row{padding:12px 16px; gap:8px;}
  .ma-pill{font-size:12.5px;}

  /* Confidence block */
  .confidence-block{padding:10px 16px;}

  /* Market analysis grid */
  .profile-analysis{padding:14px 12px; gap:10px;}
  .pa-item{padding:12px 10px;}
  .pa-label{font-size:11.5px;}
  .pa-value{font-size:13px;}

  /* SWOT cards */
  .swot-card{padding:14px 16px;}
  .swot-card h4{font-size:12.5px; margin-bottom:6px;}

  /* FAQ */
  .faq-item summary{padding:13px 14px; font-size:13.5px;}
  .faq-body{padding:12px 14px 14px; font-size:14px;}

  /* Profile tabs — scroll horizontally, no wrap */
  .profile-tabs{overflow-x:auto; flex-wrap:nowrap; -webkit-overflow-scrolling:touch;
    padding-bottom:6px; scrollbar-width:none; gap:6px;}
  .profile-tabs::-webkit-scrollbar{display:none;}
  .profile-tab{white-space:nowrap; flex-shrink:0; padding:8px 14px; font-size:13px;}

  /* Sidebar quick facts */
  .proj-section [style*="display:flex;justify-content:space-between"]{font-size:13px;}

  /* Related projects */
  .related-section{padding:40px 0 56px;}
  .related-section .section-head h2{font-size:18px;}
}

@media (max-width: 480px) {
  /* Profile figures — 2 col at 480, single at very small */
  .profile-figures{grid-template-columns:1fr 1fr;}
  .pf-item{padding:11px 8px;}
  .pf-value{font-size:13.5px;}

  /* Hero h1 on project detail */
  /* proj-hero-title font size now handled by .proj-hero-title class */

  /* SWOT single column handled by existing rule */

  /* Profile remarks */
  .profile-card [style*="padding:14px 20px"]{padding:12px 14px !important; font-size:13.5px !important;}
}

@media (max-width: 360px) {
  .profile-figures{grid-template-columns:1fr;}
  .pf-item{border-right:none; border-bottom:1px solid var(--line);}
  .pf-item:last-child{border-bottom:none;}
  .currency-btn{padding:6px 10px; font-size:12px;}
}

/* =====================================================
   PROJECT DETAIL — base styles replacing inline styles
   ===================================================== */
.page-hero-proj{padding:46px 0 36px;}
.proj-hero-title{font-size:32px; color:var(--white); margin-bottom:0;}
.proj-main-wrap{padding:52px 24px 72px;}  /* 24px sides matches .container */

@media (max-width:980px){
  .page-hero-proj{padding:36px 0 28px;}
  .proj-hero-title{font-size:28px;}
  .proj-main-wrap{padding:40px 20px 56px;}
}
@media (max-width:760px){
  .page-hero-proj{padding:28px 0 22px;}
  .proj-hero-title{font-size:22px; line-height:1.3;}
  .proj-main-wrap{padding:28px 16px 44px;}
}
@media (max-width:480px){
  .page-hero-proj{padding:22px 0 18px;}
  .proj-hero-title{font-size:19px;}
  .proj-main-wrap{padding:20px 14px 36px;}
}

/* =====================================================
   LONG PROJECT NAME — hero title handling
   ===================================================== */
.proj-hero-title{
  word-break:break-word;
  overflow-wrap:break-word;
  hyphens:auto;
}

/* Truncate very long breadcrumb middle items */
.breadcrumb a, .breadcrumb span{
  max-width:200px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  display:inline-block;
  vertical-align:middle;
}
.breadcrumb{
  display:flex; align-items:center; flex-wrap:wrap; gap:4px;
}
/* Last breadcrumb item (current page) can wrap */
.breadcrumb span[aria-current="page"],
.breadcrumb > span:last-child{
  white-space:normal; max-width:none;
}

/* FAQ answer text formatting */
.faq-body p{margin:0 0 10px;}
.faq-body p:last-child{margin-bottom:0;}

@media (max-width:760px){
  /* Breadcrumb truncate tighter on mobile */
  .breadcrumb a,.breadcrumb span{max-width:120px;}
  .breadcrumb svg{flex-shrink:0;}
}
@media (max-width:480px){
  .breadcrumb a,.breadcrumb span{max-width:80px;}
  /* hide middle breadcrumb items to save space — keep home + current */
  .breadcrumb .bc-mid{display:none;}
}

/* =====================================================
   PROFILE PANELS — MOBILE ACCORDION
   ===================================================== */
.pf-mobile-toggle{
  display:none; /* hidden on desktop */
}

@media (max-width:900px){
  /* Hide desktop tabs, show accordion toggles */
  .profile-tabs{display:none !important;}
  .pf-mobile-toggle{
    display:flex; align-items:center; justify-content:space-between;
    padding:14px 18px; background:var(--blue-900); color:#fff;
    cursor:pointer; border-radius:8px 8px 0 0; margin-bottom:0;
    font-size:14.5px; font-weight:600; font-family:var(--font-body);
    border:none; width:100%; text-align:left;
  }
  .pf-toggle-chevron{
    flex-shrink:0; width:18px; height:18px;
    transition:transform .25s ease;
  }
  /* Show all panels as block (each starts collapsed) */
  .profile-panel{
    display:block !important;
    margin-bottom:10px;
  }
  /* Hide the card content when panel is collapsed */
  .profile-panel .profile-card{
    display:none;
    border-radius:0 0 8px 8px;
  }
  /* Open state */
  .profile-panel.mob-open .profile-card{display:block;}
  .profile-panel.mob-open .pf-toggle-chevron{transform:rotate(180deg);}
  .profile-panel.mob-open .pf-mobile-toggle{border-radius:8px 8px 0 0;}
  /* Rounded toggle when collapsed */
  .profile-panel:not(.mob-open) .pf-mobile-toggle{border-radius:8px;}
}
