/*
Theme Name: Tomáš Hrubý
Theme URI: https://tomashruby.sk
Author: Tomáš Hrubý
Description: Custom theme for tomashruby.sk
Version: 1.0.0
*/

/* ── Inter font (self-hosted, SIL OFL 1.1 — see assets/fonts/OFL.txt) ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/Inter-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: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/Inter-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;
}

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.article__body h2 { scroll-margin-top: 100px; }

body {
  margin: 0;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #fff;
  color: #16171d;
}

.page-wrap { overflow-x: hidden; }

a { color: #4338ca; text-decoration: none; }
a:hover { color: #312e81; }
h1, h2, h3, h4, p { margin: 0; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ── Layout ───────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 1080px; }

/* ── Header ───────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6e6ec;
}
.site-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #16171d;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-header__logo span { color: #4338ca; }
.site-header__brand { display: flex; align-items: center; gap: 14px; }
.site-header__highlight {
  display: none;
  align-items: center;
  background: #eef0fd;
  color: #4338ca;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 100px;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-header__highlight:hover { background: #4338ca; color: #fff; }
.site-header__nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.site-header__nav a {
  color: #16171d;
  font-weight: 500;
  font-size: 15px;
}
.site-header__nav .btn-nav {
  background: #16171d;
  color: #fff;
  padding: 11px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
}
.site-header__nav .btn-nav:hover { background: #2a2a33; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.lang-switch__item { padding: 4px 6px; border-radius: 6px; }
.lang-switch__item.is-active { color: #16171d; background: #f0f0f4; }
.lang-switch__item.is-disabled { color: #b6b7c2; cursor: default; }

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
}
.btn--primary { background: #5b4fe0; color: #fff; }
.btn--primary:hover { background: #4338ca; color: #fff; }
.btn--outline { border: 1px solid #d8d8e0; color: #16171d; }
.btn--outline:hover { border-color: #16171d; }
.btn--outline-light { border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.btn--outline-light:hover { border-color: #fff; }
.btn--dark { background: #4338ca; color: #fff; }
.btn--dark:hover { background: #312e81; color: #fff; }

/* ── Badge ────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef0fd;
  color: #4338ca;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--white { background: #fff; }
.badge--dark { background: none; color: #818cf8; }

.hero__channels { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.channel-pill {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e6e6ec;
  color: #16171d;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

/* ── Section labels ───────────────────────────── */
.section-label {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label--purple { color: #4338ca; }
.section-label--purple-light { color: #818cf8; }
.section-label--muted { color: #8a8b96; }

/* ── Hero ─────────────────────────────────────── */
.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 32px 28px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: center;
}
.hero__badge { margin-bottom: 18px; }
.hero__title {
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero__title span { color: #4338ca; }
.hero__desc {
  font-size: 16px;
  line-height: 1.55;
  color: #5b5d6b;
  max-width: 480px;
  margin-bottom: 22px;
}
.hero__actions { display: flex; gap: 14px; }
.hero__photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: #e6e6ec;
  border-radius: 24px;
  overflow: hidden;
  object-fit: cover;
}

/* ── Logo scroll ──────────────────────────────── */
.logos { padding: 24px 0; overflow: hidden; }
.logos__label {
  max-width: 1240px;
  margin: 0 auto 16px;
  padding: 0 32px;
  color: #8a8b96;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.logos__track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logos__track {
  display: flex;
  width: max-content;
  gap: 64px;
  animation: logo-scroll 30s linear infinite;
}
.logos__track--static {
  width: 100%;
  justify-content: center;
  animation: none;
  flex-wrap: wrap;
}
.logos__item {
  width: 96px;
  height: 96px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logos__item img { max-width: 100%; max-height: 100%; object-fit: contain; }

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Stats bar ────────────────────────────────── */
.stats {
  background: #16171d;
}
.stats__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #fff;
}
.stats__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stats__item:not(:last-child) {
  padding-right: 32px;
  border-right: 1px solid #2a2a33;
  margin-right: 0;
}
.stats__item + .stats__item { padding-left: 32px; }
.stats__number {
  font-size: 34px;
  font-weight: 800;
  color: #818cf8;
  line-height: 1.1;
}
.stats__number--cert {
  font-size: 26px;
  line-height: 1.15;
}
.stats__desc { color: #a3a3ad; font-size: 15px; line-height: 1.4; }

/* ── How I help ───────────────────────────────── */
.how { background: #f6f6f8; padding: 80px 0; }
.how__title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 44px;
}
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.how__grid--2 { grid-template-columns: repeat(2, 1fr); }
.how__grid--4 { grid-template-columns: repeat(4, 1fr); }
.how__card {
  background: #fff;
  border: 1px solid #e6e6ec;
  border-radius: 20px;
  padding: 32px;
}
.how__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef0fd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.how__card-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #16171d;
}
.how__card-text { color: #5b5d6b; font-size: 15px; line-height: 1.6; }

/* ── Case studies ─────────────────────────────── */
.cases { background: #16171d; padding: 80px 0; }
.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.cases__card {
  position: relative;
  background: #1f2028;
  border: 1px solid #2a2a33;
  border-radius: 20px;
  padding: 32px;
  overflow: hidden;
}
.cases__card-bg {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%);
  mask-image: linear-gradient(90deg, transparent, #000 55%);
  opacity: 0.5;
  object-fit: cover;
}
.cases__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1f2028 0%, #1f2028 68%, transparent 96%);
  pointer-events: none;
}
.cases__card-content { position: relative; max-width: 80%; }
.cases__card-label {
  color: #818cf8;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cases__card-number {
  color: #fff;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}
.cases__card-subtitle {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}
.cases__card-desc { color: #8a8b96; font-size: 14px; line-height: 1.6; }
.cases__card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #818cf8;
  font-weight: 700;
  font-size: 13px;
  margin-top: 12px;
  transition: gap 0.2s ease;
}
a.cases__card:hover .cases__card-link { gap: 8px; }
.cases__card-number--sm { font-size: 32px; }
.cases__more { text-align: center; margin-top: 40px; }
.cases__more a { color: #818cf8; font-weight: 600; font-size: 16px; }

/* ── Proof (Spolupráca) ─────────────────────────── */
.proof { background: #f6f6f8; padding: 96px 0; }
.proof__header { max-width: 620px; margin-bottom: 8px; }
.proof__title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 8px 0 12px;
}
.proof__desc { color: #5b5d6b; font-size: 16px; line-height: 1.7; }
.proof__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.proof__more { text-align: center; margin-top: 40px; }

/* ── Results page (/vysledky/) ─────────────────── */
.results-hero { padding: 72px 0 32px; }
.results-hero__title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 12px 0 20px;
}
.results-hero__desc { font-size: 17px; line-height: 1.7; color: #5b5d6b; max-width: 680px; }

/* ── Compare (service pages) ───────────────────── */
.compare { padding: 96px 0; }
.compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare__col {
  background: #f6f6f8;
  border: 1px solid #e6e6ec;
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.compare__col:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(22,23,29,0.18); }
.compare__col--good {
  background: #16171d;
  border-color: #16171d;
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.4);
}
.compare__col--good:hover { box-shadow: 0 28px 56px -20px rgba(0,0,0,0.55); }

/* ── PPC gallery ────────────────────────────────── */
.ppc-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ppc-gallery__frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(22,23,29,0.3);
}
.ppc-gallery__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ppc-gallery__frame:hover .ppc-gallery__img { transform: scale(1.05); }
.compare__col-label {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.compare__col-label--bad { color: #8a8b96; }
.compare__col-label--good { color: #818cf8; }
.compare__item { display: flex; align-items: flex-start; gap: 12px; }
.compare__item:not(:last-child) { margin-bottom: 18px; }
.compare__item p { font-size: 15px; line-height: 1.6; }
.compare__col--good .compare__item p { color: #fff; }
.compare__col:not(.compare__col--good) .compare__item p { color: #5b5d6b; }
.compare__icon {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 1px;
}
.compare__icon--bad { background: #e6e6ec; color: #8a8b96; }
.compare__icon--good { background: linear-gradient(135deg, #6d5ef0, #4338ca); color: #fff; }
.case-list { padding: 64px 0 96px; }
.case-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid #e6e6ec;
}
.case-item:first-child { padding-top: 0; }
.case-item:last-child { border-bottom: none; padding-bottom: 0; }
.case-item__index {
  font-size: 15px;
  font-weight: 800;
  color: #4338ca;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.case-item__media { order: 1; }
.case-item__content { order: 2; }
.case-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.case-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── Services hero + cards (Zameranie) ─────────── */
.services-hero { padding: 72px 0 32px; }
.services-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.services-hero__title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 12px;
}
.services-hero__desc { color: #5b5d6b; font-size: 17px; line-height: 1.7; }
.bento { position: relative; background: #16171d; padding: 96px 0; overflow: hidden; }
.bento__dots {
  position: absolute;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(#4338ca 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.5;
  pointer-events: none;
}
.bento__dots--tl { top: 32px; left: 32px; -webkit-mask-image: radial-gradient(circle at top left, #000 60%, transparent 100%); mask-image: radial-gradient(circle at top left, #000 60%, transparent 100%); }
.bento__dots--br { bottom: 32px; right: 32px; -webkit-mask-image: radial-gradient(circle at bottom right, #000 60%, transparent 100%); mask-image: radial-gradient(circle at bottom right, #000 60%, transparent 100%); }
.bento__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.bento__card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  background: #1f2028;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bento__card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(0,0,0,0.6); }
.bento__card--lg { grid-column: span 2; min-height: 300px; }
.bento__card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.bento__card-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(67,56,202,0.35) 0%, rgba(30,23,74,0.7) 45%, rgba(13,11,36,0.95) 100%); }
.bento__cta {
  display: inline-block;
  margin-top: 14px;
  color: #818cf8;
  font-weight: 700;
  font-size: 13px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.bento__card:hover .bento__cta { color: #fff; transform: translateX(4px); }
.bento__content { position: relative; z-index: 1; padding: 24px; }
.bento__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6d5ef0, #4338ca);
  box-shadow: 0 8px 20px -6px rgba(67,56,202,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.bento__card--lg .bento__icon { width: 44px; height: 44px; margin-bottom: 16px; }
.bento__title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.bento__title--sm { font-size: 16px; margin-bottom: 8px; }
.bento__card--lg .bento__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.bento__desc { color: #d8d8e0; font-size: 13px; line-height: 1.55; }
.bento__card--lg .bento__desc { font-size: 15px; line-height: 1.6; max-width: 420px; }
.case-item--reverse .case-item__media { order: 2; }
.case-item--reverse .case-item__content { order: 1; }
.case-item__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  background: #e6e6ec;
  box-shadow: 0 24px 48px -24px rgba(22,23,29,0.25);
}
.case-item__media-link {
  position: relative;
  display: block;
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.25s ease;
}
.case-item__media-link:hover { transform: translateY(-4px); }
.case-item__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: #fff;
  color: #16171d;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 100px;
  box-shadow: 0 10px 24px -10px rgba(22,23,29,0.4);
}
.case-item__service-badge {
  position: absolute;
  left: 20px;
  top: 20px;
  background: #4338ca;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 100px;
  box-shadow: 0 10px 24px -10px rgba(22,23,29,0.4);
}
.case-item__label {
  color: #4338ca;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.case-item__number {
  font-size: 34px;
  font-weight: 800;
  color: #16171d;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.case-item__subtitle { font-weight: 700; font-size: 16px; color: #16171d; margin-bottom: 16px; }
.case-item__desc { color: #5b5d6b; font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.case-item__link { color: #4338ca; font-weight: 600; font-size: 15px; }

/* ── About ────────────────────────────────────── */
.about { max-width: 1240px; margin: 0 auto; padding: 96px 32px; }
.about__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about__photo {
  width: 100%;
  aspect-ratio: 1/1;
  background: #e6e6ec;
  border-radius: 24px;
  overflow: hidden;
  object-fit: cover;
}
.about__title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  margin-top: 16px;
}
.about__desc {
  font-size: 17px;
  line-height: 1.7;
  color: #5b5d6b;
  margin-bottom: 28px;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.about__stat-card {
  background: #f6f6f8;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 128px;
}
.about__stat-number {
  color: #4338ca;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.about__stat-number--sm { font-size: 26px; }
.about__stat-desc { color: #5b5d6b; font-size: 13px; line-height: 1.5; }
.about__more { color: #8a8b96; font-size: 14px; margin-bottom: 28px; }
.about__link { color: #4338ca; font-weight: 600; font-size: 16px; }

/* ── Profile (O mne) ───────────────────────────── */
.profile { max-width: 1240px; margin: 0 auto; padding: 72px 32px 100px; }
.profile__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.profile__media { position: relative; }
.profile__blob {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(91,79,224,0.35), transparent 70%);
  filter: blur(6px);
  z-index: 0;
}
.profile__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #e6e6ec;
  border-radius: 28px;
  box-shadow: 0 30px 60px -30px rgba(22,23,29,0.4);
}
.profile__badge {
  position: absolute;
  z-index: 2;
  left: -20px;
  bottom: -20px;
  background: #16171d;
  color: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.4);
}
.profile__badge-number { font-size: 28px; font-weight: 800; line-height: 1; color: #fff; }
.profile__badge-label { font-size: 12px; color: #b6b7c2; margin-top: 4px; }
.profile__title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 14px 0 24px;
}
.profile__bio p { font-size: 17px; line-height: 1.7; color: #5b5d6b; margin-bottom: 16px; }
.profile__strengths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 32px 0;
}
.profile__strength:last-child:nth-child(odd) { grid-column: 1 / -1; }
.profile__strength {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f6f6f8;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 14px;
  color: #16171d;
}
.profile__strength-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eef0fd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.profile__credentials { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.profile__credential {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #e6e6ec;
  border-radius: 16px;
  padding: 16px 18px;
}
.profile__credential-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6d5ef0, #4338ca);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.profile__credential-title { font-weight: 700; font-size: 15px; color: #16171d; }
.profile__credential-desc { font-size: 13px; color: #8a8b96; margin-top: 2px; }
.profile__credential--link { transition: border-color 0.2s ease, transform 0.2s ease; }
.profile__credential--link:hover { border-color: #4338ca; transform: translateY(-2px); }
.profile__credential-arrow { flex: none; margin-left: auto; }
.profile__services { margin: 32px 0; }
.profile__services-title { font-weight: 700; font-size: 15px; color: #16171d; margin-bottom: 14px; }
.profile__services-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.profile__tag {
  background: #eef0fd;
  color: #4338ca;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 100px;
}
.profile__services-link { color: #4338ca; font-weight: 600; font-size: 14px; }

/* ── Tools (O mne) ──────────────────────────────── */
.tools { background: #16171d; padding: 80px 0; }
.tools__inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.tools__title {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 8px;
  max-width: 560px;
}
.tools__categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.tools__category {
  background: #1f2028;
  border: 1px solid #2a2a33;
  border-radius: 18px;
  padding: 24px;
}
.tools__category-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6d5ef0, #4338ca);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.tools__category-label { color: #818cf8; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.tools__category-items { display: flex; flex-direction: column; gap: 8px; }
.tools__tool { color: #fff; font-weight: 600; font-size: 14px; }

/* ── Map section (O mne) ────────────────────────── */
.map-section { background: #f6f6f8; padding: 96px 0; }
.map-section__title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 8px 0 16px;
}
.map-section__desc {
  color: #5b5d6b;
  font-size: 16px;
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 40px;
}
.map-section__wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.europe-map img { width: 100%; height: auto; display: block; }
.map-section__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}
.map-section__country {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e6e6ec;
  border-radius: 100px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 13px;
  color: #16171d;
}
.map-section__flag { width: 18px; height: 14px; object-fit: cover; border-radius: 2px; flex: none; }

/* ── Own project (O mne) ───────────────────────── */
.own-project { max-width: 1240px; margin: 0 auto; padding: 80px 32px; }
.own-project__card {
  position: relative;
  overflow: hidden;
  background: #16171d;
  border-radius: 24px;
  padding: 56px;
}
.own-project__bg {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 52%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%);
  mask-image: linear-gradient(90deg, transparent, #000 35%);
  opacity: 0.75;
  object-fit: cover;
}
.own-project__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #16171d 0%, #16171d 44%, transparent 82%);
  pointer-events: none;
}
.own-project__content { position: relative; max-width: 60%; }
.own-project__title {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 12px 0 16px;
}
.own-project__desc {
  color: #c7c8d1;
  font-size: 16px;
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 36px;
}
.own-project__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.own-project__stat-number { color: #818cf8; font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.own-project__stat-desc { color: #a3a3ad; font-size: 13px; line-height: 1.5; }
.own-project__media {
  color: #c7c8d1;
  font-size: 14px;
  border-top: 1px solid #2a2a33;
  padding-top: 20px;
}

/* ── Mid banner ───────────────────────────────── */
.mid-banner { max-width: 1240px; margin: 0 auto; padding: 0 32px 64px; }
.mid-banner__inner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  background: #16171d;
}
.mid-banner__bg {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 52%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%);
  mask-image: linear-gradient(90deg, transparent, #000 35%);
  opacity: 0.75;
  object-fit: cover;
}
.mid-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #16171d 0%, #16171d 44%, transparent 82%);
  pointer-events: none;
}
.mid-banner__content {
  position: relative;
  padding: 48px;
  margin-left: 8%;
  max-width: 520px;
}
.mid-banner__tag {
  color: #818cf8;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mid-banner__title {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.mid-banner__desc { color: #c7c8d1; font-size: 15px; line-height: 1.6; margin-bottom: 24px; }

/* ── Values ───────────────────────────────────── */
.values { background: #f6f6f8; padding: 80px 0; }
.values__title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.values__item { text-align: center; }
.values__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #eef0fd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.values__item-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #16171d;
}
.values__item-desc { color: #5b5d6b; font-size: 14px; line-height: 1.6; }

/* ── Services ─────────────────────────────────── */
.services { padding: 96px 0; }
.services__header { text-align: center; margin-bottom: 56px; }
.services__title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.services__card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(129,140,248,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.services__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(67,56,202,0.5);
}
.services__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #2a2b35;
  object-fit: cover;
}
.services__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(67,56,202,0.35) 0%, rgba(30,23,74,0.7) 45%, rgba(13,11,36,0.95) 100%);
}
.services__card-body { position: relative; padding: 28px; }
.services__card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6d5ef0, #4338ca);
  box-shadow: 0 8px 20px -6px rgba(67,56,202,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.services__card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.services__card-desc { color: #d8d8e0; font-size: 15px; line-height: 1.6; }
.services__more { text-align: center; margin-top: 40px; }
.services__more a { color: #4338ca; font-weight: 600; font-size: 16px; }

/* ── Pricing ──────────────────────────────────── */
.pricing { background: #16171d; padding: 96px 0; }
.pricing__header { text-align: center; margin-bottom: 48px; }
.pricing__title {
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.pricing__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
.pricing__card {
  background: #1f2028;
  border: 1px solid #2a2a33;
  border-radius: 20px;
  padding: 40px;
}
.pricing__card--featured { border: 2px solid #4338ca; }
.pricing__card-tag {
  color: #818cf8;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.pricing__card-title {
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 20px;
}
.pricing__price {
  color: #818cf8;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
}
.pricing__price-prefix { color: #fff; font-size: 15px; font-weight: 400; }
.pricing__price--sm { font-size: 32px; }
.pricing__price--xsm { font-size: 26px; }
.pricing__price-row { margin-bottom: 24px; }
.pricing__period { color: #8a8b96; font-size: 14px; margin-left: 6px; }
.pricing__desc { color: #a3a3ad; font-size: 15px; line-height: 1.6; margin-bottom: 28px; }
.btn--pricing {
  display: block;
  text-align: center;
  background: #5b4fe0;
  color: #fff;
  padding: 14px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
}
.btn--pricing:hover { background: #4338ca; color: #fff; }

/* ── Testimonials ─────────────────────────────── */
.testimonials { padding: 96px 0; overflow: hidden; }
.testimonials--tinted { background: #f6f6f8; }
.testimonials__header { text-align: center; margin-bottom: 48px; max-width: 1240px; margin-left: auto; margin-right: auto; padding: 0 32px; }
.testimonials__title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.testimonials__card {
  position: relative;
  background: #fff;
  border: 1px solid #e6e6ec;
  border-radius: 20px;
  padding: 0 32px 32px;
  text-align: center;
  box-shadow: 0 12px 28px -16px rgba(22,23,29,0.12);
}
.testimonials__more { text-align: center; margin-top: 40px; }
.testimonials__more a { color: #4338ca; font-weight: 600; font-size: 16px; }
.testimonials__quote-mark {
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: #e0e0e8;
  position: relative;
  top: -6px;
  margin-bottom: 8px;
}
.testimonials__quote {
  color: #16171d;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.testimonials__name { color: #16171d; font-weight: 700; font-size: 15px; }
.testimonials__role { color: #8a8b96; font-size: 13px; margin-top: 2px; }

/* ── Blog preview ─────────────────────────────── */
/* ── FAQ ──────────────────────────────────────── */
.faq { padding: 96px 0; }
.faq__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}
.faq__title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  margin-top: 16px;
}
.faq__intro { color: #5b5d6b; font-size: 16px; line-height: 1.6; }
.faq__list { border-top: 1px solid #e0e0e8; }
.faq__item { border-bottom: 1px solid #e0e0e8; }
.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}
.faq__question-text { color: #16171d; font-size: 18px; font-weight: 700; }
.faq__sign { color: #4338ca; font-size: 22px; font-weight: 400; flex: none; }
.faq__answer {
  color: #5b5d6b;
  font-size: 15px;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 24px;
  display: none;
}
.faq__item.is-open .faq__answer { display: block; }

/* ── CTA / Contact ────────────────────────────── */
.cta { background: #eef0fd; padding: 100px 0; }
.cta__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cta__title {
  color: #16171d;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  margin-top: 20px;
  line-height: 1.1;
}
.cta__desc {
  color: #5b5d6b;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 440px;
}
.cta__contacts { display: flex; flex-direction: column; }
.cta__contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid #d8d8f5;
}
.cta__contact-row:last-child { border-bottom: 1px solid #d8d8f5; }
.cta__contact-label {
  color: #6b6f9e;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cta__contact-value { color: #16171d; font-weight: 600; font-size: 16px; }
.cta__contact-value--link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4338ca;
  transition: color 0.15s ease;
}
.cta__contact-value--link:hover { color: #16171d; text-decoration: underline; }

/* Contact form */
.contact-form {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 24px 60px rgba(67, 56, 202, 0.12);
}
.contact-form label {
  color: #4338ca;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #f6f6f8;
  border: 1px solid #e6e6ec;
  color: #16171d;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #4338ca; }
.contact-form textarea { resize: vertical; }
.contact-form__submit {
  background: #4338ca;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.2s;
}
.contact-form__submit:hover { background: #312e81; }
.contact-form__note { color: #8a8b96; font-size: 13px; text-align: center; }

/* ── Footer ───────────────────────────────────── */
.site-footer {
  background: #16171d;
  color: #a3a3ad;
  padding: 64px 32px 32px;
}
.site-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2a2a33;
}
.site-footer__brand {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.site-footer__brand span { color: #818cf8; }
.site-footer__tagline { font-size: 15px; line-height: 1.6; max-width: 320px; }
.site-footer__col-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 14px;
  font-size: 14px;
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.site-footer__links a { color: #a3a3ad; }
.site-footer__links a:hover { color: #fff; }
.site-footer__links .site-footer__cookie { background: none; border: none; padding: 0; margin: 0; font: inherit; color: #a3a3ad; text-align: left; cursor: pointer; opacity: 1; text-decoration: none; }
.site-footer__links .site-footer__cookie:hover { color: #fff; }
.site-footer__bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 24px;
  font-size: 13px;
}
.site-footer__bottom a { color: #a3a3ad; }
.site-footer__bottom a:hover { color: #fff; }

/* ── Blog ─────────────────────────────────────── */
.author-strip { padding: 8px 0 56px; }
.author-strip__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #f6f6f8;
  border-radius: 20px;
  padding: 28px 32px;
}
.author-strip__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: #e6e6ec;
}
.author-strip__content { flex: 1; }
.author-strip__name { font-weight: 700; font-size: 16px; color: #16171d; }
.author-strip__bio { font-size: 14px; color: #5b5d6b; line-height: 1.5; margin-top: 4px; max-width: 560px; }
.author-strip__actions { display: flex; gap: 10px; flex: none; }

.blog { padding: 8px 0 96px; }
.blog__placeholder { background: linear-gradient(135deg, #4338ca, #818cf8); }

.blog__featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid #e6e6ec;
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog__featured:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(22,23,29,0.2); }
.blog__featured--no-media { grid-template-columns: 1fr; }
.blog__featured--no-media .blog__featured-body { padding: 12px; }
.blog__featured-media { border-radius: 18px; overflow: hidden; height: 320px; }
.blog__featured-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog__featured-title { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; color: #16171d; margin: 14px 0 12px; line-height: 1.25; }
.blog__featured-excerpt { color: #5b5d6b; font-size: 16px; line-height: 1.6; margin-bottom: 16px; }

.blog__badge {
  display: inline-flex;
  background: #eef0fd;
  color: #4338ca;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 100px;
}
.blog__badge--card { position: absolute; top: 14px; left: 14px; background: #fff; box-shadow: 0 8px 20px -10px rgba(22,23,29,0.3); }

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.blog__card {
  background: #fff;
  border: 1px solid #e6e6ec;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog__card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(22,23,29,0.2); }
.blog__card:hover .blog__card-title { color: #4338ca; }
.blog__card-media { position: relative; overflow: hidden; height: 200px; }
.blog__card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog__card-body { padding: 20px 22px 24px; }
.blog__card-title { font-size: 17px; font-weight: 700; color: #16171d; line-height: 1.35; margin-bottom: 10px; transition: color 0.2s ease; }
.blog__card-excerpt { color: #5b5d6b; font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.blog__meta { color: #8a8b96; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }

.blog-listing__layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.blog-listing__main { display: flex; flex-direction: column; gap: 24px; }

.blog-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid #e6e6ec;
  border-radius: 20px;
  padding: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-row:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(22,23,29,0.2); }
.blog-row:hover .blog-row__title { color: #4338ca; }
.blog-row--no-media { grid-template-columns: 1fr; }
.blog-row__media { position: relative; border-radius: 14px; overflow: hidden; height: 160px; }
.blog-row__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-row__date {
  position: absolute;
  top: 12px; left: 12px;
  background: #16171d;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  min-width: 52px;
  box-shadow: 0 8px 20px -10px rgba(22,23,29,0.4);
}
.blog-row__date-day { display: block; background: #4338ca; color: #fff; font-size: 18px; font-weight: 800; padding: 4px 8px 2px; }
.blog-row__date-month { display: block; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; padding: 3px 8px 5px; }
.blog-row__badge { margin-bottom: 12px; }
.blog-row__title { font-size: 22px; font-weight: 800; color: #16171d; line-height: 1.3; margin-bottom: 10px; transition: color 0.2s ease; }
.blog-row__meta { color: #8a8b96; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.blog-row__excerpt { color: #5b5d6b; font-size: 15px; line-height: 1.65; margin-bottom: 14px; }
.blog-row__link { color: #4338ca; font-weight: 700; font-size: 14px; }

.blog__pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.blog__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #e6e6ec;
  color: #16171d;
  font-weight: 600;
  font-size: 14px;
}
.blog__pagination .page-numbers.current { background: #4338ca; border-color: #4338ca; color: #fff; }
.blog__pagination .page-numbers:hover:not(.current) { border-color: #4338ca; color: #4338ca; }

/* ── Article (single post) ───────────────────── */
.article__hero { padding-top: 48px; padding-bottom: 28px; }
.article__back { display: inline-block; color: #8a8b96; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.article__back:hover { color: #4338ca; }
.article__title { font-size: 40px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; color: #16171d; margin: 16px 0 14px; }
.article__meta { color: #8a8b96; font-size: 14px; font-weight: 600; }

.article__cover { position: relative; margin: 0 0 40px; }
.article__cover-img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(22,23,29,0.35); margin: 0 !important; display: block; }
.ai-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(22,23,29,0.85);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.ai-badge-wrap { position: relative; display: block; }
.ai-badge-wrap img { display: block; margin: 0 !important; }
.ai-badge-wrap .ai-badge { margin: 0; }

.article__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
  padding-bottom: 56px;
}
.article__body { font-size: 18px; line-height: 1.8; color: #33343e; }
.article__body p { margin-bottom: 24px; }
.article__body h2 { font-size: 28px; font-weight: 800; color: #16171d; letter-spacing: -0.01em; margin: 48px 0 20px; }
.article__body h3 { font-size: 22px; font-weight: 700; color: #16171d; margin: 36px 0 16px; }
.article__body ul, .article__body ol { margin: 0 0 24px; padding-left: 24px; }
.article__body li { margin-bottom: 10px; }
.article__body a { text-decoration: underline; text-underline-offset: 2px; }
.article__body img { border-radius: 16px; margin: 32px 0; box-shadow: 0 20px 40px -24px rgba(22,23,29,0.3); }
.article__body blockquote {
  border-left: 3px solid #4338ca;
  background: #f6f6f8;
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 14px 14px 0;
  font-size: 18px;
  font-style: italic;
  color: #16171d;
}
.article-toc { background: #f6f6f8; border-radius: 16px; padding: 18px 22px; margin-bottom: 32px; }
.article-toc__title { font-size: 12px; font-weight: 700; color: #16171d; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.article-toc__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.article-toc__pill {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e6e6ec;
  color: #33343e;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}
.article-toc__pill:hover { border-color: #4338ca; color: #4338ca; }

.latest-posts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid #e6e6ec;
  border-radius: 20px;
  padding: 8px;
}
.latest-posts__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 14px;
  transition: background 0.2s ease;
}
.latest-posts__item:hover { background: #f6f6f8; }
.latest-posts__item:hover .latest-posts__title { color: #4338ca; }
.latest-posts__thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.latest-posts__title { font-weight: 700; color: #16171d; font-size: 15px; margin-bottom: 4px; transition: color 0.2s ease; }
.latest-posts__meta { color: #8a8b96; font-size: 12px; font-weight: 600; }

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 auto 80px;
  padding-top: 28px;
  border-top: 1px solid #e6e6ec;
}
.article-tags__label { color: #8a8b96; font-size: 13px; font-weight: 600; }

.article-nav {
  max-width: 1080px;
  margin: 0 auto 64px;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.article-nav__link {
  flex: 1;
  max-width: 48%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e6e6ec;
  border-radius: 16px;
  padding: 14px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.article-nav__link:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(22,23,29,0.2); border-color: #4338ca; }
.article-nav__link--next { flex-direction: row-reverse; text-align: right; margin-left: auto; }
.article-nav__thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
.article-nav__text { min-width: 0; }
.article-nav__label { display: block; color: #4338ca; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.article-nav__title { display: block; color: #16171d; font-size: 15px; font-weight: 700; line-height: 1.4; }

.article__body strong { color: #16171d; }
.article__body code { background: #eef0fd; color: #4338ca; padding: 2px 6px; border-radius: 6px; font-size: 15px; }

.article__sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }

.sidebar-widget { background: #f6f6f8; border-radius: 18px; padding: 24px; }
.sidebar-widget__title { font-size: 13px; font-weight: 700; color: #16171d; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.sidebar-widget__list { display: flex; flex-direction: column; }
.sidebar-widget__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: #33343e;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid #e6e6ec;
}
.sidebar-widget__list a:last-child { border-bottom: none; }
.sidebar-widget__list a:hover { color: #4338ca; }
.sidebar-widget__count { color: #8a8b96; font-size: 12px; font-weight: 700; background: #fff; border-radius: 100px; padding: 2px 8px; flex: none; }

.sidebar-hook {
  position: relative;
  background: #1f2028;
  border: 1px solid #2a2a33;
  border-radius: 18px;
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 24px 44px -28px rgba(22,23,29,0.55);
}
.sidebar-hook::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(91,79,224,0.35), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}
.sidebar-hook__inner { position: relative; z-index: 1; }
.sidebar-hook__icon {
  position: relative;
  z-index: 1;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(129,140,248,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.sidebar-hook__title { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.sidebar-hook__text { color: #c7c8d1; font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.sidebar-hook__link { color: #818cf8; font-size: 13px; font-weight: 700; }
.sidebar-hook__link:hover { color: #a5b0fb; }

.author-cta { max-width: 1080px; margin: 0 auto 64px; padding: 0 32px; }
.author-cta__inner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  background: #16171d;
}
.author-cta__bg {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 46%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%);
  mask-image: linear-gradient(90deg, transparent, #000 35%);
  opacity: 0.9;
  object-fit: cover;
}
.author-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #16171d 0%, #16171d 48%, transparent 85%);
  pointer-events: none;
}
.author-cta__content {
  position: relative;
  padding: 44px;
  margin-left: 8%;
  max-width: 480px;
}
.author-cta__label { color: #818cf8; font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.author-cta__title { color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 12px; }
.author-cta__bio { color: #c7c8d1; font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.author-cta__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.author-cta__tag { background: rgba(255,255,255,0.08); color: #d8d8e0; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 100px; }
.author-cta__actions { display: flex; gap: 10px; }

/* ── Contact page ─────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.contact-form { background: #fff; border: 1px solid #e6e6ec; border-radius: 24px; padding: 40px; }
.contact-form__field { margin-bottom: 20px; }
.contact-form__field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; color: #16171d; }
.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d8d8e0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: #16171d;
  background: #fff;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus { outline: none; border-color: #4338ca; }
.contact-form__field textarea { resize: vertical; }
.contact-form__honeypot { position: absolute; left: -9999px; top: -9999px; }
.contact-form__success { background: #eef0fd; border: 1px solid #c7c8fb; color: #312e81; padding: 16px 20px; border-radius: 14px; font-weight: 600; }
.contact-form__errors { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 16px 20px; border-radius: 14px; margin-bottom: 20px; }
.contact-form__errors p { margin: 0; font-size: 14px; font-weight: 600; }
.contact-form__errors p + p { margin-top: 6px; }

.contact-steps { display: flex; flex-direction: column; gap: 14px; }
.contact-steps__item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: #33343e; line-height: 1.5; }
.contact-photo { margin-bottom: 24px; }
.contact-photo__img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 48px -28px rgba(22,23,29,0.35);
  margin-bottom: 14px;
}
.contact-photo__name { font-weight: 700; font-size: 17px; color: #16171d; }
.contact-photo__role { font-size: 13px; color: #8a8b96; margin-top: 2px; }

.contact-steps__num {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef0fd;
  color: #4338ca;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Mobile nav toggle ──────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 60;
  flex: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #16171d;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.nav-open { overflow: hidden; }

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */

@media (max-width: 900px) {
  /* Mobile nav */
  .nav-toggle { display: flex; }
  .site-header__highlight { display: inline-flex; }
  .site-header__nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 55;
    height: 100vh;
    width: min(320px, 84vw);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 96px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -20px 0 60px rgba(22, 23, 29, 0.15);
    overflow-y: auto;
  }
  .site-header__nav.is-open { transform: translateX(0); }
  .site-header__nav a { width: 100%; padding: 14px 0; font-size: 17px; border-bottom: 1px solid #f0f0f4; }
  .site-header__nav .btn-nav { width: 100%; text-align: center; margin-top: 14px; border-bottom: none; }
  .lang-switch { margin-top: 18px; }

  /* Sidebars stack below main content */
  .article__layout,
  .blog-listing__layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article__sidebar { position: static; }

  /* 4/3-column grids → 2 columns */
  .stats__inner,
  .how__grid,
  .values__grid,
  .cases__grid,
  .proof__grid,
  .services__grid,
  .testimonials__grid,
  .bento__grid,
  .tools__categories,
  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing__grid { grid-template-columns: 1fr; }

  /* Two-column heroes/sections stack */
  .hero,
  .services-hero__grid,
  .about__inner,
  .profile__inner,
  .map-section__wrap,
  .compare__grid,
  .cta__inner,
  .faq__inner,
  .case-item {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .case-item { padding: 40px 0; }
  .case-item__media { order: 1 !important; }
  .case-item__content { order: 2 !important; }

  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .site-footer__brand, .site-footer__tagline { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container, .container--narrow { padding: 0 20px; }
  .hero { padding: 32px 20px 24px; }
  .about, .profile, .own-project, .tools__inner, .mid-banner, .author-cta,
  .map-section .container, .cta__inner, .faq__inner { padding-left: 20px; padding-right: 20px; }

  /* Everything left multi-column goes to a single column */
  .stats__inner,
  .how__grid,
  .values__grid,
  .cases__grid,
  .proof__grid,
  .services__grid,
  .testimonials__grid,
  .bento__grid,
  .tools__categories,
  .blog__grid,
  .ppc-gallery,
  .own-project__stats,
  .about__stats {
    grid-template-columns: 1fr;
  }
  .stats__item:not(:last-child) { border-right: none; padding-right: 0; border-bottom: 1px solid #2a2a33; padding-bottom: 20px; }
  .stats__item + .stats__item { padding-left: 0; padding-top: 0; }
  .bento__card--lg { grid-column: span 1; }
  .site-footer__inner { grid-template-columns: 1fr; }

  /* Blog & article rows */
  .blog__featured { grid-template-columns: 1fr; }
  .blog__featured-media { height: 220px; }
  .blog-row { grid-template-columns: 1fr; }
  .blog-row__media { height: 200px; }
  .author-strip__inner { flex-wrap: wrap; }
  .author-strip__actions { width: 100%; }
  .author-strip__actions .btn { flex: 1; text-align: center; }

  .article-nav { flex-direction: column; }
  .article-nav__link, .article-nav__link--next { max-width: 100%; margin-left: 0; }

  /* Button rows: stack instead of squeezing side-by-side into wrapped pills, but keep buttons sized to their own text */
  .hero__actions, .author-cta__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__actions .btn, .author-cta__actions .btn { max-width: 100%; text-align: center; }

  /* Extra breathing room where a dark sidebar card sits right above the author banner */
  .author-cta { margin-top: 40px; }

  /* Decorative side-photo cards → photo on top, content below (instead of side-masked overlay) */
  .cases__card, .own-project__card, .mid-banner__inner, .author-cta__inner {
    display: block;
    padding: 0;
    min-height: 0;
  }
  .cases__card-bg, .own-project__bg, .mid-banner__bg, .author-cta__bg {
    display: block;
    object-position: center 20%;
    position: static;
    width: 100%;
    height: 190px;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
    opacity: 0.9;
  }
  .cases__card-overlay, .own-project__overlay, .mid-banner__overlay, .author-cta__overlay {
    display: none;
  }
  .cases__card-content { position: static; max-width: 100%; padding: 4px 24px 24px; }
  .own-project__content { position: static; max-width: 100%; padding: 4px 24px 28px; }
  .mid-banner__content, .author-cta__content { position: static; max-width: 100%; margin-left: 0; padding: 4px 24px 28px; }
  .cases__card-link {
    display: inline-flex;
    background: rgba(129, 140, 248, 0.15);
    padding: 9px 16px;
    border-radius: 100px;
  }

  /* Type scale */
  .hero__title { font-size: 28px; }
  .results-hero__title { font-size: 28px; }
  .services-hero__title { font-size: 28px; }
  .profile__title { font-size: 30px; }
  .about__title { font-size: 28px; }
  .cta__title { font-size: 28px; }
  .own-project__title { font-size: 24px; }
  .tools__title { font-size: 24px; }
  .map-section__title { font-size: 24px; }
  .values__title { font-size: 26px; }
  .services__title { font-size: 28px; }
  .pricing__title { font-size: 28px; }
  .testimonials__title { font-size: 28px; }
  .faq__title { font-size: 28px; }
  .article__title { font-size: 26px; }
  .blog__featured-title { font-size: 22px; }
  .case-item__number { font-size: 26px; }
  .cases__card-number { font-size: 32px; }

  .profile__badge { left: 0; bottom: -16px; padding: 14px 16px; }
  .profile__strengths { grid-template-columns: 1fr; }

  .site-header__inner { padding: 16px 20px; }
  .site-header__logo { font-size: 18px; }
  .site-header__brand { gap: 10px; }
  .site-header__highlight { font-size: 12px; padding: 6px 11px; white-space: nowrap; }

  /* Long wrapping badges: pill shape only works on one line, becomes a blob on two */
  .badge { border-radius: 16px; }
}

@media (max-width: 380px) {
  .site-header__logo { font-size: 16px; }
  .site-header__highlight { font-size: 11px; padding: 5px 9px; }
}
