/* =========================================================
   BasicLaw Website V1.5 — Home Conversion R25
   Scope: home page only. Reduces repetition, prioritises
   completed evidence and creates one clear assessment path.
   ========================================================= */
.home-page.home-v15 .hero{
  min-height:auto;
  padding:166px 0 92px;
}
.home-page.home-v15 .hero-grid{
  grid-template-columns:minmax(0,1.08fr) minmax(390px,.72fr);
  gap:62px;
  align-items:center;
}
.home-page.home-v15 .hero h1{max-width:790px}
.home-page.home-v15 .hero-lead{max-width:650px;line-height:1.88}
.home-page.home-v15 .hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.home-page.home-v15 .hero-actions .btn{min-height:54px;padding-inline:22px}
.home-page.home-v15 .hero .btn-ghost{
  color:#fff;
  border-color:rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
.home-page.home-v15 .proof-row{margin-top:22px}
.home-page.home-v15 .home-entry-matrix{padding:24px 25px 22px}
.home-page.home-v15 .home-entry-matrix h2{margin-bottom:8px;font-size:31px;line-height:1.18}
.home-page.home-v15 .home-entry-matrix>p{margin-bottom:12px;line-height:1.72}
.home-page.home-v15 .home-entry-matrix .path-step{padding:10px 7px}
.home-page.home-v15 .home-entry-matrix .path-step span{line-height:1.48}
.home-page.home-v15 .panel-footer{margin-top:11px;padding-top:12px}

.home-page.home-v15 .section{padding:92px 0}
.home-page.home-v15 .home-section-head{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(340px,.72fr);
  gap:64px;
  align-items:end;
  margin-bottom:34px;
}
.home-page.home-v15 .home-section-head>div:first-child{max-width:720px}
.home-page.home-v15 .home-section-head h2{margin-bottom:0}
.home-page.home-v15 .home-section-summary{max-width:560px;justify-self:end}
.home-page.home-v15 .home-section-summary strong{display:block;color:#193c55;font-size:15px;line-height:1.65}
.home-page.home-v15 .home-section-summary p{margin:7px 0 0;color:#687c8c;font-size:13px;line-height:1.85}
.home-page.home-v15 .home-section-summary .text-link{display:inline-flex;margin-top:12px}
.home-page.home-v15 .home-section-action{display:flex;justify-content:center;margin-top:28px}

.home-page.home-v15 .home-results-section{
  background:
    radial-gradient(circle at 92% 10%,rgba(82,151,189,.09),transparent 26%),
    #fff;
}
.home-page.home-v15 .flagship-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home-page.home-v15 .flagship-result-card{display:flex;flex-direction:column;height:100%}
.home-page.home-v15 .flagship-result-card .case-visual{height:190px}
.home-page.home-v15 .flagship-result-card .case-body{display:flex;flex:1;flex-direction:column;padding:24px}
.home-page.home-v15 .flagship-result-card h3{font-size:19px;line-height:1.42}
.home-page.home-v15 .flagship-result-card p{
  display:-webkit-box;
  min-height:78px;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
.home-page.home-v15 .flagship-result-card .text-link{align-self:flex-start;margin-top:auto;padding-top:15px}

.home-page.home-v15 .home-route-section{
  margin-top:0;
  padding:82px 0 92px;
  background:linear-gradient(180deg,#f5f9fb,#eef5f8 55%,#f8fafb);
}
.home-page.home-v15 .home-route-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.65fr);
  gap:50px;
  align-items:end;
  padding-bottom:27px;
}
.home-page.home-v15 .home-route-head h2{margin:9px 0 0;color:#133650;font-size:clamp(30px,3.3vw,43px);line-height:1.16;letter-spacing:-.045em}
.home-page.home-v15 .home-route-head p{max-width:500px;margin:0;justify-self:end;color:#6c7e8d;font-size:13px;line-height:1.85}
.home-page.home-v15 .route-selector-card{min-height:238px;padding-bottom:62px}

.home-page.home-v15 .home-method-section{padding:98px 0}
.home-page.home-v15 .home-method-section .method-wrap{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:58px}
.home-page.home-v15 .home-method-section .method-intro p{max-width:530px}
.home-page.home-v15 .home-method-section .method-intro p strong{display:block;margin-bottom:6px;color:#fff;font-size:15px}
.home-page.home-v15 .method-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.home-page.home-v15 .method-actions .btn{min-height:48px}
.home-page.home-v15 .home-method-section .btn-ghost{color:#fff;border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.06)}
.home-page.home-v15 .home-method-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.home-page.home-v15 .home-method-flow .method-item{min-height:150px;padding:20px}
.home-page.home-v15 .home-method-flow .method-item span{line-height:1.7}

.home-page.home-v15 .home-expertise-section{background:#fff}
.home-page.home-v15 .home-expertise-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.home-page.home-v15 .home-expertise-links>a{
  position:relative;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;
  gap:13px;
  min-height:104px;
  padding:18px;
  border:1px solid rgba(104,143,169,.15);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(242,247,250,.76));
  box-shadow:0 15px 42px rgba(10,44,69,.06),inset 0 1px 0 rgba(255,255,255,.95);
  transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease;
}
.home-page.home-v15 .home-expertise-links>a:hover{transform:translateY(-4px);border-color:rgba(48,112,151,.3);box-shadow:0 24px 58px rgba(10,44,69,.1)}
.home-page.home-v15 .home-expertise-links .expertise-icon{width:48px;height:48px;border-radius:15px}
.home-page.home-v15 .home-expertise-links small{display:block;color:#9a7d4c;font-size:8px;font-weight:900;letter-spacing:.08em}
.home-page.home-v15 .home-expertise-links strong{display:block;margin-top:6px;color:#173a54;font-size:13px;line-height:1.35}
.home-page.home-v15 .home-expertise-links i{color:#7d96a7;font-size:13px;font-style:normal}

.home-page.home-v15 .home-insights-section{
  overflow:hidden;
  background:
    radial-gradient(circle at 90% 8%,rgba(70,146,187,.12),transparent 26%),
    radial-gradient(circle at 10% 88%,rgba(186,147,80,.07),transparent 25%),
    linear-gradient(145deg,#f2f7f9,#fbfcfd 48%,#edf4f7);
}
.home-page.home-v15 .home-insights-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home-page.home-v15 .home-insight-card{display:flex;flex-direction:column;min-height:290px;padding:28px 26px}
.home-page.home-v15 .home-insight-card h3{font-size:20px;line-height:1.48}
.home-page.home-v15 .home-insight-card p{
  display:-webkit-box;
  min-height:84px;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
.home-page.home-v15 .home-insight-card .text-link{align-self:flex-start;margin-top:auto}
.home-page.home-v15 .home-final-cta{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:42px;
  margin-top:44px;
  padding:38px 42px;
  border:1px solid rgba(202,223,235,.14);
  border-radius:28px;
  background:radial-gradient(circle at 85% 20%,rgba(96,169,207,.18),transparent 28%),linear-gradient(140deg,#071f33,#0c4262);
  color:#fff;
  box-shadow:0 30px 78px rgba(7,39,62,.18);
}
.home-page.home-v15 .home-final-cta span{color:#d8bc85;font-size:9px;font-weight:900;letter-spacing:.14em}
.home-page.home-v15 .home-final-cta h2{max-width:760px;margin:10px 0 8px;font-size:clamp(28px,3vw,40px);line-height:1.18;letter-spacing:-.04em}
.home-page.home-v15 .home-final-cta p{max-width:720px;margin:0;color:rgba(232,243,249,.68);font-size:13px;line-height:1.8}
.home-page.home-v15 .home-final-cta .btn{min-width:220px}

@media(max-width:1180px){
  .home-page.home-v15 .hero-grid{grid-template-columns:minmax(0,1fr) minmax(350px,.72fr);gap:40px}
  .home-page.home-v15 .home-section-head{gap:36px}
  .home-page.home-v15 .home-expertise-links{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:900px){
  .home-page.home-v15 .hero{padding:150px 0 78px}
  .home-page.home-v15 .hero-grid{grid-template-columns:1fr;gap:34px}
  .home-page.home-v15 .home-entry-matrix{max-width:690px}
  .home-page.home-v15 .home-section-head,
  .home-page.home-v15 .home-route-head{grid-template-columns:1fr;gap:15px;align-items:start}
  .home-page.home-v15 .home-section-summary,
  .home-page.home-v15 .home-route-head p{max-width:720px;justify-self:start}
  .home-page.home-v15 .flagship-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-page.home-v15 .flagship-result-card:last-child{grid-column:1/-1}
  .home-page.home-v15 .home-method-section .method-wrap{grid-template-columns:1fr;gap:36px}
  .home-page.home-v15 .home-expertise-links{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-page.home-v15 .home-insights-grid{grid-template-columns:1fr 1fr}
  .home-page.home-v15 .home-insight-card:last-child{grid-column:1/-1;min-height:230px}
  .home-page.home-v15 .home-final-cta{grid-template-columns:1fr;gap:24px}
  .home-page.home-v15 .home-final-cta .btn{justify-self:start}
}

@media(max-width:680px){
  .home-page.home-v15 .hero{padding-top:116px;padding-bottom:46px}
  .home-page.home-v15 .hero-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:20px}
  .home-page.home-v15 .hero-actions .btn{width:100%;min-height:53px}
  .home-page.home-v15 .hero .btn-ghost{background:rgba(255,255,255,.07)}
  .home-page.home-v15 .home-entry-matrix{padding:18px}
  .home-page.home-v15 .home-entry-matrix h2{font-size:22px}
  .home-page.home-v15 .section{padding:68px 0}
  .home-page.home-v15 .home-section-head{margin-bottom:23px}
  .home-page.home-v15 .home-section-summary strong{font-size:13px}
  .home-page.home-v15 .home-section-summary p{font-size:11.5px;line-height:1.72}
  .home-page.home-v15 .flagship-results-grid{display:grid;grid-template-columns:1fr;gap:12px}
  .home-page.home-v15 .flagship-result-card:last-child{grid-column:auto}
  .home-page.home-v15 .flagship-result-card .case-visual{height:168px}
  .home-page.home-v15 .flagship-result-card .case-body{padding:19px}
  .home-page.home-v15 .flagship-result-card p{min-height:0;-webkit-line-clamp:3}
  .home-page.home-v15 .home-route-section{padding:64px 0 70px}
  .home-page.home-v15 .home-route-head h2{font-size:30px}
  .home-page.home-v15 .home-route-section .route-selector-grid{display:grid;grid-template-columns:1fr;overflow:visible;margin:0;padding:0;gap:12px}
  .home-page.home-v15 .home-route-section .route-selector-card{width:100%;min-height:0;flex:auto;padding:24px}
  .home-page.home-v15 .home-route-section .route-selector-card>span{position:static;display:block;margin-top:19px}
  .home-page.home-v15 .home-method-section{padding:72px 0}
  .home-page.home-v15 .method-actions{display:grid;grid-template-columns:1fr}
  .home-page.home-v15 .method-actions .btn{width:100%}
  .home-page.home-v15 .home-method-flow{grid-template-columns:1fr}
  .home-page.home-v15 .home-method-flow .method-item{min-height:0}
  .home-page.home-v15 .home-expertise-links{grid-template-columns:1fr;gap:9px}
  .home-page.home-v15 .home-expertise-links>a{min-height:86px;padding:15px}
  .home-page.home-v15 .home-expertise-links .expertise-icon{width:44px;height:44px}
  .home-page.home-v15 .home-insights-grid{grid-template-columns:1fr;gap:11px}
  .home-page.home-v15 .home-insight-card,
  .home-page.home-v15 .home-insight-card:last-child{grid-column:auto;min-height:0;padding:23px 21px}
  .home-page.home-v15 .home-insight-card p{min-height:0}
  .home-page.home-v15 .home-final-cta{margin-top:28px;padding:28px 22px;border-radius:23px}
  .home-page.home-v15 .home-final-cta h2{font-size:29px}
  .home-page.home-v15 .home-final-cta .btn{width:100%;min-width:0}
}

@media(prefers-reduced-motion:reduce){
  .home-page.home-v15 .home-expertise-links>a{transition:none}
}
