/*
 * Chem-Bud: foundation.css
 * Sources (cascade order): fonts.css -> base.css -> intro-animations.css -> typography.css
 * Generated by tools/build-css-bundles.mjs. Edit the bundle after consolidation.
 */

/* ===== fonts.css ===== */
/* Local, CLS-safe font delivery. Source files: Google Fonts (OFL). */

@font-face {
  font-family: 'Khand';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/khand-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: 'Khand';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/khand-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: 'Khand';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/khand-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: 'Khand';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/khand-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: 'Google Sans Flex';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/google-sans-flex-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: 'Google Sans Flex';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/google-sans-flex-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;
}

/* Width-matched local fallbacks prevent line-wrap changes before fonts arrive. */
@font-face {
  font-family: 'Khand Fallback';
  src: local('Arial');
  font-style: normal;
  font-weight: 600;
  size-adjust: 65.11%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Khand Fallback';
  src: local('Arial');
  font-style: normal;
  font-weight: 700;
  size-adjust: 67.08%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Google Sans Flex Fallback';
  src: local('Arial');
  font-style: normal;
  font-weight: 400;
  size-adjust: 95.65%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Google Sans Flex Fallback';
  src: local('Arial');
  font-style: normal;
  font-weight: 500;
  size-adjust: 96.24%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Google Sans Flex Fallback';
  src: local('Arial');
  font-style: normal;
  font-weight: 600;
  size-adjust: 96.83%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Google Sans Flex Fallback';
  src: local('Arial');
  font-style: normal;
  font-weight: 700;
  size-adjust: 97.42%;
  line-gap-override: 0%;
}

/* ===== base.css ===== */
:root {
  --navy: #003399;
  --navy-dark: #021c4c;
  --yellow: #fddf00;
  --yellow-hover: #e6c900;
  --gold: #c8a45d;
  --navy-hover: #00287a;
  --gray: #99a1af;
  --slate: #4a5565;
  --muted-slate: #6a7282;
  --dark: #0a0a0a;
  --white: #fff;
  --light-gray: #f4f6f9;
  --line-gray: #e5e7eb;
  --font-heading: 'Khand', 'Khand Fallback', sans-serif;
  --font-body: 'Google Sans Flex', 'Google Sans Flex Fallback', Arial, sans-serif;
  --transition-fast: .15s ease;
  --transition-base: .2s ease;
  --transition-slow: .35s ease;
  --shadow-card: 0 8px 12px rgba(13, 27, 42, .06);
  --container-max: 1280px;
  --container-pad: 25px;
  --header-height: 120px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  min-width: 320px;
  min-height: 100vh;
  color: var(--navy-dark);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.333;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

img,
picture,
video,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

address {
  font-style: normal;
}

::selection {
  color: var(--navy-dark);
  background: var(--yellow);
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container {
  width: 100%;
  max-width: calc(var(--container-max) + (2 * var(--container-pad)));
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.desktop-only {
  display: none;
}

.mobile-only {
  display: inline;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  text-transform: uppercase;
}

.section-label::before {
  width: 21px;
  height: 3px;
  flex: 0 0 21px;
  background: var(--yellow);
  content: '';
  transform: translateY(-1px);
}

.is-muted {
  color: var(--gray);
}

.theme-icon {
  display: inline-block;
  flex: none;
  color: currentColor;
  vertical-align: middle;
}

.theme-icons {
  display: none;
}

.theme-icon--navy {
  color: var(--navy);
}

.theme-icon--navy-dark {
  color: var(--navy-dark);
}

.theme-icon--yellow {
  color: var(--yellow);
}

.theme-icon--gold {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 2px solid transparent;
  color: var(--navy-dark);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: .5px;
  text-align: center;
  text-transform: uppercase;
  transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
}

.btn .theme-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.btn .theme-icon.is-arrow {
  width: 16px;
  height: 14px;
  flex-basis: 16px;
}

.btn:not(.hero-branch-button) > span {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--yellow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--yellow-hover);
}

.btn-secondary {
  color: var(--white);
  background: var(--navy);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--navy-hover);
}

.btn-outline {
  color: var(--yellow);
  border-color: var(--yellow);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--navy);
  background: var(--yellow);
}

@media (min-width: 992px) {
  :root {
    --container-pad: 0px;
    --header-height: 90px;
  }

  body {
    font-size: 16px;
    line-height: 1.25;
  }

  .desktop-only {
    display: inline;
  }

  .mobile-only {
    display: none;
  }

  .section-label {
    gap: 6px;
    font-size: 16px;
  }

  .btn {
    min-height: 60px;
    padding: 16px 28px;
    font-size: 18px;
    line-height: 24px;
  }

  .container {
    width: min(1280px, calc(100vw - 50px));
    max-width: 1280px;
    margin-right: 0;
    margin-left: max(25px, calc(50vw - 640px));
    padding-inline: 0;
  }
}

/* ===== intro-animations.css ===== */
/* Intro animations. Classes are rendered server-side in the templates. */
.has-intro-animations .fade-in,
.has-intro-animations .fade-up,
.has-intro-animations .fade-left,
.has-intro-animations .fade-right {
  opacity: 0;
  transition-duration: 600ms;
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(.22, 1, .36, 1);
}

.has-intro-animations .fade-in {
  transform: translate3d(0, 0, 0);
}

.has-intro-animations .fade-up {
  transform: translate3d(0, 32px, 0);
}

.has-intro-animations .fade-left {
  transform: translate3d(-40px, 0, 0);
}

.has-intro-animations .fade-right {
  transform: translate3d(40px, 0, 0);
}

.has-intro-animations .fade-in.is-animated,
.has-intro-animations .fade-up.is-animated,
.has-intro-animations .fade-left.is-animated,
.has-intro-animations .fade-right.is-animated {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.has-intro-animations .fade-in[data-delay],
.has-intro-animations .fade-up[data-delay],
.has-intro-animations .fade-left[data-delay],
.has-intro-animations .fade-right[data-delay] {
  transition-delay: var(--anim-delay, 0ms);
}

.stat__number[data-stat-counter] {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .has-intro-animations .fade-in,
  .has-intro-animations .fade-up,
  .has-intro-animations .fade-left,
  .has-intro-animations .fade-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== typography.css ===== */
.hero h1,
.stats-band h2,
.offer-teaser h2,
.why-us h2,
.services-teaser h2,
.cta-split h2,
.realizacje-gallery h2,
.testimonials h2,
.faq h2,
.contact-cta h2,
.branch-cards h2,
.page-hero h1,
.contact-info h2,
.about-story h2,
.about-values h2,
.about-cta h2,
.cta-block h2,
.media-text h2,
.icon-text-columns h2,
.map-block h2,
.logos-block h2,
.content-gallery h2,
.text-block h2,
.realizations-section h2,
.product-overview__copy h2,
.product-specs h2,
.product-section-head h2,
.product-related-services h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
}

.content-card__body h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--navy);
  font-size: 40px;
  line-height: 40px;
  white-space: nowrap;
}

.stats-band h2,
.cta-split h2,
.contact-cta h2 {
  color: var(--white);
  font-size: 36px;
  line-height: 36px;
}

.offer-teaser h2,
.why-us h2,
.services-teaser h2,
.realizacje-gallery h2,
.testimonials h2,
.faq h2,
.branch-cards h2,
.contact-info h2,
.about-story h2,
.about-values h2 {
  color: var(--navy);
  font-size: 36px;
  line-height: 36px;
}

.page-hero h1 {
  color: var(--navy);
  font-size: 42px;
  line-height: 44px;
}

.media-text h2,
.icon-text-columns h2,
.map-block h2,
.logos-block h2,
.content-gallery h2,
.text-block h2,
.realizations-section h2 {
  color: var(--navy);
  font-size: 36px;
  line-height: 38px;
}

.product-overview__copy h2,
.product-specs h2,
.product-section-head h2,
.product-related-services h2 {
  font-size: 36px;
  line-height: 38px;
}

.product-overview__copy h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  line-height: 32px;
  text-transform: uppercase;
}

.about-cta h2 {
  color: var(--white);
  font-size: 36px;
  line-height: 40px;
}

.cta-block h2 {
  color: var(--white);
  font-size: 36px;
  line-height: 40px;
}

.category-card h2,
.category-card h3,
.service-card h3,
.gallery-card h3,
.branch-photo-card h3,
.branch-info-card h3,
.contact-form h3,
.value-card h3,
.site-footer h3,
.feature-item h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
}

.media-text__content > p,
.icon-text-columns__head > p:not(.section-label),
.map-block__head > p,
.text-block__content > p,
.text-block__content li {
  font-size: 16px;
  line-height: 27px;
}

@media (min-width: 992px) {
  .hero h1 {
    font-size: 60px;
    line-height: 60px;
  }

  .stats-band h2,
  .offer-teaser h2,
  .why-us h2,
  .services-teaser h2,
  .cta-split h2,
  .realizacje-gallery h2,
  .testimonials h2,
  .faq h2,
  .contact-cta h2,
  .branch-cards h2,
  .contact-info h2 {
    font-size: 48px;
    line-height: 48px;
  }

  .page-hero h1 {
    font-size: 62px;
    line-height: 62px;
  }

  .media-text h2,
  .icon-text-columns h2,
  .map-block h2,
  .logos-block h2,
  .content-gallery h2,
  .text-block h2,
  .realizations-section h2 {
    font-size: 48px;
    line-height: 50px;
  }

  .product-overview__copy h2,
  .product-specs h2,
  .product-section-head h2,
  .product-related-services h2 {
    font-size: 48px;
    line-height: 50px;
  }

  .product-overview__copy h3 {
    font-size: 34px;
    line-height: 38px;
  }

  .about-story h2,
  .about-values h2,
  .about-cta h2 {
    font-size: 44px;
    line-height: 44px;
  }

  .cta-block h2 {
    font-size: 40px;
    line-height: 44px;
  }
}
