/* ==========================================================
   STYR-IT — De helpende hand in IT
   Stijl geïnspireerd op Esonit, in STYR-IT huisstijl
   ========================================================== */

:root {
  --ink: #12211d;
  --ink-2: #1c302a;
  --teal: #006b65;
  --teal-d: #00524d;
  --green: #3f9f4c;
  --lime: #c9d935;
  --mint: #f1f7ec;
  --mint-2: #e4f0dc;
  --text: #4b5754;
  --muted: #7a8582;
  --line: #e3e9e4;
  --white: #fff;
  --grad: linear-gradient(135deg, #dcdc3c 0%, #86c04f 42%, #00756b 100%);
  --grad-soft: linear-gradient(135deg, rgba(220,220,60,.18), rgba(0,117,107,.12));
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(18, 33, 29, .08);
  --shadow-lg: 0 24px 60px rgba(18, 33, 29, .14);
  --font-head: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

main { overflow-x: clip; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 10px; top: 10px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  padding: .95em 1.7em; border-radius: 10px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  line-height: 1.2;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(0,107,101,.25); }
.btn-primary:hover { background: var(--teal-d); color: #fff; transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #d7e64c; color: var(--ink); transform: translateY(-2px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }

.link-more {
  font-family: var(--font-head); font-weight: 800; color: var(--ink);
  display: inline-flex; align-items: center; gap: .4em;
}
.link-more svg { width: 1em; height: 1em; transition: transform .2s; }
.link-more:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #c9d4d0; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 9px 0; flex-wrap: wrap; }
.topbar a { color: #e6eeea; }
.topbar a:hover { color: var(--lime); }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; color: var(--lime); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(18,33,29,.07); border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 86px; }
.brand img { height: 50px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); background: var(--mint); }
.nav .has-sub { position: relative; }
.nav .sub {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 10px; display: none !important; flex-direction: column; align-items: stretch;
  border: 1px solid var(--line);
}
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: flex !important; }
.nav .sub a { font-weight: 600; font-size: .95rem; }
.nav .caret { width: 12px; height: 12px; margin-left: 4px; vertical-align: 0; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.menu-toggle svg { width: 30px; height: 30px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--mint);
  padding: 80px 0 150px;
}
.hero::before {
  content: ""; position: absolute; right: -180px; top: -180px; width: 620px; height: 620px;
  border-radius: 50%; background: var(--grad); opacity: .14;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  letter-spacing: .14em; font-size: .82rem; color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--grad); }
.hero h1 { text-transform: uppercase; margin-bottom: .35em; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; max-width: 540px; color: var(--ink-2); }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero-visual { position: relative; justify-self: center; width: min(460px, 100%); }
.hero-visual .photo {
  position: relative; z-index: 2; border-radius: 240px 240px 28px 28px; overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/5.2; background: var(--mint-2);
}
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.hero-visual .ring {
  position: absolute; inset: -22px -22px auto auto; width: 70%; aspect-ratio: 1;
  border-radius: 50%; border: 2px dashed rgba(0,107,101,.35); z-index: 1;
  animation: spin 40s linear infinite;
}
.hero-visual .badge {
  position: absolute; z-index: 3; left: -40px; bottom: 60px; width: 120px; height: 120px;
  border-radius: 50%; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite;
}
.hero-visual .chip {
  position: absolute; z-index: 3; right: -24px; bottom: 24px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; gap: 12px; align-items: center;
  font-family: var(--font-head); font-weight: 800; color: var(--ink); line-height: 1.25;
  animation: float 7s ease-in-out infinite reverse;
}
.hero-visual .chip small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .8rem; }
.hero-visual .chip .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--mint); color: var(--teal); display: grid; place-items: center; }
.hero-visual .chip .ic svg { width: 22px; height: 22px; }
.dots {
  position: absolute; width: 140px; height: 100px; z-index: 0;
  background-image: radial-gradient(var(--green) 1.6px, transparent 1.8px);
  background-size: 16px 16px; opacity: .35;
}
.hero .dots { left: 4%; bottom: 90px; }
.shape { position: absolute; z-index: 0; pointer-events: none; }
.shape.s1 { left: 46%; top: 70px; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); animation: float 5s ease-in-out infinite; }
.shape.s2 { left: 8%; top: 40px; width: 14px; height: 14px; border: 3px solid var(--teal); transform: rotate(45deg); animation: float 8s ease-in-out infinite; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Feature cards overlapping hero ---------- */
.features { margin-top: -95px; position: relative; z-index: 5; }
.features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.f-card {
  background: #fff; border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
  transition: transform .3s;
}
.f-card:hover { transform: translateY(-6px); }
.f-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.f-card:hover::after { transform: scaleX(1); }
.f-card .icon { margin-bottom: 18px; }
.f-card h3 { margin-bottom: .4em; }
.f-card p { color: var(--text); font-size: .98rem; }

.icon {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  background: var(--mint); color: var(--teal);
  transition: background .3s, color .3s;
}
.icon svg { width: 30px; height: 30px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section.tight { padding: 80px 0; }
.section.alt { background: var(--mint); }
.section.dark { background: var(--ink); color: #b9c6c1; }
.section.dark h2, .section.dark h3 { color: #fff; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-head .eyebrow { justify-content: center; }
.sec-head p { font-size: 1.08rem; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head.left .eyebrow { justify-content: flex-start; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.rev > :first-child { order: 2; }
.about-visual { position: relative; }
.about-visual .main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.about-visual .main img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about-visual .exp {
  position: absolute; right: -26px; bottom: 40px; background: var(--teal); color: #fff;
  border-radius: 18px; padding: 22px 26px; box-shadow: var(--shadow-lg); max-width: 220px;
  font-family: var(--font-head); font-weight: 700; line-height: 1.3;
}
.about-visual .exp strong { display: block; font-size: 2.6rem; line-height: 1; color: var(--lime); margin-bottom: 6px; }
.about-visual .dots { right: -30px; top: -30px; }

.tabs { margin-top: 26px; }
.tab-list { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.tab-list button {
  font-family: var(--font-head); font-weight: 800; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 12px 20px; border-radius: 10px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  transition: all .2s;
}
.tab-list button[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.tab-panel { animation: fade .35s ease; }
.tab-panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.checks.two { grid-template-columns: 1fr 1fr; }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 32px 32px; position: relative; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; background: var(--ink); z-index: 0;
  clip-path: circle(0% at 100% 0%); transition: clip-path .55s ease;
}
.svc-card > * { position: relative; z-index: 1; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { clip-path: circle(150% at 100% 0%); }
.svc-card:hover h3, .svc-card:hover .link-more { color: #fff; }
.svc-card:hover p { color: #b9c6c1; }
.svc-card:hover .icon { background: var(--lime); color: var(--ink); }
.svc-card .num {
  position: absolute; right: 26px; top: 20px; font-family: var(--font-head); font-weight: 900; font-size: 3.2rem;
  color: transparent; -webkit-text-stroke: 1.5px var(--line); line-height: 1; z-index: 1;
}
.svc-card:hover .num { -webkit-text-stroke-color: rgba(255,255,255,.18); }
.svc-card .icon { margin-bottom: 24px; }
.svc-card h3 { transition: color .3s; }
.svc-card p { flex: 1; transition: color .3s; font-size: .98rem; }
.svc-card .link-more { margin-top: 8px; transition: color .3s; }
.svc-card .stretched::after { content: ""; position: absolute; inset: 0; z-index: 2; }

/* ---------- Expertise band ---------- */
.expertise .grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tech {
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 22px;
  display: flex; gap: 16px; align-items: flex-start; transition: border-color .3s, transform .3s;
}
.tech:hover { border-color: var(--lime); transform: translateY(-3px); }
.tech .icon { width: 50px; height: 50px; flex: 0 0 50px; background: rgba(201,217,53,.12); color: var(--lime); border-radius: 12px; }
.tech .icon svg { width: 24px; height: 24px; }
.tech h3 { font-size: 1.05rem; margin: 2px 0 4px; color: #fff; }
.tech p { font-size: .9rem; margin: 0; color: #9fb0aa; line-height: 1.5; }

/* ---------- Clients ---------- */
.clients { border-block: 1px solid var(--line); background: #fff; }
.clients .wrap { padding: 46px 0; }
.clients p.label { text-align: center; font-family: var(--font-head); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--muted); margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: #a5b0ad; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; position: relative;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card .thumb {
  aspect-ratio: 16/9; background: var(--ink); position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 20px;
}
.post-card .thumb::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(201,217,53,.55), transparent 45%), radial-gradient(circle at 10% 100%, rgba(0,117,107,.9), transparent 60%);
}
.post-card .thumb::after {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(#fff 1px, transparent 1.2px); background-size: 14px 14px;
}
.post-card .thumb code {
  position: relative; z-index: 1; font-family: Consolas, "Cascadia Code", monospace; color: #e8f2ee; font-size: .85rem;
  background: rgba(0,0,0,.35); padding: 6px 10px; border-radius: 8px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.post-card .tag {
  position: absolute; z-index: 1; left: 20px; top: 18px; background: var(--lime); color: var(--ink);
  font-family: var(--font-head); font-weight: 800; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 6px;
}
.post-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: .85rem; color: var(--muted); margin-bottom: 8px; display: flex; gap: 14px; }
.post-card h3 { font-size: 1.18rem; line-height: 1.35; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { font-size: .95rem; flex: 1; }
.post-card .lang { font-size: .72rem; font-weight: 700; border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 110px; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--teal);
  color: #d9ece8; padding: 64px 64px; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center;
}
.cta-box::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: var(--grad); opacity: .55; }
.cta-box::after { content: ""; position: absolute; left: 36%; bottom: -60px; width: 160px; height: 120px; background-image: radial-gradient(rgba(255,255,255,.35) 1.5px, transparent 1.7px); background-size: 16px 16px; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: #fff; margin-bottom: .3em; }
.cta-box p { margin: 0; font-size: 1.1rem; }
.cta-box .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: var(--mint); padding: 80px 0 86px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -140px; top: -200px; width: 480px; height: 480px; border-radius: 50%; background: var(--grad); opacity: .16; }
.page-hero .dots { right: 12%; bottom: 20px; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 860px; }
.page-hero p.lead { font-size: 1.15rem; max-width: 720px; color: var(--ink-2); margin: 0; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--teal); font-weight: 600; }
.crumbs span { margin: 0 8px; }

/* ---------- Service detail ---------- */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul li, .prose ol li { margin-bottom: .4em; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 24px; }
.side-box { background: var(--mint); border-radius: var(--radius-lg); padding: 28px; }
.side-box h3 { font-size: 1.15rem; }
.side-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.side-nav a {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 10px;
  background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .96rem;
}
.side-nav a svg { width: 16px; height: 16px; opacity: .5; }
.side-nav a:hover, .side-nav a[aria-current="page"] { background: var(--teal); color: #fff; }
.side-nav a[aria-current="page"] svg { opacity: 1; }
.side-box.dark { background: var(--ink); color: #b9c6c1; }
.side-box.dark h3 { color: #fff; }
.side-box.dark a.big { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; display: block; margin: 6px 0; }
.side-box.dark a.big:hover { color: var(--lime); }
.side-box .person { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.side-box .person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 15%; }
.side-box .person strong { color: #fff; display: block; font-family: var(--font-head); }

.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0; }
.benefit { background: var(--mint); border-radius: 16px; padding: 22px; }
.benefit h3 { font-size: 1.05rem; margin: 0 0 6px; display: flex; gap: 10px; align-items: center; }
.benefit h3 svg { width: 22px; height: 22px; color: var(--teal); flex: 0 0 22px; }
.benefit p { margin: 0; font-size: .95rem; }

/* ---------- About page ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: #fff; border-radius: 18px; padding: 28px 22px; text-align: center; box-shadow: var(--shadow); }
.stat strong { display: block; font-family: var(--font-head); font-weight: 900; font-size: 2.4rem; color: var(--teal); line-height: 1.1; }
.stat span { font-size: .92rem; }

.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 34px 48px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--teal); }
.timeline li:first-child::before { border-color: var(--lime); background: var(--teal); }
.timeline .when { font-family: var(--font-head); font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.timeline h3 { font-size: 1.15rem; margin: 2px 0 2px; }
.timeline .org { font-weight: 600; color: var(--ink-2); margin-bottom: 6px; display: block; }
.timeline p { margin: 0; font-size: .96rem; }

.cert-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cert-group { background: #fff; border-radius: 20px; padding: 28px; border: 1px solid var(--line); }
.cert-group h3 { display: flex; gap: 12px; align-items: center; font-size: 1.15rem; }
.cert-group h3 .icon { width: 44px; height: 44px; border-radius: 12px; }
.cert-group h3 .icon svg { width: 22px; height: 22px; }
.cert-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cert-group li { font-size: .95rem; padding-left: 20px; position: relative; }
.cert-group li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

.partner { display: flex; gap: 30px; align-items: center; background: var(--mint); border-radius: var(--radius-lg); padding: 36px 40px; }
.partner .icon { flex: 0 0 64px; }
.partner h3 { margin-bottom: .3em; }
.partner p { margin: 0; }

/* ---------- Clients page ---------- */
.client-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.client-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; transition: box-shadow .3s, transform .3s; }
.client-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.client-card .sector { font-family: var(--font-head); font-weight: 800; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.client-card h3 { margin: 4px 0 10px; }
.client-card p { font-size: .96rem; }
.client-card .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill { font-size: .78rem; font-weight: 600; background: var(--mint); color: var(--teal); padding: 4px 10px; border-radius: 999px; }

/* ---------- Blog ---------- */
.article { max-width: 820px; margin-inline: auto; }
.article .meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; margin-top: 16px; }
.article .meta strong { color: var(--ink-2); }
.article .notice { background: var(--mint); border-left: 4px solid var(--teal); padding: 14px 18px; border-radius: 8px; font-size: .94rem; margin-bottom: 30px; }
.article figure { margin: 26px 0; }
.article figure img { border-radius: 10px; border: 1px solid var(--line); margin-inline: auto; }
.article figcaption { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 8px; }
.article pre {
  background: #0f1b18; color: #dbe8e3; padding: 22px 24px; border-radius: 12px; overflow-x: auto;
  font-family: Consolas, "Cascadia Code", "Fira Code", monospace; font-size: .86rem; line-height: 1.6; position: relative;
}
.article .codewrap { position: relative; }
.article .copy {
  position: absolute; right: 10px; top: 10px; background: rgba(255,255,255,.1); color: #fff; border: 0;
  border-radius: 6px; padding: 5px 10px; font-size: .78rem; cursor: pointer; font-family: var(--font-body);
}
.article .copy:hover { background: var(--lime); color: var(--ink); }
.article p code, .article li code { background: var(--mint); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.article-nav a { font-family: var(--font-head); font-weight: 800; max-width: 46%; }
.article-nav small { display: block; color: var(--muted); font-family: var(--font-body); font-weight: 500; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.info-list { display: grid; gap: 18px; margin: 30px 0; }
.info-item { display: flex; gap: 18px; align-items: center; background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); }
.info-item .icon { width: 54px; height: 54px; flex: 0 0 54px; }
.info-item small { display: block; color: var(--muted); font-size: .84rem; }
.info-item a, .info-item span.v { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.08rem; }
.info-item a:hover { color: var(--teal); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
.field label .req { color: var(--green); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--mint);
  border: 2px solid transparent; border-radius: 10px; padding: 14px 16px; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); background: #fff; }
.field.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.field.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--teal); }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 10px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e6f4e4; color: #1f6a2c; }
.form-status.err { display: block; background: #fdecea; color: #a12a1f; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; margin-top: 30px; box-shadow: var(--shadow); }
.map-embed a { display: block; position: relative; }
.map-embed img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a7b6b1; font-size: .95rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: -200px; bottom: -260px; width: 520px; height: 520px; border-radius: 50%; background: var(--grad); opacity: .08; }
.site-footer .wrap { position: relative; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding: 80px 0 60px; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--grad); }
.site-footer a { color: #cfdbd7; }
.site-footer a:hover { color: var(--lime); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-logo img { height: 52px; width: auto; margin-bottom: 20px; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; }
.f-contact svg { width: 18px; height: 18px; color: var(--lime); flex: 0 0 18px; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--lime); color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .88rem; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 48px; height: 48px; border-radius: 12px; border: 0;
  background: var(--teal); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--lime); color: var(--ink); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 0 0 0 auto; visibility: hidden; width: min(360px, 88vw); background: #fff; box-shadow: var(--shadow-lg); padding: 100px 24px 30px; clip-path: inset(0 0 0 100%); transition: clip-path .35s ease, visibility .35s; overflow-y: auto; z-index: 70; }
  .nav.open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav .sub { position: static; display: flex !important; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .nav .caret { display: none; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .menu-toggle { display: block; position: relative; z-index: 80; }
  .header-cta .btn { display: none; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(18,33,29,.45); z-index: 45; opacity: 0; visibility: hidden; transition: .3s; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero { padding: 50px 0 130px; }
  .hero .wrap, .split, .expertise .grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .split.rev > :first-child { order: 0; }
  .hero-visual { width: min(380px, 86%); }
  .features .grid, .svc-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
  .cta-box { grid-template-columns: 1fr; padding: 44px 32px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .about-visual { max-width: 460px; }
  .about-visual .exp { right: -10px; }
}
@media (max-width: 640px) {
  .topbar .tb-right { display: none; }
  .site-header .wrap { height: 72px; }
  .brand img { height: 40px; }
  .features .grid, .svc-grid, .blog-grid, .tech-grid, .client-grid, .cert-groups, .benefits, .form-grid, .checks.two { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .form-card { padding: 28px 22px; }
  .partner { flex-direction: column; align-items: flex-start; padding: 28px; }
  .hero-visual .badge { left: -14px; width: 90px; height: 90px; }
  .hero-visual .chip { right: -8px; }
  .article-nav { flex-direction: column; }
  .article-nav a { max-width: 100%; }
}
@media (max-width: 640px) { .shape { display: none; } }
