/* ============================================================
   Team Kasper SA — multi-page website
   Extends the design-system tokens & the website-kit vocabulary.
   All values reference DS tokens (var(--*)).
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

.tk { font-family: var(--font-body); color: var(--text-body); background: var(--surface-page);
  -webkit-font-smoothing: antialiased; }
.tk a { cursor: pointer; color: inherit; text-decoration: none; }
.tk h1, .tk h2, .tk h3, .tk h4, .tk h5, .tk h6 { font-family: var(--font-display);
  color: var(--ink-900); letter-spacing: var(--tracking-tight); margin: 0; }
.tk p { margin: 0; }
.tk img { display: block; max-width: 100%; }

.tk-container { max-width: var(--container-max); margin: 0 auto; padding-left: var(--gutter);
  padding-right: var(--gutter); }
.tk-container--wide { max-width: var(--container-wide); }
.tk-section { padding: 80px 0; }
.tk-section--tight { padding: 56px 0; }
.tk-section--subtle { background: var(--surface-subtle); }

.tk-view { animation: tk-fade var(--dur-slow) var(--ease-out) both; }
@keyframes tk-fade { from { transform: translateY(10px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .tk-view { animation: none; } }

/* ---- Section heading block ---- */
.tk-head { max-width: 62ch; }
.tk-head--center { margin: 0 auto; text-align: center; }
.tk-head h2 { font-size: var(--text-3xl); margin-top: 12px; line-height: 1.08; }
.tk-head p { color: var(--ink-600); font-size: var(--text-lg); line-height: 1.6; margin-top: 14px; }
.tk-head--center .tk-kicker { justify-content: center; }
.tk-headrow { display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; margin-bottom: 40px; }
.tk-headrow .tk-head { margin-bottom: 0; }

.tk-eyebrow-rule { width: 30px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red-500) 0 50%, var(--orange-500) 50%); }

/* ============================================================
   HEADER
   ============================================================ */
.tk-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.93);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-subtle); }
.tk-topbar { background: var(--blue-900); color: rgba(255,255,255,.82); font-family: var(--font-body);
  font-size: 13px; padding: 8px var(--gutter); }
.tk-topbar__inner { max-width: 100%; margin: 0; display: flex; align-items: center; gap: 28px;
  justify-content: space-between; flex-wrap: wrap; }
.tk-topbar__left { display: flex; align-items: center; gap: 8px; }
.tk-topbar__right { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.tk-topbar__right span { display: inline-flex; align-items: center; gap: 6px; }
.tk-topbar svg { width: 14px; height: 14px; }
.tk-topbar__left svg { color: var(--blue-400); }
.tk-topbar__right svg { color: var(--yellow-500); }
.tk-topbar__right span:last-child { font-weight: 700; color: var(--yellow-500); }

.tk-header__inner { width: 100%; padding: 0 var(--gutter) 0 0;
  display: flex; align-items: center; gap: 26px; height: 80px; position: relative; }
.tk-header__inner::before { content: ""; position: fixed; left: 0; top: 80px; bottom: 0; width: 600px;
  background-image: url("../assets/brand/header-bg.png"); background-size: cover; background-position: left center;
  background-repeat: no-repeat; z-index: 0; pointer-events: none; }
.tk-logo { display: flex; align-items: center; height: 100%; position: relative; z-index: 1; flex-shrink: 0; }
.tk-logo img { height: 100%; width: auto; aspect-ratio: auto; object-fit: contain; }
.tk-nav { display: flex; gap: 4px; margin-left: 6px; position: relative; z-index: 1; }
.tk-nav__item { position: relative; }
.tk-nav__link { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink-800);
  padding: 10px 14px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; gap: 6px; }
.tk-nav__link:hover { color: var(--blue-700); background: var(--blue-50); }
.tk-nav__link.is-active { color: var(--blue-700); }
.tk-nav__link svg { width: 15px; height: 15px; opacity: .6; transition: transform var(--dur-fast); }
.tk-nav__item:hover .tk-nav__link svg { transform: rotate(180deg); }
.tk-nav__link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--red-500) 0 50%, var(--orange-500) 50%); }

/* Mega menu */
.tk-mega { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 560px; background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); padding: 14px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); z-index: 70; }
.tk-nav__item:hover .tk-mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.tk-mega::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.tk-mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tk-mega__link { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: var(--radius-md);
  transition: background var(--dur-fast); }
.tk-mega__link:hover { background: var(--blue-50); }
.tk-mega__ico { width: 38px; height: 38px; border-radius: var(--radius-sm); flex: none; display: grid; place-items: center;
  background: var(--blue-700); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0) 0 7px, rgba(255,255,255,.12) 7px 8px); }
.tk-mega__ico svg { width: 19px; height: 19px; color: #fff; }
.tk-mega__tx strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--ink-900); }
.tk-mega__tx span { font-size: 12.5px; color: var(--ink-500); line-height: 1.4; }
.tk-mega__foot { margin-top: 8px; padding: 12px; border-radius: var(--radius-md); background: var(--ink-50);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tk-mega__foot span { font-size: 13px; color: var(--ink-600); }

.tk-header__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.tk-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display);
  font-weight: 700; font-size: 15px; color: var(--ink-900); }
.tk-phone:hover { color: var(--blue-700); }
.tk-phone svg { width: 17px; height: 17px; color: var(--blue-700); }

/* Language switch */
.tk-lang { display: inline-flex; border: 1px solid var(--border-default); border-radius: var(--radius-md);
  overflow: hidden; }
.tk-lang button, .tk-lang a { border: 0; background: transparent; font-family: var(--font-cond); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; font-size: 12px; color: var(--ink-500);
  padding: 6px 10px; cursor: pointer; transition: background var(--dur-fast); text-decoration: none;
  display: inline-block; }
.tk-lang button:hover, .tk-lang a:hover { background: var(--ink-50); color: var(--ink-800); }
.tk-lang button.is-active, .tk-lang a.is-active { background: var(--blue-700); color: #fff; }

.tk-header__accent { height: 0; display: none; }

/* ============================================================
   BUTTONS ICON HELPERS shared
   ============================================================ */
.tk-ilink { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display);
  font-weight: 700; font-size: 15px; color: var(--blue-700); }
.tk-ilink svg { width: 17px; height: 17px; transition: transform var(--dur-fast) var(--ease-out); }
.tk-ilink:hover svg { transform: translateX(4px); }

/* ============================================================
   HERO
   ============================================================ */
.tk-hero { position: relative; border: none; border-top: 1px solid var(--color-blue-600); }

/* Variant A — editorial split */
.tk-hero--ed { max-width: var(--container-wide); margin: 0 auto; padding: 70px var(--gutter) 84px;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.tk-hero__title { font-size: clamp(42px, 5.2vw, 72px); line-height: .96; letter-spacing: -.025em;
  margin: 36px 0 0; color: var(--ink-900); text-wrap: balance; }
.tk-hero__title em { font-style: normal; color: var(--blue-700); }
.tk-hero__lead { font-size: var(--text-lg); line-height: 1.62; color: var(--ink-600); max-width: 48ch; margin: 28px 0 56px; }
.tk-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.tk-hero__trust { display: flex; align-items: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
.tk-hero__stars { display: inline-flex; gap: 2px; }
.tk-hero__stars svg { width: 17px; height: 17px; color: var(--orange-500); fill: var(--orange-500); }
.tk-hero__trust span { font-size: 13.5px; color: var(--ink-600); }
.tk-hero__trust b { color: var(--ink-900); }

.tk-hero__media { position: relative; }
.tk-hero__frame { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-xl); background: var(--blue-700); }
.tk-hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.tk-hero__accentbar { position: absolute; left: -14px; top: 40px; bottom: 40px; width: 8px; border-radius: 4px;
  background: linear-gradient(180deg, var(--red-500), var(--orange-500)); }
.tk-seal { position: absolute; right: -16px; top: -16px; width: 124px; height: 124px; border-radius: 50%;
  background: radial-gradient(circle at 50% 34%, var(--orange-500), var(--orange-600)); display: grid;
  place-items: center; text-align: center; color: #fff; box-shadow: 0 10px 26px rgba(0,38,74,.32);
  border: 2px solid rgba(255,255,255,.7); outline: 2px dashed rgba(255,255,255,.6); outline-offset: -9px;
  transform: rotate(-9deg); z-index: 3; }
.tk-seal__pct { font-family: var(--font-poster); font-size: 34px; line-height: 1; }
.tk-seal__label { font-family: var(--font-cond); font-weight: 900; text-transform: uppercase;
  letter-spacing: .08em; font-size: 10px; margin-top: 3px; }
.tk-hero__chip { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px); border-radius: var(--radius-md); padding: 11px 15px; display: flex;
  align-items: center; gap: 11px; box-shadow: var(--shadow-md); }
.tk-hero__chip svg { width: 22px; height: 22px; color: var(--success-500); }
.tk-hero__chip strong { display: block; font-family: var(--font-display); font-size: 14px; color: var(--ink-900); }
.tk-hero__chip span { font-size: 12px; color: var(--ink-500); }

/* Variant B — immersive full-bleed */
.tk-hero--im { position: relative; min-height: 620px; display: grid; align-items: center; overflow: hidden; }
.tk-hero--im .tk-hero__bg { position: absolute; inset: 0; }
.tk-hero--im .tk-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.tk-hero--im .tk-hero__scrim { position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,38,74,.86) 0 34%, rgba(0,38,74,.5) 60%, rgba(0,38,74,.15) 100%); }
.tk-hero--im .tk-hero__slats { position: absolute; inset: 0; opacity: .14;
  background: repeating-linear-gradient(135deg, transparent 0 26px, rgba(255,255,255,.5) 26px 27px); }
.tk-hero--im .tk-hero__inner { position: relative; max-width: var(--container-wide); margin: 0 auto;
  padding: 96px var(--gutter); width: 100%; }
.tk-hero--im .tk-hero__text { max-width: 600px; }
.tk-hero--im .tk-hero__title { color: #fff; }
.tk-hero--im .tk-hero__title em { color: var(--yellow-500); }
.tk-hero--im .tk-hero__lead { color: rgba(255,255,255,.86); }
.tk-hero--im .tk-hero__trust span { color: rgba(255,255,255,.82); }
.tk-hero--im .tk-hero__trust b { color: #fff; }
.tk-hero__statbar { position: relative; background: var(--blue-900); }
.tk-hero__statbar-in { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); }
.tk-hero__statbar .tk-counter { padding: 22px 8px; border-left: 1px solid rgba(255,255,255,.1); }
.tk-hero__statbar .tk-counter:first-child { border-left: 0; }
.tk-hero__statbar .tk-counter strong { color: #fff; }
.tk-hero__statbar .tk-counter span { color: rgba(255,255,255,.66); }

/* ============================================================
   COUNTERS
   ============================================================ */
.tk-counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tk-counter { text-align: left; }
.tk-counter strong { display: block; font-family: var(--font-poster); font-size: clamp(40px, 4vw, 56px);
  color: var(--blue-700); line-height: .9; letter-spacing: .01em; }
.tk-counter span { display: block; font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: .07em; font-size: 12.5px; color: var(--ink-500); margin-top: 10px; }
.tk-counter--center { text-align: center; }

/* ============================================================
   PRODUCT / SERVICE GRID
   ============================================================ */
.tk-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tk-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tk-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.tk-pcard { display: flex; flex-direction: column; height: 100%; }
.tk-pcard__media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--blue-700); }
.tk-pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.tk-card--interactive:hover .tk-pcard__media img { transform: scale(1.05); }
.tk-pcard__badge { position: absolute; left: 12px; top: 12px; z-index: 2; }
.tk-pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tk-pcard__body h4 { font-size: 21px; margin: 0 0 7px; }
.tk-pcard__body p { color: var(--ink-500); font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
.tk-pcard__body .tk-ilink { margin-top: auto; font-size: 14px; }

/* placeholder slats when no photo */
.tk-ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--blue-700);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0) 0 28px, rgba(255,255,255,.08) 28px 29px); }
.tk-ph svg { width: 48px; height: 48px; color: rgba(255,255,255,.92); stroke-width: 1.4; }

/* ============================================================
   VALUE BAND (blue, louvers)
   ============================================================ */
.tk-band { position: relative; background: var(--blue-800); color: #fff; overflow: hidden; }
.tk-band__slats { position: absolute; inset: 0; opacity: 1;
  background: repeating-linear-gradient(135deg, transparent 0 40px, rgba(255,255,255,.05) 40px 41px); }
.tk-band__accent { position: absolute; inset: 0; pointer-events: none; display: none; }
.tk-band__inner { position: relative; max-width: var(--container-max); margin: 0 auto; padding: 76px var(--gutter); }
.tk-band h2 { color: #fff; }
.tk-band .tk-head p { color: rgba(255,255,255,.78); }
.tk-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px; }
.tk-value__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: var(--radius-md);
  background: rgba(255,255,255,.12); margin-bottom: 18px; }
.tk-value__icon svg { width: 26px; height: 26px; color: var(--yellow-500); }
.tk-value h5 { color: #fff; font-size: 19px; margin: 0 0 7px; }
.tk-value p { color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.55; }

/* ============================================================
   TRUST BADGES
   ============================================================ */
.tk-trustrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tk-trust { display: flex; align-items: center; gap: 14px; padding: 20px; background: #fff;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); }
.tk-trust__ico { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--blue-50); }
.tk-trust__ico svg { width: 23px; height: 23px; color: var(--blue-700); }
.tk-trust strong { display: block; font-family: var(--font-display); font-size: 15px; color: var(--ink-900); }
.tk-trust span { font-size: 12.5px; color: var(--ink-500); line-height: 1.4; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tk-testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tk-testi:has(.tk-quote-card:only-child) { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
.tk-quote-card { background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.tk-quote-card__stars { display: inline-flex; gap: 2px; }
.tk-quote-card__stars svg { width: 16px; height: 16px; color: var(--orange-500); fill: var(--orange-500); }
.tk-quote-card blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-800);
  font-family: var(--font-body); }
.tk-quote-card__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tk-avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 16px; background: var(--blue-700); }
.tk-quote-card__who strong { display: block; font-family: var(--font-display); font-size: 14.5px; color: var(--ink-900); }
.tk-quote-card__who span { font-size: 12.5px; color: var(--ink-500); }

/* ============================================================
   FAQ
   ============================================================ */
.tk-faq { max-width: 820px; margin: 0 auto; }
.tk-faq__item { border-bottom: 1px solid var(--border-subtle); }
.tk-faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink-900); }
.tk-faq__q:hover { color: var(--blue-700); }
.tk-faq__icon { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-700); transition: transform var(--dur-base) var(--ease-out); }
.tk-faq__icon svg { width: 17px; height: 17px; }
.tk-faq__item.is-open .tk-faq__icon { transform: rotate(45deg); background: var(--blue-700); color: #fff; }
.tk-faq__a { overflow: hidden; max-height: 0; transition: max-height var(--dur-slow) var(--ease-out); }
.tk-faq__a-in { padding: 0 0 22px; color: var(--ink-600); font-size: 15.5px; line-height: 1.65; max-width: 70ch; }

/* ============================================================
   QUICK CONTACT (home)
   ============================================================ */
.tk-quick { position: relative; background: var(--blue-800); color: #fff; overflow: hidden; }
.tk-quick__slats { position: absolute; inset: 0; opacity: 1;
  background: repeating-linear-gradient(135deg, transparent 0 40px, rgba(255,255,255,.05) 40px 41px); }
.tk-quick__inner { position: relative; max-width: var(--container-max); margin: 0 auto; padding: 70px var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tk-quick h2 { color: #fff; font-size: var(--text-3xl); }
.tk-quick__lead { color: rgba(255,255,255,.82); font-size: var(--text-lg); line-height: 1.6; margin: 14px 0 24px; max-width: 44ch; }
.tk-quick__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tk-quick__list li { display: flex; align-items: center; gap: 11px; font-size: 15px; color: rgba(255,255,255,.92); }
.tk-quick__list svg { width: 19px; height: 19px; color: var(--yellow-500); flex: none; }
.tk-formcard { background: #fff; border-radius: var(--radius-xl); padding: 30px; box-shadow: var(--shadow-xl); }
.tk-formcard h3 { font-size: 22px; margin-bottom: 4px; }
.tk-formcard__sub { color: var(--ink-500); font-size: 14px; margin-bottom: 20px; }
.tk-form { display: grid; gap: 15px; }
.tk-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.tk-form__done { text-align: center; padding: 30px 10px; display: grid; place-items: center; gap: 8px; }
.tk-form__check { width: 64px; height: 64px; border-radius: 50%; background: var(--success-100);
  display: grid; place-items: center; }
.tk-form__check svg { width: 32px; height: 32px; color: var(--success-500); stroke-width: 3; }
.tk-form__done h3 { margin-top: 8px; }
.tk-form__done p { color: var(--ink-600); max-width: 36ch; }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.tk-pagehero { position: relative; background: var(--blue-800); color: #fff; overflow: hidden; }
.tk-pagehero__bg { position: absolute; inset: 0; }
.tk-pagehero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.tk-pagehero__scrim { position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--blue-900) 0 30%, rgba(0,51,95,.7) 100%); }
.tk-pagehero__slats { position: absolute; inset: 0; opacity: .12;
  background: repeating-linear-gradient(135deg, transparent 0 26px, rgba(255,255,255,.6) 26px 27px); }
.tk-pagehero__inner { position: relative; max-width: var(--container-max); margin: 0 auto;
  padding: 64px var(--gutter) 60px; }
.tk-pagehero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.02; margin: 14px 0 0;
  max-width: 18ch; letter-spacing: -.02em; }
.tk-pagehero p { color: rgba(255,255,255,.82); font-size: var(--text-lg); line-height: 1.6;
  max-width: 56ch; margin: 18px 0 0; }
.tk-crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; row-gap: 2px; font-family: var(--font-cond);
  text-transform: uppercase; letter-spacing: .06em; font-size: 12px; color: rgba(255,255,255,.66); }
.tk-crumbs a, .tk-crumbs span { white-space: nowrap; }
.tk-crumbs a:hover { color: #fff; }
.tk-crumbs svg { width: 13px; height: 13px; }

/* ============================================================
   ABOUT / CHI SIAMO
   ============================================================ */
.tk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tk-split--rev .tk-split__media { order: 2; }
.tk-split__media { position: relative; aspect-ratio: 5/4; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); }
.tk-split__media img { width: 100%; height: 100%; object-fit: cover; }
.tk-split__body h2 { font-size: var(--text-3xl); margin: 12px 0 0; line-height: 1.1; }
.tk-split__body p { color: var(--ink-600); font-size: 16px; line-height: 1.7; margin-top: 16px; }
.tk-checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.tk-checklist li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; color: var(--ink-800); }
.tk-checklist svg { width: 20px; height: 20px; color: var(--success-500); flex: none; margin-top: 1px; }

.tk-timeline { display: grid; gap: 0; }
.tk-tl { display: grid; grid-template-columns: 130px 1fr; gap: 28px; padding: 0 0 36px; position: relative; }
.tk-tl__year { font-family: var(--font-poster); font-size: 30px; color: var(--blue-700); line-height: 1; }
.tk-tl__line { position: relative; padding-left: 28px; border-left: 2px solid var(--border-default); }
.tk-tl__dot { position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue-700); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--blue-200); }
.tk-tl__line h4 { font-size: 18px; margin: 0 0 6px; }
.tk-tl__line p { color: var(--ink-600); font-size: 14.5px; line-height: 1.6; }
.tk-tl:last-child .tk-tl__line { border-color: transparent; }

.tk-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tk-member__photo { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.tk-member__photo img { width: 100%; height: 100%; object-fit: cover; }
.tk-member h5 { font-size: 17px; margin: 0; }
.tk-member span { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .05em;
  font-size: 12.5px; color: var(--blue-700); }

/* ============================================================
   SERVICE DETAIL
   ============================================================ */
.tk-svc-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.tk-svc-hero__media { position: relative; min-height: 420px; }
.tk-svc-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tk-svc-hero__body { padding: 64px var(--gutter); display: flex; flex-direction: column; justify-content: center;
  max-width: 640px; margin-left: auto; }
.tk-svc-hero__body h1 { font-size: clamp(34px, 4vw, 50px); line-height: 1.04; margin: 14px 0 0; letter-spacing: -.02em; }
.tk-svc-hero__body p { color: var(--ink-600); font-size: var(--text-lg); line-height: 1.6; margin: 18px 0 26px; }
.tk-benefit { display: flex; gap: 16px; align-items: flex-start; }
.tk-benefit__ico { width: 48px; height: 48px; border-radius: var(--radius-md); flex: none; display: grid; place-items: center;
  background: var(--blue-50); }
.tk-benefit__ico svg { width: 24px; height: 24px; color: var(--blue-700); }
.tk-benefit h4 { font-size: 17px; margin: 0 0 5px; }
.tk-benefit p { color: var(--ink-600); font-size: 14.5px; line-height: 1.55; margin: 0; }

.tk-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tk-gallery__item { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  cursor: pointer; box-shadow: var(--shadow-xs); }
.tk-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.tk-gallery__item:hover img { transform: scale(1.06); }
.tk-gallery__item--tall { grid-row: span 2; aspect-ratio: auto; }

/* aside service nav */
.tk-svc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.tk-svc-aside { position: sticky; top: 130px; display: grid; gap: 4px; }
.tk-svc-aside a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--ink-700); }
.tk-svc-aside a:hover { background: var(--blue-50); color: var(--blue-700); }
.tk-svc-aside a.is-active { background: var(--blue-700); color: #fff; }
.tk-svc-aside a svg { width: 17px; height: 17px; opacity: .8; }

/* ============================================================
   PORTFOLIO / REALIZZAZIONI
   ============================================================ */
.tk-portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tk-proj { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.tk-proj img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.tk-proj:hover img { transform: scale(1.06); }
.tk-proj__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,38,74,.9) 0%, rgba(0,38,74,.1) 55%, transparent 100%);
  opacity: .92; transition: opacity var(--dur-base); }
.tk-proj__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; color: #fff; }
.tk-proj__meta .tk-badge { margin-bottom: 9px; }
.tk-proj__meta h4 { color: #fff; font-size: 19px; margin: 0 0 4px; }
.tk-proj__meta span { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .05em;
  font-size: 12px; color: rgba(255,255,255,.8); display: inline-flex; align-items: center; gap: 6px; }
.tk-proj__meta span svg { width: 13px; height: 13px; }
.tk-proj__view { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: grid; place-items: center; opacity: 0; transform: translateY(-6px);
  transition: all var(--dur-base) var(--ease-out); }
.tk-proj:hover .tk-proj__view { opacity: 1; transform: translateY(0); }
.tk-proj__view svg { width: 18px; height: 18px; color: var(--blue-700); }

/* lightbox */
.tk-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,18,28,.86); backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 24px; animation: tk-fade var(--dur-base) var(--ease-out); }
.tk-lightbox__card { background: #fff; border-radius: var(--radius-xl); overflow: hidden; max-width: 980px; width: 100%;
  max-height: 90vh; display: grid; grid-template-columns: 1.3fr 1fr; box-shadow: var(--shadow-xl); }
/* page-realizzazioni.php pre-renderizza ogni progetto in un wrapper
   [data-tk-project-detail] (mostrato/nascosto via JS) — display:contents lo
   rende "trasparente" alla grid, cosi' .tk-lightbox__media/__body restano
   colonne dirette di .tk-lightbox__card come nel markup React originale
   (che non aveva questo wrapper, dato che gestiva un solo progetto per volta). */
[data-tk-project-detail] { display: contents; }
.tk-lightbox__media { position: relative; background: var(--ink-900); min-height: 360px; }
.tk-lightbox__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tk-lightbox__body { padding: 34px; overflow: auto; }
.tk-lightbox__body h3 { font-size: 26px; margin: 10px 0 0; }
.tk-lightbox__body .tk-meta { display: flex; gap: 18px; flex-wrap: wrap; margin: 16px 0; }
.tk-lightbox__body .tk-meta div { font-size: 13px; }
.tk-lightbox__body .tk-meta dt { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink-400); font-size: 11px; }
.tk-lightbox__body .tk-meta dd { margin: 3px 0 0; font-family: var(--font-display); font-weight: 700; color: var(--ink-900); font-size: 14px; }
.tk-lightbox__body p { color: var(--ink-600); line-height: 1.65; font-size: 15px; }
.tk-lightbox__close { position: absolute; right: 14px; top: 14px; z-index: 5; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-md); }
.tk-lightbox__close svg { width: 20px; height: 20px; color: var(--ink-800); }
.tk-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* ============================================================
   BLOG
   ============================================================ */
.tk-bloggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tk-post { display: flex; flex-direction: column; height: 100%; }
.tk-post__media { aspect-ratio: 16/10; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  margin-bottom: 16px; box-shadow: var(--shadow-xs); }
.tk-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.tk-post:hover .tk-post__media img { transform: scale(1.05); }
.tk-post__cat { position: absolute; left: 12px; top: 12px; }
.tk-post__date { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .05em;
  font-size: 12px; color: var(--ink-400); }
.tk-post h4 { font-size: 20px; line-height: 1.2; margin: 8px 0 8px; }
.tk-post:hover h4 { color: var(--blue-700); }
.tk-post p { color: var(--ink-500); font-size: 14.5px; line-height: 1.55; margin: 0 0 14px; }
.tk-post__more { margin-top: auto; }

.tk-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-sm); }
.tk-feature__media { position: relative; align-self: stretch; min-height: 340px; }
.tk-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tk-feature__body { padding: 40px 44px; }
.tk-feature__body h3 { font-size: var(--text-2xl); line-height: 1.12; margin: 12px 0 12px; }
.tk-feature__body p { color: var(--ink-600); font-size: 16px; line-height: 1.6; margin-bottom: 20px; }

/* article */
.tk-article { max-width: 760px; margin: 0 auto; }
.tk-article__cover { position: relative; aspect-ratio: 16/8; border-radius: var(--radius-xl); overflow: hidden; margin: 0 0 36px;
  box-shadow: var(--shadow-md); }
.tk-article__cover img { width: 100%; height: 100%; object-fit: cover; }
.tk-prose h2 { font-size: var(--text-2xl); margin: 36px 0 14px; }
.tk-prose h3 { font-size: var(--text-xl); margin: 28px 0 10px; }
.tk-prose p { color: var(--ink-700); font-size: 17px; line-height: 1.75; margin: 0 0 18px; }
.tk-prose ul { color: var(--ink-700); font-size: 17px; line-height: 1.7; padding-left: 22px; margin: 0 0 18px; }
.tk-prose li { margin-bottom: 8px; }
.tk-prose blockquote { margin: 24px 0; padding: 18px 24px; border-left: 4px solid var(--blue-700);
  background: var(--blue-50); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-size: 18px;
  color: var(--ink-800); font-style: italic; }
.tk-meta-row { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; font-size: 13.5px; color: var(--ink-500); }
.tk-meta-row .tk-avatar { width: 38px; height: 38px; font-size: 14px; }

/* ============================================================
   CONTACT
   ============================================================ */
.tk-contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: start; }
.tk-contact__info { display: grid; gap: 14px; }
.tk-infocard { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-xs); }
.tk-infocard__ico { width: 46px; height: 46px; border-radius: var(--radius-md); flex: none; display: grid; place-items: center;
  background: var(--blue-700); }
.tk-infocard__ico svg { width: 22px; height: 22px; color: #fff; }
.tk-infocard h4 { font-size: 15px; margin: 0 0 5px; }
.tk-infocard a, .tk-infocard p { color: var(--ink-600); font-size: 14.5px; line-height: 1.5; }
.tk-infocard a:hover { color: var(--blue-700); }

.tk-map { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 380px;
  border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm); }
.tk-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tk-zones { display: flex; flex-wrap: wrap; gap: 9px; }

/* ============================================================
   CTA BAND (reusable, bottom of pages)
   ============================================================ */
.tk-cta { position: relative; overflow: hidden; background: var(--blue-600); color: #fff; }
.tk-cta__slats { position: absolute; inset: 0; opacity: .5;
  background: repeating-linear-gradient(135deg, transparent 0 30px, rgba(255,255,255,.06) 30px 31px); }
.tk-cta__accent { position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--red-500) 0 50%, var(--orange-500) 50%); }
.tk-cta__inner { position: relative; max-width: var(--container-max); margin: 0 auto; padding: 60px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.tk-cta h2 { color: #fff; font-size: var(--text-3xl); max-width: 20ch; line-height: 1.1; }
.tk-cta p { color: rgba(255,255,255,.84); font-size: var(--text-lg); margin-top: 10px; max-width: 46ch; }
.tk-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.tk-footer { background: #0d1f35; color: rgba(255,255,255,.66); }
.tk-footer__top { max-width: var(--container-wide); margin: 0 auto; padding: 60px var(--gutter) 44px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.tk-footer__brand img { height: 44px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.tk-footer__brand p { font-size: 14px; line-height: 1.65; margin-bottom: 18px; max-width: 34ch; }
.tk-social { display: flex; gap: 10px; }
.tk-social a { width: 38px; height: 38px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: rgba(255,255,255,.08); }
.tk-social a:hover { background: var(--blue-700); }
.tk-social svg { width: 18px; height: 18px; color: #fff; }
.tk-footer__col h6 { color: #fff; font-family: var(--font-cond); font-weight: 900; text-transform: uppercase;
  letter-spacing: .1em; font-size: 12px; margin: 0 0 16px; }
.tk-footer__col { display: flex; flex-direction: column; gap: 11px; }
.tk-footer__col a { color: rgba(255,255,255,.66); font-size: 14px;
  display: inline-flex; align-items: center; gap: 9px; transition: color 200ms ease-out; }
.tk-footer__col a:hover { color: var(--yellow-500) !important; }
.tk-footer__col svg { width: 15px; height: 15px; flex: none; color: var(--blue-400); }
.tk-footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.tk-footer__bar-in { max-width: var(--container-wide); margin: 0 auto; padding: 18px var(--gutter);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .04em; font-size: 12.5px; }

/* ============================================================
   STICKY MOBILE CALL / FLOATING CTA
   ============================================================ */
.tk-fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; flex-direction: column;
  gap: 10px; align-items: flex-end; }
.tk-fab__btn { display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 20px; white-space: nowrap;
  border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 700; font-size: 15px;
  border: 0; cursor: pointer; box-shadow: var(--shadow-lg); transition: transform var(--dur-fast) var(--ease-out); }
.tk-fab__btn:hover { transform: translateY(-2px); }
.tk-fab__btn--call { background: rgba(255,255,255,.25); color: #fff; border: 1px solid rgba(255,255,255,.5); filter: drop-shadow(0 1px 2px rgba(0,0,0,.15)); }
.tk-fab__btn--call svg { color: inherit; opacity: 1; }
@supports (mix-blend-mode: lighten) {
  .tk-fab__btn--call { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
}
.tk-fab__btn--quote { background: var(--orange-500); color: #fff; }
.tk-fab__btn svg { width: 19px; height: 19px; }
.tk-fab__btn--icon { width: 52px; padding: 0; justify-content: center; }
.tk-burger.tk-fab__btn { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .tk-team, .tk-grid4, .tk-trustrow, .tk-hero__statbar-in { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .tk-nav, .tk-topbar { display: none; }
  .tk-burger.tk-fab__btn { display: inline-flex; }
  .tk-hero--ed { grid-template-columns: 1fr; gap: 40px; }
  .tk-hero__media { max-width: 460px; }
  .tk-grid3, .tk-grid2, .tk-values, .tk-testi, .tk-portfolio, .tk-bloggrid, .tk-gallery { grid-template-columns: 1fr 1fr; }
  .tk-quick__inner, .tk-split, .tk-contact, .tk-feature, .tk-svc-hero, .tk-svc-layout, .tk-lightbox__card { grid-template-columns: 1fr; }
  .tk-svc-aside { position: static; grid-auto-flow: column; overflow-x: auto; }
  .tk-split--rev .tk-split__media { order: 0; }
}
@media (max-width: 600px) {
  .tk-grid3, .tk-grid2, .tk-values, .tk-testi, .tk-portfolio, .tk-bloggrid, .tk-gallery, .tk-counters,
  .tk-team, .tk-grid4, .tk-trustrow, .tk-form__row { grid-template-columns: 1fr; }
  .tk-section { padding: 56px 0; }
  .tk-cta__inner { flex-direction: column; align-items: flex-start; }
  .tk-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .tk-header__actions .tk-btn { display: none; }
  .tk-header__inner { gap: 10px; padding: 0 var(--gutter-sm, 16px) 0 0; }
  .tk-header__actions { gap: 8px; }
}
@media (max-width: 400px) {
  /* Solo il selettore nell'header (spazio ridotto accanto al burger) — quello
     nel drawer mobile (.tk-drawer__panel .tk-lang) resta sempre visibile,
     è l'unico modo per cambiare lingua da smartphone. */
  .tk-header__actions .tk-lang { display: none; }
}

/* hide native mobile menu drawer by default */
.tk-drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.tk-drawer.is-open { display: block; }
.tk-drawer__scrim { position: absolute; inset: 0; background: rgba(8,18,28,.5); }
.tk-drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: 300px; max-width: 84vw; background: #fff;
  box-shadow: var(--shadow-xl); padding: 22px; display: flex; flex-direction: column; gap: 6px; overflow: auto; }
.tk-drawer__panel a { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink-800);
  padding: 13px 12px; border-radius: var(--radius-md); }
.tk-drawer__panel a:hover, .tk-drawer__panel a.is-active { background: var(--blue-50); color: var(--blue-700); }
.tk-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
