@charset "UTF-8";
/* ============================================================
   PAGE TRANSITIONS — native View Transitions API
   ============================================================ */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 150ms;
}

:where(.wp-site-blocks) > * {
  margin-top: 0;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  padding-top: 90px !important;
  margin-top: 0 !important;
}

body main section,
section#warianty,
section#o-mnie,
section#porownanie,
section#faq {
  margin: 0 !important;
}

/* ============================================================
   CSS variables — layout + aliasy na wierzchu theme.json
   ============================================================ */
:root {
  --wp--custom--layout--content-size: 1340px;
  --wp--custom--layout--wide-size: 1920px;
  --primary: var(--wp--preset--color--primary);
  --secondary: var(--wp--preset--color--secondary);
  --accent: var(--wp--preset--color--accent);
  --light: var(--wp--preset--color--light);
  --background: var(--wp--preset--color--background);
  --muted: var(--wp--preset--color--muted);
  --subtle: var(--wp--preset--color--subtle);
  --surface: var(--wp--preset--color--surface);
  --trust: var(--wp--preset--color--trust);
  --warm: var(--wp--preset--color--warm);
  --trust-soft: var(--wp--preset--color--trust-soft);
  --accent-hover: #000000;
  --accent-active: #000000;
  --accent-light: rgba(28, 25, 23, 0.06);
  --shadow-sm: var(--wp--preset--shadow--sm);
  --shadow-md: var(--wp--preset--shadow--md);
  --shadow-lg: var(--wp--preset--shadow--lg);
  --shadow-accent: var(--wp--preset--shadow--accent);
  --ease-out: var(--wp--custom--transition--ease-out);
  --nav-gap: 28px;
  --nav-padding-y: 18px;
  --nav-link-color: var(--primary);
  --nav-link-hover: var(--accent);
  --nav-border-color: rgba(0, 0, 0, 0.08);
  --nav-backdrop: rgba(0, 0, 0, 0.65);
  --nav-menu-bg: var(--background);
}

body {
  margin: 0 auto;
  padding: 0;
  max-width: var(--wp--custom--layout--wide-size);
  position: relative;
}

.wp-block-site-logo {
  min-width: 260px;
}
.wp-block-site-logo img {
  width: auto;
  height: auto;
}

.container {
  width: min(90%, var(--wp--custom--layout--content-size));
  margin: 0 auto;
}

/* ============================================================
   TYPOGRAFIA — jeden punkt prawdy.
   Każdy preset fontSize z theme.json = PEŁNY pakiet
   (rodzina, grubość, interlinia, tracking). Wybranie
   "Heading 1" w panelu = gotowy krój. Kolor + font-family
   + weight dalej da się zmienić z panelu (overwrite).
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

strong,
b {
  font-weight: 700;
}

/* Display — numery, największe akcenty */
.has-display-font-size {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Heading 1 — główny tytuł strony / hero */
.has-heading-1-font-size {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Heading 2 — tytuły sekcji */
.has-heading-2-font-size {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Heading 3 — podsekcje / duże karty */
.has-heading-3-font-size {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

/* Heading 4 — tytuły kart, stat labels */
.has-heading-4-font-size {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Heading 5 — mniejsze tytuły, FAQ summary */
.has-heading-5-font-size {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 600;
  line-height: 1.35;
}

/* Heading 6 — eyebrow, label na karcie */
.has-heading-6-font-size {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 600;
  line-height: 1.4;
}

/* Text Lead — intro pod H1 */
.has-text-lead-font-size {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 400;
  line-height: 1.55;
}

/* Text Bigger — większy body */
.has-text-bigger-font-size {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 400;
  line-height: 1.6;
}

/* Text — default body (rzadko potrzebna klasa) */
.has-text-font-size {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 400;
  line-height: 1.7;
}

/* Text Small — podpisy, meta, labelki */
.has-text-small-font-size {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

/* ============================================================
   BUTTONS — theme.json steruje base (bg/border/radius/padding).
   Tu mikrointerakcje + grupa.
   ============================================================ */
.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 576px) {
  .wp-block-buttons {
    flex-direction: column;
    gap: 12px;
  }
  .wp-block-buttons .wp-block-button__link {
    width: 100%;
    text-align: center;
  }
}

.wp-block-button__link {
  transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out), color 150ms var(--ease-out), box-shadow 250ms var(--ease-out), transform 150ms var(--ease-out);
  cursor: pointer;
}
.wp-block-button__link:hover {
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}
.wp-block-button__link:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   GLOBAL BUTTON ICONS — działają na wszystkich buttonach
   bez konieczności custom klas:
   - Outline → strzałka po prawej (chevron)
   - Tel: link → phone icon przed tekstem
   - Mailto: → mail icon przed tekstem
   ============================================================ */
.wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Outline button — strzałka po prawej */
.wp-block-button.is-style-outline .wp-block-button__link::after {
  content: "→";
  line-height: 1;
  display: inline-block;
  transition: transform 200ms var(--ease-out);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover::after {
  transform: translateX(3px);
}

/* tel: link — phone icon przed tekstem (działa na każdym buttonie) */
.wp-block-button .wp-block-button__link[href^="tel:"]::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  mask: url("../assets/images/icons/phone.svg") center/contain no-repeat;
  -webkit-mask: url("../assets/images/icons/phone.svg") center/contain no-repeat;
  flex-shrink: 0;
}

/* mailto: link — mail icon */
.wp-block-button .wp-block-button__link[href^="mailto:"]::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  mask: url("../assets/images/icons/mail.svg") center/contain no-repeat;
  -webkit-mask: url("../assets/images/icons/mail.svg") center/contain no-repeat;
  flex-shrink: 0;
}

:root :where(.is-layout-flow) > :last-child {
  margin-block-start: 0;
}

/* ============================================================
   FOOTER linki
   ============================================================ */
footer {
  margin: 0 !important;
}

.site-footer p.footer-contact-item,
.site-footer .footer-contact {
  margin: 0;
}
.site-footer .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer .footer-menu li {
  margin-bottom: 8px;
}
.site-footer .footer-menu li:last-child {
  margin-bottom: 0;
}
.site-footer .footer-menu li a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer .footer-menu li a:hover {
  color: var(--accent);
}
.site-footer .footer-contact-item a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer .footer-contact-item a:hover {
  color: var(--accent);
}
.site-footer .footer-logo a {
  display: inline-block;
}
.site-footer .footer-bottom .footer-links a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer .footer-bottom .footer-links a:hover {
  color: var(--secondary);
}

/* ============================================================
   DESIGN SYSTEM — dekoracja BEZ typografii.
   Rozmiar/krój/kolor ustawiasz z panelu (fontSize, fontFamily,
   textColor na block attrs). Tu wyłącznie efekty: markery,
   underline, skew, dashes, pseudoelementy, animacje.
   ============================================================ */
@keyframes kp-ds-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(21, 128, 61, 0);
  }
}
/* Nagłówek italic — kursywa, <b> dziedziczy */
.kp-heading--italic {
  font-style: italic;
}
.kp-heading--italic b {
  font-style: italic;
  font-weight: inherit;
  color: inherit;
  font-family: inherit;
}

/* Nagłówek z żółtym markerem pod <em> i underline pod <strong> */
.kp-heading--marker em {
  font-style: italic;
  position: relative;
  isolation: isolate;
}
.kp-heading--marker em::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0.05em;
  height: 0.35em;
  background: var(--warm);
  z-index: -1;
  border-radius: 2px;
  transform: skewX(-6deg);
}
.kp-heading--marker strong {
  font-style: normal;
  color: inherit;
  border-bottom: 3px solid currentColor;
  padding-bottom: 2px;
}

/* Podkreślenie żółtym paskiem pod tekstem (działa przy center/left/right,
   nie wymaga inline-block, bo używa text-decoration). */
.kp-heading--underlined {
  text-decoration: underline;
  text-decoration-color: var(--warm);
  text-decoration-thickness: 0.32em;
  text-underline-offset: -0.08em;
  text-decoration-skip-ink: none;
}

/* Kicker — krótkie kreski po bokach. Rozmiar/kolor z panelu. */
.kp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  width: auto;
}
.kp-kicker::before, .kp-kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--light);
}

/* Eyebrow pill z pulsującą kropką */
.kp-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 0.875rem;
  background: #fff;
  border: 1px solid var(--light);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  width: auto;
}
.kp-eyebrow-pill::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--trust);
  box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.5);
  animation: kp-ds-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Chipsy / tagi */
.kp-chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid var(--light);
  border-radius: 8px;
  width: auto;
  transition: transform 0.2s, border-color 0.2s;
}
.kp-chip::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--trust);
  margin-right: 0.5rem;
  vertical-align: middle;
  transform: translateY(-1px);
}
.kp-chip:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

/* Pullquote karta — ramka + duży cudzysłów */
.kp-pullquote-card {
  position: relative;
  padding: 1.75rem 2rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--light);
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-style: italic;
}
.kp-pullquote-card em {
  font-style: italic;
}
.kp-pullquote-card::before {
  content: '"';
  position: absolute;
  top: -1.5rem;
  left: 1.25rem;
  font-family: var(--wp--preset--font-family--heading);
  font-size: 5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
}

/* Sygnatura z kreską */
.kp-signature {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
}
.kp-signature::before {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}
.kp-signature strong {
  font-style: italic;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: padding 220ms var(--ease-out), background 220ms var(--ease-out), backdrop-filter 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.site-header.is-scrolled {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--light);
  box-shadow: 0 6px 20px rgba(28, 25, 23, 0.06);
}
.site-header.is-scrolled .site-brand h2 {
  font-size: 1rem;
}
.site-header .wp-block-buttons .wp-block-button__link {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.site-header .site-header__phone-short {
  display: none;
}
@media (max-width: 720px) {
  .site-header .site-header__phone-label {
    display: none;
  }
  .site-header .site-header__phone-short {
    display: inline;
  }
}
@media (max-width: 480px) {
  .site-header .site-header__phone .wp-block-button__link {
    padding: 0.5rem 0.875rem !important;
    font-size: 0.75rem !important;
  }
}

html {
  scroll-padding-top: 80px;
}

/* Bezpiecznik — has-global-padding wyłączone w theme.json, ale gdyby gdzieś przeszło */
.has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.site-brand h2 {
  transition: font-size 220ms var(--ease-out);
}

.site-brand__tag {
  transition: opacity 200ms var(--ease-out), max-height 220ms var(--ease-out);
  max-height: 2rem;
}

.site-brand a {
  color: inherit;
  text-decoration: none;
}
.site-brand a:hover {
  color: var(--accent);
}

/* ============================================================
   PATTERN STYLES — hero / about / empathy wydzielone
   do styles/patterns/*.scss i ładowane warunkowo
   przez inc/patterns/styles.php (render_block filter).
   ============================================================ */
/* ============================================================
   GLOBAL KEYFRAMES — używane przez pattern CSS
   ============================================================ */
@keyframes kp-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*# sourceMappingURL=theme.css.map */
