/* =========================================================================
   Kouřil Consulting — stylesheet
   Styles extracted verbatim from the design exports (aaa.html desktop /
   bbb.html mobile). Structure mirrors the export exactly: a single .site
   wrapper (max-width 1280) with each section a direct child carrying its own
   horizontal padding. Desktop = base rules; mobile = the @media block.
   Logo styles are the hand-built wordmark (kept per request).
   ========================================================================= */

/* ---- Self-hosted Hanken Grotesk (variable, GDPR-safe, no external CDN) ---- */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('/assets/fonts/hanken-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('/assets/fonts/hanken-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;
}

/* --------------------------------- Base ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;   /* sticky-nav offset for anchor jumps */
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #FBFCFC;
  font-family: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #0E1B1E;
}
a { color: #0F6E7A; text-decoration: none; }
a:hover { opacity: .8; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 800; }
p, figure, blockquote { margin: 0; }   /* figure/blockquote have a default margin */
input, textarea { font-family: inherit; }

:focus-visible { outline: 2px solid #0F6E7A; outline-offset: 2px; border-radius: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #0E1B1E; color: #FBFCFC; padding: 10px 16px; border-radius: 8px;
  font-weight: 700; font-size: 14px; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ------------------------------- Wrapper --------------------------------- */
.site { max-width: 1280px; margin: 0 auto; background: #FBFCFC; }

/* -------------------------------- Logo (kept) ---------------------------- */
.brand {
  display: inline-block;
  font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: #0E1B1E;
}
.brand .dot { color: #0F6E7A; }
.brand__r { position: relative; display: inline-block; }
.brand__hacek {
  position: absolute; left: 50%; top: 0.07em;
  transform: translateX(-50%); color: #0F6E7A; font-size: 0.75em;
}
.brand__sub {
  font-size: 10px; letter-spacing: 0.28em; font-weight: 600;
  margin-left: 4px; vertical-align: 2px;
}
.brand--stack {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  font-size: 17px; line-height: 1;
}
.brand--stack .brand__sub {
  display: block; font-size: 7.5px; letter-spacing: 0.34em; margin-left: 0;
  vertical-align: 0; margin-top: 3px; color: rgba(14, 27, 30, .75);
}

/* --------------------------------- Nav ----------------------------------- */
/* the <header> is the sticky element (its containing block is the tall .site
   wrapper). Making .nav sticky instead fails, because <header> is only as tall
   as the nav, so there is nothing to stick within. */
.site > header { position: sticky; top: 0; z-index: 10; }
.nav {
  display: flex; align-items: center; gap: 30px; padding: 22px 48px;
  background: rgba(251, 252, 252, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(14, 27, 30, .06);
}
.nav-links {
  display: flex; gap: 26px; margin-left: auto;
  font-size: 14.5px; font-weight: 500; color: rgba(14, 27, 30, .7);
}
.nav-links a { color: inherit; }

.lang {
  display: flex; gap: 2px; font-size: 12px; font-weight: 600;
  border: 1px solid rgba(14, 27, 30, .15); border-radius: 99px; padding: 3px;
}
.lang a, .lang span { padding: 2px 9px; border-radius: 99px; color: rgba(14, 27, 30, .5); }
.lang a:hover { color: #0E1B1E; opacity: 1; }
.lang [aria-current="true"] { background: #0E1B1E; color: #FBFCFC; }

.btn-book {
  background: #0F6E7A; color: #fff; padding: 11px 22px;
  border-radius: 99px; font-size: 14px; font-weight: 700;
}

.nav-toggle {
  display: none; width: 44px; height: 44px; flex: none;
  border-radius: 99px; border: 1px solid rgba(14, 27, 30, .12);
  background: transparent; cursor: pointer; place-items: center;
}
.nav-toggle .burger { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.nav-toggle .burger span { display: block; height: 2px; border-radius: 2px; background: #0E1B1E; }
.nav-toggle .burger span:nth-child(1),
.nav-toggle .burger span:nth-child(2) { width: 18px; }
.nav-toggle .burger span:nth-child(3) { width: 12px; }

.nav-menu { display: none; }
.nav-menu-inner { display: flex; flex-direction: column; gap: 2px; padding: 8px 20px 20px; }
.nav-menu a:not(.btn-menu) {
  color: #0E1B1E; font-size: 17px; font-weight: 600; padding: 13px 4px;
  border-bottom: 1px solid rgba(14, 27, 30, .06);
}
.nav-menu a:not(.btn-menu):last-of-type { border-bottom: 0; }
.btn-menu {
  background: #0F6E7A; color: #fff; padding: 15px; border-radius: 99px;
  font-size: 15px; font-weight: 700; text-align: center; margin-top: 10px;
}

/* --------------------------------- Kicker -------------------------------- */
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: #0F6E7A;
}
.kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; flex: none; }
.kicker--dark { color: #6FC0CB; }

/* --------------------------------- Hero ---------------------------------- */
.hero {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px;
  padding: 64px 48px 80px; align-items: center; overflow: hidden; position: relative;
}
.hero-content { display: flex; flex-direction: column; gap: 26px; min-width: 0; position: relative; z-index: 1; }
.hero-content h1 {
  font-size: 56px; line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance;
}
.hero-lede { font-size: 17px; line-height: 1.65; color: rgba(14, 27, 30, .65); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.badges {
  display: flex; gap: 24px; font-size: 13px; color: rgba(14, 27, 30, .55);
  font-weight: 500; flex-wrap: wrap; list-style: none; margin: 0; padding: 0;
}
.b-sm { display: none; }   /* short badge text, shown on mobile */
.hero-media { position: relative; min-width: 0; height: 500px; }
.hero-panel {
  position: absolute; left: 0; right: 0; top: 110px; bottom: 0;
  background: #DCE9EA; border-radius: 28px; will-change: top; transform-origin: 50% 100%;
}
.hero-photo { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end; }
.hero-photo img { width: 394px; height: 500px; object-fit: contain; object-position: center bottom; }

/* buttons (each padding matches the export's individual buttons) */
.btn-primary { background: #0E1B1E; color: #FBFCFC; padding: 16px 30px; border-radius: 99px; font-size: 15px; font-weight: 700; }
.btn-secondary { padding: 16px 26px; border: 1.5px solid rgba(14, 27, 30, .2); border-radius: 99px; font-size: 15px; font-weight: 600; color: #0E1B1E; }

/* -------------------------------- Clients -------------------------------- */
.clients {
  padding: 26px 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 36px;
  border-top: 1px solid rgba(14, 27, 30, .08); border-bottom: 1px solid rgba(14, 27, 30, .08);
}
.clients-label { font-size: 11px; letter-spacing: 0.22em; font-weight: 700; color: rgba(14, 27, 30, .4); white-space: nowrap; }
.clients-logos { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; justify-content: center; }
.client-logo { width: 110px; height: 45px; }
.client-logo img { width: 100%; height: 100%; object-fit: contain; object-position: center; }

/* -------------------------------- Section head --------------------------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; gap: 40px; }
.section-head-main { display: flex; flex-direction: column; gap: 12px; }
.section-head h2 { font-size: 40px; letter-spacing: -0.02em; }
.section-lede { font-size: 14.5px; color: rgba(14, 27, 30, .5); max-width: 360px; line-height: 1.6; }

/* -------------------------------- Services ------------------------------- */
.services { padding: 80px 48px; }
.cards-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.svc-card {
  background: #F2F6F6; border-radius: 20px; padding: 36px;
  display: flex; flex-direction: column; gap: 16px;
  align-self: start;   /* hug content — don't stretch to the grid row height */
}
.svc-card--primary { background: #0F6E7A; color: #fff; }
.svc-num { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: rgba(14, 27, 30, .45); }
.svc-card--primary .svc-num { color: rgba(255, 255, 255, .6); }
.svc-card h3 { font-size: 22px; }
/* :not(.svc-num) so the description doesn't override the number paragraph */
.svc-card p:not(.svc-num) { font-size: 15px; line-height: 1.65; color: rgba(14, 27, 30, .65); }
.svc-card--primary p:not(.svc-num) { color: rgba(255, 255, 255, .82); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; font-weight: 600; margin-top: 20px; }
.chips--teal { color: #0F6E7A; }
.chip { background: #fff; border-radius: 99px; padding: 5px 12px; }
.chip--onteal { background: rgba(255, 255, 255, .14); }

/* -------------------------------- Use-cases ------------------------------ */
.usecases { padding: 0 48px 80px; }
.usecases .section-head { margin-bottom: 40px; }
.usecases .section-head h2 { font-size: 36px; }
.usecases .section-lede { max-width: 560px; color: rgba(14, 27, 30, .55); }
.cards-uc { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.uc-card {
  border: 1px solid rgba(14, 27, 30, .1); border-radius: 18px; padding: 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.uc-card h3 { font-size: 16.5px; line-height: 1.3; }
.uc-card p { font-size: 14px; line-height: 1.65; color: rgba(14, 27, 30, .62); }

/* ------------------------------ Case studies ----------------------------- */
.cases { background: #0E1B1E; color: #FBFCFC; padding: 80px 48px; }
.cases .section-head h2 { font-size: 38px; }
.cases .section-lede { color: rgba(251, 252, 252, .55); }
.case-card {
  background: rgba(251, 252, 252, .05); border: 1px solid rgba(251, 252, 252, .12);
  border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.case-cat { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: #6FC0CB; }
.case-metric { font-weight: 800; font-size: 36px; color: #FBFCFC; }
.case-metric span { font-size: 14px; font-weight: 600; color: rgba(251, 252, 252, .55); margin-left: 8px; }
/* :not([class]) targets only the plain description <p>, so it doesn't override
   .case-cat / .case-metric / .case-link (which have lower specificity). */
.case-card p:not([class]) { font-size: 14px; line-height: 1.65; color: rgba(251, 252, 252, .7); }
.case-link { margin-top: auto; font-size: 13px; font-weight: 600; color: #6FC0CB; }

/* two testimonials side by side, filling the width; same 20px gap as the case cards */
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.testimonial {
  background: rgba(111, 192, 203, .08); border: 1px solid rgba(111, 192, 203, .25);
  border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px;
}
.testimonial blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(251, 252, 252, .85); font-style: italic; }
.testimonial figcaption { display: flex; gap: 14px; align-items: center; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(251, 252, 252, .12); display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.testimonial cite { font-style: normal; line-height: 1.35; }
.testimonial cite b { display: block; font-weight: 700; font-size: 14.5px; }
.testimonial cite span { font-size: 13px; color: rgba(251, 252, 252, .55); }

/* --------------------------------- About --------------------------------- */
.about { background: #F2F6F6; padding: 80px 48px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.about-intro { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }
.about-intro h2 { font-size: 36px; line-height: 1.15; letter-spacing: -0.02em; }
.about-intro > p:not([class]) { font-size: 15.5px; line-height: 1.7; color: rgba(14, 27, 30, .65); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.stat { background: #FBFCFC; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.stat b { font-weight: 800; font-size: 26px; color: #0F6E7A; }
.stat span { font-size: 13px; color: rgba(14, 27, 30, .6); line-height: 1.5; }

.creds { display: flex; flex-direction: column; gap: 14px; }
.creds-label { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: rgba(14, 27, 30, .45); margin-bottom: 4px; }
.cred { background: #FBFCFC; border-radius: 18px; padding: 28px; display: flex; gap: 20px; align-items: flex-start; }
.cred--feature { background: #0E1B1E; color: #FBFCFC; }
.cred-icon { width: 46px; height: 46px; border-radius: 12px; background: #DCE9EA; color: #0F6E7A; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.cred--feature .cred-icon { background: #0F6E7A; color: #fff; letter-spacing: 0.04em; }
.cred-body { display: flex; flex-direction: column; gap: 6px; }
.cred-body h3 { font-size: 16px; }
.cred--feature .cred-title { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cred--feature .cred-title h3 { font-size: 17px; }
.cred-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; background: rgba(255, 255, 255, .14); border-radius: 99px; padding: 4px 10px; }
.cred p { font-size: 14px; color: rgba(14, 27, 30, .6); line-height: 1.55; }
.cred--feature p { color: rgba(251, 252, 252, .75); }
.cred--feature p strong { color: #FBFCFC; }
/* certificate thumbnail (opens the lightbox) */
.cred-thumb {
  width: 100px; height: 70px; flex: none; margin-left: auto; align-self: center;
  border-radius: 6px; overflow: hidden; cursor: zoom-in;
  border: 1px solid rgba(14, 27, 30, .12); padding: 0; background: none;
}
.cred--feature .cred-thumb { border-color: rgba(251, 252, 252, .2); }
.cred-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------- Lightbox -------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(14, 27, 30, .75);
  display: flex; align-items: center; justify-content: center;
  padding: 40px; cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox__inner {
  width: min(1000px, 92vw); height: min(76vh, 720px);
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .4);
}
.lightbox__inner img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 24px; right: 32px;
  color: #fff; font-size: 15px; font-weight: 600;
  background: none; border: 0; cursor: pointer;
}

/* -------------------------------- Process -------------------------------- */
.process { padding: 80px 48px; }
.process .section-head { margin-bottom: 44px; }
.process .section-head h2 { font-size: 36px; }
.steps { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px; list-style: none; margin: 0; padding: 0; }
.step { display: flex; flex-direction: column; gap: 12px; border-top: 3px solid rgba(15, 110, 122, .25); padding-top: 20px; }
.step:first-child { border-top-color: #0F6E7A; }
.step-num { display: none; }
.step-kicker { font-weight: 800; font-size: 13px; color: #0F6E7A; }
.step h3 { font-size: 17px; }
.step p:not([class]) { font-size: 14px; line-height: 1.6; color: rgba(14, 27, 30, .62); }

/* ------------------------------ Lead magnet ------------------------------ */
.leadmagnet-wrap { padding: 0 48px 80px; }
.leadmagnet { background: #DCE9EA; border-radius: 28px; padding: 52px 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.leadmagnet-text { display: flex; flex-direction: column; gap: 14px; }
.leadmagnet-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: #0F6E7A; }
.leadmagnet h2 { font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; }
.leadmagnet-text p:not([class]) { font-size: 14.5px; line-height: 1.65; color: rgba(14, 27, 30, .65); }
.leadmagnet-form { display: flex; flex-direction: column; gap: 12px; }
.input-pill { width: 100%; border: 1px solid rgba(14, 27, 30, .15); background: #fff; border-radius: 99px; padding: 15px 22px; font-size: 14.5px; outline: none; color: #0E1B1E; }
.input-pill:focus { border-color: #0F6E7A; }
.btn-fill { background: #0F6E7A; color: #fff; border: 0; border-radius: 99px; padding: 15px; text-align: center; font-size: 15px; font-weight: 700; cursor: pointer; width: 100%; }
.form-note { font-size: 12px; color: rgba(14, 27, 30, .5); text-align: center; }

/* ---------------------------------- FAQ ---------------------------------- */
.faq { background: #F2F6F6; padding: 80px 48px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq-intro { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 110px; }
.faq-intro h2 { font-size: 36px; line-height: 1.15; letter-spacing: -0.02em; }
.faq-intro p:not([class]) { font-size: 14.5px; line-height: 1.65; color: rgba(14, 27, 30, .6); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #FBFCFC; border-radius: 16px; padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.faq-item h3 { font-size: 16px; }
.faq-item p { font-size: 14px; line-height: 1.65; color: rgba(14, 27, 30, .62); }

/* -------------------------------- CTA band ------------------------------- */
.cta-band { margin: 80px 48px; background: #0E1B1E; color: #FBFCFC; border-radius: 28px; padding: 60px; display: flex; align-items: center; gap: 48px; }
.cta-text { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.cta-text h2 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; }
.cta-text p { font-size: 15px; color: rgba(251, 252, 252, .6); }
.cta-action { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; flex: none; }
.btn-cta { background: #0F6E7A; color: #fff; padding: 17px 34px; border-radius: 99px; font-size: 15px; font-weight: 700; }
.cta-note { font-size: 13px; color: rgba(251, 252, 252, .5); }

/* -------------------------------- Contact -------------------------------- */
.contact { padding: 0 48px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info h2 { font-size: 36px; letter-spacing: -0.02em; }
.contact-info > p:not([class]) { font-size: 15px; line-height: 1.7; color: rgba(14, 27, 30, .65); }
.contact-info address { font-style: normal; }   /* <address> defaults to italic */
.contact-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; font-size: 15px; font-weight: 600; list-style: none; padding: 0; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list a { color: inherit; }
.icon { width: 38px; height: 38px; border-radius: 12px; background: #F2F6F6; color: #0F6E7A; display: grid; place-items: center; font-size: 13px; flex: none; }
.icon svg { width: 18px; height: 18px; }
.contact-form { background: #F2F6F6; border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.input-box, .contact-form textarea { width: 100%; border: 1px solid rgba(14, 27, 30, .12); background: #fff; border-radius: 12px; padding: 14px 16px; font-size: 14.5px; outline: none; color: #0E1B1E; }
.contact-form textarea { resize: vertical; min-height: 118px; }

/* GDPR consent checkbox */
.consent-field { display: flex; flex-direction: column; gap: 6px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; line-height: 1.5; color: rgba(14, 27, 30, .55); cursor: pointer; }
.consent input[type="checkbox"] { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #0F6E7A; cursor: pointer; }
.consent a { color: #0F6E7A; text-decoration: underline; text-underline-offset: 2px; }
.input-box:focus, .contact-form textarea:focus { border-color: #0F6E7A; }

/* form validation */
.field-error { font-size: 12.5px; color: #b3261e; display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* honeypot */
.form-status { font-size: 13.5px; font-weight: 600; }
.form-status[data-state="ok"] { color: #0F6E7A; }
.form-status[data-state="err"] { color: #b3261e; }

/* ------------------------------- Legal page ------------------------------ */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(48px, 7vw, 76px) 48px clamp(56px, 8vw, 80px); }
.legal h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.legal-updated { margin-top: 10px; margin-bottom: 8px; font-size: 13.5px; color: rgba(14, 27, 30, .5); }
.legal h2 { font-size: 24px; letter-spacing: -0.01em; margin-top: 42px; margin-bottom: 12px; }
.legal h3 { font-size: 18px; margin-top: 28px; margin-bottom: 8px; }
.legal p { font-size: 15.5px; line-height: 1.72; color: rgba(14, 27, 30, .72); margin-bottom: 14px; }
.legal ul { margin: 0 0 18px; padding-left: 22px; }
.legal li { font-size: 15.5px; line-height: 1.65; color: rgba(14, 27, 30, .72); margin-bottom: 8px; }
.legal a { color: #0F6E7A; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.legal strong, .legal b { font-weight: 700; color: #0E1B1E; }
@media (max-width: 900px) {
  .legal { padding: 40px 20px 56px; }
  .legal h2 { font-size: 21px; margin-top: 34px; }
  .legal h3 { font-size: 17px; }
  .legal p, .legal li { font-size: 15px; }
}

/* ---------------------------- Cookie consent ----------------------------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 1000px; margin: 0 auto;
  background: #fff; border: 1px solid rgba(14, 27, 30, .12); border-radius: 16px;
  box-shadow: 0 14px 44px rgba(14, 27, 30, .16);
  padding: 20px 24px; display: flex; align-items: center; gap: 22px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { flex: 1; font-size: 13.5px; line-height: 1.55; color: rgba(14, 27, 30, .72); }
.cookie-banner__text a { color: #0F6E7A; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { flex: none; display: flex; gap: 10px; }
.cookie-btn {
  padding: 11px 20px; border-radius: 99px; font-size: 14px; font-weight: 700;
  cursor: pointer; border: 1.5px solid transparent; white-space: nowrap; line-height: 1;
  transition: opacity .12s ease;
}
.cookie-btn:hover { opacity: .88; }
.cookie-btn--accept { background: #0F6E7A; color: #fff; }
.cookie-btn--reject { background: transparent; color: #0E1B1E; border-color: rgba(14, 27, 30, .2); }
.cookie-settings-link {
  background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer;
}
.cookie-settings-link:hover { color: #0E1B1E; }
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 20px; bottom: 10px; left: 10px; right: 10px; }
  .cookie-banner__actions { flex-direction: column-reverse; }
  .cookie-btn { width: 100%; }
}

/* --------------------------------- Footer -------------------------------- */
.footer { padding: 28px 48px; display: flex; align-items: center; gap: 24px; font-size: 13px; color: rgba(14, 27, 30, .5); border-top: 1px solid rgba(14, 27, 30, .08); flex-wrap: wrap; }
.footer-legal { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }

/* ============================ MOBILE (≤ 900px) ==========================
   Values taken from the mobile export (bbb.html): 20px side padding, 56px
   section rhythm, single column, hamburger nav, process timeline.
   ------------------------------------------------------------------------- */
@media (max-width: 900px) {
  /* nav → vertical logo + hamburger */
  .nav { gap: 12px; padding: 16px 20px; }
  .nav-links, .btn-book { display: none; }
  .nav-toggle { display: grid; }
  .brand--nav { display: inline-flex; flex-direction: column; align-items: flex-start; font-size: 20px; line-height: 1; }
  .brand--nav .brand__sub { display: block; font-size: 8.5px; letter-spacing: 0.34em; margin-left: 0; vertical-align: 0; margin-top: 3px; color: rgba(14, 27, 30, .75); }
  .lang { font-size: 11px; padding: 2px; margin-left: auto; }   /* push lang + hamburger right */
  .lang a, .lang span { padding: 3px 8px; }
  .nav-menu { background: #FBFCFC; border-bottom: 1px solid rgba(14, 27, 30, .08); }
  .nav.is-open + .nav-menu { display: block; }

  /* hero */
  .hero { grid-template-columns: 1fr; gap: 20px; padding: 36px 20px 0; }
  .hero-content { gap: 20px; }
  .hero-content h1 { font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; }
  .hero-lede { font-size: 15.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .btn-primary { padding: 16px; text-align: center; }
  .btn-secondary { padding: 15px; text-align: center; }
  .kicker { font-size: 12px; }
  .kicker::before { width: 24px; }
  .badges { gap: 8px; font-size: 12px; margin-top: 0; }
  .b-lg { display: none; }
  .b-sm { display: inline; }
  .hero-media { height: 380px; order: 2; margin-top: 8px; }
  .hero-panel { top: 80px; border-radius: 24px; }
  .hero-photo img { width: 299px; height: 380px; }

  /* clients */
  .clients { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 20px; border-top: 0; }
  .clients-label { font-size: 10.5px; }
  .clients-logos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px 18px; align-self: stretch; }
  .client-logo { width: auto; height: 30px; }

  /* section heads */
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
  .section-head h2, .section-head--h2 { font-size: 28px !important; }
  .section-lede { max-width: none; font-size: 14px; }

  /* services */
  .services { padding: 56px 20px; }
  .cards-3 { grid-template-columns: 1fr; gap: 16px; }
  .svc-card { padding: 28px; gap: 14px; }
  .svc-num { font-size: 11px; }
  .svc-card h3 { font-size: 20px; }
  .svc-card p:not(.svc-num) { font-size: 14.5px; }

  /* use-cases */
  .usecases { padding: 0 20px 56px; }
  .usecases .section-head { margin-bottom: 20px; }
  .cards-uc { grid-template-columns: 1fr; gap: 12px; }
  .uc-card { padding: 20px; border-radius: 16px; gap: 8px; }
  .uc-card h3 { font-size: 15.5px; }
  .uc-card p { font-size: 13.5px; line-height: 1.6; }

  /* case studies */
  .cases { padding: 56px 20px; }
  .cards-3.cases-grid { grid-template-columns: 1fr; gap: 20px; }   /* match testimonials */
  .case-card { padding: 24px; border-radius: 18px; gap: 12px; }
  .case-cat { font-size: 11px; }
  .case-metric { font-size: 30px; }
  .case-metric span { font-size: 13px; }
  .case-card p:not([class]) { font-size: 13.5px; line-height: 1.6; }
  .testimonials { grid-template-columns: 1fr; margin-top: 20px; }
  .testimonial { padding: 24px; border-radius: 18px; gap: 16px; }
  .testimonial blockquote { font-size: 15.5px; }
  .avatar { width: 40px; height: 40px; }

  /* about */
  .about { padding: 56px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-intro { position: static; gap: 14px; }
  .about-intro h2 { font-size: 28px; }
  .about-intro > p:not([class]) { font-size: 14.5px; }
  .stat { padding: 18px; }
  .stat b { font-size: 22px; }
  .stat span { font-size: 12.5px; }
  .creds-label { font-size: 11px; }
  .cred { padding: 22px; border-radius: 16px; gap: 16px; }
  .cred-icon { width: 40px; height: 40px; border-radius: 11px; font-size: 12px; }
  .cred-thumb { width: 76px; height: 53px; }
  .lightbox { padding: 20px; }
  .lightbox__inner { width: 92vw; height: 64vw; max-height: 70vh; }
  .cred-body h3, .cred--feature .cred-title h3 { font-size: 15px; }
  .cred p { font-size: 13px; }

  /* process → vertical timeline */
  .process { padding: 56px 20px; }
  .process .section-head { margin-bottom: 24px; }
  .steps { display: flex; flex-direction: column; gap: 0; }
  .step { display: grid; grid-template-columns: 34px 1fr; gap: 16px; border-top: 0; padding-top: 0; position: relative; padding-bottom: 22px; }
  .step::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: rgba(15, 110, 122, .2); }
  .step:last-child::before { display: none; }
  .step-kicker { display: none; }
  .step-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #DCE9EA; color: #0F6E7A; font-weight: 800; font-size: 14px; grid-row: 1 / 3; z-index: 1; }
  .step:first-child .step-num { background: #0F6E7A; color: #fff; }
  .step h3 { grid-column: 2; align-self: center; font-size: 16px; }
  .step p:not([class]) { grid-column: 2; font-size: 13.5px; }

  /* lead magnet */
  .leadmagnet-wrap { padding: 0 20px 56px; }
  .leadmagnet { grid-template-columns: 1fr; gap: 14px; padding: 28px; border-radius: 22px; }
  .leadmagnet-eyebrow { font-size: 11px; }
  .leadmagnet h2 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
  .leadmagnet-text p:not([class]) { font-size: 13.5px; line-height: 1.6; }
  .input-pill { padding: 14px 20px; font-size: 14px; }
  .btn-fill { font-size: 14.5px; }
  .form-note { font-size: 11.5px; }

  /* faq */
  .faq { padding: 56px 20px; }
  .faq-grid { grid-template-columns: 1fr; gap: 20px; }
  .faq-intro { position: static; }
  .faq-intro h2 { font-size: 28px; }
  .faq-list { gap: 10px; }
  .faq-item { padding: 20px 22px; border-radius: 14px; gap: 6px; }
  .faq-item h3 { font-size: 15px; }
  .faq-item p { font-size: 13.5px; line-height: 1.6; }

  /* cta band */
  .cta-band { margin: 56px 20px; padding: 36px 28px; border-radius: 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-text h2 { font-size: 24px; line-height: 1.2; }
  .cta-text p { font-size: 14px; }
  .cta-action { align-items: stretch; width: 100%; }
  .btn-cta { padding: 16px; text-align: center; }
  .cta-note { font-size: 12.5px; text-align: center; }

  /* contact */
  .contact { grid-template-columns: 1fr; gap: 20px; padding: 0 20px 56px; }
  .contact-info h2 { font-size: 28px; }
  .contact-info > p:not([class]) { font-size: 14px; line-height: 1.65; }
  .contact-form { order: -1; padding: 24px; border-radius: 20px; gap: 12px; }
  .input-box, .contact-form textarea { font-size: 14px; }
  .contact-list { font-size: 14.5px; gap: 12px; }
  .contact-list li { gap: 12px; }

  /* footer */
  .footer { flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 20px 32px; font-size: 12.5px; }
  .footer-legal { margin-left: 0; gap: 16px; }
}
