/* Taxi Kalmar Design System v2
   Loaded last. Purpose: stronger hierarchy, fewer repetitive blue cards,
   more varied sections and touch-first mobile behaviour. */

:root{
  --tk-paper:#f7f6f2;
  --tk-white:#ffffff;
  --tk-mist:#edf1f3;
  --tk-blue:#2a598d;
  --tk-navy:#173a60;
  --tk-yellow:#fdd654;
  --tk-ink:#101316;
  --tk-muted:#66727d;
  --tk-line:rgba(16,19,22,.09);
  --tk-soft-shadow:0 18px 50px rgba(16,19,22,.06);
}

body{background:var(--tk-paper)}
.tk-section{background:var(--tk-paper);padding:104px 0}
.tk-section--soft{background:var(--tk-mist)}
.tk-section-head{max-width:780px}
.tk-section-head .tk-lead{max-width:680px}

/* Global card reset: white/neutral is the default, blue becomes intentional. */
.tk-card{
  min-height:0;
  background:var(--tk-white)!important;
  color:var(--tk-ink)!important;
  border:1px solid var(--tk-line)!important;
  box-shadow:none;
  border-radius:24px;
  padding:28px;
}
.tk-card p{color:var(--tk-muted)!important}
.tk-card h3{color:var(--tk-ink)!important}
.tk-card-link{color:var(--tk-blue)!important;border-color:rgba(42,89,141,.24)!important}
.tk-card:hover{box-shadow:var(--tk-soft-shadow);transform:translateY(-3px)}
.tk-card--blue,.tk-card.tk-card--blue{background:var(--tk-blue)!important;color:#fff!important;border-color:transparent!important}
.tk-card--blue h3,.tk-card--blue p{color:#fff!important}
.tk-card--blue p{opacity:.76}
.tk-card--blue .tk-card-link{color:#fff!important;border-color:rgba(255,255,255,.3)!important}

/* Booking is the functional anchor, keep it strong but calmer. */
.tk-booking-shell{margin-top:-58px}
.tk-booking-card{border:1px solid rgba(16,19,22,.07);box-shadow:0 28px 80px rgba(16,19,22,.09)}

/* Brand family section */
.tk-brand-family{background:#eef2f4;padding:84px 0}
.tk-brand-family__head{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:70px;align-items:end;margin-bottom:38px}
.tk-brand-family__head h2{margin:0;font-size:clamp(2.35rem,4.5vw,4.4rem);line-height:1.02;letter-spacing:-.045em}
.tk-brand-family__head p{margin:0;color:var(--tk-muted);font-size:1.08rem;max-width:620px}
.tk-brand-family__grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tk-brand-family__item{position:relative;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:24px 26px;border-radius:22px;background:#fff;border:1px solid var(--tk-line);transition:transform .2s ease,box-shadow .2s ease}
.tk-brand-family__item:hover{transform:translateY(-2px);box-shadow:var(--tk-soft-shadow)}
.tk-brand-family__mark{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#e8eef4;color:var(--tk-blue);font-weight:900}
.tk-brand-family__item:nth-child(2) .tk-brand-family__mark{background:#fff1ae;color:#6f5700}
.tk-brand-family__item strong{display:block;font-size:1.12rem;letter-spacing:-.02em}
.tk-brand-family__item span{display:block;margin-top:3px;color:var(--tk-muted);font-size:.9rem}
.tk-brand-family__arrow{font-size:1.2rem;color:var(--tk-blue)}

/* Main service rail. One section gets swipe behaviour on mobile. */
.tk-services-v2{background:#faf9f6}
.tk-service-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;grid-template-rows:auto auto;gap:16px;margin-top:42px}
.tk-service-card{position:relative;min-height:220px;padding:30px;border-radius:26px;border:1px solid var(--tk-line);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
.tk-service-card h3{font-size:1.5rem;line-height:1.1;letter-spacing:-.035em;margin:0 0 12px}
.tk-service-card p{margin:0;color:var(--tk-muted);max-width:36ch}
.tk-service-card__link{margin-top:30px;font-weight:850;color:var(--tk-blue)}
.tk-service-card--featured{grid-row:1/3;background:linear-gradient(145deg,#173a60,#2a598d);color:#fff;min-height:456px}
.tk-service-card--featured h3{font-size:clamp(2rem,3vw,3rem)}
.tk-service-card--featured p{color:rgba(255,255,255,.76);font-size:1.05rem}
.tk-service-card--featured .tk-service-card__link{color:#fff}
.tk-service-card--featured:after{content:'';position:absolute;width:250px;height:250px;border-radius:50%;right:-90px;bottom:-90px;background:rgba(253,214,84,.96)}
.tk-service-card--warm{background:#fff4bf;border-color:rgba(178,140,0,.13)}
.tk-service-card--plain{background:#fff}
.tk-service-card--line{background:transparent;border:1px solid rgba(42,89,141,.2)}

/* Journey rows: remove card wall entirely. */
.tk-journey-section{background:#eef1f3}
.tk-journey-list{margin-top:42px;border-top:1px solid var(--tk-line)}
.tk-journey-row{display:grid;grid-template-columns:64px minmax(180px,.65fr) 1fr auto;gap:28px;align-items:center;padding:26px 0;border-bottom:1px solid var(--tk-line)}
.tk-journey-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;background:#fff;color:var(--tk-blue);font-weight:950;box-shadow:0 10px 28px rgba(16,19,22,.05)}
.tk-journey-row h3{margin:0;font-size:1.25rem;letter-spacing:-.025em}
.tk-journey-row p{margin:0;color:var(--tk-muted)}
.tk-journey-row a{font-weight:850;color:var(--tk-blue);white-space:nowrap}

/* Why choose us: light proof tiles with different visual weights. */
.tk-proof-section{background:#f7f6f2}
.tk-proof-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.2fr;gap:14px;margin-top:38px}
.tk-proof-item{padding:28px 24px;border-radius:22px;background:#fff;border:1px solid var(--tk-line)}
.tk-proof-item:nth-child(2){background:#edf3f7}
.tk-proof-item:nth-child(3){background:#fff5c9}
.tk-proof-item__num{display:block;font-size:.78rem;font-weight:900;color:var(--tk-blue);letter-spacing:.08em;margin-bottom:30px}
.tk-proof-item h3{margin:0 0 10px;font-size:1.2rem;letter-spacing:-.025em}
.tk-proof-item p{margin:0;color:var(--tk-muted)}

/* Fleet: editorial split, not another card grid. */
.tk-fleet-section{background:#e9eef1}
.tk-fleet-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.72fr);gap:86px;align-items:center}
.tk-fleet-copy .tk-lead{max-width:650px}
.tk-fleet-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tk-fleet-stat{min-height:150px;padding:24px;border-radius:22px;background:#fff;border:1px solid var(--tk-line);display:flex;flex-direction:column;justify-content:space-between}
.tk-fleet-stat--big{grid-column:1/-1;min-height:175px;background:var(--tk-navy);color:#fff}
.tk-fleet-stat strong{font-size:clamp(2.1rem,4vw,3.4rem);letter-spacing:-.055em;line-height:1}
.tk-fleet-stat span{color:var(--tk-muted);font-weight:700}
.tk-fleet-stat--big span{color:rgba(255,255,255,.7)}

/* Areas become chips and editorial copy instead of three more boxes. */
.tk-area-section{background:#f8f7f4}
.tk-area-layout{display:grid;grid-template-columns:.72fr 1.28fr;gap:72px;align-items:start}
.tk-area-cloud{display:flex;flex-wrap:wrap;gap:10px;align-content:flex-start}
.tk-area-pill{display:inline-flex;align-items:center;min-height:48px;padding:0 18px;border-radius:999px;background:#fff;border:1px solid var(--tk-line);font-weight:800;color:#34414b}
.tk-area-pill:nth-child(2n){background:#edf3f7}
.tk-area-pill:nth-child(3n){background:#fff4c1}
.tk-area-note{margin-top:24px;color:var(--tk-muted);max-width:650px}

/* CTA is allowed to be blue because it is the single closing action. */
.tk-section--final-cta{padding-top:52px;padding-bottom:92px;background:#f8f7f4}
.tk-section--final-cta .tk-cta{box-shadow:0 22px 60px rgba(23,58,96,.14)}

/* Subpages: keep one strong blue hero card, neutralize the rest. */
.tk-subhero-card{background:linear-gradient(145deg,#173a60,#2a598d)}
.tk-local-panel{box-shadow:0 18px 50px rgba(16,19,22,.055)}
.tk-check-list span{background:#fff}
.tk-section--cta{background:#f7f6f2}

/* Reduced hover dependency: touch and scroll are primary. */
@media(hover:none){
  .tk-card:hover,.tk-brand-family__item:hover{transform:none;box-shadow:none}
}

@media(max-width:980px){
  .tk-brand-family__head,.tk-fleet-layout,.tk-area-layout{grid-template-columns:1fr;gap:34px}
  .tk-service-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto}
  .tk-service-card--featured{grid-row:auto;grid-column:1/-1;min-height:320px}
  .tk-proof-grid{grid-template-columns:1fr 1fr}
  .tk-journey-row{grid-template-columns:54px 1fr auto;gap:18px}
  .tk-journey-row p{grid-column:2/-1}
}

@media(max-width:720px){
  .tk-section{padding:72px 0}
  .tk-brand-family{padding:64px 0}
  .tk-brand-family__head{margin-bottom:28px}
  .tk-brand-family__grid{grid-template-columns:1fr}
  .tk-brand-family__item{padding:20px}

  /* Undo previous global carousel behaviour. Only service rail scrolls. */
  .tk-grid4,.tk-grid3{display:grid!important;grid-template-columns:1fr!important;overflow:visible!important;gap:14px!important;margin-left:0!important;margin-right:0!important;padding:0!important;scroll-snap-type:none!important}
  .tk-grid4>.tk-card,.tk-grid3>.tk-card{flex:initial!important;max-width:none!important;min-height:0!important;width:100%!important}

  .tk-service-grid.tk-service-rail{display:flex!important;overflow-x:auto!important;gap:12px!important;margin-left:calc((100vw - 100%)/-2)!important;margin-right:calc((100vw - 100%)/-2)!important;padding:8px 18px 20px!important;scroll-snap-type:x mandatory!important;scroll-padding:18px!important;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .tk-service-grid.tk-service-rail::-webkit-scrollbar{display:none}
  .tk-service-grid.tk-service-rail>.tk-service-card{flex:0 0 84vw;max-width:340px;min-height:300px;scroll-snap-align:start}
  .tk-service-grid.tk-service-rail>.tk-service-card--featured{min-height:300px}

  .tk-journey-list{margin-top:28px}
  .tk-journey-row{grid-template-columns:48px 1fr;gap:14px;padding:22px 0}
  .tk-journey-row p,.tk-journey-row a{grid-column:2}
  .tk-journey-row a{margin-top:2px}

  .tk-proof-grid{grid-template-columns:1fr;gap:10px}
  .tk-proof-item{padding:24px}
  .tk-proof-item__num{margin-bottom:20px}

  .tk-fleet-stats{grid-template-columns:1fr 1fr}
  .tk-fleet-stat{min-height:132px;padding:20px}
  .tk-fleet-stat--big{min-height:150px}

  .tk-area-layout{gap:28px}
  .tk-area-pill{min-height:44px;padding:0 15px;font-size:.92rem}
  .tk-section--final-cta{padding-top:34px;padding-bottom:70px}
}
