/* ============================================================
   Tektome — Header Navigation
   ============================================================ */

/* ============================================================
   Schedule-a-demo modal (global — opened from the header CTA).
   ============================================================ */
.tk-demo { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.tk-demo__scrim { position: absolute; inset: 0; background: rgba(16, 16, 16, 0.45); animation: tk-demo-fade var(--duration-base, 200ms) var(--ease-out, cubic-bezier(0.2, 0.8, 0.2, 1)); }
.tk-demo__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 520px;
  max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--bg-surface, #fff);
  border-radius: var(--radius-lg, 8px);
  box-shadow: var(--shadow-lg, 0 24px 48px rgba(16,16,16,.22));
  padding: clamp(28px, 4vw, 44px);
  animation: tk-demo-rise var(--duration-slow, 320ms) var(--ease-out, cubic-bezier(0.2, 0.8, 0.2, 1));
}
@keyframes tk-demo-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tk-demo-rise { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tk-demo__scrim, .tk-demo__dialog { animation: none; } }

.tk-demo__close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--radius-md, 6px); background: transparent;
  color: var(--fg-secondary, #555); cursor: pointer;
  transition: background var(--duration-fast, 120ms) var(--ease-out);
}
.tk-demo__close:hover { background: var(--color-light-gray, #f4f4f4); }
.tk-demo__close svg { width: 16px; height: 16px; }

.tk-demo__eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: var(--fw-semibold, 600); letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-arch-purple); margin: 0 0 12px; }
.tk-demo__title { font-family: var(--font-display, var(--font-sans)); font-weight: var(--fw-light, 300); font-size: clamp(24px, 3vw, 32px); line-height: 1.1; letter-spacing: -0.02em; color: var(--color-data-black); margin: 0 0 10px; max-width: 18ch; }
.tk-demo__lede { font-size: 15px; line-height: 1.6; color: var(--fg-secondary); margin: 0 0 22px; }

.tk-demo__form { display: flex; flex-direction: column; gap: 14px; }
.tk-demo__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tk-demo__field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: var(--fw-medium, 500); color: var(--color-data-black); }
.tk-demo__req { color: var(--color-arch-purple); }
.tk-demo__field input, .tk-demo__field textarea {
  font: inherit; font-weight: 400; font-size: 14px; color: var(--color-data-black);
  padding: 10px 12px; border: 1px solid var(--border-default, #d8d8d8);
  border-radius: var(--radius-md, 6px); background: var(--bg-surface, #fff);
  transition: border-color var(--duration-fast, 120ms) var(--ease-out), box-shadow var(--duration-fast, 120ms) var(--ease-out);
}
.tk-demo__field textarea { resize: vertical; min-height: 64px; }
.tk-demo__field input:focus, .tk-demo__field textarea:focus { outline: none; border-color: var(--color-arch-purple); box-shadow: var(--shadow-focus, 0 0 0 3px rgba(81,86,219,.25)); }
.tk-demo__error { font-size: 13px; color: #C0397A; margin: 0; }
.tk-demo__submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 4px; padding: 12px 20px; border: 0; border-radius: var(--radius-md, 6px);
  background: var(--color-arch-purple); color: var(--color-draft-white);
  font: inherit; font-size: 15px; font-weight: var(--fw-semibold, 600); cursor: pointer;
  transition: background var(--duration-fast, 120ms) var(--ease-out);
}
.tk-demo__submit:hover { background: var(--purple-700, #3D3EC9); }
.tk-demo__submit:disabled { opacity: 0.7; cursor: default; }
.tk-demo__submit svg { width: 14px; height: 14px; }
.tk-demo__legal { font-size: 12px; line-height: 1.5; color: var(--fg-tertiary, #8b8b8b); margin: 2px 0 0; }

.tk-demo__success { text-align: center; padding: clamp(20px, 4vw, 40px) 8px; }
.tk-demo__success-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--purple-50); color: var(--color-arch-purple); margin-bottom: 18px; }
.tk-demo__success-icon svg { width: 26px; height: 26px; }
.tk-demo__success-title { font-family: var(--font-display, var(--font-sans)); font-weight: var(--fw-light, 300); font-size: 26px; letter-spacing: -0.02em; color: var(--color-data-black); margin: 0 0 8px; }
.tk-demo__success-text { font-size: 15px; line-height: 1.6; color: var(--fg-secondary); margin: 0; }

@media (max-width: 480px) { .tk-demo__row { grid-template-columns: 1fr; } }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #FFFFFF; /* page outside the 1200 container */
}

/* ---------- SHELL ---------- */
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   HEADER
   ============================================================ */
/* Reserve the header height before React mounts so content doesn't jump. */
#header-root { min-height: 72px; }

.tk-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-draft-white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-base) var(--ease-out);
}
.tk-header.is-open {
  border-bottom-color: var(--gray-300);
}

.tk-header__bar {
  max-width: var(--site-width, 1300px);
  margin: 0 auto;
  height: 72px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.tk-logo {
  display: inline-flex;
  align-items: center;
  height: 28px;
  flex-shrink: 0;
  text-decoration: none;
}
.tk-logo img {
  height: 24px;
  width: auto;
  display: block;
}

/* Primary nav */
.tk-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.tk-nav__item {
  position: relative;
}

.tk-nav__btn {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--fg-primary);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  transition: color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}
.tk-nav__btn:hover {
  color: var(--color-arch-purple);
}
.tk-nav__btn.is-active {
  color: var(--color-arch-purple);
}
.tk-nav__btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.tk-nav__chev {
  width: 12px;
  height: 12px;
  transition: transform var(--duration-base) var(--ease-out);
}
.tk-nav__btn.is-active .tk-nav__chev {
  transform: rotate(180deg);
}

/* Right side cluster */
.tk-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.tk-lang {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
}
.tk-lang button, .tk-lang a {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 4px 4px;
  font: inherit;
  color: var(--fg-tertiary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
.tk-lang button:hover, .tk-lang a:hover { color: var(--fg-primary); }
.tk-lang button.is-active { color: var(--color-arch-purple); }
/* JP link out (tektome.jp) — grey at rest, underline on hover */
#header-root .tk-lang a,
.tk-actions .tk-lang a { color: #717171 !important; text-decoration: none; }
#header-root .tk-lang a:hover,
.tk-actions .tk-lang a:hover { color: var(--fg-primary) !important; text-decoration: underline; }
.tk-lang__sep {
  color: var(--gray-400);
  padding: 0 2px;
}

/* ============================================================
   MEGA MENU PANEL
   ============================================================ */
.tk-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: transparent;
  pointer-events: none;
}
.tk-mega.is-open { pointer-events: auto; }

.tk-mega__inner {
  max-width: var(--site-width, 1300px);
  margin: 0 auto;
  padding: 0 32px 24px;
}

.tk-mega__panel {
  background: var(--color-draft-white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}
.tk-mega.is-open .tk-mega__panel {
  opacity: 1;
  transform: translateY(0);
}

/* Hero block (purple gradient) inside the mega menu */
.tk-mega__hero {
  position: relative;
  background: linear-gradient(115deg, #5156DB 0%, #8A8DE8 52%, #AAA6F0 100%);
  color: var(--color-draft-white);
  padding: 40px 40px 36px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.tk-mega__hero::after {
  /* subtle inner sheen — replicates the diagonal banding in the reference */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    115deg,
    rgba(255,255,255,0) 0,
    rgba(255,255,255,0) 80px,
    rgba(255,255,255,0.04) 80px,
    rgba(255,255,255,0.04) 160px
  );
  pointer-events: none;
}
.tk-mega__hero-title {
  position: relative;
  font-family: var(--font-display);
  font-weight: var(--fw-light);
  font-size: 56px;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--color-draft-white);
  margin: 0;
}
.tk-mega__hero-kicker {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin: 0 0 14px;
}

/* Mega body — grid of hero + columns */
.tk-mega__body {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
}

.tk-mega__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 32px 40px;
}

/* Two-column variant (CURRENT nav: Solutions trimmed to four products). */
.tk-mega__cols--two {
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.tk-mega__col-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-arch-purple);
  margin: 0 0 18px;
}

.tk-mega__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tk-mega__item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  padding: 6px;
  margin: -6px;
  border-radius: var(--radius-md);
  transition: background var(--duration-fast) var(--ease-out);
}
.tk-mega__item:hover {
  background: var(--gray-200);
}

.tk-mega__thumb {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--gray-200);
  border: 1px solid var(--gray-300);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-arch-purple);
}
.tk-mega__svg { width: 18px; height: 18px; display: block; }
.tk-mega__item-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--fg-primary);
  line-height: 1.3;
  margin: 0 0 2px;
}
.tk-mega__item-desc {
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--fg-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Footer rail inside mega — description + see all link */
.tk-mega__footer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 340px 1fr;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-100);
}
.tk-mega__footer-left {
  padding: 20px 40px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-secondary);
}
.tk-mega__footer-left a {
  color: var(--color-arch-purple);
  font-weight: var(--fw-medium);
  text-decoration: none;
}
.tk-mega__footer-left a:hover { text-decoration: underline; }
.tk-mega__footer-right {
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.tk-mega__see-all {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--color-arch-purple);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tk-mega__see-all:hover { color: var(--purple-700); }
.tk-mega__see-all svg { width: 12px; height: 12px; }

/* ============================================================
   Resources mega variant — 4 columns, no hero, featured cards + FAQ
   ============================================================ */
.tk-mega__body--res {
  display: flex;
  flex-direction: column;
}
.tk-mega__cols--res {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.tk-mega__cols--res .tk-mega__col {
  border-left: 1px solid var(--gray-200);
  padding: 0 22px;
}
.tk-mega__cols--res .tk-mega__col:first-child {
  border-left: 0;
}
.tk-mega__col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}
.tk-mega__col-head .tk-mega__col-eyebrow { margin: 0; }
.tk-mega__col-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease-out);
}
.tk-mega__col-more svg { width: 11px; height: 11px; }
.tk-mega__col-more:hover { color: var(--color-arch-purple); }

/* Featured article card */
.tk-mega__feat {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-decoration: none;
  color: inherit;
}
.tk-mega__feat-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}
.tk-mega__feat-media img {
  width: 30px;
  height: auto;
  opacity: 0.85;
}
.tk-mega__feat-media--purple  { background: linear-gradient(115deg, #5156DB 0%, #8A8DE8 52%, #AAA6F0 100%); }
.tk-mega__feat-media--taro    { background: linear-gradient(135deg, #AAA6F0 0%, #8A8DE8 100%); }
.tk-mega__feat-media--lavender{ background: linear-gradient(135deg, #CECDF5 0%, #AAA6F0 100%); }
.tk-mega__feat-media--photo   { background: var(--color-dark-gray); }
.tk-mega__feat-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
}
.tk-mega__feat-meta span { color: var(--gray-400); }
.tk-mega__feat-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  line-height: 1.32;
  color: var(--fg-primary);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  transition: color var(--duration-fast) var(--ease-out);
}
.tk-mega__feat:hover .tk-mega__feat-title { color: var(--color-arch-purple); }
.tk-mega__feat-desc {
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--fg-secondary);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.tk-mega__feat-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: var(--color-arch-purple);
  margin-top: 2px;
}
.tk-mega__feat-cta svg { width: 12px; height: 12px; }

/* FAQ list */
.tk-mega__faqs {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tk-mega__faq {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-200);
  text-decoration: none;
  color: var(--fg-primary);
  transition: color var(--duration-fast) var(--ease-out);
}
.tk-mega__faqs li:last-child .tk-mega__faq { border-bottom: 0; }
.tk-mega__faq-q {
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: var(--fw-medium);
}
.tk-mega__faq-chev {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transform: rotate(-90deg);
  color: var(--gray-400);
  transition: color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.tk-mega__faq:hover { color: var(--color-arch-purple); }
.tk-mega__faq:hover .tk-mega__faq-chev { color: var(--color-arch-purple); transform: rotate(-90deg) translateY(-2px); }

/* Social links in Resources mega footer */
.tk-mega__social { display: inline-flex; align-items: center; gap: 22px; }
.tk-mega__linkedin {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--color-arch-purple);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--duration-fast) var(--ease-out);
}
.tk-mega__linkedin:hover { color: var(--purple-700); }
.tk-mega__linkedin svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ============================================================
   SIMPLE DROPDOWN (Who We Serve / Why Tektome)
   ============================================================ */
.tk-drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 260px;
  padding: 8px;
  background: var(--color-draft-white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
  margin-top: 8px;
  z-index: 60;
}
.tk-drop.is-open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.tk-drop__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--fg-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}
.tk-drop__item:hover {
  background: var(--gray-200);
  color: var(--color-arch-purple);
}
.tk-drop__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--fg-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}
.tk-drop__item:hover .tk-drop__icon {
  color: var(--color-arch-purple);
}

/* ---------- SCRIM under open mega ---------- */
.tk-scrim {
  position: fixed;
  inset: 72px 0 0 0;
  background: rgba(16, 16, 16, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out);
  z-index: 40;
}
.tk-scrim.is-on {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   PAGE CONTAINER + FOOTER (placeholder, per request)
   ============================================================ */
.page-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 32px;
  background: #FFFFFF;
}
.page-container {
  width: 100%;
  max-width: calc(var(--site-width, 1300px) - 64px);
  min-height: 1400px;
  background: var(--gray-200); /* light grey */
  border-radius: var(--radius-lg);
}

/* ============================================================
   FOOTER
   Order: sitemap (top) → brand band (logo + addrs + security
   + newsletter) → bottom (copyright + legal).
   ============================================================ */
.tk-footer {
  background: var(--color-draft-white);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  padding: 80px 0 28px;
}
.tk-footer__inner {
  max-width: var(--site-width, 1300px);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Sitemap band (TOP) ---------- */
.tk-footer__sitemap-wrap {
  padding-bottom: 56px;
  border-bottom: 1px solid var(--gray-300);
}
.tk-footer__sitemap {
  display: grid;
  grid-template-columns: 1.7fr 1.7fr 1fr 1fr 1fr 1fr;
  gap: 40px 32px;
  align-items: start;
}
.tk-footer__col { min-width: 0; }

.tk-footer__col-title {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--fg-primary);
  letter-spacing: 0;
  line-height: 1.3;
}
.tk-footer__col-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
.tk-footer__col-title a:hover { color: var(--color-arch-purple); }

.tk-footer__subgroups {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.tk-footer__sub-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  margin-bottom: 10px;
}

.tk-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tk-footer__links a {
  font-size: 13px;
  color: var(--fg-secondary);
  text-decoration: none;
  font-weight: var(--fw-regular);
  line-height: 1.4;
  transition: color var(--duration-fast) var(--ease-out);
}
.tk-footer__links a:hover { color: var(--color-arch-purple); }

/* Contact column */
.tk-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tk-footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-secondary);
  font-size: 13px;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
.tk-footer__contact a:hover { color: var(--color-arch-purple); }
.tk-footer__cicon {
  width: 16px;
  height: 16px;
  color: var(--fg-tertiary);
  flex-shrink: 0;
}
.tk-footer__contact a:hover .tk-footer__cicon { color: var(--color-arch-purple); }

/* ---------- Brand band (MIDDLE) ----------
   Four zones in one row: logo · addresses · security · newsletter.
   ============================================================ */
.tk-footer__band {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 64px;
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-300);
}
.tk-footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.tk-footer__logo img {
  height: 28px;
  width: auto;
  display: block;
}
.tk-footer__addrs {
  display: flex;
  flex-direction: row;
  gap: 48px;
  flex-wrap: wrap;
}
.tk-footer__addr { flex: 0 0 auto; min-width: 160px; }
.tk-footer__addr-label {
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: var(--fg-primary);
  margin-bottom: 4px;
  line-height: 1.4;
}
.tk-footer__addr-line {
  font-size: 12px;
  color: var(--fg-secondary);
  line-height: 1.55;
}

/* Right side of the band: security + newsletter, side-by-side. */
.tk-footer__band-right {
  grid-column: 4;
  display: flex;
  align-items: center;
  gap: 40px;
  justify-self: end;
}
.tk-footer__bsec {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tk-footer__bsec-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  font-weight: var(--fw-regular);
  line-height: 1.3;
}

/* Security badges */
.tk-footer__badges {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tk-footer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--ease-out);
}
.tk-footer__badge:hover { opacity: 0.85; }
.tk-footer__badge img {
  height: 56px;
  width: auto;
  display: block;
}

/* Newsletter */
.tk-footer__news {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 320px;
  max-width: 100%;
}
.tk-footer__news-input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--gray-300);
  background: var(--gray-100);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--fg-primary);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.tk-footer__news-input::placeholder { color: var(--fg-tertiary); }
.tk-footer__news-input:focus {
  border-color: var(--color-arch-purple);
  box-shadow: var(--shadow-focus);
}
.tk-footer__news-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--color-arch-purple);
  color: var(--color-draft-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-fast) var(--ease-out);
  flex-shrink: 0;
}
.tk-footer__news-btn:hover { background: var(--purple-700); }
.tk-footer__news-btn:active { background: var(--purple-800); }
.tk-footer__news-btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}
.tk-footer__news-btn svg { width: 16px; height: 16px; }
.tk-footer__news-btn[disabled] { opacity: 0.6; cursor: default; }

/* Final (submit) step — rounded square + confirming ring */
.tk-footer__news-btn--final {
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 3px rgba(81, 86, 219, 0.18);
}

/* 2-step sliding newsletter (email → name → submit) */
.tk-footer__news-track { flex: 1; min-width: 0; overflow: hidden; height: 40px; }
.tk-footer__news-slide {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform var(--duration-base) var(--ease-out);
}
.tk-footer__news-slide > .tk-footer__news-input { flex: 0 0 50%; width: 50%; }
.tk-footer__news[data-step="1"] .tk-footer__news-slide { transform: translateX(-50%); }
.tk-footer__news-thanks {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-secondary);
  width: 320px;
  max-width: 100%;
  margin: 0;
}
.tk-footer__news-thanks strong { color: var(--color-data-black); font-weight: var(--fw-semibold); }
.tk-footer__news-err { font-size: 12px; line-height: 1.4; color: var(--fg-secondary); margin: 8px 0 0; }

/* ---------- Bottom row ---------- */
.tk-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-size: 13px;
  padding-top: 28px;
}
.tk-footer__copy {
  color: var(--fg-tertiary);
  flex: 1;
}
.tk-footer__lang {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-primary);
  text-decoration: none;
  font-weight: var(--fw-regular);
  transition: color var(--duration-fast) var(--ease-out);
}
.tk-footer__lang:hover { color: var(--color-arch-purple); }
.tk-footer__flag {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  display: block;
}
.tk-footer__legal {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
  justify-content: flex-end;
}
.tk-footer__legal a {
  color: var(--color-data-black);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration-fast) var(--ease-out);
}
.tk-footer__legal a:hover { color: var(--color-arch-purple); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .tk-footer__band {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 32px 48px;
    padding: 36px 0 40px;
  }
  .tk-footer__logo       { grid-column: 1; grid-row: 1; }
  .tk-footer__addrs      { grid-column: 2; grid-row: 1; justify-self: start; }
  .tk-footer__band-right {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    justify-content: space-between;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
  }
}
@media (max-width: 1180px) {
  .tk-footer__sitemap {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .tk-footer__sitemap > .tk-footer__col:nth-child(1),
  .tk-footer__sitemap > .tk-footer__col:nth-child(2) {
    grid-column: span 2;
  }
}
@media (max-width: 980px) {
  .tk-footer__band {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .tk-footer__logo, .tk-footer__addrs,
  .tk-footer__band-right { grid-column: 1; grid-row: auto; }
  .tk-footer__band-right {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 32px 56px;
    border-top: 0;
    padding-top: 0;
  }
  .tk-footer__sitemap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tk-footer__sitemap > .tk-footer__col:nth-child(1),
  .tk-footer__sitemap > .tk-footer__col:nth-child(2) {
    grid-column: span 2;
  }
}
@media (max-width: 640px) {
  .tk-footer__band-right { flex-direction: column; gap: 28px; }
  .tk-footer__news { width: 100%; }
}
@media (max-width: 560px) {
  .tk-footer { padding: 56px 0 24px; }
  .tk-footer__sitemap { grid-template-columns: minmax(0, 1fr); }
  .tk-footer__sitemap > .tk-footer__col,
  .tk-footer__sitemap > .tk-footer__col:nth-child(1),
  .tk-footer__sitemap > .tk-footer__col:nth-child(2) {
    grid-column: 1;
  }
  .tk-footer__addrs { gap: 24px; }
  .tk-footer__news { width: 100%; }
  .tk-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .tk-footer__legal { justify-content: flex-start; gap: 24px; }
}
