/* ==========================================================================
   Weavolve Solution — Static Site Stylesheet
   ========================================================================== */

/* ---------- 0. Fonts (self-hosted) ----------
   Plus Jakarta Sans is a variable font: one file covers 200-800, so the whole
   type scale costs a single request. Self-hosting removes two third-party
   handshakes from the critical path and keeps visitor IPs off a third party. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --navy-900: #0a1423;
  --navy-800: #0f1d31;
  --navy-700: #16293f;
  --navy-600: #22354e;
  --navy-500: #2f4260;

  --cyan-400: #4dd4ef;
  --cyan-500: #2bc0e0;
  --cyan-600: #18a6c6;
  --blue-500: #1a7fb5;
  --blue-600: #146a96;

  /* Neutrals */
  --ink: #101a28;
  --body: #475569;
  --muted: #7a8699;
  --line: #e5ebf2;
  --surface: #f5f8fb;
  --surface-2: #eef3f9;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--white);
  --fg: var(--ink);
  --accent: var(--cyan-500);
  --accent-ink: var(--cyan-600);

  --grad: linear-gradient(135deg, #4dd4ef 0%, #1a7fb5 100%);
  --grad-soft: linear-gradient(135deg, rgba(77,212,239,.14) 0%, rgba(26,127,181,.14) 100%);

  /* Typography */
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Metrics */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 26, 40, .06), 0 2px 8px rgba(16, 26, 40, .04);
  --shadow: 0 4px 10px rgba(16, 26, 40, .06), 0 16px 40px rgba(16, 26, 40, .08);
  --shadow-lg: 0 10px 30px rgba(16, 26, 40, .10), 0 30px 70px rgba(16, 26, 40, .12);
  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
  --mega-w: 620px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}


/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-500); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--fg);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.85rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: clamp(64px, 8vw, 118px); }
.section--tight { padding-block: clamp(48px, 5vw, 76px); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--navy-900); color: #b9c6d8; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- 4. Bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.section--dark .eyebrow { color: var(--cyan-400); }

.lede { font-size: 1.1rem; color: var(--body); max-width: 62ch; }
.section--dark .lede { color: #a7b6cb; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.7rem; border: 1px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: -.01em; line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(26, 127, 181, .28); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(26, 127, 181, .38); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--cyan-500); color: var(--accent-ink); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; }
.btn--light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn--sm { padding: .68rem 1.25rem; font-size: .875rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .92rem; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(16,26,40,.06); }
.nav {
  display: flex; align-items: center; gap: 28px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; margin-right: auto; flex: none; }
.brand picture { display: contents; }
.brand img { height: 40px; width: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .85rem; border-radius: 999px;
  color: var(--navy-600); font-weight: 600; font-size: .95rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-link:hover, .nav-item:focus-within > .nav-link { background: var(--surface-2); color: var(--navy-900); }
.nav-link.is-active { color: var(--accent-ink); }
.nav-link .chev { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav-item { position: relative; }
.nav-item:hover .chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 10px);
  width: var(--mega-w); padding: 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  /* Closing waits a moment, so clipping a corner on the way to the panel
     does not snatch it away. Opening stays instant (delay reset below). */
  transition-delay: .2s;
}
.nav-item:hover .mega, .nav-item:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

/* The panel hangs 10px below the trigger and is far wider than it, so the
   pointer would otherwise cross bare page on the way down and drop the hover.
   This invisible strip spans the panel's full width across that gap, keeping
   the pointer inside .nav-item the whole way. It sits within the header, over
   nothing clickable. */
.nav-item--has-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: var(--mega-w);
  height: 16px;
  transform: translateX(-50%);
}
.mega-label { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.mega ul { list-style: none; display: grid; gap: 2px; }
.mega a {
  display: block; padding: .5rem .65rem; border-radius: 10px;
  color: var(--navy-600); font-weight: 600; font-size: .9rem;
}
.mega a:hover { background: var(--surface); color: var(--accent-ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-drawer > .btn { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; align-items: center; justify-content: center; flex: none;
}
.nav-toggle span { position: relative; display: block; width: 18px; height: 2px; background: var(--navy-700); border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy-700); border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  /* backdrop-filter would make the header a containing block for the
     position:fixed drawer inside it, clipping it to the header's height. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
  }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-drawer {
    position: fixed; inset: var(--header-h) 0 0; z-index: 55;
    background: #fff; padding: 20px var(--gutter) 48px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s var(--ease);
    display: block;
  }
  .nav-drawer.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { padding: .9rem .75rem; font-size: 1.05rem; justify-content: space-between; border-radius: 12px; }
  .mega {
    position: static; transform: none; min-width: 0; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0;
    margin: 4px 0 10px 12px; padding: 4px 0 4px 14px; grid-template-columns: 1fr; gap: 14px;
    display: none;
  }
  /* beat the desktop :hover/:focus-within transform, and drop the hover
     bridge — the panel is an in-flow accordion at this width. */
  .mega,
  .nav-item:hover .mega,
  .nav-item:focus-within .mega {
    transform: none; left: auto; width: auto; transition-delay: 0s;
  }
  .nav-item--has-menu::after { content: none; }
  .nav-item.is-open .mega { display: grid; }
  .nav-item.is-open .chev { transform: rotate(180deg); }
  .nav-drawer .btn { display: inline-flex; width: 100%; margin-top: 18px; }
}
body.nav-open { overflow: hidden; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900);
  color: #b9c6d8;
  padding-block: clamp(72px, 9vw, 130px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/computer-background-hd-1920x1200-409760.jpg");
  background-image: image-set(
    url("../img/computer-background-hd-1920x1200-409760.webp") type("image/webp"),
    url("../img/computer-background-hd-1920x1200-409760.jpg") type("image/jpeg"));
  background-size: cover; background-position: center;
  opacity: .20; filter: grayscale(.3);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(45,192,224,.30), transparent 60%),
    radial-gradient(700px 500px at 5% 90%, rgba(26,127,181,.32), transparent 65%),
    linear-gradient(180deg, rgba(10,20,35,.72) 0%, rgba(10,20,35,.94) 100%);
}
.hero > * { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #a7b6cb; font-size: 1.08rem; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 22px;
  padding: .45rem .95rem .45rem .5rem; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  color: #cfe0ee; font-size: .82rem; font-weight: 600;
}
.hero-badge b { display: inline-flex; align-items: center; padding: .25rem .6rem; border-radius: 999px; background: var(--grad); color: #04121d; font-size: .75rem; font-weight: 800; }

.hero-card {
  border-radius: var(--radius-lg); padding: 30px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-card h2 { color: #fff; margin-bottom: 8px; font-size: 1.25rem; letter-spacing: -.02em; }
.hero-card p { font-size: .98rem; margin-bottom: 22px; }
.hero-points { list-style: none; display: grid; gap: 12px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; color: #cbd8e7; font-size: .95rem; }
.hero-points svg { width: 20px; height: 20px; flex: none; color: var(--cyan-400); margin-top: 1px; }

/* ---------- 7. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; padding: 30px 24px; text-align: center; }
.stat b { display: block; font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.stat b .suffix { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { display: block; margin-top: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- 8. Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { font-size: .96rem; }
.card .link-arrow { margin-top: auto; padding-top: 18px; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  display: grid; place-items: center; background: var(--grad-soft); color: var(--accent-ink); flex: none;
}
.card-icon svg { width: 25px; height: 25px; }
.card--media { padding: 0; overflow: hidden; }
.card--media .card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.card-thumb picture { display: contents; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card--media:hover .card-thumb img { transform: scale(1.06); }

/* numbered feature cards */
.feature { position: relative; padding: 34px 30px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature .num {
  position: absolute; top: -16px; left: 28px;
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 800; font-size: .95rem;
  box-shadow: 0 8px 18px rgba(26,127,181,.3);
}
.feature h3 { margin: 14px 0 8px; font-size: 1.12rem; }
.feature p { font-size: .94rem; margin: 0; }

/* step / process */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step .step-no { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.1rem; margin: 10px 0 8px; }
.step p { font-size: .93rem; margin: 0; }

/* ---------- 9. Split / media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media picture { display: contents; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-badge {
  position: absolute; left: 22px; bottom: 22px; z-index: 2;
  background: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px;
}
.split-badge b { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.split-badge span { font-size: .82rem; font-weight: 600; color: var(--body); line-height: 1.35; max-width: 13ch; }

.checklist { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.checklist svg { width: 21px; height: 21px; flex: none; color: var(--accent-ink); margin-top: 2px; }
.section--dark .checklist li { color: #b9c6d8; }
.section--dark .checklist svg { color: var(--cyan-400); }

/* ---------- 10. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 20% 0%, rgba(45,192,224,.26), transparent 62%),
              radial-gradient(700px 420px at 90% 100%, rgba(26,127,181,.30), transparent 62%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-inner h2 { color: #fff; max-width: 20ch; }
.cta-inner p { color: #a7b6cb; margin-top: 10px; max-width: 48ch; }

/* ---------- 11. Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy-900); padding-block: clamp(56px, 7vw, 96px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover; background-position: center; opacity: .18;
}
/* Named hero backgrounds. Declared here (not inline) so each one ships a WebP
   with a JPEG fallback, and so the URLs resolve from the stylesheet whatever
   depth the page sits at. */
.page-hero { --hero-img: url("../img/computer-wallpaper-laptop-409763.jpg"); }
@supports (background-image: image-set(url("x.webp") type("image/webp"))) {
  .page-hero[data-hero="desk"]    { --hero-img: image-set(url("../img/computer-wallpaper-laptop-409763.webp") type("image/webp"), url("../img/computer-wallpaper-laptop-409763.jpg") type("image/jpeg")); }
  .page-hero[data-hero="team"]    { --hero-img: image-set(url("../img/andras-vas-Bd7gNnWJBkU-unsplash.webp") type("image/webp"), url("../img/andras-vas-Bd7gNnWJBkU-unsplash.jpg") type("image/jpeg")); }
  .page-hero[data-hero="laptop"]  { --hero-img: image-set(url("../img/lap-400.webp") type("image/webp"), url("../img/lap-400.jpg") type("image/jpeg")); }
  .page-hero[data-hero="web"]     { --hero-img: image-set(url("../img/web-400.webp") type("image/webp"), url("../img/web-400.png") type("image/png")); }
  .page-hero[data-hero="mobile"]  { --hero-img: image-set(url("../img/mobile-400.webp") type("image/webp"), url("../img/mobile-400.jpg") type("image/jpeg")); }
  .page-hero[data-hero="ecom"]    { --hero-img: image-set(url("../img/wp3537553-e-commerce-wallpapers.webp") type("image/webp"), url("../img/wp3537553-e-commerce-wallpapers.jpg") type("image/jpeg")); }
  .page-hero[data-hero="seo"]     { --hero-img: image-set(url("../img/seo-400.webp") type("image/webp"), url("../img/seo-400.jpg") type("image/jpeg")); }
  .page-hero[data-hero="speed"]   { --hero-img: image-set(url("../img/speed-400.webp") type("image/webp"), url("../img/speed-400.jpg") type("image/jpeg")); }
  .page-hero[data-hero="circuit"] { --hero-img: image-set(url("../img/circuit-400.webp") type("image/webp"), url("../img/circuit-400.jpg") type("image/jpeg")); }
  .page-hero[data-hero="eye"]     { --hero-img: image-set(url("../img/eye-400.webp") type("image/webp"), url("../img/eye-400.jpg") type("image/jpeg")); }
  .page-hero[data-hero="journal"] { --hero-img: image-set(url("../img/pexels-karo-400.webp") type("image/webp"), url("../img/pexels-karo-400.jpg") type("image/jpeg")); }
  .page-hero[data-hero="remote"]  { --hero-img: image-set(url("../img/pexels-tobias-400.webp") type("image/webp"), url("../img/pexels-tobias-400.jpg") type("image/jpeg")); }
}
.page-hero[data-hero="team"]    { --hero-img: url("../img/andras-vas-Bd7gNnWJBkU-unsplash.jpg"); }
.page-hero[data-hero="laptop"]  { --hero-img: url("../img/lap-400.jpg"); }
.page-hero[data-hero="web"]     { --hero-img: url("../img/web-400.png"); }
.page-hero[data-hero="mobile"]  { --hero-img: url("../img/mobile-400.jpg"); }
.page-hero[data-hero="ecom"]    { --hero-img: url("../img/wp3537553-e-commerce-wallpapers.jpg"); }
.page-hero[data-hero="seo"]     { --hero-img: url("../img/seo-400.jpg"); }
.page-hero[data-hero="speed"]   { --hero-img: url("../img/speed-400.jpg"); }
.page-hero[data-hero="circuit"] { --hero-img: url("../img/circuit-400.jpg"); }
.page-hero[data-hero="eye"]     { --hero-img: url("../img/eye-400.jpg"); }
.page-hero[data-hero="journal"] { --hero-img: url("../img/pexels-karo-400.jpg"); }
.page-hero[data-hero="remote"]  { --hero-img: url("../img/pexels-tobias-400.jpg"); }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(760px 420px at 80% 0%, rgba(45,192,224,.22), transparent 60%),
              linear-gradient(180deg, rgba(10,20,35,.80), rgba(10,20,35,.95));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero p { color: #a7b6cb; margin-top: 16px; max-width: 62ch; font-size: 1.05rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; list-style: none; margin-bottom: 18px; font-size: .86rem; color: #7f90a6; }
.crumbs a { color: #a7b6cb; }
.crumbs a:hover { color: var(--cyan-400); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: #4a5c74; }
.crumbs [aria-current] { color: var(--cyan-400); font-weight: 600; }

/* ---------- 12. Doc layout (service / tech / legal / blog) ---------- */
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(30px, 4vw, 56px); align-items: start; }
@media (max-width: 1000px) { .doc { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
@media (max-width: 1000px) { .sidebar { position: static; } }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.side-card > h2 { font-size: .78rem; font-weight: 700; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.side-nav { list-style: none; display: grid; gap: 2px; }
.side-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: .62rem .75rem; border-radius: 10px; color: var(--navy-600); font-weight: 600; font-size: .92rem;
  background: transparent;
}
.side-nav a:hover { background: #fff; color: var(--accent-ink); }
.side-nav a.is-active { background: #fff; color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.side-nav svg { width: 14px; height: 14px; opacity: .5; }
.side-cta { background: var(--navy-900); border: 0; color: #a7b6cb; position: relative; overflow: hidden; }
.side-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 220px at 100% 0%, rgba(45,192,224,.28), transparent 60%); }
.side-cta > * { position: relative; z-index: 1; }
.side-cta > h2 { color: var(--cyan-400); }
.side-cta p { font-size: .92rem; margin-bottom: 18px; }
.side-cta .btn { width: 100%; }

.prose { max-width: 76ch; font-size: 1.02rem; }
.prose > h2 { margin: 2.2em 0 .7em; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin: 1.9em 0 .55em; font-size: 1.22rem; }
.prose > h4 { margin: 1.6em 0 .45em; font-size: 1.05rem; color: var(--navy-700); }
.prose > p + h3, .prose > ul + h3 { margin-top: 1.7em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.65rem; margin-bottom: .6em; }
.prose ul > li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--grad);
}
.prose ol { counter-reset: li; list-style: none; padding-left: 0; }
.prose ol > li { position: relative; padding-left: 2.1rem; margin-bottom: .6em; counter-increment: li; }
.prose ol > li::before {
  content: counter(li); position: absolute; left: 0; top: .18em;
  width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--accent-ink); font-size: .75rem; font-weight: 800;
}
.prose strong { color: var(--navy-700); font-weight: 700; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose blockquote {
  margin: 1.6em 0; padding: 20px 26px; border-left: 3px solid var(--cyan-500);
  background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--navy-600); font-size: 1.02rem;
}
.prose img { border-radius: var(--radius); margin: 1.8em 0; }
.prose .lead { font-size: 1.14rem; color: var(--navy-600); }

/* definition-style list used on service pages */
.deflist { display: grid; gap: 16px; margin: 1.6em 0; }
.deflist .item { padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.deflist .item:hover { border-color: transparent; box-shadow: var(--shadow); }
.deflist .item h3 { margin: 0 0 .4em; font-size: 1.06rem; color: var(--ink); }
.deflist .item p { font-size: .96rem; margin: 0; }
.deflist .item ul { margin: .7em 0 0; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: .6em 0 1.4em; }
.chips span { padding: .4rem .85rem; border-radius: 999px; background: var(--surface-2); color: var(--navy-600); font-size: .84rem; font-weight: 600; }
.stackrow { display: grid; gap: 14px; margin: 1.4em 0; }
.stackrow .row { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.stackrow .row:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 620px) { .stackrow .row { grid-template-columns: 1fr; gap: 8px; } }
.stackrow .row b { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.stackrow .chips { margin: 0; }

/* ---------- 13. Contact ---------- */
.office-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1040px) { .office-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .office-grid { grid-template-columns: 1fr; } }
.office { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.office:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.office .flag { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); display: block; margin-bottom: 12px; }
.office address { font-style: normal; font-size: .95rem; line-height: 1.65; color: var(--body); }
.office a { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .92rem; word-break: break-all; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 700; color: var(--navy-700); }
.field label .req { color: #e1586b; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: .96rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; background: #fff; border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(45,192,224,.15);
}
.field .err { font-size: .8rem; color: #d64a5f; display: none; }
.field.has-error input, .field.has-error textarea { border-color: #e1899a; background: #fff6f7; }
.field.has-error .err { display: block; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 18px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .92rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { background: #e9f8f2; color: #0f6b4d; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--navy-900); color: #8fa0b6; padding-block: clamp(56px, 6vw, 84px) 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 52px; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand picture { display: contents; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { font-size: .96rem; color: #8fa0b6; max-width: 34ch; }
.footer-contact { display: grid; gap: 10px; margin-top: 22px; font-size: .94rem; }
.footer-contact a { color: #cbd8e7; display: inline-flex; align-items: center; gap: .55rem; }
.footer-contact a:hover { color: var(--cyan-400); }
.footer-contact svg { width: 16px; height: 16px; color: var(--cyan-400); flex: none; }
.site-footer h2 { color: #fff; font-size: .8rem; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: #8fa0b6; font-size: .94rem; }
.footer-links a:hover { color: var(--cyan-400); }
.footer-links .hot { display: inline-block; margin-left: .45rem; padding: .1rem .45rem; border-radius: 5px; background: var(--grad); color: #04121d; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding-block: 24px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  font-size: .88rem;
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { color: #8fa0b6; }
.footer-bottom a:hover { color: var(--cyan-400); }

/* ---------- 15. Misc ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(26,127,181,.35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 18px; height: 18px; }

.notfound { text-align: center; padding-block: clamp(70px, 10vw, 140px); }
.notfound .code { font-size: clamp(5rem, 14vw, 10rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: var(--ink); padding: .7rem 1.1rem; border-radius: 10px;
  box-shadow: var(--shadow); font-weight: 700; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Blog index: each card title is an h2 under the page h1, but reads at card size. */
.card-title { font-size: 1.2rem; margin-bottom: 10px; letter-spacing: -.02em; }

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Form status messages */
.form-status.err { background: #fdecef; color: #99283b; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
