/* Homepage "Jak wyceniamy" (#cennik) — native Elementor elements; class hooks in Advanced > CSS Classes.
   Colours are also stored in each widget's Style settings so the editor matches the live page. */
.pr-section {
  --pr-bg: #093653; --pr-ink: #f4f0e7; --pr-muted: rgba(244, 240, 231, 0.72); --pr-gold: #0eaef2; --pr-gold-2: #0eaef2;
  --pr-line: rgba(244, 240, 231, 0.12); --pr-ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: "Nunito Sans", "Avenir Next", Avenir, ui-sans-serif, system-ui, sans-serif; color: var(--pr-ink);
}
.pr-section *, .pr-section *::before, .pr-section *::after { box-sizing: border-box; }
.e-con.pr-section { display: block; padding: clamp(4rem, 2.8rem + 5vw, 7rem) var(--og-gutter, 24px) clamp(2.5rem, 2rem + 2vw, 3.5rem) !important; background: radial-gradient(120% 90% at 15% 0%, #0b4264 0%, var(--pr-bg) 55%, #093653 100%); text-align: left; }
.pr-section .e-con.pr-inner { display: block; width: 100%; max-width: 1380px; margin: 0 auto; }
.pr-section .elementor-heading-title { margin: 0 !important; padding: 0 !important; font-family: inherit; text-transform: none; }
.pr-section p { margin: 0 !important; }
.pr-section svg { display: block; }
.pr-section .elementor-icon svg, .pr-section .elementor-icon svg *, .pr-section .elementor-button-icon svg, .pr-section .elementor-button-icon svg * { fill: none !important; }
.pr-section a:focus-visible { outline: 2px solid var(--pr-gold) !important; outline-offset: 4px; }

/* ---------- Two columns ---------- */
.pr-section .e-con.pr-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: start; gap: clamp(2rem, 1rem + 3vw, 3rem); }
.pr-section .e-con.pr-main { display: block; padding-top: 0.25rem; }
.pr-section .pr-eyebrow .elementor-heading-title { display: inline-flex; align-items: center; gap: 0.9rem; margin: 0 0 1.4rem !important; font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pr-ink); }
.pr-section .pr-eyebrow .elementor-heading-title::before { content: ""; width: 0.7rem; height: 0.7rem; border: 2px solid var(--pr-gold); border-radius: 50%; }
.pr-section .pr-title .elementor-heading-title { margin: 0 0 1.75rem !important; font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.6rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.025em; color: var(--pr-ink); }
.pr-section .pr-title .elementor-heading-title span:not(.split-word) { color: var(--pr-gold); }
.pr-section .pr-lead-strong .elementor-heading-title { margin: 0 0 0.6rem !important; font-size: clamp(1.2rem, 1rem + 0.55vw, 1.6rem); font-weight: 600; line-height: 1.35; color: var(--pr-ink); }
.pr-section .pr-lead p { max-width: 40rem; margin: 0 0 clamp(1.75rem, 1.2rem + 1.5vw, 2.25rem) !important; font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.4rem); line-height: 1.5; color: var(--pr-muted); }
.pr-section .pr-photo { overflow: hidden; border-radius: 14px; box-shadow: 0 24px 48px -30px rgba(0, 0, 0, 0.6); }
.pr-section .pr-photo img { display: block; width: 100% !important; height: auto !important; max-width: none; aspect-ratio: 2.14 / 1; object-fit: cover; object-position: 50% 55%; transition: transform 0.9s var(--pr-ease); }

/* ---------- Factors card ---------- */
.pr-section .e-con.pr-card { display: block; padding: clamp(1.5rem, 1rem + 1.6vw, 2.6rem) clamp(1.5rem, 1rem + 1.6vw, 2.6rem) clamp(1.25rem, 1rem + 1vw, 2rem) !important; border: 1px solid var(--pr-line); border-radius: 18px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.pr-section .pr-card__eyebrow .elementor-heading-title { margin: 0 0 1rem !important; font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pr-gold); }
.pr-section .pr-card__title .elementor-heading-title { margin: 0 0 clamp(1.25rem, 1rem + 1vw, 1.9rem) !important; font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.75rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; color: var(--pr-ink); }
.pr-section .e-con.pr-factors { display: block; }
.pr-section .e-con.pr-factor { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); align-items: center; column-gap: 2.25rem; padding: 0.8rem 0 !important; border-bottom: 1px solid var(--pr-line); }
.pr-section .e-con.pr-factor:first-child { padding-top: 0 !important; }
.pr-section .e-con.pr-factor:last-child { border-bottom: 0; }
.pr-section .pr-factor__icon .elementor-icon-wrapper { line-height: 0; }
.pr-section .pr-factor__icon .elementor-icon { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 10px; background: rgba(255, 255, 255, 0.06); color: var(--pr-gold); transition: background 0.35s var(--pr-ease), transform 0.35s var(--pr-ease); }
.pr-section .pr-factor__icon .elementor-icon svg { width: 2rem; height: 2rem; }
.pr-section .e-con.pr-factor__copy { display: block; }
.pr-section .pr-factor__title .elementor-heading-title { margin: 0 0 0.25rem !important; font-size: clamp(1.1rem, 1rem + 0.35vw, 1.4rem); font-weight: 600; line-height: 1.3; color: var(--pr-ink); }
.pr-section .pr-factor__text p { font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.0625rem); line-height: 1.5; color: var(--pr-muted); }
.pr-section .e-con.pr-note { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); align-items: start; column-gap: 1.6rem; margin-top: 0.4rem; padding: 1.4rem 0 0 !important; border-top: 1px solid rgba(14, 174, 242, 0.55); }
.pr-section .pr-note__icon .elementor-icon-wrapper { line-height: 0; }
.pr-section .pr-note__icon .elementor-icon { color: var(--pr-gold); }
.pr-section .pr-note__icon .elementor-icon svg { width: 2.2rem; height: 2.2rem; }
.pr-section .pr-note__text p { font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.125rem); line-height: 1.6; color: var(--pr-muted); }
.pr-section .pr-note__text strong { font-weight: 600; color: var(--pr-ink); }

/* ---------- Bottom bar ---------- */
.pr-section .e-con.pr-bar { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; margin-top: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); padding: clamp(1.5rem, 1.2rem + 1vw, 2rem) 0 0 !important; border-top: 1px solid var(--pr-line); }
.pr-section .e-con.pr-bar__copy { display: block; }
.pr-section .pr-bar__title .elementor-heading-title { margin: 0 0 0.3rem !important; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 2rem); font-weight: 500; line-height: 1.25; color: var(--pr-ink); }
.pr-section .pr-bar__text p { font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.125rem); line-height: 1.5; color: var(--pr-muted); }
.pr-section .e-con.pr-bar__actions { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem 2.75rem; }
.pr-section .pr-call .elementor-button { display: inline-flex; align-items: center; min-height: 3.9rem; padding: 0.9rem 2.1rem; border: 0; border-radius: 999px; background: linear-gradient(180deg, var(--pr-gold-2), #0eaef2); box-shadow: 0 10px 26px -14px rgba(14, 174, 242, 0.8); font-family: inherit; font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.3rem); font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; color: #093653; transition: transform 0.25s var(--pr-ease), filter 0.25s var(--pr-ease); }
.pr-section .pr-call .elementor-button-content-wrapper { gap: 0.85rem; align-items: center; }
.pr-section .pr-call .elementor-button-icon { margin: 0 !important; }
.pr-section .pr-call .elementor-button-icon svg { width: 1.35rem; height: 1.35rem; }
.pr-section .pr-call .elementor-button-icon svg * { stroke: #093653; }
.pr-section .pr-write .elementor-button { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.3rem 0 !important; border: 0; border-bottom: 1px solid rgba(244, 240, 231, 0.7); border-radius: 0; background: transparent; font-family: inherit; font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--pr-ink); transition: border-color 0.25s var(--pr-ease), color 0.25s var(--pr-ease); }
.pr-section .pr-write .elementor-button-content-wrapper { gap: 0.6rem; align-items: center; }
.pr-section .pr-write .elementor-button-icon { margin: 0 !important; }
.pr-section .pr-write .elementor-button-icon svg { width: 1.15rem; height: 1.15rem; transition: transform 0.3s var(--pr-ease); }

/* ---------- Hover (fine pointers) ---------- */
@media (hover: hover) and (pointer: fine) {
  .pr-section .pr-photo:hover img { transform: scale(1.03); }
  .pr-section .e-con.pr-factor:hover .pr-factor__icon .elementor-icon { background: rgba(14, 174, 242, 0.16); transform: translateY(-2px); }
  .pr-section .pr-call .elementor-button:hover { transform: translateY(-2px); filter: brightness(1.05); color: #093653; }
  .pr-section .pr-write .elementor-button:hover { color: var(--pr-gold); border-bottom-color: var(--pr-gold); }
  .pr-section .pr-write .elementor-button:hover svg { transform: translate(2px, -2px); }
}
.pr-section .pr-call .elementor-button:active { transform: scale(0.985); }

/* ---------- Entrance (opt-in by us.js) ---------- */
.pr-section.us-motion .us-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--pr-ease), transform 0.7s var(--pr-ease); }
.pr-section.us-motion .pr-card.us-reveal { transition-delay: 90ms; }
.pr-section.us-motion .us-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .pr-section .e-con.pr-grid { grid-template-columns: minmax(0, 1fr); }
  .pr-section .pr-lead p { max-width: none; }
  .pr-section .e-con.pr-bar { flex-direction: column; align-items: flex-start; }
}
/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .pr-section .pr-title .elementor-heading-title br { display: none; }
  .pr-section .e-con.pr-factor { grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 1rem; }
  .pr-section .pr-factor__icon .elementor-icon { width: 3.5rem; height: 3.5rem; }
  .pr-section .pr-factor__icon .elementor-icon svg { width: 1.6rem; height: 1.6rem; }
  .pr-section .e-con.pr-note { column-gap: 1rem; }
  .pr-section .e-con.pr-bar__actions { width: 100%; flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .pr-section .pr-call, .pr-section .pr-call .elementor-button { width: 100%; }
  .pr-section .pr-call .elementor-button { justify-content: center; }
  .pr-section .pr-write { align-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  .pr-section *, .pr-section *::before, .pr-section *::after { transition: none !important; animation: none !important; }
  .pr-section.us-motion .us-reveal { opacity: 1 !important; transform: none !important; }
}

/* CTA to the Wycena subpage */
.pr-section .pr-more { margin: calc(-1 * clamp(0.5rem, 0.3rem + 0.6vw, 0.9rem)) 0 clamp(1.75rem, 1.2rem + 1.5vw, 2.25rem); }
.pr-section .pr-more .elementor-button { display: inline-flex; align-items: center; min-height: 3.25rem; padding: 0.8rem 1.6rem; border: 1.5px solid var(--pr-gold); border-radius: 999px; background: transparent; font-family: inherit; font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem); font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; color: var(--pr-ink); transition: background 0.3s var(--pr-ease), color 0.3s var(--pr-ease), border-color 0.3s var(--pr-ease), transform 0.3s var(--pr-ease); }
.pr-section .pr-more .elementor-button-content-wrapper { gap: 0.75rem; align-items: center; }
.pr-section .pr-more .elementor-button-icon { margin: 0 !important; }
.pr-section .pr-more .elementor-button-icon svg { width: 1.15rem; height: 1.15rem; transition: transform 0.3s var(--pr-ease); }
.pr-section .pr-more .elementor-button:hover, .pr-section .pr-more .elementor-button:focus-visible { background: var(--pr-gold-2); border-color: var(--pr-gold-2); color: #093653; }
.pr-section .pr-more .elementor-button:hover svg * { stroke: #093653; }
@media (hover: hover) and (pointer: fine) { .pr-section .pr-more .elementor-button:hover { transform: translateY(-2px); } .pr-section .pr-more .elementor-button:hover svg { transform: translateX(3px); } }
@media (max-width: 767px) { .pr-section .pr-more, .pr-section .pr-more .elementor-button { width: 100%; } .pr-section .pr-more .elementor-button { justify-content: center; } }
.pr-section .pr-more { margin: calc(-1 * clamp(0.5rem, 0.3rem + 0.6vw, 0.9rem)) 0 clamp(1.75rem, 1.2rem + 1.5vw, 2.25rem) !important; }

/* Wycena CTA sits under the 'Co wpływa na cenę?' card */
.pr-section .e-con.pr-side { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.pr-section .pr-side > .pr-card { width: 100%; }
.pr-section .pr-side .pr-more { margin: clamp(1.25rem, 1rem + 0.8vw, 1.75rem) 0 0 !important; }
@media (max-width: 767px) { .pr-section .e-con.pr-side { align-items: stretch; } }

/* Wycena CTA: full width of the card above, centred label */
.pr-section .pr-side .pr-more { align-self: stretch; width: 100%; }
.pr-section .pr-side .pr-more .elementor-button { display: flex; width: 100%; justify-content: center; }
.pr-section .pr-side .pr-more .elementor-button-content-wrapper { justify-content: center; }
