:root {
  --navy: #071d36;
  --navy-2: #0d2948;
  --navy-3: #163b61;
  --orange: #ff6500;
  --orange-2: #ff8b26;
  --ink: #0d2038;
  --muted: #5d6b7c;
  --line: #dce4ec;
  --paper: #ffffff;
  --mist: #f4f7fa;
  --green: #3f8f67;
  --shadow: 0 22px 60px rgba(5, 28, 54, 0.13);
  --radius: 22px;
  --shell: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Avenir Next, Segoe UI, Helvetica Neue, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.65rem); }
h2 { font-size: clamp(2.05rem, 4vw, 3.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { color: var(--muted); }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(11, 31, 54, 0.09);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: var(--shell);
  min-height: 84px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  width: 154px;
  height: 68px;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.brand img {
  width: 170px;
  height: 112px;
  object-fit: contain;
}
.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 25px;
}
.primary-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 700;
  color: #294056;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -10px;
  height: 2px;
  background: var(--orange);
  transition: right 180ms ease;
}
.primary-nav a:hover::after,
.primary-nav a.active::after { right: 0; }
.primary-nav a.active { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.language-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mist);
}
.language-switch button {
  min-width: 34px;
  padding: 5px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
}
.language-switch button.active {
  color: #fff;
  background: var(--navy);
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 10px 28px rgba(255, 101, 0, 0.22);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.button::after { content: "→"; font-size: 1.12em; }
.button:hover { transform: translateY(-2px); background: #ea5c00; box-shadow: 0 14px 34px rgba(255, 101, 0, 0.28); }
.button:focus-visible,
.primary-nav a:focus-visible,
.language-switch button:focus-visible,
.menu-toggle:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 101, 0, 0.35);
  outline-offset: 3px;
}
.button-small { min-height: 42px; padding: 8px 18px; font-size: 0.84rem; }
.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  box-shadow: none;
}
.button-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.button-light {
  color: var(--navy);
  border-color: #fff;
  background: #fff;
  box-shadow: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow-dark { color: var(--navy); }
.lead { max-width: 700px; font-size: clamp(1.05rem, 1.8vw, 1.24rem); }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading p { font-size: 1.06rem; }
.section-pad { padding: 108px 0; }
.section-soft { background: var(--mist); }

.hero {
  position: relative;
  min-height: 700px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 29, 54, 0.99) 0%, rgba(7, 29, 54, 0.96) 40%, rgba(7, 29, 54, 0.62) 61%, rgba(7, 29, 54, 0.12) 100%),
    url("assets/keep-it-kleer-home-hero.webp") center / cover no-repeat,
    var(--navy);
  overflow: hidden;
}
.hero::before,
.page-hero::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: var(--shell);
  min-height: 700px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding: 82px 0;
}
.hero-copy { width: min(710px, 64%); }
.hero h1 { margin-bottom: 24px; color: #fff; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero p { max-width: 660px; color: rgba(255, 255, 255, 0.82); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.92); font-size: .88rem; font-weight: 700; }
.trust-item::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--navy);
  background: var(--orange);
  border-radius: 50%;
  font-size: .76rem;
  font-weight: 900;
}

.sector-strip { padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.sector-strip h2 { margin-bottom: 24px; text-align: center; font-size: 1rem; letter-spacing: 0; }
.sector-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.sector-item {
  min-width: 0;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 14px 8px;
  color: var(--navy);
  text-align: center;
  font-size: .8rem;
  font-weight: 800;
}
.icon-box {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(12, 38, 65, .07);
}
.icon-box svg { width: 27px; height: 27px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sector-item:hover .icon-box { color: var(--orange); border-color: rgba(255,101,0,.45); transform: translateY(-2px); }

.home-intro-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 84px; align-items: center; }
.portrait-card {
  position: relative;
  min-height: 560px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.portrait-card img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: center 28%; }
.portrait-badge {
  position: absolute;
  left: 26px;
  bottom: 26px;
  max-width: 250px;
  padding: 18px 22px;
  color: #fff;
  background: rgba(7, 29, 54, .92);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}
.portrait-badge strong { display: block; color: var(--orange); font-size: 1.7rem; line-height: 1; }
.portrait-badge span { font-size: .85rem; font-weight: 700; }
.check-list { display: grid; gap: 12px; margin: 26px 0 34px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; color: #294056; font-weight: 700; }
.check-list li::before { content: "✓"; color: #fff; background: var(--orange); border-radius: 50%; width: 21px; height: 21px; flex: 0 0 21px; display: grid; place-items: center; margin-top: 2px; font-size: .7rem; }

.service-preview-grid,
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(255,101,0,.36); box-shadow: var(--shadow); }
.service-card .icon-box { margin-bottom: 28px; color: var(--orange); background: rgba(255,101,0,.08); border: 0; box-shadow: none; }
.service-card h3 { margin-bottom: 14px; }
.service-card p { margin-bottom: 0; }
.service-card .card-link { position: absolute; left: 30px; bottom: 27px; color: var(--orange); text-decoration: none; font-weight: 900; }
.card-link::after { content: " →"; }
.service-card.featured { color: #fff; background: var(--navy); border-color: var(--navy); }
.service-card.featured p { color: rgba(255,255,255,.72); }

.mini-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin-top: 45px;
}
.mini-process::before { content: ""; position: absolute; left: 5%; right: 5%; top: 22px; height: 2px; background: linear-gradient(90deg, var(--orange), #ffb06d); }
.mini-step { position: relative; text-align: center; font-size: .78rem; font-weight: 800; color: var(--navy); }
.mini-step strong { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 12px; color: #fff; background: var(--navy); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px var(--orange); }

.knowledge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.knowledge-card { padding: 28px; border-left: 3px solid var(--orange); background: #fff; box-shadow: 0 12px 36px rgba(7,29,54,.07); }
.knowledge-card .kicker { color: var(--orange); font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.cta-band { position: relative; padding: 82px 0; color: #fff; background: var(--navy); overflow: hidden; }
.cta-band-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-band h2 { max-width: 750px; margin-bottom: 12px; }
.cta-band p { margin-bottom: 0; color: rgba(255,255,255,.7); }

.page-hero { position: relative; min-height: 430px; color: #fff; background: var(--navy); overflow: hidden; }
.page-hero.has-image { background: linear-gradient(90deg, rgba(7,29,54,.99), rgba(7,29,54,.87) 50%, rgba(7,29,54,.22)), var(--hero-image) right 34% center / 54% auto no-repeat, var(--navy); }
.about-hero { --hero-image: url("assets/andreas-home-second.png"); }
.services-hero { --hero-image: url("assets/keep-it-kleer-services-hero.webp"); }
.process-hero { --hero-image: url("assets/keep-it-kleer-process-hero.webp"); }
.page-hero-inner { position: relative; z-index: 2; width: var(--shell); min-height: 430px; margin-inline: auto; display: flex; align-items: center; padding: 74px 0; }
.page-hero-copy { max-width: 720px; }
.page-hero h1 { margin-bottom: 20px; font-size: clamp(2.7rem, 5.6vw, 5.2rem); }
.page-hero h1 em { color: var(--orange); font-style: normal; }
.page-hero p { max-width: 650px; color: rgba(255,255,255,.78); font-size: 1.1rem; }

.about-story { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: start; }
.about-story h2 { position: sticky; top: 132px; }
.story-copy p { font-size: 1.06rem; }
.signature { margin-top: 28px; color: var(--navy); font-family: Georgia, serif; font-size: 2rem; font-style: italic; }
.signature small { display: block; margin-top: 4px; color: var(--muted); font-family: inherit; font-size: .85rem; font-style: normal; }
.values-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 54px; align-items: center; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.value-card { padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.value-card strong { display: block; margin-bottom: 6px; color: var(--navy); }
.value-card span { color: var(--muted); font-size: .9rem; }
.about-photo { min-height: 600px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; min-height: 600px; object-fit: cover; object-position: center 30%; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.stat { padding: 34px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--orange); font-size: 2.35rem; line-height: 1; }
.stat span { display: block; margin-top: 9px; color: var(--muted); font-size: .9rem; font-weight: 700; }

.services-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; margin-bottom: 50px; }
.services-intro p { margin-bottom: 0; font-size: 1.08rem; }
.services-grid .service-card { min-height: 365px; }
.choice-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.choice-card { position: relative; padding: 38px; color: #fff; background: var(--navy); border-radius: 24px; overflow: hidden; }
.choice-card:nth-child(2) { background: var(--navy-2); }
.choice-card h3 { font-size: 1.75rem; }
.choice-card p { color: rgba(255,255,255,.72); }

.process-stage { padding: 95px 0 115px; overflow: hidden; }
.process-orbit {
  position: relative;
  width: min(820px, 88vw);
  aspect-ratio: 1;
  margin: 20px auto 0;
  border: 2px dashed rgba(255,101,0,.55);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255,101,0,.09), transparent 38%),
    conic-gradient(from -11deg, transparent 0 9%, rgba(255,101,0,.08) 9% 12%, transparent 12% 21%, rgba(255,101,0,.08) 21% 24%, transparent 24% 100%);
}
.process-orbit::before { content: ""; position: absolute; inset: 90px; border: 1px solid rgba(7,29,54,.12); border-radius: 50%; }
.process-core {
  position: absolute;
  inset: 50%;
  width: 210px;
  height: 210px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.process-core img { width: 190px; height: 150px; object-fit: contain; }
.process-node {
  position: absolute;
  width: 184px;
  min-height: 96px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(7,29,54,.09);
}
.process-node strong {
  position: absolute;
  top: -11px;
  left: -11px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(255,101,0,.3);
  font-size: .78rem;
}
.process-node-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: rgba(255,101,0,.09);
  border-radius: 13px;
}
.process-node-icon svg { width: 25px; height: 25px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.process-node-label { color: var(--navy); font-size: .82rem; line-height: 1.22; font-weight: 850; }
.node-1 { top: 17px; left: 50%; transform: translateX(-50%); }
.node-2 { top: 13%; right: 24px; }
.node-3 { top: 50%; right: -3px; transform: translateY(-50%); }
.node-4 { right: 24px; bottom: 13%; }
.node-5 { bottom: 17px; left: 50%; transform: translateX(-50%); }
.node-6 { left: 24px; bottom: 13%; }
.node-7 { top: 50%; left: -3px; transform: translateY(-50%); }
.node-8 { top: 13%; left: 24px; }
.process-mobile { display: none; }
.process-mobile-step {
  min-width: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(7,29,54,.06);
}
.process-mobile-step-head {
  display: grid;
  grid-template-columns: 30px 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.process-mobile-number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  font-size: .84rem;
  font-weight: 850;
}
.process-mobile-step h3 { margin: 0; font-size: 1.14rem; line-height: 1.25; }
.process-mobile-step p { margin: 14px 0 0; font-size: .96rem; line-height: 1.5; }
.process-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 100px; }
.process-detail {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.process-detail .number { width: 58px; height: 58px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 18px; font-size: 1.25rem; font-weight: 900; }
.process-detail h3 { margin-bottom: 8px; }
.process-detail p { margin: 0; }

.contact-hero { --hero-image: url("assets/andreas-consulting.png"); }
.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 60px; align-items: start; }
.contact-stack { display: grid; gap: 15px; }
.contact-card { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.contact-card .icon-box { color: var(--orange); background: rgba(255,101,0,.08); border: 0; box-shadow: none; }
.contact-card h3 { margin-bottom: 7px; font-size: 1.1rem; letter-spacing: -.02em; }
.contact-card p, .contact-card address { margin: 0; color: var(--muted); font-style: normal; }
.contact-card a { color: var(--navy); font-weight: 800; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.contact-form { padding: 36px; background: var(--mist); border: 1px solid var(--line); border-radius: 26px; }
.contact-form h2 { font-size: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: .86rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfd9e3;
  border-radius: 10px;
}
.field textarea { min-height: 150px; resize: vertical; }
.form-note { margin: 15px 0 22px; font-size: .83rem; }
.form-note a { color: var(--navy); text-decoration: underline; }
.honeypot { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact-form button:disabled { opacity: .65; cursor: wait; }
.form-status { margin-top: 14px; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.success { color: #17603b; }
.form-status.error { color: #a32727; }
.direct-list-cta { margin-top: 24px; padding: 24px; color: #fff; background: var(--navy); border-radius: 18px; }
.direct-list-cta p { color: rgba(255,255,255,.72); }
.direct-list-cta a { color: var(--orange); font-weight: 900; }

.legal-hero .page-hero-inner { min-height: 390px; }
.legal-section { padding: 72px 0 108px; background: var(--mist); }
.legal-service-note { margin: 0 0 24px; padding: 20px 24px; background: #fff; border-left: 4px solid var(--orange); border-radius: 12px; }
.legal-service-note a { color: var(--navy); font-weight: 700; text-decoration: underline; }
.legal-document-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.legal-document-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 26px; }
.legal-document-head h2 { max-width: 720px; margin-bottom: 10px; font-size: clamp(1.55rem, 3vw, 2.35rem); }
.legal-document-head p { margin-bottom: 0; }
.legal-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.legal-button-secondary { color: var(--navy); background: #fff; border-color: var(--navy); box-shadow: none; }
.legal-button-secondary:hover { color: #fff; background: var(--navy); box-shadow: none; }
.legal-frame { width: 100%; height: min(76vh, 960px); min-height: 680px; border: 1px solid var(--line); border-radius: 14px; background: var(--mist); }
.legal-frame p { padding: 24px; }
.legal-frame a { color: var(--orange); font-weight: 800; }

.site-footer { color: #dfe9f3; background: #05172b; }
.footer-main { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1fr; gap: 52px; padding: 68px 0 56px; }
.footer-main h2 { margin-bottom: 18px; color: #fff; font-size: 1rem; letter-spacing: 0; }
.footer-main p, .footer-main address, .footer-main a, .footer-list { color: #9fb1c3; font-size: .9rem; }
.footer-main address { margin-bottom: 12px; font-style: normal; }
.footer-main > div > a { display: block; margin: 6px 0; text-decoration: none; }
.footer-main a:hover { color: #fff; }
.footer-brand img { width: 150px; height: 105px; margin: -26px 0 -9px; object-fit: contain; filter: drop-shadow(0 5px 18px rgba(255,255,255,.06)); }
.company-ids { display: flex; flex-direction: column; gap: 3px; color: #72879b; font-size: .78rem; }
.footer-links { display: grid; gap: 7px; }
.footer-links a { text-decoration: none; }
.footer-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom .shell { min-height: 65px; display: flex; align-items: center; gap: 22px; color: #72879b; font-size: .78rem; }
.footer-bottom a { margin-left: auto; color: #9fb1c3; text-decoration: none; }
.footer-bottom a + a { margin-left: 0; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 200; max-width: 360px; padding: 14px 18px; color: #fff; background: var(--navy); border-left: 4px solid var(--orange); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .header-inner { gap: 16px; }
  .primary-nav { gap: 17px; }
  .header-actions .button { display: none; }
  .hero { background-size: auto, cover; }
  .hero-copy { width: 68%; }
  .service-preview-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 720px); }
  .header-inner { min-height: 74px; }
  .brand { width: 132px; height: 61px; }
  .brand img { width: 146px; height: 98px; }
  .menu-toggle { display: block; margin-left: auto; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav {
    position: fixed;
    inset: 74px 0 auto;
    max-height: 0;
    overflow: hidden;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: max-height 220ms ease, padding 220ms ease;
  }
  .menu-open .primary-nav { max-height: 420px; padding-block: 18px; }
  .primary-nav a { padding: 12px 0; font-size: 1rem; }
  .primary-nav a::after { display: none; }
  .header-actions { order: 2; }
  .language-switch button { min-width: 32px; }
  .hero { min-height: auto; background: linear-gradient(180deg, rgba(7,29,54,.08), rgba(7,29,54,.9) 46%, var(--navy) 66%), url("assets/keep-it-kleer-home-hero.webp") 72% top / auto 54% no-repeat, var(--navy); }
  .hero::before { display: none; }
  .hero-inner { min-height: 760px; align-items: flex-end; padding: 320px 0 64px; }
  .hero-copy { width: 100%; }
  .home-intro-grid, .about-story, .values-layout, .services-intro, .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .about-story h2 { position: static; }
  .mini-process { grid-template-columns: repeat(4, 1fr); row-gap: 24px; }
  .mini-process::before { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-band-inner { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1.3fr 1fr; }
  .process-orbit { display: none; }
  .process-mobile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .process-detail-grid { display: none; }
  .page-hero.has-image { background: linear-gradient(180deg, rgba(7,29,54,.2), rgba(7,29,54,.96) 58%, var(--navy)), var(--hero-image) center 18% / 100% auto no-repeat, var(--navy); }
  .page-hero.has-image .page-hero-inner { min-height: 620px; align-items: flex-end; padding-top: 280px; }
  .legal-document-head { align-items: flex-start; flex-direction: column; }
  .legal-actions { flex-wrap: wrap; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100vw - 28px); }
  h1 { font-size: clamp(2.35rem, 13vw, 3.6rem); }
  h2 { font-size: clamp(1.9rem, 9vw, 2.65rem); }
  .header-actions { gap: 8px; }
  .language-switch button { min-width: 29px; padding-inline: 5px; }
  .brand { width: 112px; }
  .brand img { width: 130px; }
  .section-pad { padding: 78px 0; }
  .hero-inner { min-height: 750px; padding-top: 290px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .trust-row { display: grid; gap: 12px; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .service-preview-grid, .services-grid, .knowledge-grid, .choice-panel, .process-detail-grid, .form-grid { grid-template-columns: 1fr; }
  .service-card, .services-grid .service-card { min-height: 300px; }
  .field-full { grid-column: auto; }
  .mini-process { grid-template-columns: repeat(2, 1fr); }
  .portrait-card, .portrait-card img { min-height: 470px; }
  .about-photo, .about-photo img { min-height: 480px; }
  .values-grid, .process-mobile { grid-template-columns: 1fr; }
  .process-stage { padding: 70px 0 78px; }
  .process-mobile { gap: 12px; }
  .stats-row { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .contact-form { padding: 25px 20px; }
  .legal-hero .page-hero-inner { min-height: 340px; }
  .legal-section { padding: 48px 0 78px; }
  .legal-document-card { padding: 16px; }
  .legal-actions { width: 100%; }
  .legal-frame { min-height: 560px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom .shell { min-height: 90px; flex-wrap: wrap; gap: 8px 14px; padding-block: 16px; }
  .footer-bottom a { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
