/* Taurus Capital — webfonty self-hostowane: statyczne instancje, podzbiór latin + latin-ext.
   Zamiast @import z fonts.googleapis.com — bez łańcucha żądań i bez third-party. */

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/newsreader-500-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: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/newsreader-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-sans-400-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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-sans-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/instrument-sans-600-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: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/instrument-sans-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/instrument-sans-700-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: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/instrument-sans-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-500-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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-500-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;
}


/* tokens/colors.css */
/* Taurus Capital — color tokens.
   Palette: deep navy ("ink") + warm paper neutrals + brass accent.
   Premium, restrained, finance-sector. */
:root {
  /* ── Base: navy ink scale ───────────────────────────── */
  --ink-950: #060D18;
  --ink-900: #0A1524;   /* primary dark surface */
  --ink-800: #101E33;
  --ink-700: #1A2C47;
  --ink-600: #2B4266;
  --ink-500: #43597D;
  --ink-400: #6B7E9C;
  --ink-300: #97A6BE;
  --ink-200: #C4CDDC;
  --ink-100: #E2E7EF;
  --ink-50:  #F0F3F8;

  /* ── Base: paper neutrals (light surfaces) ──────────── */
  --paper-0:   #FFFFFF;
  --paper-50:  #FAF9F6;   /* default page background */
  --paper-100: #F3F1EC;
  --paper-200: #E8E5DD;

  /* ── Accent: brass ──────────────────────────────────── */
  --brass-600: #8A6B34;
  --brass-500: #A8863F;   /* primary accent */
  --brass-400: #C2A05C;
  --brass-300: #D9BE85;
  --brass-200: #ECDDBB;
  --brass-100: #F6EFDD;

  /* ── Semantic status ────────────────────────────────── */
  --positive: #1F7A4D;
  --negative: #A83232;
  --warning:  #B07C1F;

  /* ── Semantic aliases: light context (default) ──────── */
  --surface-page:    var(--paper-50);
  --surface-card:    var(--paper-0);
  --surface-raised:  var(--paper-0);
  --surface-sunken:  var(--paper-100);
  --surface-inverse: var(--ink-900);

  --text-display: var(--ink-900);
  --text-body:    var(--ink-700);
  --text-muted:   var(--ink-400);
  --text-accent:  var(--brass-600);
  --text-inverse: var(--paper-50);

  --border-subtle: var(--ink-100);
  --border-strong: var(--ink-200);
  --border-accent: var(--brass-400);

  --link:       var(--ink-900);
  --link-hover: var(--brass-600);

  /* ── Semantic aliases: dark context (hero, footer, CTA) ─ */
  --dark-surface:      var(--ink-900);
  --dark-surface-2:    var(--ink-800);
  --dark-text-display: var(--paper-50);
  --dark-text-body:    var(--ink-200);
  --dark-text-muted:   var(--ink-400);
  --dark-border:       rgba(255, 255, 255, 0.10);
  --dark-accent:       var(--brass-400);
}


/* tokens/typography.css */
/* Taurus Capital — typography tokens.
   Display: Newsreader (serif, tight, editorial).
   UI/body: Instrument Sans. Data/figures: IBM Plex Mono. */
:root {
  --font-serif-display: "Newsreader", "Times New Roman", serif;
  --font-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* ── Scale (desktop) ────────────────────────────────── */
  --text-hero: 72px;        /* serif 500, -0.02em, lh 1.02 */
  --text-h1: 56px;          /* serif 500, -0.02em, lh 1.05 */
  --text-h2: 40px;          /* serif 500, -0.01em, lh 1.1  */
  --text-h3: 28px;          /* serif 500, lh 1.2           */
  --text-h4: 20px;          /* sans 600, lh 1.3            */
  --text-lead: 21px;        /* sans 400, lh 1.55           */
  --text-base: 17px;        /* sans 400, lh 1.6            */
  --text-small: 15px;       /* sans 400, lh 1.5            */
  --text-caption: 13px;     /* sans 500, lh 1.4            */
  --text-eyebrow: 13px;     /* sans 600, +0.14em, uppercase */
  --text-stat: 64px;        /* serif 500, tabular          */

  /* ── Weights ────────────────────────────────────────── */
  --weight-display: 500;    /* serif headings — never bolder */
  --weight-body: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  /* ── Leading / tracking ─────────────────────────────── */
  --leading-display: 1.05;
  --leading-heading: 1.15;
  --leading-body: 1.6;
  --tracking-display: -0.02em;
  --tracking-eyebrow: 0.14em;
}


/* tokens/spacing.css */
/* Taurus Capital — spacing, radii, layout. Generous, airy, 8px base. */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;   /* section rhythm */

  /* ── Radii: near-square. Premium finance = sharp edges. ── */
  --radius-0: 0px;      /* sections, images, hero panels */
  --radius-1: 2px;      /* buttons, inputs, cards        */
  --radius-2: 4px;      /* badges, small chips           */
  --radius-full: 999px; /* pills — rare, lang switch only */

  /* ── Layout ─────────────────────────────────────────── */
  --container-max: 1200px;
  --container-pad: 32px;
  --section-gap: var(--space-10);
  --grid-gap: var(--space-5);
  --header-height: 76px;
}


/* tokens/effects.css */
/* Taurus Capital — shadows, borders, overlays.
   Shadows are rare and soft; structure comes from hairline borders. */
:root {
  --shadow-card: 0 1px 2px rgba(10, 21, 36, 0.04);
  --shadow-raised: 0 8px 24px -8px rgba(10, 21, 36, 0.12);
  --shadow-overlay: 0 24px 64px -16px rgba(10, 21, 36, 0.28);

  --hairline: 1px solid var(--border-subtle);
  --hairline-dark: 1px solid var(--dark-border);

  /* Protection gradient for text over imagery */
  --scrim-bottom: linear-gradient(to top, rgba(6, 13, 24, 0.82), rgba(6, 13, 24, 0)); /* @kind color */
  --scrim-full: rgba(6, 13, 24, 0.55);

  --focus-ring: 0 0 0 2px var(--surface-page), 0 0 0 4px var(--brass-500);
}


/* tokens/motion.css */
/* Taurus Capital — motion. Reference: bvaluefund.com.
   Character: slow, confident reveals. Fade + rise on scroll,
   staggered children, long ease-out. Never bouncy. */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --duration-fast: 180ms; /* @kind other */
  --duration-base: 320ms; /* @kind other */
  --duration-reveal: 800ms; /* @kind other */
  --reveal-rise: 28px;       /* translateY distance */
  --reveal-stagger: 90ms; /* @kind other */
}

/* Reveal utility: add .tc-reveal, toggle .is-inview via IntersectionObserver */
.tc-reveal {
  opacity: 0;
  transform: translateY(var(--reveal-rise));
  transition: opacity var(--duration-reveal) var(--ease-out),
              transform var(--duration-reveal) var(--ease-out);
}
.tc-reveal.is-inview { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .tc-reveal { opacity: 1; transform: none; transition: none; }
}


/* tokens/base.css */
/* Taurus Capital — base element styles. */
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--font-serif-display);
  font-weight: var(--weight-display);
  color: var(--text-display);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-heading);
  margin: 0;
}
a { color: var(--link); }
a:hover { color: var(--link-hover); }
::selection { background: var(--brass-200); color: var(--ink-900); }


/* design system — styles.css */

/* Site header — narrow-viewport compaction.
   Below 1080px the full-size header row's min-content exceeds the viewport,
   which clipped the trailing CTA. Shed the wordmark sub-line and tighten
   nav/CTA metrics so nav + CTA both stay fully visible. */
@media (max-width: 1080px) {
  .tc-hdr-sub { display: none !important; }
  .tc-hdr-row { gap: 16px !important; padding: 0 20px !important; }
  .tc-hdr-nav { gap: 14px !important; }
  .tc-hdr-nav a { font-size: 11.5px !important; letter-spacing: 0.05em !important; }
  .tc-hdr-cta { padding: 0 14px !important; font-size: 11.5px !important; letter-spacing: 0.03em !important; }
}
@media (max-width: 880px) {
  .tc-hdr-nav { display: none !important; }
}

/* ── Przycisk "Zgłoś projekt" w nagłówku ──────────────────────────────
   Bundle ustawia na nim mosiądz --brass-400 i ciemny tekst; tu nadpisujemy
   na ciemniejszy mosiądz z białym napisem (kontrast ok. 4,6:1, czyli AA)
   i dokładamy animację: lekkie uniesienie, cień i przelot światła. */
.tc-hdr-cta {
  position: relative;
  overflow: hidden;
  background: var(--brass-600) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em !important;
  border-radius: var(--radius-1);
  box-shadow: 0 1px 2px rgba(10, 21, 36, 0.16);
  transition:
    background-color 240ms var(--ease-out),
    transform 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out) !important;
}
.tc-hdr-cta:hover,
.tc-hdr-cta:focus-visible {
  background: var(--brass-500) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(138, 107, 52, 0.38);
}
.tc-hdr-cta:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(10, 21, 36, 0.16); }

/* przelot światła — półprzezroczysty, więc napis pozostaje czytelny */
.tc-hdr-cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.42) 50%, transparent 100%);
  transform: skewX(-18deg);
  opacity: 0;
}
.tc-hdr-cta:hover::after,
.tc-hdr-cta:focus-visible::after { animation: tc-cta-sheen 720ms var(--ease-out); }
@keyframes tc-cta-sheen {
  from { left: -70%; opacity: 1; }
  to   { left: 125%; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-hdr-cta { transition: background-color 240ms var(--ease-out) !important; }
  .tc-hdr-cta:hover, .tc-hdr-cta:focus-visible { transform: none; box-shadow: 0 1px 2px rgba(10, 21, 36, 0.16); }
  .tc-hdr-cta:hover::after, .tc-hdr-cta:focus-visible::after { animation: none; }
}

/* Card hover — matches ServiceCard: 2px lift, hairline darkens, raised shadow.
   Applied to every white content box so hover behaviour is uniform site-wide. */
.tc-hover-card {
  transition: transform var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  box-shadow: var(--shadow-card);
}
.tc-hover-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-raised);
}
.tc-hover-card:hover a {
  color: var(--brass-600);
}
@media (prefers-reduced-motion: reduce) {
  .tc-hover-card:hover { transform: none; }
}

/* Flip-animated boxes carry an inline transform/transition from the reveal
   script, which beats the rule above. Lift via `translate` (a separate
   property that composes with the inline transform) and force the hairline /
   shadow transitions past the inline `transition`. */
[data-flip].tc-hover-card:hover {
  transform: none;
  translate: 0 -2px;
}
[data-flip].tc-hover-card {
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              translate var(--duration-fast) var(--ease-out),
              opacity 700ms var(--ease-out),
              transform 900ms var(--ease-out) !important;
}
@media (prefers-reduced-motion: reduce) {
  [data-flip].tc-hover-card:hover { translate: none; }
}

/* Portfolio ticker tiles — brass fill wipes in left→right on hover, logo and
   name knock out to white, and the marquee freezes while pointing at a tile. */
.tc-pf-tile {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.tc-pf-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--brass-500);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tc-pf-tile:hover::before { transform: scaleX(1); }
.tc-pf-tile > * {
  position: relative;
  z-index: 1;
  transition: filter 300ms var(--ease-out), color 300ms var(--ease-out);
}
.tc-pf-tile:hover .tc-pf-logo { filter: grayscale(1) brightness(0) invert(1) !important; opacity: 1 !important; }
.tc-pf-tile:hover .tc-pf-name { color: var(--paper-50) !important; }
.tc-pf-marquee:hover .tc-pf-track { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .tc-pf-tile::before { transition: none; }
}


/* warstwa responsywna */
/* Taurus Capital — warstwa responsywna.
   Nadpisuje tokeny design systemu (płynna typografia i rytm) oraz zwija
   siatki kolumnowe zapisane w stylach inline. Ładowana po styles.css.
   Media queries i @supports nie mogą żyć w stylach inline — dlatego ten plik. */

:root {
  --page-x: clamp(18px, 5vw, 32px);
  --text-hero: clamp(34px, 7.6vw, 72px);
  --text-h1: clamp(30px, 6.2vw, 56px);
  --text-h2: clamp(25px, 4.6vw, 40px);
  --text-h3: clamp(20px, 3.2vw, 28px);
  --text-h4: clamp(18px, 2.4vw, 20px);
  --text-lead: clamp(17px, 2vw, 21px);
  --text-base: clamp(16px, 1.7vw, 17px);
  --grid-gap: clamp(16px, 3vw, 32px);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
canvas,
svg,
image-slot {
  max-width: 100%;
}

/* iOS Safari: 100vh skacze wraz z paskiem adresu */
@supports (height: 100dvh) {
  [style*="min-height: 100vh"] {
    min-height: 100dvh;
  }
}

/* ── Tablet (≤1024px): układy dwukolumnowe na jedną kolumnę ────────── */
@media (max-width: 1024px) {
  [style*="grid-template-columns: 1.4fr 1fr"],
  [style*="grid-template-columns: 1fr 1.4fr"],
  [style*="grid-template-columns: 1.25fr 1fr"],
  [style*="grid-template-columns: 2fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  [style*="repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* wykresy/ilustracje wyrównane do prawej wracają na lewą krawędź */
  [style*="justify-self: end"] {
    justify-self: start !important;
  }
}

/* ── Telefon (≤720px): wszystko jednokolumnowo ─────────────────────── */
@media (max-width: 720px) {
  [style*="repeat(3, 1fr)"],
  [style*="repeat(2, 1fr)"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* słupki „etapy rozwoju” zostają czterokolumnowe, tylko niższe */
  [data-bars] {
    grid-template-columns: repeat(4, 1fr) !important;
    width: 100% !important;
  }

  [data-bars] [style*="height: 240px"] {
    height: 150px !important;
  }
}

/* ── Marginesy i rytm pionowy ──────────────────────────────────────── */
@media (max-width: 900px) {
  [style*="padding: 128px 32px 136px"] {
    padding: 96px var(--page-x) 88px !important;
  }

  [style*="padding: 128px 32px 0"] {
    padding: 72px var(--page-x) 0 !important;
  }

  [style*="padding: 128px 32px;"] {
    padding: 72px var(--page-x) !important;
  }

  [style*="padding: 112px 32px"] {
    padding: 72px var(--page-x) !important;
  }

  [style*="padding: 96px 32px 128px"] {
    padding: 56px var(--page-x) 72px !important;
  }

  [style*="padding: 96px 32px;"] {
    padding: 56px var(--page-x) !important;
  }

  [style*="padding: 0 32px 128px"] {
    padding: 0 var(--page-x) 72px !important;
  }

  [style*="padding: 40px 32px 128px"] {
    padding: 32px var(--page-x) 72px !important;
  }

  [style*="padding: 32px 32px 0"] {
    padding: 24px var(--page-x) 0 !important;
  }

  [style*="padding: 18px 32px 28px"] {
    padding: 18px var(--page-x) 28px !important;
  }

  /* wewnętrzne „pudła” — panele, karty wyróżnione, newsletter */
  [style*="padding: 80px 64px"] {
    padding: 40px 24px !important;
  }

  [style*="padding: 64px;"] {
    padding: 32px 24px !important;
  }

  [style*="padding: 48px;"] {
    padding: 28px 24px !important;
  }

  [style*="padding: 8px 0 8px 72px"] {
    padding: 8px 0 8px 24px !important;
  }

  /* nagłówek i stopka design systemu */
  .tc-hdr-row {
    padding: 0 var(--page-x) !important;
  }

  footer [style*="padding: 64px 32px 0"] {
    padding: 48px var(--page-x) 0 !important;
  }

  footer [style*="padding: 20px 32px"] {
    padding: 20px var(--page-x) !important;
  }
}

/* ── Nagłówek: nawigacja desktopowa ustępuje menu mobilnemu ────────── */
@media (max-width: 980px) {
  .tc-hdr-nav,
  .tc-hdr-cta {
    display: none !important;
  }

  .tc-hdr-sub {
    display: none !important;
  }
}

/* przycisk hamburgera (wstrzykiwany przez mobile-nav.js) */
.tc-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-1);
  color: var(--text-display);
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .tc-burger {
    display: inline-flex;
  }
}

.tc-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px var(--page-x) 40px;
  background: var(--ink-900);
  color: var(--paper-50);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tc-mobile-menu[data-open="1"] {
  opacity: 1;
  visibility: visible;
}

.tc-mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--paper-50);
  font-family: var(--font-serif-display);
  font-size: 26px;
  font-weight: 500;
  text-decoration: none;
}

.tc-mobile-menu a[data-active="1"] {
  color: var(--brass-400);
}

/* ── Dotyk i formularze ────────────────────────────────────────────── */
@media (max-width: 980px) {
  button,
  a[href^="tel"],
  a[href^="mailto"] {
    min-height: 44px;
  }

  /* Safari zoomuje pole przy focusie, gdy font < 16px */
  input,
  textarea,
  select {
    font-size: 16px !important;
  }
}

@media (hover: none) {
  .tc-hover-card:hover {
    transform: none !important;
  }
}
