/* Taxi Kalmar subpage patterns v2 */

.tk-subpage-bento{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:14px;margin-top:40px}
.tk-subpage-bento .tk-service-card:first-child{grid-row:1/3;min-height:440px}

.tk-process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:42px;border-top:1px solid var(--tk-line);border-bottom:1px solid var(--tk-line)}
.tk-process-step{position:relative;padding:34px 30px 38px;border-right:1px solid var(--tk-line)}
.tk-process-step:last-child{border-right:0}
.tk-process-step__num{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#fff4bf;color:#6b5400;font-size:.82rem;font-weight:950;margin-bottom:42px}
.tk-process-step h3{margin:0 0 12px;font-size:1.35rem;letter-spacing:-.03em}
.tk-process-step p{margin:0;color:var(--tk-muted)}

.tk-detail-list{margin-top:38px;border-top:1px solid var(--tk-line)}
.tk-detail-row{display:grid;grid-template-columns:minmax(170px,.55fr) 1fr auto;gap:30px;align-items:center;padding:24px 0;border-bottom:1px solid var(--tk-line)}
.tk-detail-row h3{margin:0;font-size:1.18rem;letter-spacing:-.025em}
.tk-detail-row p{margin:0;color:var(--tk-muted)}
.tk-detail-row a{font-weight:850;color:var(--tk-blue);white-space:nowrap}

.tk-info-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.72fr);gap:76px;align-items:start}
.tk-info-panel{padding:30px;border-radius:26px;background:#fff;border:1px solid var(--tk-line);box-shadow:var(--tk-soft-shadow)}
.tk-info-panel--warm{background:#fff4bf;border-color:rgba(175,140,0,.12);box-shadow:none}
.tk-info-panel h3{margin:0 0 12px;font-size:1.35rem;letter-spacing:-.03em}
.tk-info-panel p{margin:0;color:var(--tk-muted)}
.tk-info-panel .tk-btn{margin-top:24px}

.tk-brand-trio{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:14px;margin-top:38px}
.tk-brand-trio__item{min-height:220px;padding:28px;border-radius:24px;background:#fff;border:1px solid var(--tk-line);display:flex;flex-direction:column;justify-content:space-between}
.tk-brand-trio__item:first-child{background:var(--tk-navy);color:#fff}
.tk-brand-trio__item:first-child p{color:rgba(255,255,255,.72)}
.tk-brand-trio__item:nth-child(3){background:#fff4bf}
.tk-brand-trio__item h3{margin:0 0 10px;font-size:1.35rem;letter-spacing:-.03em}
.tk-brand-trio__item p{margin:0;color:var(--tk-muted)}
.tk-brand-trio__item a{margin-top:26px;font-weight:850;color:var(--tk-blue)}
.tk-brand-trio__item:first-child a{color:#fff}

.tk-about-band{display:grid;grid-template-columns:1.4fr .8fr .8fr;gap:12px;margin-top:40px}
.tk-about-band__item{padding:26px;border-radius:22px;background:#fff;border:1px solid var(--tk-line)}
.tk-about-band__item:first-child{background:#edf3f7}
.tk-about-band__item strong{display:block;font-size:clamp(1.8rem,3vw,2.7rem);letter-spacing:-.045em;line-height:1;margin-bottom:12px}
.tk-about-band__item span{color:var(--tk-muted);font-weight:700}

.tk-business-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:14px;margin-top:40px}
.tk-business-item{padding:28px;border-radius:24px;border:1px solid var(--tk-line);background:#fff}
.tk-business-item:first-child{grid-row:1/3;background:#edf3f7;min-height:390px}
.tk-business-item:nth-child(2){background:#fff4bf}
.tk-business-item h3{margin:0 0 12px;font-size:1.35rem;letter-spacing:-.03em}
.tk-business-item p{margin:0;color:var(--tk-muted)}

.tk-subpage-areas{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}
.tk-subpage-areas span{display:inline-flex;align-items:center;min-height:46px;padding:0 16px;border-radius:999px;background:#fff;border:1px solid var(--tk-line);font-weight:800;color:#394550}
.tk-subpage-areas span:nth-child(2n){background:#edf3f7}
.tk-subpage-areas span:nth-child(3n){background:#fff4bf}

.tk-mobile-primary{min-height:52px}

@media(max-width:980px){
  .tk-subpage-bento,.tk-business-grid{grid-template-columns:1fr 1fr}
  .tk-subpage-bento .tk-service-card:first-child,.tk-business-item:first-child{grid-row:auto;grid-column:1/-1;min-height:300px}
  .tk-info-split{grid-template-columns:1fr;gap:34px}
  .tk-brand-trio{grid-template-columns:1fr 1fr}
  .tk-brand-trio__item:first-child{grid-column:1/-1}
  .tk-about-band{grid-template-columns:1fr 1fr}
  .tk-about-band__item:first-child{grid-column:1/-1}
}

@media(max-width:720px){
  .tk-subpage-bento,.tk-business-grid,.tk-brand-trio,.tk-about-band{grid-template-columns:1fr}
  .tk-subpage-bento .tk-service-card:first-child,.tk-business-item:first-child,.tk-brand-trio__item:first-child,.tk-about-band__item:first-child{grid-column:auto;min-height:0}
  .tk-process-grid{grid-template-columns:1fr;border-bottom:0}
  .tk-process-step{padding:26px 0;border-right:0;border-bottom:1px solid var(--tk-line)}
  .tk-process-step__num{margin-bottom:22px}
  .tk-detail-row{grid-template-columns:1fr;gap:8px;padding:22px 0}
  .tk-detail-row a{margin-top:4px}
  .tk-info-panel{padding:24px;border-radius:22px}
  .tk-brand-trio__item,.tk-business-item,.tk-about-band__item{padding:24px}
  .tk-subpage-areas{gap:8px}
  .tk-subpage-areas span{min-height:44px;padding:0 14px;font-size:.92rem}
  .tk-page-actions>.tk-btn,.tk-page-actions>.tk-phone-cta{min-height:52px}
}
