/* WOMAR Visual Polish — modern 2026 refresh */

:root {
  --womar-navy: #0c1929;
  --womar-navy-dark: #060f18;
  --womar-navy-light: #1e4976;
  --womar-accent: #0ea5e9;
  --womar-accent-hover: #0284c7;
  --womar-accent-soft: rgba(14, 165, 233, 0.12);
  --womar-bg: #f1f5f9;
  --womar-surface: #ffffff;
  --womar-text: #0f172a;
  --womar-muted: #64748b;
  --womar-border: #e2e8f0;
  --womar-radius: 20px;
  --womar-radius-sm: 12px;
  --womar-shadow: 0 1px 3px rgba(12, 25, 41, 0.06), 0 8px 24px rgba(12, 25, 41, 0.06);
  --womar-shadow-lg: 0 24px 48px rgba(12, 25, 41, 0.12);
  --womar-max: 1180px;
  --womar-font: "Inter", "Lato", system-ui, sans-serif;
  --womar-display: "Plus Jakarta Sans", "Poppins", "Roboto Slab", serif;
}

html {
  scroll-behavior: smooth;
}

body.womar-modern {
  background: var(--womar-bg) !important;
  color: var(--womar-muted) !important;
  font-family: var(--womar-font) !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  -webkit-font-smoothing: antialiased;
}

body.womar-modern h1,
body.womar-modern h2,
body.womar-modern h3,
body.womar-modern h4,
body.womar-modern h5,
body.womar-modern h6,
body.womar-modern .elementor-heading-title {
  font-family: var(--womar-display) !important;
  color: var(--womar-text) !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
}

body.womar-modern .elementor-heading-title.elementor-size-default {
  font-weight: 700 !important;
}

/* Topbar & navigation */
body.womar-modern .x-topbar {
  background: var(--womar-navy-dark) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.womar-modern .x-topbar .p-info,
body.womar-modern a.topcontact {
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  font-family: var(--womar-font) !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

body.womar-modern a.topcontact:hover {
  color: #7dd3fc !important;
}

body.womar-modern .x-navbar-inner {
  background: var(--womar-navy) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12) !important;
}

body.womar-modern .x-brand {
  font-family: var(--womar-display) !important;
  font-size: clamp(1.1rem, 2.5vw, 1.65rem) !important;
  color: #fff !important;
  margin-top: 1rem !important;
}

body.womar-modern .x-navbar .desktop .x-nav > li > a,
body.womar-modern .x-navbar .mobile .x-nav li > a {
  font-family: var(--womar-font) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.04em !important;
  transition: color 0.2s ease, background 0.2s ease !important;
}

body.womar-modern .x-navbar .desktop .x-nav > li > a:hover,
body.womar-modern .x-navbar .desktop .x-nav > .x-active > a,
body.womar-modern .x-navbar .desktop .x-nav > .current-menu-item > a {
  color: #7dd3fc !important;
  box-shadow: inset 0 -3px 0 0 var(--womar-accent) !important;
}

@media (max-width: 979px) {
  body.womar-modern .x-btn-navbar {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin-top: 16px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 10px !important;
    color: #fff !important;
    box-shadow: none !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  body.womar-modern .x-btn-navbar:hover,
  body.womar-modern .x-btn-navbar:focus {
    background: rgba(14, 165, 233, 0.18) !important;
    border-color: var(--womar-accent) !important;
    color: #fff !important;
  }

  body.womar-modern .x-btn-navbar .x-framework-icon,
  body.womar-modern .x-btn-navbar i {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  body.womar-modern .x-btn-navbar::before,
  body.womar-modern .x-btn-navbar::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 2px;
    margin-left: -10px;
    margin-top: -1px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  }

  body.womar-modern .x-btn-navbar::before {
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }

  body.womar-modern .x-btn-navbar::after {
    opacity: 0;
  }

  body.womar-modern .x-btn-navbar:not(.collapsed)::before {
    box-shadow: none;
    transform: rotate(45deg);
  }

  body.womar-modern .x-btn-navbar:not(.collapsed)::after {
    opacity: 1;
    transform: rotate(-45deg);
  }
}

@media (min-width: 980px) {
  body.womar-modern .x-btn-navbar {
    display: none !important;
  }
}

@media (max-width: 767px) {
  body.womar-modern .x-topbar .p-info {
    text-align: center;
    padding: 0.75rem 1rem !important;
  }
}

/* Hero */
body.womar-modern #strona-glowna {
  min-height: clamp(420px, 72vh, 680px) !important;
  position: relative;
}

body.womar-modern #strona-glowna .elementor-background-overlay {
  background: linear-gradient(
    135deg,
    rgba(6, 15, 24, 0.92) 0%,
    rgba(12, 25, 41, 0.82) 45%,
    rgba(30, 73, 118, 0.65) 100%
  ) !important;
}

body.womar-modern #strona-glowna .elementor-widget-wrap {
  max-width: var(--womar-max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

body.womar-modern #strona-glowna h1.elementor-heading-title {
  font-size: clamp(2rem, 5vw, 3.25rem) !important;
  color: #fff !important;
  margin-bottom: 1rem !important;
  text-wrap: balance;
}

body.womar-modern #strona-glowna h3.elementor-heading-title {
  font-size: clamp(1rem, 2.2vw, 1.35rem) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 500 !important;
  max-width: 52ch;
  margin: 0 auto 1.75rem !important;
}

/* Hero lead — Elementor sets orange on .elementor-element-112b04d */
body.womar-modern .elementor-element-112b04d .elementor-heading-title {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.womar-modern .elementor-element-a9fee96 .elementor-divider-separator {
  border-top-color: var(--womar-accent) !important;
}

/* Contact strip under hero (Kontakt + Godziny pracy) */
body.womar-modern .elementor-element-0df3666:not(.elementor-motion-effects-element-type-background),
body.womar-modern .elementor-element-0df3666 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: var(--womar-navy) !important;
}

body.womar-modern .elementor-element-0df3666 {
  border-radius: var(--womar-radius-sm);
  overflow: hidden;
}

body.womar-modern .elementor-element-1934b02 .elementor-icon-list-icon i,
body.womar-modern .elementor-element-1934b02 .elementor-icon-list-text,
body.womar-modern .elementor-element-4f9c006 .elementor-icon-list-icon i,
body.womar-modern .elementor-element-4f9c006 .elementor-icon-list-text {
  color: #fff !important;
  fill: #fff !important;
}

body.womar-modern .elementor-element-1934b02 .elementor-icon-list-icon i,
body.womar-modern .elementor-element-4f9c006 .elementor-icon-list-icon i {
  color: #7dd3fc !important;
}

body.womar-modern .elementor-element-1c7b2bc,
body.womar-modern .elementor-element-1c7b2bc p,
body.womar-modern .elementor-element-86b677c,
body.womar-modern .elementor-element-86b677c p,
body.womar-modern .elementor-element-0df3666 .tg td {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.womar-modern .elementor-element-0df3666 a.kontaktlink {
  color: #7dd3fc !important;
}

body.womar-modern .elementor-element-0df3666 a.kontaktlink:hover {
  color: #bae6fd !important;
}

/* Counter: Ponad 106 515 metrów */
body.womar-modern .elementor-element-56a99bfe:not(.elementor-motion-effects-element-type-background),
body.womar-modern .elementor-element-56a99bfe > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background: linear-gradient(135deg, var(--womar-navy-dark) 0%, var(--womar-navy-light) 100%) !important;
}

body.womar-modern .elementor-element-56a99bfe {
  padding: clamp(3rem, 8vw, 5rem) 1.25rem !important;
}

body.womar-modern .elementor-element-70bc3e33 .elementor-heading-title,
body.womar-modern .elementor-element-bc358a2 .elementor-heading-title {
  color: rgba(255, 255, 255, 0.95) !important;
  font-family: var(--womar-display) !important;
  font-size: clamp(1.25rem, 3vw, 2rem) !important;
  font-weight: 700 !important;
}

body.womar-modern .elementor-element-6ce4a3e .elementor-counter-number-wrapper,
body.womar-modern .elementor-element-6ce4a3e .elementor-counter-number {
  color: #7dd3fc !important;
  font-family: var(--womar-display) !important;
  font-size: clamp(2.5rem, 7vw, 4.5rem) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

body.womar-modern #strona-glowna .elementor-divider-separator {
  width: 72px !important;
  border-top: 3px solid var(--womar-accent) !important;
  margin: 0 auto 1.25rem !important;
}

body.womar-modern .womar-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 0.5rem;
}

body.womar-modern .womar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--womar-font);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.womar-modern .womar-btn-primary {
  background: #fff;
  color: var(--womar-navy) !important;
  box-shadow: 0 8px 24px rgba(12, 25, 41, 0.18);
}

body.womar-modern .womar-btn-primary:hover {
  background: #e0f2fe;
  color: var(--womar-navy) !important;
  transform: translateY(-2px);
}

body.womar-modern .womar-btn-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

body.womar-modern .womar-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* Stats strip */
body.womar-modern .womar-stats {
  background: var(--womar-surface);
  border-bottom: 1px solid var(--womar-border);
  padding: 2rem 1.25rem;
}

body.womar-modern .womar-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: var(--womar-max);
  margin: 0 auto;
}

@media (min-width: 768px) {
  body.womar-modern .womar-stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

body.womar-modern .womar-stat {
  text-align: center;
  padding: 1rem;
  border-radius: var(--womar-radius-sm);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid var(--womar-border);
}

body.womar-modern .womar-stat__value {
  display: block;
  font-family: var(--womar-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--womar-navy);
  line-height: 1.1;
}

body.womar-modern .womar-stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--womar-muted);
}

/* Section rhythm */
body.womar-modern .elementor-section.elementor-top-section {
  padding-top: clamp(3rem, 6vw, 5rem) !important;
  padding-bottom: clamp(3rem, 6vw, 5rem) !important;
}

body.womar-modern .elementor-section .elementor-container {
  max-width: var(--womar-max) !important;
}

body.womar-modern .elementor-section h2.elementor-heading-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
  margin-bottom: 0.5rem !important;
  text-align: center;
}

body.womar-modern .elementor-section .elementor-divider-separator {
  width: 64px !important;
  border-top: 3px solid var(--womar-accent) !important;
  margin: 0 auto 1.5rem !important;
}

body.womar-modern .elementor-widget-text-editor p {
  color: var(--womar-muted) !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

body.womar-modern .elementor-widget-text-editor strong,
body.womar-modern .elementor-widget-text-editor b {
  color: var(--womar-text);
}

/* Icon lists */
body.womar-modern .elementor-icon-list-items {
  gap: 0.5rem;
}

body.womar-modern .elementor-icon-list-item {
  padding: 0.35rem 0 !important;
}

body.womar-modern .elementor-icon-list-icon {
  color: var(--womar-accent) !important;
}

body.womar-modern .elementor-icon-list-text {
  color: var(--womar-text) !important;
  font-size: 0.95rem !important;
}

/* Reference cards (existing Elementor) */
body.womar-modern #referencje .elementor-icon-box-wrapper {
  background: var(--womar-surface);
  border: 1px solid var(--womar-border);
  border-radius: var(--womar-radius-sm);
  padding: 1.25rem 1rem;
  box-shadow: var(--womar-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

body.womar-modern #referencje .elementor-icon-box-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: var(--womar-shadow-lg);
}

body.womar-modern #referencje .elementor-icon {
  color: var(--womar-navy) !important;
  font-size: 1.75rem !important;
}

body.womar-modern #referencje .elementor-button {
  background: var(--womar-navy) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 0.5rem 1.25rem !important;
  font-size: 0.8rem !important;
  border: none !important;
}

body.womar-modern #referencje .elementor-button:hover {
  background: var(--womar-navy-light) !important;
}

/* Counter */
body.womar-modern .elementor-counter-number-wrapper {
  font-family: var(--womar-display) !important;
  color: var(--womar-navy) !important;
}

body.womar-modern .elementor-counter-title {
  color: var(--womar-muted) !important;
}

/* Image carousel */
body.womar-modern .elementor-image-carousel-wrapper {
  border-radius: var(--womar-radius);
  overflow: hidden;
}

body.womar-modern .elementor-image-carousel img {
  border-radius: var(--womar-radius-sm);
  transition: transform 0.35s ease;
}

body.womar-modern .elementor-image-carousel img:hover {
  transform: scale(1.03);
}

body.womar-modern .swiper-button-prev,
body.womar-modern .swiper-button-next {
  color: var(--womar-navy) !important;
}

/* Injected project gallery */
body.womar-modern .womar-section {
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
}

body.womar-modern .womar-section--alt {
  background: #eef3f9;
}

body.womar-modern .womar-section__inner {
  max-width: var(--womar-max);
  margin: 0 auto;
}

body.womar-modern .womar-section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

body.womar-modern .womar-section__eyebrow {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(3, 54, 102, 0.08);
  color: var(--womar-navy);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

body.womar-modern .womar-section__title {
  font-family: var(--womar-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--womar-text);
  margin: 0 0 0.75rem;
}

body.womar-modern .womar-section__lead {
  max-width: 62ch;
  margin: 0 auto;
  color: var(--womar-muted);
  font-size: 1.05rem;
}

body.womar-modern .womar-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  body.womar-modern .womar-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  body.womar-modern .womar-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

body.womar-modern .womar-gallery__item {
  position: relative;
  border: none;
  padding: 0;
  background: var(--womar-surface);
  border-radius: var(--womar-radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--womar-shadow);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.womar-modern .womar-gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--womar-shadow-lg);
}

body.womar-modern .womar-gallery__item:focus-visible {
  outline: 3px solid var(--womar-accent);
  outline-offset: 3px;
}

body.womar-modern .womar-gallery__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

body.womar-modern .womar-gallery__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

body.womar-modern .womar-gallery__item:hover .womar-gallery__media img {
  transform: scale(1.06);
}

body.womar-modern .womar-gallery__body {
  padding: 1.1rem 1.15rem 1.25rem;
}

body.womar-modern .womar-gallery__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

body.womar-modern .womar-gallery__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--womar-navy);
  background: rgba(3, 54, 102, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

body.womar-modern .womar-gallery__title {
  font-family: var(--womar-display);
  font-size: 1.05rem;
  color: var(--womar-text);
  margin: 0 0 0.35rem;
}

body.womar-modern .womar-gallery__desc {
  font-size: 0.9rem;
  color: var(--womar-muted);
  margin: 0;
  line-height: 1.55;
}

/* Reference highlights */
body.womar-modern .womar-refs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  body.womar-modern .womar-refs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  body.womar-modern .womar-refs {
    grid-template-columns: repeat(3, 1fr);
  }
}

body.womar-modern .womar-ref-card {
  background: var(--womar-surface);
  border: 1px solid var(--womar-border);
  border-radius: var(--womar-radius);
  padding: 1.35rem;
  box-shadow: var(--womar-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body.womar-modern .womar-ref-card__client {
  font-family: var(--womar-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--womar-navy);
  margin: 0;
}

body.womar-modern .womar-ref-card__quote {
  font-size: 0.92rem;
  color: var(--womar-muted);
  margin: 0;
  flex: 1;
  font-style: italic;
}

body.womar-modern .womar-ref-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--womar-muted);
}

body.womar-modern .womar-ref-card__value {
  font-weight: 700;
  color: var(--womar-accent-hover);
}

body.womar-modern .womar-ref-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--womar-navy) !important;
  text-decoration: none !important;
}

body.womar-modern .womar-ref-card__link:hover {
  color: var(--womar-accent-hover) !important;
}

/* Services cards */
body.womar-modern .womar-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  body.womar-modern .womar-services {
    grid-template-columns: repeat(3, 1fr);
  }
}

body.womar-modern .womar-service-card {
  background: var(--womar-surface);
  border: 1px solid var(--womar-border);
  border-radius: var(--womar-radius);
  padding: 1.5rem;
  box-shadow: var(--womar-shadow);
}

body.womar-modern .womar-service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--womar-accent-soft);
  color: var(--womar-navy);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

body.womar-modern .womar-service-card h3 {
  font-size: 1.1rem !important;
  margin: 0 0 0.5rem !important;
}

body.womar-modern .womar-service-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--womar-muted);
}

body.womar-modern .womar-service-card--link {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.womar-modern .womar-service-card--link:hover {
  border-color: var(--womar-accent);
  box-shadow: 0 12px 32px rgba(12, 25, 41, 0.12);
  transform: translateY(-2px);
}

body.womar-modern .womar-service-card__more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--womar-accent);
}

/* FAQ */
body.womar-modern .womar-faq {
  display: grid;
  gap: 0.75rem;
  max-width: 820px;
  margin: 0 auto;
}

body.womar-modern .womar-faq__item {
  background: var(--womar-surface);
  border: 1px solid var(--womar-border);
  border-radius: var(--womar-radius-sm);
  overflow: hidden;
}

body.womar-modern .womar-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--womar-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--womar-text);
  text-align: left;
}

body.womar-modern .womar-faq__question:hover {
  color: var(--womar-navy);
}

body.womar-modern .womar-faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(3, 54, 102, 0.08);
  display: grid;
  place-items: center;
  transition: transform 0.25s ease;
}

body.womar-modern .womar-faq__item.is-open .womar-faq__icon {
  transform: rotate(45deg);
}

body.womar-modern .womar-faq__answer {
  display: none;
  padding: 0 1.15rem 1.15rem;
  color: var(--womar-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

body.womar-modern .womar-faq__item.is-open .womar-faq__answer {
  display: block;
}

/* Lightbox */
body.womar-modern .womar-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

body.womar-modern .womar-lightbox.is-open {
  display: flex;
}

body.womar-modern .womar-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 24, 44, 0.88);
  backdrop-filter: blur(4px);
}

body.womar-modern .womar-lightbox__dialog {
  position: relative;
  max-width: min(960px, 100%);
  max-height: 90vh;
  background: #fff;
  border-radius: var(--womar-radius);
  overflow: hidden;
  box-shadow: var(--womar-shadow-lg);
}

body.womar-modern .womar-lightbox__img {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #0b1f33;
}

body.womar-modern .womar-lightbox__caption {
  padding: 1rem 1.25rem;
}

body.womar-modern .womar-lightbox__caption h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem !important;
}

body.womar-modern .womar-lightbox__caption p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--womar-muted);
}

body.womar-modern .womar-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--womar-navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

/* Contact & CF7 */
body.womar-modern #kontakt,
body.womar-modern .elementor-element-6217e23:not(.elementor-motion-effects-element-type-background),
body.womar-modern .elementor-element-6217e23 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background: var(--womar-navy) !important;
  background-color: var(--womar-navy) !important;
}

body.womar-modern #kontakt .elementor-heading-title,
body.womar-modern .elementor-element-343570a .elementor-heading-title {
  color: #fff !important;
}

body.womar-modern #kontakt .elementor-widget-text-editor,
body.womar-modern .elementor-element-116f8ac,
body.womar-modern .elementor-element-116f8ac .excerpt,
body.womar-modern .elementor-element-116f8ac p {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.womar-modern #kontakt a,
body.womar-modern .elementor-element-6217e23 a,
body.womar-modern .elementor-element-116f8ac a {
  color: #7dd3fc !important;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

body.womar-modern #kontakt a:hover,
body.womar-modern .elementor-element-6217e23 a:hover,
body.womar-modern .elementor-element-116f8ac a:hover {
  color: #bae6fd !important;
}

body.womar-modern .elementor-element-6217e23 .elementor-divider-separator {
  border-top-color: var(--womar-accent) !important;
}

body.womar-modern .wpcf7-form {
  max-width: 640px;
  margin: 0 auto;
}

body.womar-modern .wpcf7-form p {
  margin-bottom: 1rem;
}

body.womar-modern .wpcf7-form label {
  display: block;
  font-weight: 600;
  color: var(--womar-text);
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

body.womar-modern .wpcf7-form input[type="text"],
body.womar-modern .wpcf7-form input[type="email"],
body.womar-modern .wpcf7-form input[type="tel"],
body.womar-modern .wpcf7-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--womar-border);
  border-radius: var(--womar-radius-sm);
  background: #fff;
  font-family: var(--womar-font);
  font-size: 1rem;
  color: var(--womar-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.womar-modern .wpcf7-form input:focus,
body.womar-modern .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--womar-navy);
  box-shadow: 0 0 0 3px rgba(3, 54, 102, 0.12);
}

body.womar-modern .wpcf7-form input[type="submit"] {
  background: var(--womar-navy) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0.9rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  cursor: pointer;
  min-height: 48px;
  transition: background 0.2s ease, transform 0.2s ease;
}

body.womar-modern .wpcf7-form input[type="submit"]:hover {
  background: var(--womar-navy-light) !important;
  transform: translateY(-1px);
}

body.womar-modern a.kontaktlink {
  color: #7dd3fc !important;
}

/* Override legacy Pro/Elementor orange accents */
body.womar-modern .elementor-icon,
body.womar-modern .elementor-icon-box-icon .elementor-icon,
body.womar-modern .elementor-view-default .elementor-icon,
body.womar-modern .elementor-icon-list-icon i {
  color: var(--womar-navy) !important;
}

body.womar-modern .elementor-button,
body.womar-modern .elementor-button-link {
  background-color: var(--womar-navy) !important;
  color: #fff !important;
}

body.womar-modern .elementor-button:hover,
body.womar-modern .elementor-button-link:hover {
  background-color: var(--womar-navy-light) !important;
}

body.womar-modern .elementor-counter-number-wrapper {
  color: var(--womar-navy) !important;
}

/* Partner logos — Zaufali nam carousel */
body.womar-modern .elementor-element-d34e168,
body.womar-modern .womar-trust {
  background: var(--womar-surface) !important;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

body.womar-modern .elementor-element-d34e168 .elementor-image-carousel-wrapper {
  min-height: 80px;
  padding: 0.5rem 0;
}

body.womar-modern .elementor-element-d34e168 .swiper-slide-image,
body.womar-modern .elementor-element-d34e168 .elementor-image-carousel img {
  max-height: 64px;
  width: auto !important;
  max-width: 140px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  filter: none;
  opacity: 1;
}

body.womar-modern .elementor-element-d34e168 h2.elementor-heading-title {
  margin-bottom: 1.25rem !important;
}

/* Footer cleanup */
body.womar-modern .elementor-element:has(.elementor-heading-title img[src*="damiankardas"]) {
  display: none !important;
}

body.womar-modern .womar-footer-note {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--womar-muted);
}

/* Footer — homepage Elementor injection */
body.womar-modern .elementor-element-0df3666 .elementor-container {
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  body.womar-modern .elementor-element-0df3666 .elementor-column {
    width: 33.333% !important;
  }
}

body.womar-modern .womar-footer-uslugi__links {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

body.womar-modern .womar-footer-uslugi__links a {
  display: inline-block;
  padding: 0.2rem 0;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  opacity: 0.92;
}

body.womar-modern .womar-footer-uslugi__links a:hover {
  color: var(--womar-accent) !important;
  opacity: 1;
}

/* Footer — podstrony usług */
body.womar-modern .womar-site-footer {
  background: var(--womar-navy);
  color: #fff;
  padding: 1.75rem 1.25rem;
  margin-top: 0;
}

body.womar-modern .womar-site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  padding: 0 0.25rem;
}

body.womar-modern .womar-site-footer__local {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

body.womar-modern .womar-site-footer__local-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  justify-content: center;
  align-items: center;
}

body.womar-modern .womar-site-footer__local-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

body.womar-modern .womar-site-footer__local-group a {
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration: none !important;
  font-size: 0.82rem;
}

body.womar-modern .womar-site-footer__local-group a:hover {
  color: var(--womar-accent) !important;
}

@media (min-width: 768px) {
  body.womar-modern .womar-site-footer__inner {
    align-items: stretch;
    text-align: left;
  }

  body.womar-modern .womar-site-footer__nav {
    justify-content: flex-start;
  }

  body.womar-modern .womar-site-footer__local-group {
    justify-content: flex-start;
  }
}

body.womar-modern .womar-site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  justify-content: center;
}

@media (min-width: 768px) {
  body.womar-modern .womar-site-footer__nav {
    justify-content: flex-start;
  }
}

body.womar-modern .womar-site-footer__nav a {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.92;
}

body.womar-modern .womar-site-footer__nav a:hover {
  color: var(--womar-accent) !important;
  opacity: 1;
}

body.womar-modern .womar-site-footer__copy {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Scroll reveal */
body.womar-modern .womar-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.womar-modern .womar-reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  body.womar-modern .womar-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.womar-modern .womar-gallery__item:hover,
  body.womar-modern #referencje .elementor-icon-box-wrapper:hover {
    transform: none;
  }
}

/* Hide legacy Elementor reference cards — replaced by injected section */
body.womar-modern #referencje .elementor-inner-section,
body.womar-modern #referencje .elementor-widget-icon-box,
body.womar-modern #referencje .elementor-widget-button {
  display: none !important;
}

/* Hide legacy 2017 realizacje block from Elementor — replaced by injected gallery */
body.womar-modern #nasze-realizacje .elementor-widget-wrap > *:not(#womar-galeria-realizacje):not([data-womar-mounted]) {
  display: none !important;
}

body.womar-modern #nasze-realizacje {
  background: transparent !important;
  padding-bottom: 0 !important;
}

body.womar-modern #nasze-realizacje .elementor-background-overlay {
  display: none !important;
}

/* Hide legacy przewierty text — replaced by USP + services cards */
body.womar-modern #przewierty-sterowane .elementor-widget-wrap > *:not(#womar-usp):not(#womar-uslugi):not([data-womar-mounted]) {
  display: none !important;
}

/* USP grid */
body.womar-modern .womar-usp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  body.womar-modern .womar-usp {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  body.womar-modern .womar-usp {
    grid-template-columns: repeat(4, 1fr);
  }
}

body.womar-modern .womar-usp__item {
  background: var(--womar-surface);
  border: 1px solid var(--womar-border);
  border-radius: var(--womar-radius-sm);
  padding: 1.25rem;
  box-shadow: var(--womar-shadow);
}

body.womar-modern .womar-usp__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(15, 39, 68, 0.06);
  color: var(--womar-navy);
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

body.womar-modern .womar-usp__title {
  font-family: var(--womar-display);
  font-size: 1rem;
  color: var(--womar-text);
  margin: 0 0 0.4rem;
}

body.womar-modern .womar-usp__desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--womar-muted);
  line-height: 1.55;
}

body.womar-modern .womar-section--compact {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

/* Bento gallery on homepage */
body.womar-modern .womar-gallery--bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  body.womar-modern .womar-gallery--bento {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(180px, auto);
  }

  body.womar-modern .womar-gallery--bento .womar-gallery__item {
    grid-column: span 2;
  }

  body.womar-modern .womar-gallery--bento .womar-gallery__item--featured {
    grid-column: span 3;
    grid-row: span 2;
  }
}

body.womar-modern .womar-section__cta {
  text-align: center;
  margin-top: 2rem;
}

/* Realizacje page */
body.womar-modern .womar-page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem 1rem;
  background: linear-gradient(180deg, #fff 0%, var(--womar-bg) 100%);
}

body.womar-modern .womar-page-hero__title {
  font-family: var(--womar-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--womar-text);
  margin: 0.35rem 0 0.75rem;
  letter-spacing: -0.03em;
}

body.womar-modern .womar-page-hero__lead {
  max-width: 640px;
  color: var(--womar-muted);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.65;
}

/* Service landing pages */
body.womar-modern .womar-service-page__hero {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  body.womar-modern .womar-service-page__hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding-bottom: 2rem;
  }
}

body.womar-modern .womar-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  color: var(--womar-muted);
}

body.womar-modern .womar-breadcrumbs a {
  color: var(--womar-accent) !important;
  text-decoration: none !important;
}

body.womar-modern .womar-breadcrumbs a:hover {
  text-decoration: underline !important;
}

body.womar-modern .womar-service-page__intro {
  max-width: 640px;
  margin: 1rem 0 0;
  color: var(--womar-text);
  line-height: 1.65;
}

body.womar-modern .womar-service-page__hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--womar-radius);
  box-shadow: var(--womar-shadow);
  object-fit: cover;
}

body.womar-modern .womar-spec-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

@media (min-width: 768px) {
  body.womar-modern .womar-spec-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.womar-modern .womar-spec-list__row {
  background: var(--womar-surface);
  border: 1px solid var(--womar-border);
  border-radius: var(--womar-radius);
  padding: 1rem 1.15rem;
}

body.womar-modern .womar-spec-list dt {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--womar-muted);
}

body.womar-modern .womar-spec-list dd {
  margin: 0;
  font-size: 0.98rem;
  color: var(--womar-text);
  line-height: 1.5;
}

body.womar-modern .womar-service-page__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  body.womar-modern .womar-service-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.womar-modern .womar-service-page__card {
  background: var(--womar-surface);
  border: 1px solid var(--womar-border);
  border-radius: var(--womar-radius);
  padding: 1.35rem;
  box-shadow: var(--womar-shadow);
}

body.womar-modern .womar-service-page__card h3 {
  margin: 0 0 0.65rem !important;
  font-size: 1.05rem !important;
}

body.womar-modern .womar-service-page__card p {
  margin: 0;
  color: var(--womar-muted);
  line-height: 1.6;
}

body.womar-modern .womar-service-page__cta {
  background: linear-gradient(135deg, var(--womar-navy) 0%, #132a47 100%);
  color: #fff;
}

body.womar-modern .womar-service-page__cta .womar-section__title,
body.womar-modern .womar-service-page__cta .womar-section__lead {
  color: #fff;
}

body.womar-modern .womar-service-page__cta-inner {
  text-align: center;
}

body.womar-modern .womar-service-page__projects {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  body.womar-modern .womar-service-page__projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body.womar-modern .womar-service-page__projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.womar-modern .womar-service-page__project {
  background: var(--womar-surface);
  border: 1px solid var(--womar-border);
  border-radius: var(--womar-radius);
  overflow: hidden;
  box-shadow: var(--womar-shadow);
}

body.womar-modern .womar-service-page__project a {
  display: block;
  color: inherit !important;
  text-decoration: none !important;
}

body.womar-modern .womar-service-page__project img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

body.womar-modern .womar-service-page__project-body {
  padding: 1rem 1.1rem 1.15rem;
}

body.womar-modern .womar-service-page__project h3 {
  margin: 0.45rem 0 0.35rem !important;
  font-size: 1rem !important;
}

body.womar-modern .womar-service-page__project p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--womar-muted);
  line-height: 1.55;
}

body.womar-modern .womar-service-page__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

body.womar-modern .womar-service-page__city-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--womar-border);
  background: var(--womar-surface);
  color: var(--womar-navy) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--womar-shadow);
}

body.womar-modern .womar-service-page__city-link:hover {
  border-color: var(--womar-accent);
  color: var(--womar-accent) !important;
}

body.womar-modern .womar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

body.womar-modern .womar-filter {
  border: 1px solid var(--womar-border);
  background: var(--womar-surface);
  color: var(--womar-muted);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.womar-modern .womar-filter:hover,
body.womar-modern .womar-filter.is-active {
  background: var(--womar-navy);
  color: #fff;
  border-color: var(--womar-navy);
}

body.womar-modern .womar-gallery--page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  body.womar-modern .womar-gallery--page {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  body.womar-modern .womar-gallery--page {
    grid-template-columns: repeat(3, 1fr);
  }
}

body.womar-modern .womar-gallery__count {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  background: rgba(15, 39, 68, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

body.womar-modern .womar-gallery__media {
  position: relative;
}

body.womar-modern .womar-gallery__tag--muted {
  background: rgba(100, 116, 139, 0.12);
  color: var(--womar-muted);
}

body.womar-modern .womar-lightbox__prev,
body.womar-modern .womar-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--womar-navy);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

body.womar-modern .womar-lightbox__prev {
  left: 0.75rem;
}

body.womar-modern .womar-lightbox__next {
  right: 0.75rem;
}

body.womar-modern .womar-lightbox__counter {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--womar-muted);
}

body.womar-modern.page .x-main.full {
  background: var(--womar-bg);
  padding-bottom: 3rem;
}

body.womar-modern.page .entry-content.content {
  max-width: none;
  padding: 0;
}
