/* ============================================================
   KAYTECH IT — Design System "Atelier"
   Swiss sans (Archivo) × luxury serif (Fraunces)
   Charcoal / Warm Ivory / Electric Blue
   ============================================================ */

:root {
  --ink: #131315;
  --ink-2: #1a1a1e;
  --ink-3: #232329;
  --ivory: #f4f0e8;
  --ivory-2: #faf7f1;
  --ivory-3: #ece7dc;
  --blue: #0a338d;
  --blue-deep: #072566;
  --blue-bright: #4e79e6;
  --blue-glow: rgba(78, 121, 230, 0.5);
  --muted: #6f6a60;
  --muted-dark: #a5a09a;
  --line: rgba(19, 19, 21, 0.14);
  --line-soft: rgba(19, 19, 21, 0.08);
  --line-inverse: rgba(244, 240, 232, 0.16);
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Fraunces", "Georgia", serif;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-swift: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-pad: clamp(5rem, 12vw, 11rem);
  --radius-lg: clamp(1.25rem, 2.5vw, 2.25rem);
}

/* The brand navy is too dark to read against charcoal; dark surfaces
   resolve the accent to a lighter tint of the same hue. */
.kt-dark, .kt-hero, .kt-page-hero, .kt-footer, .kt-menu-overlay {
  --blue: var(--blue-bright);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: var(--ivory-2); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

/* Film grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */
.kt-display {
  font-weight: 640;
  font-size: clamp(3rem, 9.5vw, 9rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-transform: none;
}

.kt-h1 {
  font-weight: 620;
  font-size: clamp(2.75rem, 7vw, 6.25rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
}

.kt-h2 {
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.kt-h3 {
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.kt-serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 420;
  letter-spacing: -0.01em;
}

.kt-lead {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.55;
  font-weight: 420;
}

.kt-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.kt-eyebrow .idx {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--blue);
  font-size: 0.95rem;
}

.kt-eyebrow::after {
  content: "";
  flex: 0 0 3.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.kt-muted { color: var(--muted); }

.kt-dark .kt-muted, .kt-dark .kt-eyebrow { color: var(--muted-dark); }

/* ------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------ */
.kt-wrap {
  max-width: 100rem;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.kt-section { padding-block: var(--section-pad); position: relative; }

.kt-dark {
  background: var(--ink);
  color: var(--ivory);
}

.kt-dark ::selection { background: var(--ivory); color: var(--ink); }

/* Rounded "sheet" section that overlaps the previous one */
.kt-sheet {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  /* margin-top: calc(-1 * var(--radius-lg)); */
  position: relative;
  z-index: 2;
}

.kt-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

.kt-rule { border: 0; border-top: 1px solid var(--line); }
.kt-dark .kt-rule { border-color: var(--line-inverse); }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.kt-btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--ivory-2);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.9rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 560;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), background 0.35s ease, color 0.35s ease;
  will-change: transform;
}

.kt-btn .kt-btn-fill {
  position: absolute;
  inset: 0;
  background: var(--blue);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
  z-index: 0;
}

.kt-btn > span, .kt-btn > svg { position: relative; z-index: 1; }

.kt-btn:hover .kt-btn-fill { transform: translateY(0); }
.kt-btn:hover { color: #fff; }

.kt-btn svg { width: 0.95em; height: 0.95em; transition: transform 0.45s var(--ease-out); }
.kt-btn:hover svg { transform: translate(3px, -3px); }

.kt-btn--blue { --btn-bg: var(--blue); --btn-fg: #fff; }
.kt-btn--blue .kt-btn-fill { background: var(--ink); }

/* Submit-button loading state */
.kt-btn .kt-spinner {
  display: none;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: ktSpin 0.7s linear infinite;
  position: relative;
  z-index: 1;
}
.kt-btn.is-loading { pointer-events: none; opacity: 0.85; }
.kt-btn.is-loading > svg { display: none; }
.kt-btn.is-loading .kt-spinner { display: inline-block; }
@keyframes ktSpin { to { transform: rotate(360deg); } }

/* The spinner is feedback, not decoration; keep it moving under reduced motion */
@media (prefers-reduced-motion: reduce) {
  .kt-btn .kt-spinner {
    animation-duration: 0.7s !important;
    animation-iteration-count: infinite !important;
  }
}

.kt-btn--ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  box-shadow: inset 0 0 0 1px var(--line);
}
.kt-dark .kt-btn--ghost { box-shadow: inset 0 0 0 1px var(--line-inverse); }
.kt-btn--ivory { --btn-bg: var(--ivory-2); --btn-fg: var(--ink); }

/* Text-link with sliding underline */
.kt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 580;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 0.2rem;
}
.kt-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(0.35);
  opacity: 0.4;
  transition: transform 0.5s var(--ease-out), opacity 0.3s;
}
.kt-link:hover::after { transform: scaleX(1); transform-origin: left; opacity: 1; }
.kt-link svg { width: 0.85em; height: 0.85em; transition: transform 0.4s var(--ease-out); }
.kt-link:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */
.kt-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: transform 0.5s var(--ease-swift);
}

.kt-nav.is-hidden { transform: translateY(-110%); }

.kt-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 1rem auto 0;
  max-width: calc(100rem - 2 * var(--gutter));
  padding: 0.7rem 0.75rem 0.7rem 1.5rem;
  border-radius: 999px;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

@media (max-width: 106rem) {
  .kt-nav-inner { margin-inline: var(--gutter); }
}

.kt-nav.is-scrolled .kt-nav-inner {
  background: rgba(250, 247, 241, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(19,19,21,.06), 0 18px 45px -22px rgba(19, 19, 21, 0.35);
}

.kt-nav.on-dark:not(.is-scrolled) { color: var(--ivory); }

.kt-logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
}
.kt-logo .dot { color: var(--blue); font-family: var(--serif); font-style: italic; }
.kt-logo em { font-family: var(--serif); font-style: italic; font-weight: 480; }

/* Image logo: white version over dark heroes, dark version once the
   nav picks up its light glass background on scroll. */
.kt-logo img { display: block; width: clamp(150px, 16vw, 200px); height: auto; }
.kt-logo .kt-logo-dark { display: none; }
.kt-nav.is-scrolled .kt-logo-light { display: none; }
.kt-nav.is-scrolled .kt-logo-dark { display: block; }

.kt-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.2vw, 2.4rem);
  font-size: 0.92rem;
  font-weight: 540;
}

.kt-nav-links > li { position: relative; }

.kt-nav-links > li > a {
  padding: 0.5rem 0;
  position: relative;
  opacity: 0.85;
  transition: opacity 0.25s;
}
.kt-nav-links > li > a:hover { opacity: 1; }
.kt-nav-links > li > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.15rem;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.kt-nav-links > li > a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Dropdown */
.kt-dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  translate: -50% 0;
  min-width: 17rem;
  padding: 0.6rem;
  border-radius: 1.25rem;
  background: rgba(250, 247, 241, 0.88);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(19,19,21,.05), 0 30px 60px -25px rgba(19, 19, 21, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out), visibility 0.3s;
  color: var(--ink);
}

.kt-nav-links li:hover .kt-dropdown,
.kt-nav-links li:focus-within .kt-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.kt-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.9rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  transition: background 0.25s, color 0.25s, padding-left 0.3s var(--ease-out);
}
.kt-dropdown a:hover { background: var(--ink); color: var(--ivory-2); padding-left: 1.15rem; }
.kt-dropdown a::after { content: "→"; opacity: 0; transition: opacity 0.25s; font-size: 0.85em; }
.kt-dropdown a:hover::after { opacity: 1; }

.kt-nav-cta { flex-shrink: 0; }
.kt-nav-cta .kt-btn { padding: 0.8rem 1.5rem; font-size: 0.88rem; }

/* Burger */
.kt-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 3rem; height: 3rem;
  border-radius: 999px;
  align-items: center;
  box-shadow: inset 0 0 0 1px var(--line);
}
.kt-burger span {
  display: block;
  width: 1.35rem; height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease-swift), opacity 0.3s;
}
.kt-burger.is-open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.kt-burger.is-open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* Mobile overlay menu */
.kt-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: var(--ink);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--gutter) * 1.25) var(--gutter) var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-swift);
  overflow-y: auto;
}
.kt-menu-overlay.is-open { clip-path: inset(0 0 0 0); }

.kt-menu-overlay .kt-overlay-links a {
  display: block;
  font-size: clamp(2.2rem, 9vw, 4rem);
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.18;
  padding: 0.2rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.6s var(--ease-out), color 0.3s;
}
.kt-menu-overlay .kt-overlay-links a:hover { color: var(--blue); }
.kt-menu-overlay.is-open .kt-overlay-links a { opacity: 1; transform: translateY(0); }
.kt-menu-overlay .kt-overlay-links a .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.4em;
  vertical-align: super;
  color: var(--blue);
  margin-right: 0.5em;
}
.kt-overlay-foot {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  font-size: 0.9rem;
  color: var(--muted-dark);
}
.kt-overlay-foot a:hover { color: var(--ivory); }

@media (max-width: 64rem) {
  .kt-nav-links, .kt-nav-cta { display: none; }
  .kt-burger { display: flex; }
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.kt-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
  padding-top: 8rem;
}

.kt-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  will-change: transform;
}

.kt-orb--hero {
  width: 60vw; height: 60vw;
  max-width: 880px; max-height: 880px;
  top: -18%; right: -14%;
  background: radial-gradient(circle at 32% 32%,
    rgba(78, 121, 230, 0.8) 0%,
    rgba(78, 121, 230, 0.26) 42%,
    rgba(19, 19, 21, 0) 70%);
  animation: orbDrift 16s ease-in-out infinite alternate;
}

.kt-orb--warm {
  width: 38vw; height: 38vw;
  max-width: 520px; max-height: 520px;
  bottom: 4%; left: -12%;
  background: radial-gradient(circle at 60% 40%,
    rgba(244, 240, 232, 0.16) 0%,
    rgba(244, 240, 232, 0.05) 45%,
    rgba(19, 19, 21, 0) 70%);
  animation: orbDrift 20s ease-in-out infinite alternate-reverse;
}

@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-6%, 7%) scale(1.12); }
}

/* Hero background video: sits behind everything, fades in when playing,
   with a charcoal scrim to keep the headline legible. */
.kt-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.kt-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.kt-hero-video.is-ready video { opacity: 1; }
.kt-hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(19, 19, 21, 0.8) 0%,
    rgba(19, 19, 21, 0.62) 45%,
    rgba(19, 19, 21, 0.88) 100%);
}

.kt-hero-grid-lines {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
  opacity: 0.55;
}
.kt-hero-grid-lines i { border-left: 1px solid rgba(244, 240, 232, 0.06); }

.kt-hero-body { position: relative; z-index: 2; }

.kt-hero-title { margin: 1.6rem 0 0; }
.kt-hero-title .line { display: block; overflow: hidden; }
.kt-hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: riseIn 1.1s var(--ease-out) forwards;
}
.kt-hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.kt-hero-title .line:nth-child(3) > span { animation-delay: 0.24s; }

@keyframes riseIn { to { transform: translateY(0); } }

.kt-hero-title .kt-serif { color: var(--blue); font-weight: 400; }
.kt-hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 240, 232, 0.85);
}

.kt-hero-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem 4rem;
  align-items: end;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.kt-hero-meta p { max-width: 34rem; color: rgba(244, 240, 232, 0.72); }

.kt-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-self: end;
}

@media (max-width: 48rem) {
  .kt-hero-meta { grid-template-columns: 1fr; }
  .kt-hero-actions { justify-self: start; }
}

/* Bottom marquee strip inside hero */
.kt-hero-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-inverse);
  padding-block: 1.1rem;
}

/* ------------------------------------------------------------
   Marquee
   ------------------------------------------------------------ */
.kt-marquee {
  overflow: hidden;
  display: flex;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.kt-marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 3.5rem;
  padding-right: 3.5rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.kt-marquee:hover .kt-marquee-track { animation-play-state: paused; }

@keyframes marquee { to { transform: translateX(-100%); } }

.kt-marquee .mq-item {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.75;
}
.kt-marquee .mq-item::after {
  content: '\2605';
  color: var(--blue);
  font-size: 0.7rem;
  letter-spacing: 0;
}

.kt-marquee--big .mq-item {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 640;
  letter-spacing: -0.03em;
  text-transform: none;
  opacity: 1;
}
.kt-marquee--big .mq-item em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.kt-marquee--big .mq-item::after { font-size: 2rem; }
.kt-marquee--big .kt-marquee-track { animation-duration: 45s; }

/* ------------------------------------------------------------
   Reveal on scroll
   ------------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.9s ease, transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-48px); }
[data-reveal="right"] { transform: translateX(48px); }
[data-reveal="scale"] { transform: scale(0.94) translateY(20px); }

/* ------------------------------------------------------------
   Section header pattern
   ------------------------------------------------------------ */
.kt-sec-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.75rem, 6vw, 5.5rem);
}
.kt-sec-head .kt-eyebrow { margin-bottom: 1.4rem; }
.kt-sec-head .side { max-width: 30rem; justify-self: end; padding-bottom: 0.4rem; }
@media (max-width: 48rem) {
  .kt-sec-head { grid-template-columns: 1fr; }
  .kt-sec-head .side { justify-self: start; }
}

/* ------------------------------------------------------------
   Manifesto / editorial
   ------------------------------------------------------------ */
.kt-manifesto {
  font-size: clamp(1.55rem, 3.4vw, 3rem);
  line-height: 1.28;
  font-weight: 480;
  letter-spacing: -0.018em;
  max-width: 62rem;
}
.kt-manifesto em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}
.kt-manifesto .dim { color: var(--muted); }
.kt-dark .kt-manifesto .dim { color: var(--muted-dark); }

/* Word-by-word ink reveal */
.kt-manifesto .w {
  transition: opacity .35s ease, color .35s ease;
}

/* ------------------------------------------------------------
   Service index rows
   ------------------------------------------------------------ */
.kt-svc-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 26rem) auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3.5rem);
  padding: clamp(1.6rem, 3vw, 2.6rem) 0;
  border-top: 1px solid var(--line-inverse);
  position: relative;
  transition: padding-left 0.5s var(--ease-out);
}
.kt-svc-row:last-child { border-bottom: 1px solid var(--line-inverse); }
.kt-svc-row:hover { padding-left: 1.25rem; }

.kt-svc-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(78,121,230,0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.kt-svc-row:hover::before { opacity: 1; }

.kt-svc-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted-dark);
  min-width: 2.6rem;
  transition: color 0.3s;
}
.kt-svc-row:hover .kt-svc-num { color: var(--blue); }

.kt-svc-title {
  font-size: clamp(1.7rem, 3.6vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  transition: transform 0.5s var(--ease-out);
}

.kt-svc-desc {
  font-size: 0.95rem;
  color: var(--muted-dark);
  max-width: 26rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kt-svc-arrow {
  width: 3.4rem; height: 3.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-inverse);
  transition: background 0.35s, transform 0.5s var(--ease-out), box-shadow 0.35s;
  flex-shrink: 0;
}
.kt-svc-arrow svg { width: 1.05rem; height: 1.05rem; transition: transform 0.45s var(--ease-out); }
.kt-svc-row:hover .kt-svc-arrow {
  background: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue), 0 0 40px -8px var(--blue-glow);
  transform: rotate(-45deg);
}

@media (max-width: 64rem) {
  .kt-svc-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .kt-svc-desc { display: none; }
}

/* ------------------------------------------------------------
   Work gallery — asymmetric
   ------------------------------------------------------------ */
.kt-work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 2.6vw, 2.75rem);
  align-items: start;
}

.kt-work-card { position: relative; }
.kt-work-card:nth-child(4n+1) { grid-column: 1 / span 7; }
.kt-work-card:nth-child(4n+2) { grid-column: 9 / span 4; margin-top: clamp(3rem, 9vw, 8rem); }
.kt-work-card:nth-child(4n+3) { grid-column: 2 / span 4; margin-top: clamp(-2rem, -1vw, -1rem); }
.kt-work-card:nth-child(4n+4) { grid-column: 7 / span 6; margin-top: clamp(2rem, 6vw, 5rem); }

@media (max-width: 48rem) {
  .kt-work-card:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
}

.kt-work-media {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  aspect-ratio: 4 / 3;
  background: var(--ivory-3);
}
.kt-work-card--tall .kt-work-media { aspect-ratio: 3 / 4; }

.kt-work-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.04);
  transition: transform 1.1s var(--ease-out), filter 0.6s ease;
  will-change: transform;
}
.kt-work-card:hover .kt-work-media img { transform: scale(1.11); }

.kt-work-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(19, 19, 21, 0.55));
  opacity: 0;
  transition: opacity 0.5s ease;
}
.kt-work-card:hover .kt-work-media::after { opacity: 1; }

.kt-work-tag {
  position: absolute;
  top: 1.1rem; left: 1.1rem;
  z-index: 2;
  padding: 0.45rem 0.95rem;
  font-size: 0.72rem;
  font-weight: 620;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  color: var(--ivory-2);
  background: rgba(19, 19, 21, 0.35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(244, 240, 232, 0.25);
}

.kt-work-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.25rem 0;
}
.kt-work-info h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; }
.kt-work-info .cat {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

/* ------------------------------------------------------------
   Process — editorial numbered steps
   ------------------------------------------------------------ */
.kt-steps { counter-reset: step; }

.kt-step {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 1.5rem 4rem;
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  border-top: 1px solid var(--line);
}
.kt-step:last-child { border-bottom: 1px solid var(--line); }

.kt-step-title {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.kt-step-title::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.72em;
  color: var(--blue);
}
.kt-step p { max-width: 38rem; color: var(--muted); }

@media (max-width: 48rem) {
  .kt-step { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* ------------------------------------------------------------
   Stats band
   ------------------------------------------------------------ */
.kt-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 48rem) { .kt-stats { grid-template-columns: repeat(2, 1fr); } }

.kt-stat { border-left: 1px solid var(--line-inverse); padding-left: 1.5rem; }
.kt-stat-num {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.kt-stat-num .suffix { color: var(--blue); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 0.65em; margin-left: 0.1em; }
.kt-stat-label { margin-top: 0.7rem; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); }

/* ------------------------------------------------------------
   Glass card / premium card
   ------------------------------------------------------------ */
.kt-card {
  border-radius: 1.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--ivory-2);
  box-shadow: inset 0 0 0 1px var(--line-soft), 0 24px 60px -35px rgba(19, 19, 21, 0.35);
  transition: transform 0.6s var(--ease-out), box-shadow 0.5s ease;
  position: relative;
  overflow: hidden;
}
.kt-card:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px var(--line-soft), 0 40px 80px -40px rgba(19, 19, 21, 0.45);
}

.kt-card--glass {
  background: rgba(250, 247, 241, 0.07);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(244, 240, 232, 0.12), inset 0 1px 0 rgba(244, 240, 232, 0.18);
  color: var(--ivory);
}
.kt-card--glass:hover {
  box-shadow: inset 0 0 0 1px rgba(244, 240, 232, 0.22), inset 0 1px 0 rgba(244, 240, 232, 0.25), 0 30px 70px -30px rgba(0,0,0,0.6);
}

.kt-card-icon {
  width: 3.25rem; height: 3.25rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(78,121,230,0.18), rgba(78,121,230,0.06));
  box-shadow: inset 0 0 0 1px rgba(78, 121, 230, 0.28);
  color: var(--blue);
}
.kt-card-icon svg { width: 1.4rem; height: 1.4rem; }

.kt-card h3 { font-size: 1.25rem; font-weight: 620; letter-spacing: -0.01em; margin-bottom: 0.65rem; }
.kt-card p { font-size: 0.96rem; color: var(--muted); }
.kt-card--glass p { color: var(--muted-dark); }

/* ------------------------------------------------------------
   Testimonials
   ------------------------------------------------------------ */
.kt-testi {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 2.5rem 5rem;
}
@media (max-width: 64rem) { .kt-testi { grid-template-columns: 1fr; } }

.kt-quote-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(6rem, 12vw, 10rem);
  line-height: 0.6;
  color: var(--blue);
  user-select: none;
}

.kt-testi-slide { display: none; }
.kt-testi-slide.is-active { display: block; animation: testiIn 0.8s var(--ease-out); }

@keyframes testiIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.kt-testi-quote {
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  line-height: 1.5;
  font-weight: 440;
  letter-spacing: -0.01em;
}

.kt-testi-person { margin-top: 2.25rem; display: flex; align-items: center; gap: 1.1rem; }
.kt-testi-person .who strong { display: block; font-weight: 620; font-size: 1rem; }
.kt-testi-person .who span { font-size: 0.88rem; color: var(--muted-dark); font-family: var(--serif); font-style: italic; }

.kt-testi-nav { display: flex; gap: 0.7rem; margin-top: 2.75rem; }
.kt-testi-nav button {
  width: 3.2rem; height: 3.2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-inverse);
  transition: background 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-out);
}
.kt-testi-nav button:hover { background: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); transform: scale(1.06); }
.kt-testi-nav svg { width: 1rem; height: 1rem; }

.kt-testi-count {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted-dark);
  margin-top: 1.5rem;
}
.kt-testi-count .cur { color: var(--blue); font-size: 1.6rem; }

/* ------------------------------------------------------------
   FAQ accordion
   ------------------------------------------------------------ */
.kt-faq { border-top: 1px solid var(--line); }
.kt-faq-item { border-bottom: 1px solid var(--line); }
.kt-dark .kt-faq, .kt-dark .kt-faq-item { border-color: var(--line-inverse); }

.kt-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
  padding: 1.6rem 0.25rem;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 580;
  letter-spacing: -0.01em;
  transition: color 0.3s, padding-left 0.4s var(--ease-out);
}
.kt-faq-q:hover { color: var(--blue); padding-left: 0.85rem; }

.kt-faq-q .plus {
  position: relative;
  width: 2.6rem; height: 2.6rem;
  flex-shrink: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background 0.35s, box-shadow 0.35s, transform 0.5s var(--ease-swift);
}
.kt-dark .kt-faq-q .plus { box-shadow: inset 0 0 0 1px var(--line-inverse); }
.kt-faq-q .plus::before, .kt-faq-q .plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0.85rem; height: 1.5px;
  background: currentColor;
  translate: -50% -50%;
  transition: transform 0.45s var(--ease-swift);
}
.kt-faq-q .plus::after { transform: rotate(90deg); }
.kt-faq-item.is-open .kt-faq-q .plus { background: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); color: #fff; transform: rotate(45deg); }

.kt-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-swift);
}
.kt-faq-a > div {
  padding: 0 0.25rem 1.8rem;
  max-width: 46rem;
  color: var(--muted);
}
.kt-dark .kt-faq-a > div { color: var(--muted-dark); }

/* ------------------------------------------------------------
   CTA finale
   ------------------------------------------------------------ */
.kt-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.kt-cta .kt-orb--cta {
  width: 55vw; height: 55vw;
  max-width: 760px; max-height: 760px;
  left: 50%; top: 55%;
  translate: -50% -50%;
  background: radial-gradient(circle,
    rgba(78, 121, 230, 0.45) 0%,
    rgba(78, 121, 230, 0.13) 45%,
    transparent 70%);
}
.kt-cta-title {
  font-size: clamp(3rem, 9vw, 8.5rem);
  font-weight: 640;
  letter-spacing: -0.035em;
  line-height: 0.98;
  position: relative;
  z-index: 1;
}
.kt-cta-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 380;
  color: var(--blue);
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.kt-footer {
  background: var(--ink);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.kt-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: 3rem;
  padding: clamp(3.5rem, 7vw, 6rem) 0 3.5rem;
  border-bottom: 1px solid var(--line-inverse);
}
@media (max-width: 64rem) { .kt-footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40rem) { .kt-footer-top { grid-template-columns: 1fr; } }

.kt-footer h5 {
  font-size: 0.75rem;
  font-weight: 620;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 1.4rem;
}
.kt-footer-links li { margin-bottom: 0.65rem; }
.kt-footer-links a { opacity: 0.8; transition: opacity 0.25s, padding-left 0.35s var(--ease-out); }
.kt-footer-links a:hover { opacity: 1; padding-left: 0.4rem; color: var(--blue); }

.kt-footer-desc { max-width: 26rem; color: var(--muted-dark); margin-top: 1.25rem; }

.kt-footer-contact a { display: block; margin-bottom: 0.5rem; opacity: 0.85; transition: color 0.25s; }
.kt-footer-contact a:hover { color: var(--blue); opacity: 1; }

.kt-footer-social { display: flex; gap: 0.8rem; margin-top: 1.75rem; }
.kt-footer-social a {
  width: 2.8rem; height: 2.8rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-inverse);
  transition: background 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-out);
}
.kt-footer-social a:hover { background: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); transform: translateY(-3px); }
.kt-footer-social svg { width: 1rem; height: 1rem; }

.kt-footer-word {
  font-weight: 700;
  font-size: clamp(4rem, 14vw, 13rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-align: center;
  padding-top: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(180deg, rgba(244,240,232,0.35), rgba(244,240,232,0.03));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.kt-footer-word em { font-family: var(--serif); font-style: italic; font-weight: 400; }

.kt-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 0 2.25rem;
  font-size: 0.85rem;
  color: var(--muted-dark);
}

/* ------------------------------------------------------------
   Page hero (inner pages)
   ------------------------------------------------------------ */
.kt-page-hero {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(9rem, 16vw, 14rem) 0 clamp(3.5rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.kt-page-hero .kt-orb--hero { opacity: 0.65; }

.kt-crumbs {
  display: flex;
  gap: 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 1.75rem;
}
.kt-crumbs a:hover { color: var(--blue); }
.kt-crumbs .sep { color: var(--blue); }

.kt-page-hero .kt-lead { max-width: 42rem; color: rgba(244, 240, 232, 0.72); margin-top: 1.75rem; }

/* ------------------------------------------------------------
   Filters (projects)
   ------------------------------------------------------------ */
.kt-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.kt-filter {
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 560;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.35s var(--ease-out);
}
.kt-filter:hover { transform: translateY(-2px); }
.kt-filter.is-active { background: var(--ink); color: var(--ivory-2); box-shadow: inset 0 0 0 1px var(--ink); }

.kt-work-card.is-filtered-out { display: none; }

/* ------------------------------------------------------------
   Forms
   ------------------------------------------------------------ */
.kt-field { position: relative; margin-bottom: 2.1rem; }
.kt-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 620;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.kt-field input, .kt-field textarea, .kt-field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0.1rem;
  font: inherit;
  font-size: 1.15rem;
  color: inherit;
  border-radius: 0;
  transition: border-color 0.3s;
}
.kt-field input:focus, .kt-field textarea:focus, .kt-field select:focus {
  outline: none;
  border-color: var(--blue);
}
.kt-field textarea { resize: vertical; min-height: 8rem; }

.kt-field .focus-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.kt-field input:focus ~ .focus-line,
.kt-field textarea:focus ~ .focus-line { transform: scaleX(1); }

.kt-form-alert {
  padding: 1.1rem 1.4rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  font-weight: 520;
}
.kt-form-alert.ok { background: rgba(10, 51, 141, 0.08); color: var(--blue-deep); box-shadow: inset 0 0 0 1px rgba(10, 51, 141, 0.3); }
.kt-form-alert.err { background: rgba(200, 60, 40, 0.08); color: #a53420; box-shadow: inset 0 0 0 1px rgba(200, 60, 40, 0.3); }

/* Honeypot */
.kt-hp { position: absolute !important; left: -6000px !important; opacity: 0; height: 0; overflow: hidden; }

/* ------------------------------------------------------------
   Custom cursor (fine pointers only)
   ------------------------------------------------------------ */
.kt-cursor, .kt-cursor-ring { display: none; }

@media (pointer: fine) {
  .kt-cursor {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: var(--blue);
    pointer-events: none;
    z-index: 3000;
    mix-blend-mode: exclusion;
  }
  .kt-cursor-ring {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 38px; height: 38px;
    margin: -19px 0 0 -19px;
    border-radius: 50%;
    border: 1px solid var(--blue);
    pointer-events: none;
    z-index: 2999;
    opacity: 0.6;
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
                margin 0.3s var(--ease-out), opacity 0.3s, background 0.3s;
  }
  .kt-cursor-ring.is-hover {
    width: 64px; height: 64px;
    margin: -32px 0 0 -32px;
    background: rgba(78, 121, 230, 0.14);
    opacity: 1;
  }
}

/* ------------------------------------------------------------
   Abstract illustration blocks
   ------------------------------------------------------------ */
.kt-illus { position: relative; }
.kt-illus svg { width: 100%; height: auto; display: block; }

.kt-float {
  animation: floatY 7s ease-in-out infinite alternate;
}
@keyframes floatY {
  from { transform: translateY(-10px); }
  to { transform: translateY(12px); }
}

/* Tech chips */
.kt-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.kt-chip {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 540;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.4s var(--ease-out), background 0.3s, color 0.3s, box-shadow 0.3s;
}
.kt-dark .kt-chip { box-shadow: inset 0 0 0 1px var(--line-inverse); }
.kt-chip:hover { transform: translateY(-3px); background: var(--blue); color: #fff; box-shadow: inset 0 0 0 1px var(--blue); }

/* Floating WhatsApp chat button */
.kt-whatsapp {
  position: fixed;
  right: 1.5rem; bottom: 1.5rem;
  z-index: 901;
  width: 3.5rem; height: 3.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 16px 40px -12px rgba(37, 211, 102, 0.55);
  transition: transform 0.4s var(--ease-out), box-shadow 0.3s;
}
.kt-whatsapp:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 48px -12px rgba(37, 211, 102, 0.7);
}
.kt-whatsapp svg { width: 1.7rem; height: 1.7rem; }

/* Soft pulse to draw the eye */
.kt-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25d366;
  opacity: 0.45;
  z-index: -1;
  animation: ktPulse 2.4s ease-out infinite;
}
@keyframes ktPulse {
  0% { transform: scale(1); opacity: 0.45; }
  70%, 100% { transform: scale(1.65); opacity: 0; }
}

/* "Chat with us" label slides out on hover (fine pointers only) */
.kt-whatsapp-label {
  position: absolute;
  right: calc(100% + 0.8rem);
  top: 50%;
  translate: 0 -50%;
  white-space: nowrap;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ivory-2);
  font-size: 0.85rem;
  font-weight: 560;
  box-shadow: inset 0 0 0 1px var(--line-inverse), 0 10px 30px -12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity 0.3s, transform 0.4s var(--ease-out), visibility 0.3s;
  pointer-events: none;
}
@media (pointer: fine) {
  .kt-whatsapp:hover .kt-whatsapp-label,
  .kt-whatsapp:focus-visible .kt-whatsapp-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
}

/* Scroll-to-top (sits above the WhatsApp button) */
.kt-top {
  position: fixed;
  right: 1.65rem; bottom: 5.9rem;
  z-index: 900;
  width: 3.2rem; height: 3.2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--ivory-2);
  box-shadow: 0 16px 40px -14px rgba(19, 19, 21, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s, transform 0.5s var(--ease-out), visibility 0.4s, background 0.3s;
}
.kt-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.kt-top:hover { background: var(--blue); }
.kt-top svg { width: 1rem; height: 1rem; }

/* Skip link (a11y) */
.kt-skip {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 3001;
  background: var(--blue);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0.6rem;
  transition: top 0.3s;
}
.kt-skip:focus { top: 1rem; }

.kt-title-link { transition: color 0.3s; }
.kt-title-link:hover { color: var(--blue); }

/* Responsive collapse for inline-placed grid children */
@media (max-width: 64rem) {
  .kt-grid > [style*="grid-column"] { grid-column: 1 / -1 !important; }
  .kt-why-grid > .kt-card { grid-column: span 6 !important; }
}
@media (max-width: 40rem) {
  .kt-why-grid > .kt-card { grid-column: 1 / -1 !important; }
}

/* Utility spacers */
.kt-mt-1 { margin-top: 1rem; } .kt-mt-2 { margin-top: 2rem; }
.kt-mt-3 { margin-top: 3rem; } .kt-mt-4 { margin-top: clamp(3rem, 6vw, 5rem); }
.kt-center { text-align: center; }
