/* ==========================================================================
   Binturonix — one-page site styles
   Built on the Binturonix design tokens (css/tokens/). Four colours only,
   flat (no gradients, no shadows), 20px panels, pill controls, the "+Accent"
   headline device (Cal Sans + one phrase in Manrope Medium).
   ========================================================================== */

/* ---------- Reset-ish additions on top of tokens/base.css ---------- */
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
:where(button) { font: inherit; color: inherit; cursor: pointer; }

/* Focus: 2px black ring + Popcorn-Yellow halo (design system).
   Overrides the plain outline in base.css so it reads on every ground. */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--footprint-black),
              0 0 0 6px color-mix(in oklab, var(--popcorn-yellow) 85%, transparent);
}

/* Skip link (visible on keyboard focus) */
.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  background: var(--footprint-black);
  color: var(--whiskers-white);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  text-decoration: none;
  transition: top var(--duration-fast) var(--ease-standard);
}
.skip-link:focus { top: 16px; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);        /* 1248px */
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 36px);  /* 36px = --space-margin */
}

.band { width: 100%; }
.band > .container { padding-block: clamp(48px, 6vw, 84px); }

.band--yellow { background: var(--popcorn-yellow); color: var(--footprint-black); }
.band--white  { background: var(--whiskers-white); }
.band--gray   { background: var(--shadow-gray); }
.band--paper  { background: var(--doc-paper); }

/* Sections get a little scroll offset for anchor links. */
section[id] { scroll-margin-top: 24px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--weight-extrabold);
  font-size: clamp(11px, 1.4vw, 13px);
  letter-spacing: var(--tracking-eyebrow);   /* +8% */
  text-transform: uppercase;
  color: var(--doc-ink-mid);
  margin: 0;
}
.band--yellow .eyebrow { color: color-mix(in oklab, var(--footprint-black) 62%, var(--popcorn-yellow)); }
/* Section-label eyebrows (čo robíme / ako pracujeme / s kým pracujeme) sit off the content below. */
.band > .container > .eyebrow { margin-bottom: clamp(20px, 2.6vw, 32px); }

/* Display headline + the "+Accent" device */
.display {
  font-family: var(--font-heading);          /* Cal Sans */
  font-weight: var(--weight-regular);
  line-height: 1.02;
  letter-spacing: var(--tracking-h2);
  text-wrap: balance;
  margin: 0;
}
.display .accent {
  font-family: var(--font-body);             /* Manrope */
  font-weight: var(--weight-medium);         /* Medium */
  letter-spacing: -0.01em;
}
.display--hero { font-size: clamp(38px, 7.6vw, 74px); line-height: 1.0; }
.display--xl   { font-size: clamp(30px, 4.6vw, 50px); }
.display--lg   { font-size: clamp(26px, 3.8vw, 40px); }

.lead {
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.5;
  max-width: 60ch;
  color: var(--footprint-black);
}

/* ---------- Buttons / pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  min-height: 48px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--duration-base) var(--ease-standard),
              color var(--duration-base) var(--ease-standard),
              border-color var(--duration-base) var(--ease-standard),
              transform var(--duration-fast) var(--ease-standard);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(var(--press-scale)); }

/* Primary = black fill, white text (works on every ground) */
.btn--primary { background: var(--footprint-black); color: var(--whiskers-white); }
.btn--primary:hover { background: var(--inverse-hover); color: var(--whiskers-white); }
.btn--primary:active { background: var(--inverse-press); }

/* Outline = 2px black border, transparent fill */
.btn--outline {
  background: transparent;
  color: var(--footprint-black);
  border: var(--border-width-strong) solid var(--footprint-black);
  padding: 12px 22px;
}
.btn--outline:hover { background: color-mix(in oklab, var(--footprint-black) 8%, transparent); }

.btn--nav { min-height: 44px; padding: 11px 20px; font-size: 15px; }

/* ---------- Navbar (yellow, not sticky — scrolls with the page) ---------- */
.navbar { background: var(--popcorn-yellow); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
  min-height: 100px;
}
.navbar__logo { height: 36px; width: auto; }   /* wordmark only; mobile drops to 16px */
.navbar__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}

/* ---------- Hero (shares the navbar's yellow — one continuous field) ---------- */
.hero .container { padding-top: clamp(16px, 3vw, 40px); padding-bottom: clamp(64px, 9vw, 110px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1080px;      /* nudge the hero block toward centre */
  margin-inline: auto;
}
.hero__icon { width: 100%; max-width: 300px; height: auto; }   /* mascot ~15% larger */
.hero__content { display: flex; flex-direction: column; gap: 22px; max-width: 680px; }
.hero__intro { display: flex; flex-direction: column; gap: 6px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }

/* ---------- Section header block ---------- */
.section-head { display: flex; flex-direction: column; gap: clamp(18px, 2vw, 24px); margin-bottom: clamp(28px, 4vw, 48px); }

/* ---------- Cards ---------- */
.card {
  background: var(--whiskers-white);
  border-radius: var(--radius-panel);        /* 20px */
  padding: clamp(20px, 2.6vw, 28px);
}
.card--gray { background: var(--shadow-gray); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid #d4d4d4;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--footprint-black);
  text-decoration: none;
  background: transparent;
  transition: border-color var(--duration-fast) var(--ease-standard),
              background-color var(--duration-fast) var(--ease-standard);
}

/* ---------- KTO SME ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about__intro { display: flex; flex-direction: column; gap: 20px; }
.about__info { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 28px); }
.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.leader { display: flex; flex-direction: column; gap: 14px; }
.leader__photo {
  width: 96px; height: 96px; border-radius: var(--radius-circle);
  overflow: hidden; flex: none; background: var(--doc-line);
}
.leader__photo img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 12%;   /* bias toward the face */
  transform: scale(1.32);      /* zoom in for a closer head-and-shoulders crop */
  transform-origin: 50% 18%;
}
.leader__name { font-family: var(--font-heading); font-size: 22px; line-height: 1.1; }
.leader__namerow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.leader__linkedin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--radius-circle);
  border: var(--border-width-strong) solid var(--footprint-black);
  color: var(--footprint-black); background: transparent; flex: none;
  transition: background-color var(--duration-base) var(--ease-standard),
              color var(--duration-base) var(--ease-standard);
}
.leader__linkedin:hover { background: var(--footprint-black); color: var(--whiskers-white); text-decoration: none; }
.leader__linkedin svg { width: 18px; height: 18px; }
.leader__bio { font-size: 14.5px; line-height: 1.5; color: var(--doc-ink-mid); }

/* Stat rail: 2x2 tiles */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat { background: var(--shadow-gray); border-radius: var(--radius-panel); padding: clamp(18px, 2.4vw, 26px); }
.stat__figure { font-family: var(--font-heading); font-size: clamp(28px, 3.4vw, 38px); line-height: 1; }
.stat__caption { margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: var(--doc-ink-mid); }

/* ---------- Bintu speech unit (badge + capsule with tail) ---------- */
.speech { display: flex; align-items: flex-start; gap: 0; margin-bottom: clamp(28px, 4vw, 44px); }
.speech__badge { width: 64px; height: 64px; flex: none; }
.speech__bubble {
  position: relative;
  margin-left: 18px;
  background: var(--whiskers-white);
  border-radius: var(--radius-panel);
  padding: 20px 26px;
}
.speech__bubble--gray { background: var(--shadow-gray); }
.speech__bubble::before {
  content: "";
  position: absolute; left: -9px; top: 24px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-right: 10px solid var(--whiskers-white);
}
.speech__bubble--gray::before { border-right-color: var(--shadow-gray); }
.speech__title { margin: 0; }

/* ---------- Services (3-up) ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service { display: flex; flex-direction: column; gap: 14px; }
.service__icon {
  width: 52px; height: 52px; border-radius: var(--radius-circle);
  display: grid; place-items: center;
  border: 2px solid var(--footprint-black);
  color: var(--footprint-black);
}
.service__icon svg { width: 24px; height: 24px; }
.service__title { font-family: var(--font-heading); font-size: 22px; line-height: 1.1; }
.service__desc { font-size: 15px; line-height: 1.55; color: var(--doc-ink-mid); flex: 1; }

/* ---------- Process (3 steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.step { display: flex; flex-direction: column; gap: 0; }
.step__badge {
  width: 44px; height: 44px; border-radius: var(--radius-circle);
  display: grid; place-items: center;
  font-family: var(--font-heading); font-size: 18px;
  border: 2px solid var(--doc-quiet); color: var(--footprint-black);
  background: transparent;
}
.step--first .step__badge { background: var(--popcorn-yellow); border-color: var(--popcorn-yellow); }
.step__rule { height: 2px; background: var(--doc-line); margin: 22px 0 20px; }
.step--first .step__rule { background: var(--footprint-black); }
.step__title { font-family: var(--font-heading); font-size: clamp(20px, 2.4vw, 24px); line-height: 1.1; margin-bottom: 10px; }
.step__desc { font-size: 15px; line-height: 1.55; color: var(--doc-ink-mid); }

/* Repeated mid-page CTA (after the process) */
.process-cta { margin-top: clamp(28px, 4vw, 44px); display: flex; justify-content: center; }

/* ---------- Partners (logo grid) ---------- */
.partners { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.partner {
  background: var(--whiskers-white);
  border: 1px solid var(--doc-line);
  border-radius: var(--radius-panel);
  min-height: 96px;
  display: grid; place-items: center;
  padding: 18px 22px;
}
.partner img {
  max-height: 44px; max-width: 100%; width: auto; height: auto;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter var(--duration-base) var(--ease-standard),
              opacity var(--duration-base) var(--ease-standard);
}
.partner:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.contact__left { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); }
.contact__icon { width: clamp(72px, 9vw, 104px); height: auto; flex: none; }
.contact__intro { display: flex; flex-direction: column; gap: 16px; }
.contact__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
.contact__item { display: flex; flex-direction: column; gap: 4px; }
.contact__item--wide { grid-column: 1 / -1; border-top: 1px solid rgba(0,0,0,.18); padding-top: 18px; }
.contact__label {
  font-family: var(--font-body); font-weight: var(--weight-extrabold);
  font-size: 11px; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: color-mix(in oklab, var(--footprint-black) 62%, var(--popcorn-yellow));
}
.contact__value {
  font-family: var(--font-body); font-weight: var(--weight-bold);
  font-size: clamp(16px, 1.8vw, 19px); color: var(--footprint-black);
  text-decoration: none; word-break: break-word;
}
a.contact__value { text-decoration-color: color-mix(in oklab, var(--footprint-black) 30%, transparent); }
a.contact__value:hover { text-decoration-color: var(--footprint-black); }
.contact__meta { font-size: 13px; color: color-mix(in oklab, var(--footprint-black) 70%, var(--popcorn-yellow)); }

/* ---------- Footer ---------- */
.footer { background: var(--popcorn-yellow); }
.footer .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding-block: 28px;
}
.footer__logo { height: 60px; width: auto; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__link { font-size: 14px; color: var(--footprint-black); text-decoration: none; }
.footer__link:hover { color: var(--footprint-black); text-decoration: underline; text-decoration-color: var(--footprint-black); }
.footer__socials { display: flex; gap: 12px; }
.social {
  width: 44px; height: 44px; border-radius: var(--radius-circle);
  display: grid; place-items: center;
  border: 2px solid var(--footprint-black); color: var(--footprint-black);
  background: transparent;
  transition: background-color var(--duration-base) var(--ease-standard), color var(--duration-base) var(--ease-standard);
}
.social:hover { background: var(--footprint-black); color: var(--whiskers-white); }
.social svg { width: 20px; height: 20px; }
.footer__copy { width: 100%; font-size: 12.5px; color: color-mix(in oklab, var(--footprint-black) 70%, var(--popcorn-yellow)); }
.footer__policy { color: var(--footprint-black); text-decoration: underline; text-decoration-color: rgba(0, 0, 0, 0.4); text-underline-offset: 2px; }
.footer__policy:hover { text-decoration-color: var(--footprint-black); }

/* ---------- Privacy policy page ---------- */
.policy { max-width: 74ch; }
.policy__title { font-family: var(--font-heading); font-size: clamp(32px, 5vw, 50px); line-height: 1.05; letter-spacing: var(--tracking-h2); margin-bottom: 6px; }
.policy__date { color: var(--doc-ink-mid); font-size: 14px; margin-bottom: clamp(24px, 4vw, 40px); }
.policy h2 { font-family: var(--font-heading); font-size: clamp(20px, 2.6vw, 26px); line-height: 1.15; margin: clamp(28px, 4vw, 40px) 0 12px; }
.policy p { line-height: 1.6; margin-bottom: 14px; }
.policy ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.policy li { line-height: 1.55; margin-bottom: 8px; }
.policy a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.policy__controller { background: var(--shadow-gray); border-radius: var(--radius-panel); padding: 20px 24px; margin: 4px 0 8px; }
.policy__controller p { margin: 0; line-height: 1.6; }

/* ==========================================================================
   Responsive — single breakpoint at 900px (design system), plus fluid clamps.
   ========================================================================== */
@media (max-width: 900px) {
  .navbar .container { min-height: 62px; padding-block: 14px; }
  .navbar__links { gap: 14px; }
  .navbar__logo { height: 16px; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; text-align: center; }
  .hero__icon { max-width: 120px; margin-inline: auto; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }

  .about__grid { grid-template-columns: minmax(0, 1fr); }
  /* Leadership cards stay two-up (side by side) on mobile, stacked internally. */
  .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .leader { flex-direction: column; }
  .leader.card { padding: 16px; }
  .leader__photo { width: 64px; height: 64px; }
  .leader__name { font-size: 18px; }
  .leader__body { display: flex; flex-direction: column; gap: 8px; }
  .leader__bio { font-size: 12.5px; line-height: 1.45; }
  .leaders .chip { font-size: 9px; padding: 4px 8px; letter-spacing: 0.04em; }

  .services { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .step { flex-direction: row; align-items: flex-start; gap: 16px;
          border: 1px solid var(--doc-line); border-radius: var(--radius-panel); padding: 18px; }
  .step__rule { display: none; }
  .step__badge { flex: none; }

  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner { min-height: 72px; padding: 14px; }
  .partner img { max-height: 34px; }

  .contact__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .contact__left { align-items: flex-start; }
  .contact__list { gap: 18px 24px; }
  .contact__cta { width: 100%; }

  .footer .container { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 460px) {
  .contact__list { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: 16px; }
}

/* ---------- Motion / accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .partner img, .social { transition: none; }
}
