/* ============================================
   RIMMO.PL — Unified Stylesheet
   Merged from: base.css + style.css
   ============================================ */

/* ============================================
   RESET & GLOBALS (formerly base.css)
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body, sans-serif);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection {
  background: oklch(from var(--color-primary) l c h / 0.25);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; width: 100%; }

a, button, [role="button"], [role="link"], input, textarea, select {
  transition: color 180ms cubic-bezier(0.16, 1, 0.3, 1),
              background 180ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ============================================
   DESIGN TOKENS & COMPONENTS (formerly style.css)
   ============================================ */

/* ============================================
   RIMMO Design Tokens & Component Styles
   Colors: Navy #001850, Orange #F85810
   Font: Aptos-like (Satoshi as web substitute)
   ============================================ */

:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* RIMMO Brand Colors — Light */
  --color-navy: #001850;
  --color-orange: #F85810;
  --color-orange-hover: #e04e0e;
  --color-orange-light: #FFF3ED;

  --color-bg: #ffffff;
  --color-surface: #EBEEF3;
  --color-surface-2: #DDE2EA;
  --color-text: #1a1a2e;
  --color-text-muted: #5a6278;
  --color-text-faint: #9ca3b4;
  --color-text-inverse: #ffffff;
  --color-primary: #001850;
  --color-accent: #F85810;
  --color-border: #e2e5ed;
  --color-divider: #eaecf2;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,24,80,0.06);
  --shadow-md: 0 4px 12px rgba(0,24,80,0.08);
  --shadow-lg: 0 12px 32px rgba(0,24,80,0.12);
  --shadow-xl: 0 20px 48px rgba(0,24,80,0.16);

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Fonts */
  --font-body: 'Satoshi', 'Segoe UI', sans-serif;
  --font-display: 'Satoshi', 'Segoe UI', sans-serif;

  /* Content widths */
  --content-narrow: 720px;
  --content-default: 1080px;
  --content-wide: 1280px;
}

/* ============================================
   GLOBAL
   ============================================ */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--content-default);
}

section {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}

/* ============================================
   HEADER / NAV
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background 0.3s ease, border-color 0.3s ease;
}

.header--transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
}

.header--transparent .nav__link {
  color: #ffffff;
}

.header--transparent .nav__link--active {
  color: #ffffff;
}

.header--transparent .nav__link:hover {
  color: #ffffff;
}

.header--transparent .nav__cta {
  background: #F15A24;
  color: #ffffff;
}

.header--solid {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
}

.header--solid .nav__link,
.header--solid .nav__link--active {
  color: var(--color-primary);
}

.header--solid .logo__img {
  content: url('./assets/logo-rimmo.png');
}

.header--hidden {
  transform: translateY(-100%);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: none;
  margin: 0;
  padding-inline: 5%;
  padding-top: var(--space-3);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo__r { color: var(--color-accent); }
.logo__immo { color: var(--color-primary); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 1.5rem);
  flex-wrap: nowrap !important;
}

.nav__link {
  font-size: clamp(0.8rem, 0.95vw, 1.05rem);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: var(--space-2) 0;
  position: relative;
  white-space: nowrap !important;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav__link:hover {
  color: var(--color-primary);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: clamp(0.75rem, 0.85vw, 0.95rem);
  font-weight: 600;
  white-space: nowrap !important;
  flex-shrink: 0;
  overflow: visible;
  color: var(--color-text-inverse);
  background: var(--color-accent);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav__cta:hover {
  background: var(--color-orange-hover);
}

/* Mobile Nav */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
  box-shadow: var(--shadow-lg);
  z-index: 99;
  overflow-y: auto;
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-nav a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
}

@media (max-width: 900px) {
  .nav { display: none; }
  .mobile-toggle { display: flex; }
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 0;
  background: var(--color-primary);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,24,80,0.3) 0%,
    rgba(0,24,80,0.15) 40%,
    rgba(0,24,80,0.35) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: var(--color-text-inverse);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(248,88,16,0.12);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid rgba(248,88,16,0.25);
  margin-bottom: var(--space-6);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}

.hero__title span {
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-8);
  max-width: 560px;
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-6);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-text-inverse);
  border: 2px solid #ffffff !important;
  transition: all 0.2s ease;
}

.btn--primary:hover {
  background: var(--color-primary) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,24,80,0.4);
}

.btn--hero-cta {
  background: rgba(0,32,63,0.65) !important;
  border: 1px solid rgba(255,255,255,0.5) !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  font-weight: 700;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.btn--hero-cta:hover {
  background: #F15A24 !important;
  border-color: rgba(255,255,255,0.7) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(248,88,16,0.4);
}

.btn--hero-cta:hover .btn--zero__amount {
  color: #ffffff;
}

.hero-cta-main:hover {
  background: #F15A24 !important;
  border-color: #F15A24 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(248,88,16,0.4);
}

.btn--zero__amount {
  color: #F15A24;
  font-weight: 900;
  margin-right: 0.3em;
  font-size: 1.25em;
}

.btn--outline {
  background: transparent;
  color: var(--color-text-inverse);
  border-color: rgba(255,255,255,0.35);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  height: 52px;
  box-sizing: border-box;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-12);
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.section--gray { background: #EBEEF3; }
.section--navy { background: linear-gradient(135deg, #001850 0%, #002470 100%); padding: 60px 0; color: #ffffff; }

/* ============================================
   ABOUT / CZYM JEST RIMMO
   ============================================ */

.about {
  background: var(--color-bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.about__content h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.about__content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  text-align: justify;
}

.about__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.about__highlight {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.about__highlight-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--color-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__highlight-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.about__highlight-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
}

.about__visual {
  position: relative;
  margin-top: 0;
  display: flex;
  align-items: flex-start;
}

.about__card {
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-2xl);
  padding: 4.5rem var(--space-8);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: auto;
  width: 100%;
  margin-top: 7.5rem;
}

.about__card::before {
  display: none;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12) var(--space-10);
  align-items: start;
}

.about__stat {
  text-align: center;
}

.about__stat-value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.5rem + 2.5vw, 4.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.about__stat-value span {
  color: inherit;
}

.about__stat-value--orange {
  color: var(--color-accent);
}

.about__stat-value--orange span {
  color: var(--color-accent);
}

.about__stat-label {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .about__content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  .about__content p:last-of-type {
    margin-bottom: var(--space-2);
  }
  .about__highlights {
    grid-template-columns: 1fr;
    margin-top: var(--space-2);
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .about__visual {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* ============================================
   WHY WARSAW
   ============================================ */

.why-warsaw {
  background: var(--color-surface);
}

.why-warsaw__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}

.why-warsaw__card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.why-warsaw__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.why-warsaw__card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary), #001850);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: white;
}

.why-warsaw__card-icon svg {
  width: 24px;
  height: 24px;
}

.why-warsaw__card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.why-warsaw__card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   3 FILARY / PILLARS
   ============================================ */

.pillars {
  background: var(--color-bg);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.pillar {
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.pillar:nth-child(1) {
  border: 2px solid var(--color-primary);
}

.pillar:nth-child(2) {
  border: 2px solid var(--color-primary);
}

.pillar:nth-child(3) {
  border: 2px solid var(--color-primary);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pillar__header {
  background: var(--color-primary);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-3);
}

.pillar__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: rgba(248,88,16,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.pillar__icon svg {
  width: 28px;
  height: 28px;
}

/* Detailed pillar icons (matching brand reference) */
.pillar__icon--detailed {
  width: 120px;
  height: 120px;
  border-radius: 0;
  background: none;
}

.pillar__icon--detailed svg {
  width: 120px;
  height: 120px;
}

.pillar__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-inverse);
}

.pillar__tagline {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.pillar__body {
  padding: var(--space-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pillar__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: left;
  flex: 1;
}

.pillar__list li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
  align-items: flex-start;
}

.pillar__list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-top: 8px;
}

@media (max-width: 900px) {
  .pillars__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   0 ZŁ BANNER
   ============================================ */

.zero-cost {
  background: linear-gradient(135deg, var(--color-primary) 0%, #001850 100%);
  color: var(--color-text-inverse);
  position: relative;
  overflow: hidden;
}

.zero-cost::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(248,88,16,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.zero-cost__inner {
  display: block;
  max-width: var(--content-wide);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.zero-cost__big {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.zero-cost__big span {
  color: var(--color-accent);
}

.zero-cost__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-6);
  line-height: 1.5;
}

.zero-cost__detail {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.zero-cost__features {
  display: grid;
  gap: var(--space-4);
}

.zero-cost__feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
}

.zero-cost__feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: rgba(248,88,16,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.zero-cost__feature-icon svg {
  width: 20px;
  height: 20px;
}

.zero-cost__feature h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-1);
}

.zero-cost__feature p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

a.zero-cost__feature--link {
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

a.zero-cost__feature--link:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .zero-cost__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* ============================================
   PROCESS / JAK TO DZIAŁA
   ============================================ */

.process {
  background: var(--color-surface);
}

.process__timeline {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-primary));
}

.process__step {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  position: relative;
}

.process__step:last-child {
  margin-bottom: 0;
}

.process__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--color-surface), var(--shadow-md);
}

.process__step:first-child .process__number,
.process__step:last-child .process__number {
  background: var(--color-accent);
}

.process__card {
  flex: 1;
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.process__card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.process__card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.process__card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .process__timeline::before {
    left: 20px;
  }
  .process__number {
    width: 40px;
    height: 40px;
    font-size: var(--text-sm);
  }
  .process__step {
    gap: var(--space-4);
  }
}

/* ============================================
   CTA / CONTACT
   ============================================ */

.cta {
  background: var(--color-bg);
  text-align: center;
}

.cta__box {
  background: linear-gradient(135deg, var(--color-primary) 0%, #001850 100%);
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-8), 6vw, var(--space-16));
  color: var(--color-text-inverse);
  position: relative;
  overflow: hidden;
}

.cta__box::before {
  content: '';
  position: absolute;
  bottom: -60%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(248,88,16,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta__box h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.cta__box p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-8);
  max-width: 560px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.cta__buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding-block: var(--space-10);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
}

.footer__logo .logo__r { color: var(--color-accent); }

.footer__tagline {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

.footer__links {
  display: flex;
  gap: var(--space-6);
}

.footer__links a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.footer__links a:hover {
  color: rgba(255,255,255,0.8);
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__social a:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
}

.footer__copyright {
  color: rgba(255,255,255,0.4);
}

.footer__attr a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
}

.footer__attr a:hover {
  color: rgba(255,255,255,0.6);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Na mobile: pokazuj od razu bez animacji opóźnienia */
@media (max-width: 768px) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Stagger */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   TOPBAR (contact bar above header)
   ============================================ */

.topbar {
  background: var(--color-primary);
  color: rgba(255,255,255,0.8);
  font-size: var(--text-xs);
  padding-block: var(--space-2);
  position: relative;
  z-index: 101;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.topbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.topbar__contact a:hover {
  color: var(--color-accent);
}

.topbar__contact svg {
  flex-shrink: 0;
}

.topbar__fav {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.topbar__fav:hover {
  color: var(--color-accent);
}

.topbar__fav .fav-count {
  background: var(--color-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .topbar__contact {
    gap: var(--space-3);
  }
  .topbar__contact a span {
    display: none;
  }
}

/* ============================================
   PAGE HERO (compact inner-page hero)
   ============================================ */

.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #001850 0%, #002470 100%);
  padding-top: calc(72px + 36px);
  padding-bottom: var(--space-12);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(248,88,16,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(0,40,120,0.25) 0%, transparent 70%);
  z-index: 0;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-inline: var(--space-6);
}

.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(248,88,16,0.12);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid rgba(248,88,16,0.25);
  margin-bottom: var(--space-4);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-inverse);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.page-hero__subtitle {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 560px;
  margin-inline: auto;
}

/* ============================================
   NAV ACTIVE STATE (for subpages)
   ============================================ */



/* ============================================
   SERVICE CARDS (uslugi.html)
   ============================================ */

.services {
  background: var(--color-bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-card__header {
  background: linear-gradient(135deg, var(--color-primary) 0%, #001850 100%);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.service-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: rgba(248,88,16,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card__number {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-inverse);
  line-height: 1.2;
}

.service-card__body {
  padding: var(--space-6);
  flex: 1;
}

.service-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}


.service-card__list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-top: 8px;
}

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CALCULATOR (kalkulator.html)
   ============================================ */

.calculator-section {
  background: var(--color-bg);
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.calculator-intro {
  max-width: 800px;
  margin: 0 auto var(--space-10);
  text-align: center;
}

.calculator-intro h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.calculator-intro p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin-inline: auto;
}

.calculator-formula {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-10);
  max-width: 800px;
  margin-inline: auto;
}

.calculator-formula__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
  text-align: center;
}

.calculator-formula__eq {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  line-height: 1.5;
}

.calculator-formula__note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  line-height: 1.6;
}

.calculator-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

.calculator-form__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
  text-align: center;
}

.calculator-form__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.calculator-form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.calculator-form__group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}

.calculator-form__group input {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  background: var(--color-bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.calculator-form__group input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(248,88,16,0.12);
}

.calculator-form__group .input-hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.calculator-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  background: linear-gradient(135deg, var(--color-primary) 0%, #001850 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.calculator-result {
  text-align: center;
}

.calculator-result__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.calculator-result__label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

@media (max-width: 768px) {
  .calculator-form__grid {
    grid-template-columns: 1fr;
  }
  .calculator-results {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}

/* Calculator examples */
.calculator-examples {
  max-width: 800px;
  margin-inline: auto;
}

.calculator-examples__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--space-6);
}

.calculator-examples__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
@media (max-width: 640px) {
  .calculator-examples__grid {
    grid-template-columns: 1fr;
  }
}

.calc-example {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.calc-example:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.calc-example__name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.calc-example__row {
  display: flex;
  justify-content: space-between;
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.calc-example__row:last-child {
  border-bottom: none;
}

.calc-example__row span:last-child {
  font-weight: 600;
  color: var(--color-text);
}

.calc-example__roi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-4);
  margin-top: var(--space-2);
  border-top: 2px solid var(--color-primary);
}

.calc-example__roi span:first-child {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
}

.calc-example__roi span:last-child {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-accent);
}

@media (max-width: 600px) {
  .calculator-examples__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CLUB SECTION (partnerstwo.html)
   ============================================ */

.club-section {
  background: var(--color-bg);
}

.club-section--alt {
  background: var(--color-surface);
}

.club-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.club-grid--reverse {
  direction: rtl;
}

.club-grid--reverse > * {
  direction: ltr;
}

.club-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.club-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.club-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.club-benefit {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.club-benefit__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--color-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.club-benefit__icon svg {
  width: 20px;
  height: 20px;
}

.club-benefit__text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
}

.club-benefit__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  line-height: 1.5;
}

/* Club header with centered logo */
.club-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.club-logo-img {
  max-width: 560px;
  width: 100%;
  height: auto;
  margin: var(--space-4) auto var(--space-6);
  display: block;
}

.club-header__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

.club-grid--photo {
  align-items: stretch;
}

.club-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.club-photo {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  /* Force photo to not expand the grid row */
  min-height: 0;
}

.club-photo__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-2xl);
}

@media (max-width: 768px) {
  .club-grid,
  .club-grid--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* ============================================
   KNOWLEDGE CARDS (partnerstwo.html)
   ============================================ */

.knowledge-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}

.knowledge-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.knowledge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
}

.knowledge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.knowledge-card__number {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
}

.knowledge-card__title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
}

/* Clickable knowledge card link */
.knowledge-card--link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.knowledge-card__arrow {
  display: block;
  margin-top: auto;
  padding-top: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-accent);
  font-weight: 600;
  transition: transform 300ms ease;
}

.knowledge-card--link:hover .knowledge-card__arrow {
  transform: translateX(4px);
}

/* ============================================
   BAZA WIEDZY SUBPAGE
   ============================================ */

.bw-back {
  padding: var(--space-4) 0;
  background: var(--color-bg);
}

.bw-back--bottom {
  padding-bottom: var(--space-8);
}

.bw-back__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.bw-back__link:hover {
  color: var(--color-orange-hover);
}

.bw-article {
  padding: var(--space-10) 0;
  background: var(--color-bg);
}

.bw-article--alt {
  background: var(--color-surface);
}

.bw-article__header {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-primary);
}

.bw-article__number {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.bw-article__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.bw-article__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.bw-article__chart {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #fff;
}

.bw-article__chart img {
  display: block;
  width: 100%;
  height: auto;
}

.bw-article__text p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  max-width: 100%;
}

/* ============================================
   CONTACT FORM (kontakt.html)
   ============================================ */

.contact-section {
  background: var(--color-bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info {
  background: linear-gradient(135deg, var(--color-primary) 0%, #001850 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  color: var(--color-text-inverse);
}

.contact-info__company {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-2);
}

.contact-info__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-6);
}

.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.contact-info__item-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: rgba(248,88,16,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.contact-info__item-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info__item a,
.contact-info__item span {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.contact-info__item a:hover {
  color: var(--color-accent);
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
}

.contact-form__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact-form__group--full {
  grid-column: 1 / -1;
}


.contact-form__group input,
.contact-form__group textarea,

.contact-form__group input:focus,
.contact-form__group textarea:focus,
.contact-form__group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(248,88,16,0.12);
}


.contact-form__checkbox {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-6);
}

.contact-form__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-accent);
}

.contact-form__checkbox label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-form__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   TOPBAR + HEADER OFFSET (subpages with topbar)
   ============================================ */

body:has(.topbar) .header {
  top: 38px;
}

body:has(.topbar) .mobile-nav {
  top: calc(72px + 38px);
}

/* ============================================
   LOGO IMAGE (replaces text logo)
   ============================================ */

.logo__img {
  height: 104px;
  width: auto;
  display: block;
}

.footer__logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* ============================================
   NAV ACTIVE STATE
   ============================================ */

.nav__link--active {
  color: var(--color-primary);
  font-weight: 600;
}

.nav__link--active::after {
  width: 100%;
}

/* ============================================
   PILLAR EXPAND/COLLAPSE
   ============================================ */

.pillar__body--collapsed {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 400ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 300ms ease;
}

.pillar__body:not(.pillar__body--collapsed) {
  max-height: 800px;
  opacity: 1;
  transition: max-height 400ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 300ms ease;
}

.pillar__expand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin: 0;
  margin-top: auto;
  padding: var(--space-3) var(--space-6);
  width: 100%;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.pillar__expand:hover {
  color: var(--color-orange-hover);
}

.pillar__expand svg {
  transition: transform 300ms ease;
}

.pillar__inline-logo {
  display: inline-block;
  height: 24px;
  width: auto;
  vertical-align: middle;
  margin-left: var(--space-2);
  border-radius: var(--radius-sm);
}

.pillar__inline-logo--lg {
  height: 48px;
  display: block;
  margin: var(--space-3) 0 0 0;
  border-radius: var(--radius-md);
}

/* Logo badge — standalone clickable logo below bullet list */
.pillar__logo-badge {
  display: block;
  margin: var(--space-4) auto var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: #fff;
  border: 1.5px solid rgba(0, 24, 80, 0.12);
  border-radius: var(--radius-lg, 12px);
  text-align: center;
  transition: border-color 300ms ease, box-shadow 300ms ease;
  text-decoration: none;
  width: fit-content;
  max-width: 240px;
}

.pillar__logo-badge:hover {
  border-color: var(--color-accent, #F85810);
  box-shadow: 0 2px 12px rgba(248, 88, 16, 0.12);
}

.pillar__logo-badge-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.pillar__more-link {
  display: block;
  margin-top: auto;
  padding-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
  text-align: center;
}

.pillar__more-link:hover {
  color: var(--color-orange-hover);
}

/* ============================================
   SEARCH PAGE — HERO
   ============================================ */

.search-hero {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding-top: calc(72px + 38px + var(--space-12));
  padding-bottom: var(--space-10);
  text-align: center;
}

.search-hero__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--space-3);
}

.search-hero__subtitle {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   SEARCH PAGE — MAIN SEARCH BAR
   ============================================ */
.search-main-bar {
  padding: var(--space-6) 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.search-bar-row {
  display: flex;
  gap: var(--space-3);
  align-items: flex-end;
}
.search-bar__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.search-bar__field--city { flex: 1.2; }
.search-bar__field--district { flex: 1.2; }
.search-bar__field--rooms { flex: 0.7; }
.search-bar__field--btn { flex: 0 0 auto; }
.search-bar__field label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.search-bar__field select {
  height: 48px;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: white;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.search-bar__field select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(248,88,16,0.1);
}
.search-bar__field--btn .btn {
  height: 48px;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .search-bar-row {
    flex-direction: column;
  }
  .search-bar__field { flex: none; width: 100%; }
}

/* Advanced filters */
.search-advanced {
  padding: var(--space-4) 0;
}
.advanced-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.advanced-toggle {
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  padding: var(--space-2) 0;
}
.advanced-toggle.active { color: #FE5C16; }
.advanced-row-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.advanced-filters {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.adv-filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: flex-end;
}

/* ============================================
   SEARCH PAGE — FILTERS (legacy)
   ============================================ */

.search-filters {
  padding-block: var(--space-6);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
  min-width: 140px;
}

.filter-group label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.filter-group select,
.filter-group input[type="number"] {
  height: 42px;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: white;
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.filter-group select:focus,
.filter-group input[type="number"]:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(248,88,16,0.1);
}

.filter-group--range .filter-range {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.filter-group--range input {
  flex: 1;
  min-width: 80px;
}

.filter-range__sep {
  color: var(--color-text-faint);
  font-weight: 500;
}

.filter-group--actions {
  display: flex;
  flex-direction: row;
  gap: var(--space-2);
  flex: 0 0 auto;
  min-width: auto;
  align-self: flex-end;
}

.filter-group--actions .btn {
  height: 42px;
  padding-block: 0;
}



/* ============================================
   SEARCH PAGE — CONTROLS BAR
   ============================================ */

.search-controls {
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}

.controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.controls-bar__left {
  display: flex;
  align-items: center;
}

.results-count {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}

.controls-bar__right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.sort-group {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.sort-group label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.sort-group select {
  height: 36px;
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: white;
  font-size: var(--text-xs);
  color: var(--color-text);
}

.view-toggle {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.view-toggle__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-text-faint);
  transition: all var(--transition-fast);
}

.view-toggle__btn--active {
  background: var(--color-primary);
  color: white;
}

.view-toggle__btn:hover:not(.view-toggle__btn--active) {
  background: var(--color-surface);
  color: var(--color-text);
}

/* ============================================
   SEARCH PAGE — PROPERTY CARDS GRID
   ============================================ */

.search-results {
  padding-block: var(--space-8);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-6);
}

.prop-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.prop-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.prop-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.prop-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.prop-card:hover .prop-card__image img {
  transform: scale(1.05);
}

.prop-card__badges {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  display: flex;
  gap: var(--space-2);
}

.prop-card__badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.prop-card__badge--status {
  background: rgba(0,24,80,0.85);
  color: white;
  backdrop-filter: blur(8px);
}

.prop-card__badge--roi {
  background: rgba(248,88,16,0.9);
  color: white;
  backdrop-filter: blur(8px);
}

.prop-card__fav {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.prop-card__fav:hover,
.prop-card__fav.active {
  color: #e53e3e;
  background: white;
}

.prop-card__fav.active svg {
  fill: #e53e3e;
}

.prop-card__body {
  padding: var(--space-5);
}

.prop-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}

.prop-card__district {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prop-card__rooms {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.prop-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: var(--space-1);
}

.prop-card__developer {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.prop-card__divider {
  height: 1px;
  background: var(--color-divider);
  margin-bottom: var(--space-3);
}

.prop-card__prices {
  display: block;
  margin-bottom: var(--space-3);
  text-align: center;
}

.prop-card__price-label {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.prop-card__price-main .prop-card__price-value {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
}

.prop-card__price-secondary .prop-card__price-value {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}

.prop-card__stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
}

/* ROI wyrównane do lewej, ODDANIE do prawej */
.prop-card__stat--roi {
  text-align: left;
}

.prop-card__stat--completion {
  text-align: right;
}

.prop-card__stat-value {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.prop-card__stat--roi .prop-card__stat-value {
  color: var(--color-accent);
}

.prop-card__stat-label {
  display: block;
  font-size: 0.65rem;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prop-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.prop-card__feature {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--space-2);
  font-size: 0.7rem;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
}

.prop-card__cta {
  width: 100%;
  text-align: center;
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* ============================================
   SEARCH — MAP & EMPTY STATE
   ============================================ */

.map-view {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 2px dashed var(--color-border);
}

.map-placeholder {
  text-align: center;
  color: var(--color-text-muted);
}

.map-placeholder svg {
  margin: 0 auto var(--space-4);
  color: var(--color-text-faint);
}

.map-placeholder p {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.map-placeholder span {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

.search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
  gap: var(--space-4);
  color: var(--color-text-muted);
}

.search-empty svg {
  color: var(--color-text-faint);
}

.search-empty p {
  font-size: var(--text-lg);
  font-weight: 600;
}

/* ============================================
   RESPONSIVE — SEARCH PAGE
   ============================================ */

@media (max-width: 768px) {
  .filters-bar {
    flex-direction: column;
  }
  
  .filter-group {
    width: 100%;
    min-width: unset;
  }
  
  .filter-group--actions {
    flex-direction: row;
    width: 100%;
  }
  
  .filter-group--actions .btn {
    flex: 1;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }

  .controls-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .controls-bar__right {
    justify-content: space-between;
  }

  .search-hero {
    padding-top: calc(72px + 38px + var(--space-8));
  }
}

/* ============================================
   HERO — Large centered logo + claim
   ============================================ */

.hero__content--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  margin-top: -8vh;
}

.hero__content--left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: none;
  width: 100%;
  margin-top: 45vh;
  padding-bottom: var(--space-8);
  padding-left: 5%;
  padding-right: 5%;
}

.hero__sub {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  max-width: none;
  white-space: nowrap;
}
@media (max-width: 960px) {
  .hero__sub {
    white-space: normal;
    font-size: 15px;
  }
}

.hero__ctas--left {
  justify-content: flex-start;
}

.btn--navy {
  background: var(--color-primary);
  color: white;
  border: 2px solid white;
  transition: all 0.2s ease;
}
.btn--navy:hover {
  background: #F15A24 !important;
  border-color: #F15A24 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(248,88,16,0.4);
}

/* Hero Pillars Bar */
.hero-pillars {
  position: absolute;
  bottom: var(--space-6);
  left: 2.5%;
  right: 2.5%;
  z-index: 3;
  padding: 0;
}

.hero-pillars__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  max-width: 100%;
  width: 100%;
}

.hero-pillar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 6px;
  padding: var(--space-6) var(--space-6);
  backdrop-filter: blur(4px);
}

a.hero-pillar--link {
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

a.hero-pillar--link:hover {
  background: rgba(255,255,255,1);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.hero-pillar__icon {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}

.hero-pillar__icon svg {
  width: 100%;
  height: 100%;
}

.hero-pillar__icon--wide {
  width: 64px;
}

.hero-pillar__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-pillar__text strong {
  font-size: clamp(1.1rem, 0.85rem + 0.8vw, 1.45rem);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero-pillar__text span {
  font-size: clamp(0.95rem, 0.7rem + 0.6vw, 1.15rem);
  color: rgba(0,32,63,0.6);
  line-height: 1.4;
  white-space: nowrap;
  margin-top: 2px;
}

.hero__logo {
  width: clamp(320px, 45vw, 560px);
  height: auto;
  margin-bottom: var(--space-8);
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.3));
}

.hero__claim {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  max-width: none;
}

/* Hero buttons row */

.hero__cta-btn {
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Ghost CTA in hero */


@media (max-width: 768px) {
  .hero__logo {
    width: clamp(220px, 70vw, 360px);
    margin-bottom: var(--space-6);
  }
  
  .hero__claim {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }

  .hero__sub {
    font-size: var(--text-sm);
  }

  .hero__sub br {
    display: none;
  }

  .hero-pillars__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .hero-pillar-spacer {
    display: none;
  }

  .hero-pillar {
    padding: var(--space-3) var(--space-4);
    gap: var(--space-3);
  }

  .hero-pillar__icon {
    width: 44px;
    height: 44px;
  }

  .hero-pillar__zero {
    font-size: 44px !important;
    line-height: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
  }

  .hero-pillar__text strong {
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .hero-pillar__text span {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .hero__ctas {
    flex-direction: column;
    gap: var(--space-2);
    width: 100%;
    padding: 0;
  }

  .hero-cta-main {
    width: 100% !important;
  }

  .hero-pillars {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 0 4%;
    margin-top: var(--space-2);
    margin-bottom: var(--space-4);
  }

  .hero-pillars__inner {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    gap: var(--space-2);
  }

  .hero-pillar-spacer {
    display: none;
  }

  .hero-pillar {
    justify-content: flex-start;
    width: 100%;
  }

  .hero-pillar__text strong {
    font-size: 0.9rem;
  }

  .hero-pillar__text span {
    font-size: 0.78rem;
  }

  .hero {
    min-height: 100vh;
    padding-bottom: 0;
  }

  .hero__content--left {
    padding-bottom: 0;
    margin-top: 0;
    padding-top: calc(72px + var(--space-4));
    padding-left: 4%;
    padding-right: 4%;
    align-items: center;
    text-align: center;
    flex: 1;
    justify-content: flex-start;
  }

  .hero__ctas--left {
    margin-top: auto;
  }

  .hero__claim {
    text-align: center;
  }

  .hero__sub {
    text-align: center;
  }
}

/* ============================================
   SERVICES PAGE — EQUAL HEIGHT CARDS
   ============================================ */

.services__grid--equal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.service-card--equal {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--color-primary);
}

.service-card--equal.service-card--highlight {
  border: 2px solid var(--color-primary);
}

.service-card__header--equal {
  background: linear-gradient(135deg, var(--color-primary) 0%, #001850 100%);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  min-height: 260px;
  height: 260px;
  justify-content: center;
}

.service-card__icon-top {
  width: 100px;
  height: 100px;
}

.service-card__icon-top svg {
  width: 100%;
  height: 100%;
}

.service-card__header--equal .service-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-inverse);
  line-height: 1.2;
}

.service-card__inline-logo {
  height: 36px;
  width: auto;
  border-radius: var(--radius-sm);
  margin-top: var(--space-2);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.service-card__link:hover {
  color: var(--color-orange-hover);
}

.service-card__link--center {
  display: block;
  text-align: center;
}

@media (max-width: 900px) {
  .services__grid--equal {
    grid-template-columns: 1fr;
  }
  .service-card__header--equal {
    min-height: auto;
  }
}

/* ============================================
   RIMMO2RENT SECTION
   ============================================ */

.r2r {
  background: var(--color-bg);
  padding: var(--space-20) 0;
}

.section-label--accent {
  background: var(--color-accent) !important;
  color: #fff !important;
}

.section-label--orange-text {
  background: transparent !important;
  color: var(--color-accent) !important;
  border: none !important;
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0;
}

/* New RIMMO2Rent logo centered */
.r2r__logo-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-6);
}

.r2r__logo-main {
  height: clamp(4rem, 2.5rem + 5vw, 6.5rem);
  width: auto;
  object-fit: contain;
}


.section-desc--lg {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-primary);
}

.r2r__title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
  flex-wrap: nowrap;
}

.r2r__title-row .section-title {
  white-space: nowrap;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.r2r__title-logo {
  width: 180px;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: contain;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* Override: block title wrapping for long titles */
.r2r__block-title.r2r__block-title--wrap {
  white-space: normal;
  line-height: 1.3;
}

.r2r__intro {
  max-width: 100%;
  margin: 0 auto var(--space-10);
  text-align: center;
}

.r2r__intro p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: none;
  margin-inline: auto;
}

.r2r__block {
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  padding: var(--space-10) var(--space-8);
  margin-bottom: var(--space-8);
  border: 1px solid var(--color-border);
}

.r2r__block--alt {
  background: var(--color-bg);
}

.r2r__block-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  max-width: none;
  white-space: nowrap;
}

.r2r__block-lead {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: none;
}

.r2r__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.r2r__detail {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.r2r__detail-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-top: 2px;
}

.r2r__detail div {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
}

.r2r__detail strong {
  color: var(--color-primary);
  font-weight: 600;
}

.r2r__scope-list {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.r2r__scope-list li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.r2r__scope-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.r2r__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.r2r__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
}

.r2r__feature svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  margin-top: 2px;
}

.r2r__block-sublead {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  max-width: none;
}

.r2r__prose {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.r2r__prose p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  max-width: none;
}

.r2r__prose p:last-child {
  margin-bottom: 0;
}

.r2r__closing {
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(135deg, var(--color-primary) 0%, #001850 100%);
  border-radius: var(--radius-xl);
  width: 100%;
}

.r2r__closing p {
  font-size: clamp(0.85rem, 1.3vw, var(--text-base));
  font-weight: 500;
  color: #fff;
  line-height: 1.6;
  text-align: center;
  margin: 0;
  max-width: none;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.r2r__closing--intro {
  margin-top: 0;
  margin-bottom: var(--space-10);
}

.r2r__closing--intro p {
  white-space: normal;
  font-size: var(--text-base);
  line-height: 1.7;
}

.r2r__feature strong {
  color: var(--color-primary);
  font-weight: 600;
}

.r2r__cta {
  text-align: center;
  margin-top: var(--space-10);
}

@media (max-width: 900px) {
  .r2r__title-row {
    gap: var(--space-2);
  }
  .r2r__title-logo {
    width: 120px;
  }
  .r2r__block {
    padding: var(--space-6) var(--space-4);
  }
}

/* ============================================
   KATALOG R2R (katalog-r2r.html)
   ============================================ */

.katalog-section {
  padding: var(--space-16) 0;
}

.katalog-logo-box {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-10);
}

.katalog-logo {
  width: 560px;
  max-width: 100%;
  height: auto;
}

.katalog-info {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.katalog-info h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.katalog-info p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.katalog-download {
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

.katalog-download__note {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-4);
}

/* ============================================
   DEVELOPER LOGOS TICKER
   ============================================ */

.dev-ticker {
  padding: var(--space-10) 0 var(--space-12);
  background: #EBEEF3;
  overflow: hidden;
}

.dev-ticker__label {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(0,24,80,0.45);
  margin-bottom: var(--space-6);
  max-width: none;
  margin-inline: auto;
}

.dev-ticker__track {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.dev-ticker__slide {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.dev-ticker__logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  opacity: 0.35;
  transition: opacity var(--transition-fast);
  letter-spacing: -0.02em;
}

.dev-ticker__logo:hover {
  opacity: 0.7;
}

.dev-ticker__card {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: rgba(0, 24, 80, 0.09);        /* tekst-duch */
  white-space: nowrap;
  letter-spacing: 0.02em;
  background: transparent;
  border: 1px solid rgba(0, 24, 80, 0.06);  /* kontur-duch */
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-6);
  transition: all 0.3s ease;
  box-shadow: none;
}

.dev-ticker__card:hover {
  color: rgba(0, 24, 80, 0.45);
  border-color: rgba(0, 24, 80, 0.28);
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   BEZPIECZEŃSTWO SUBPAGE
   ============================================ */

.bezp-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bezp-list li {
  position: relative;
  padding-left: var(--space-8);
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.bezp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ============================================
   PROPERTY DETAIL PAGE
   ============================================ */

.detail-breadcrumb {
  padding: var(--space-4) 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  margin-top: calc(var(--header-h) + var(--topbar-h));
}

.detail-breadcrumb a {
  font-size: var(--text-sm);
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.detail-breadcrumb a:hover {
  color: var(--color-primary);
}

.detail {
  padding: var(--space-6) 0 var(--space-4);
}

.detail__loading,
.detail__error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  gap: var(--space-4);
  text-align: center;
  color: var(--color-text-muted);
}

.detail__error svg {
  color: var(--color-accent);
}

.detail__error h2 {
  color: var(--color-primary);
  font-size: var(--text-xl);
}

/* Top: Gallery + Info */
.detail__top {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-8);
  margin-bottom: 12px;
}

@media (max-width: 960px) {
  .detail__top {
    grid-template-columns: 1fr;
  }
}

/* Gallery */
.detail__gallery-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/2;
  background: var(--color-surface);
}

.detail__gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail__gallery-badges {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  display: flex;
  gap: var(--space-2);
}

.detail__badge {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail__badge--status {
  background: var(--color-primary);
  color: white;
}

.detail__badge--roi {
  background: var(--color-accent);
  color: white;
}

.detail__gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.detail__gallery-nav:hover {
  background: white;
}

.detail__gallery-nav--prev { left: var(--space-3); }
.detail__gallery-nav--next { right: var(--space-3); }

.detail__gallery-thumbs {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.detail__gallery-thumb {
  width: 80px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color 0.2s;
}

.detail__gallery-thumb.active {
  border-color: var(--color-accent);
}

.detail__gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info Sidebar */
.detail__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.detail__district {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}

.detail__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin: 0;
}

.detail__investment {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: var(--space-1) 0 0;
  max-width: none;
}

.detail__address {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  max-width: none;
}

/* Price Box */
.detail__price-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-5);
}

.detail__price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-2) 0;
}

.detail__price-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.detail__price-value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
}

.detail__price-value--main {
  font-size: var(--text-lg);
  font-weight: 700;
}

.detail__price-divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-2) 0;
}

.detail__price-row--total {
  padding-top: var(--space-3);
}

.detail__price-value--total {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
}

/* ROI Box */
.detail__roi-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  background: var(--color-primary);
  border-radius: 12px;
  padding: var(--space-4) var(--space-3);
  text-align: center;
}

.detail__roi-value {
  display: block;
  font-size: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  font-weight: 800;
  color: white;
  white-space: nowrap;
}

.detail__roi-item:first-child .detail__roi-value {
  color: var(--color-accent);
}

.detail__roi-label {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  margin-top: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* CTA Group */
.detail__cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.detail__cta-main {
  width: 100%;
  text-align: center;
}

.detail__cta-fav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.detail__cta-fav.active {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Sections */
.detail__section {
  margin-bottom: 8px;
}

.detail__section-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

/* Specs Grid */
.detail__specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-4);
}

.detail__specs-sidebar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.detail__specs-sidebar .detail__spec {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f5f7fa;
}
.detail__specs-sidebar .detail__spec-icon {
  width: 28px;
  height: 28px;
}
.detail__specs-sidebar .detail__spec-label {
  font-size: 10px;
}
.detail__specs-sidebar .detail__spec-value {
  font-size: 13px;
}

.detail__spec {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.detail__spec-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.detail__spec-icon svg {
  width: 100%;
  height: 100%;
}

.detail__spec-info {
  display: flex;
  flex-direction: column;
}

.detail__spec-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail__spec-value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
}

/* Floor Plan */
.detail__floorplan {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-6);
  text-align: center;
}

.detail__floorplan-svg {
  max-width: 600px;
  margin: 0 auto;
}

.detail__floorplan-svg svg {
  width: 100%;
  height: auto;
}

/* Description */
.detail__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: none;
}

/* Investment section */
.detail__section--investment {
  background: var(--color-surface);
  border-radius: 12px;
  padding: 16px 20px;
  border: 1px solid var(--color-border);
}

.detail__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.detail__amenity {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 500;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 120px;
}

/* Bottom CTA */
.detail__section--cta {
  margin-bottom: 0;
}

.detail__bottom-cta {
  background: var(--color-primary);
  border-radius: 16px;
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.detail__bottom-cta .btn {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.detail__bottom-cta h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: white;
  margin: 0 0 var(--space-2);
}

.detail__bottom-cta p {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  margin: 0;
  max-width: none;
}

@media (max-width: 700px) {
  .detail__bottom-cta {
    flex-direction: column;
    text-align: center;
    padding: var(--space-6);
  }

  .detail__specs {
    grid-template-columns: 1fr;
  }

  .detail__gallery-thumbs {
    overflow-x: auto;
  }
}

/* ============================================
   COST TABLE SECTION
   ============================================ */

.cost-table-section {
  background: #001850;
  border-radius: 16px;
  padding: var(--space-6) var(--space-6);
  margin: 8px 0;
}

.cost-table {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: 100%;
}

.cost-table__col {
  flex: 1;
  padding: var(--space-4) var(--space-4);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.cost-table__col:last-child {
  border-right: none;
}

.cost-table__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
  min-height: 2.4em;
  display: flex;
  align-items: flex-start;
}

.cost-table__value {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
}

.cost-table__value--highlight {
  color: #FE5C16;
  font-size: 24px;
}

.cost-table__sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
  min-height: 1.6em;
}

.cost-table__sub a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cost-table__sub a:hover {
  color: #FE5C16;
}

.cost-table-disclaimers {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.cost-table-disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .cost-table {
    flex-wrap: wrap;
  }
  .cost-table__col {
    flex: 1 1 calc(50% - var(--space-4));
    min-width: 140px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    padding: var(--space-4) var(--space-2);
  }
  .cost-table__col:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.10);
  }
  .cost-table__value {
    font-size: 17px;
  }
  .cost-table__value--highlight {
    font-size: 20px;
  }
}

@media (max-width: 520px) {
  .cost-table-section {
    padding: var(--space-5) var(--space-4);
    border-radius: 12px;
  }
  .cost-table__col {
    flex: 1 1 100%;
    border-right: none !important;
  }
}

/* ============================================
   TIMELINE (HARMONOGRAM) SECTION
   ============================================ */

.timeline-section {
  margin: 0;
  padding-bottom: 4px;
}

.timeline-section .detail__section-title {
  margin-bottom: var(--space-6);
}

.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  padding: var(--space-2) 0 0;
}

.timeline__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.timeline__connector {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  top: 11px; /* align with dot center */
  height: 2px;
  background: rgba(0, 24, 80, 0.18);
  margin: 0;
}

.timeline__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #001850;
  border: 3px solid #001850;
  box-shadow: 0 0 0 3px rgba(0, 24, 80, 0.15);
  flex-shrink: 0;
  z-index: 1;
  margin-bottom: var(--space-2);
}

.timeline__label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #001850;
  margin-bottom: 4px;
  line-height: 1.3;
  max-width: 120px;
}

.timeline__date {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
}

@media (max-width: 600px) {
  .timeline {
    flex-direction: column;
    align-items: flex-start;
    padding-left: var(--space-4);
    border-left: 2px solid rgba(0, 24, 80, 0.18);
    gap: var(--space-6);
  }
  .timeline__step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: var(--space-3);
  }
  .timeline__connector {
    display: none;
  }
  .timeline__dot {
    margin-bottom: 0;
    margin-top: 2px;
    flex-shrink: 0;
  }
  .timeline__label {
    max-width: none;
  }
}

/* ============================================
   AUTH MODAL
   ============================================ */

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 24, 80, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  padding: var(--space-4);
}

.auth-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.auth-modal {
  background: #fff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-8);
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.97);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-overlay.active .auth-modal {
  transform: translateY(0) scale(1);
}

.auth-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.auth-close:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: var(--space-6);
  border-bottom: 2px solid var(--color-border);
}

.auth-tab {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
}

.auth-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background var(--transition-fast);
}

.auth-tab.active {
  color: var(--color-navy);
}

.auth-tab.active::after {
  background: var(--color-accent);
}

.auth-field {
  margin-bottom: var(--space-4);
}

.auth-field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.auth-req {
  color: var(--color-accent);
}

.auth-field input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  box-sizing: border-box;
}

.auth-field input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(248, 88, 16, 0.12);
}

.auth-field input::placeholder {
  color: var(--color-text-faint);
}

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.auth-check input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.auth-error {
  color: #dc3545;
  font-size: 0.8rem;
  font-weight: 500;
  min-height: 1em;
  margin-bottom: var(--space-2);
}

.auth-submit {
  width: 100%;
  margin-top: var(--space-2);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-5) 0;
  color: var(--color-text-faint);
  font-size: var(--text-xs);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.auth-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: var(--space-3);
  border: 1.5px solid var(--color-border);
}

.auth-social--google {
  background: #fff;
  color: var(--color-text);
}

.auth-social--google:hover {
  background: #f8f9fa;
  border-color: #dadce0;
  box-shadow: var(--shadow-sm);
}

.auth-social--facebook {
  background: #1877F2;
  color: #fff;
  border-color: #1877F2;
}

.auth-social--facebook:hover {
  background: #166fe5;
}

.auth-switch {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

.auth-switch a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* ============================================
   TOAST
   ============================================ */

.rimmo-toast {
  position: fixed;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-navy);
  color: #fff;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 10001;
  opacity: 0;
  transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.rimmo-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   TOPBAR USER ICON
   ============================================ */

.topbar__user {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
  margin-right: var(--space-3);
}

.topbar__user:hover {
  color: var(--color-accent);
}

.topbar__user-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.topbar__actions {
  display: flex;
  align-items: center;
}

/* ============================================
   PANEL KLIENTA
   ============================================ */

.panel-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, #002a80 100%);
  color: #fff;
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0 clamp(var(--space-12), 6vw, var(--space-20));
  text-align: center;
}

.panel-hero__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.panel-hero__subtitle {
  font-size: var(--text-lg);
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto var(--space-8);
  line-height: 1.5;
}

.panel-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  max-width: 1100px;
  margin: 0 auto var(--space-10);
}

.panel-benefit {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: left;
}

.panel-benefit__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(248, 88, 16, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-accent);
}

.panel-benefit__title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.panel-benefit__desc {
  font-size: var(--text-sm);
  opacity: 0.75;
  line-height: 1.5;
}

.panel-cta-area {
  margin-top: var(--space-6);
}

.panel-cta-area .btn {
  margin: var(--space-2);
}

.panel-cta-note {
  font-size: var(--text-xs);
  opacity: 0.6;
  margin-top: var(--space-4);
}

@media (max-width: 900px) {
  .panel-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .panel-benefits {
    grid-template-columns: 1fr;
  }
}

/* Panel Klienta — Dashboard (logged in) */
.panel-dash {
  padding: clamp(var(--space-8), 5vw, var(--space-16)) 0;
}

.panel-dash__welcome {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: var(--space-8);
}

.panel-dash__section {
  margin-bottom: var(--space-10);
}

.panel-dash__section-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-border);
}

.panel-dash__empty {
  padding: var(--space-8);
  text-align: center;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
}

.panel-dash__empty a {
  color: var(--color-accent);
  font-weight: 600;
}

.panel-dash__placeholder {
  padding: var(--space-6);
  color: var(--color-text-faint);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  font-style: italic;
}

.panel-fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.panel-fav-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.panel-fav-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.panel-fav-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.panel-fav-card__body {
  padding: var(--space-4);
}

.panel-fav-card__title {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-navy);
  margin-bottom: var(--space-1);
}

.panel-fav-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.panel-fav-card__price {
  font-weight: 700;
  color: var(--color-accent);
  font-size: var(--text-base);
}

.panel-dash__logout {
  margin-top: var(--space-8);
}

.btn--danger {
  background: transparent;
  color: #dc3545;
  border-color: #dc3545;
}

.btn--danger:hover {
  background: #dc3545;
  color: #fff;
}

/* ============================================
   MORTGAGE CALCULATOR
   ============================================ */

.mortgage-calc {
  padding: clamp(var(--space-10), 5vw, var(--space-16)) 0;
}

.mortgage-calc__title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: var(--space-8);
}

.mortgage-calc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.mortgage-calc__inputs {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.mcalc-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mcalc-field__label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
}

.mcalc-field__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.mcalc-field__input-wrap input[type="text"],
.mcalc-field__input-wrap input[type="number"] {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  padding-right: 3rem;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}

.mcalc-field__input-wrap input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(248, 88, 16, 0.12);
}

.mcalc-field__suffix {
  position: absolute;
  right: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 600;
  pointer-events: none;
}

.mcalc-field__slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--color-surface-2);
  outline: none;
  margin-top: var(--space-2);
}

.mcalc-field__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.mcalc-field__slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.mcalc-quick {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.mcalc-quick__btn {
  padding: var(--space-1) var(--space-3);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mcalc-quick__btn:hover,
.mcalc-quick__btn.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* Mortgage Result */
.mortgage-calc__result {
  background: var(--color-navy);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: sticky;
  top: calc(var(--space-8) + 80px);
}

.mcalc-result__label {
  font-size: var(--text-sm);
  opacity: 0.7;
  margin-bottom: var(--space-2);
  font-weight: 500;
}

.mcalc-result__amount {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
  line-height: 1.1;
}

.mcalc-result__unit {
  font-size: var(--text-sm);
  opacity: 0.7;
  margin-bottom: var(--space-6);
}

.mcalc-result__details {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: var(--space-4);
  margin-bottom: var(--space-6);
}

.mcalc-result__row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
}

.mcalc-result__row span:first-child {
  opacity: 0.7;
}

.mcalc-result__row span:last-child {
  font-weight: 600;
}

.mcalc-result__note {
  font-size: 0.7rem;
  opacity: 0.5;
  line-height: 1.4;
  margin-top: var(--space-4);
}

.mcalc-result__cta {
  width: 100%;
  margin-top: var(--space-4);
}

@media (max-width: 800px) {
  .mortgage-calc__grid {
    grid-template-columns: 1fr;
  }
  .mortgage-calc__result {
    position: static;
  }
}

/* ============================================
   LEAD FORM (mieszkanie.html)
   ============================================ */

.lead-form-section {
  margin-top: var(--space-4);
}

.lead-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-4);
  overflow: hidden;
  box-sizing: border-box;
}

.lead-form__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
}

.lead-form__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  width: 100%;
  box-sizing: border-box;
}

.lead-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
  overflow: hidden;
}

.lead-form__field--full {
  grid-column: 1 / -1;
}

.lead-form__field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
}

.lead-form__field input,
.lead-form__field textarea {
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.lead-form__field input:focus,
.lead-form__field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(248, 88, 16, 0.12);
}

.lead-form__success {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
}

.lead-form__success.show {
  display: block;
}

@media (max-width: 600px) {
  .lead-form__fields {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MOBILE RESPONSIVE FIXES (375px+)
   ============================================ */

/* --- Global text overflow prevention --- */
@media (max-width: 480px) {
  body {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .container {
    padding-inline: var(--space-4);
  }

  /* --- Header / Topbar: ensure header sits below topbar --- */
  .header__inner {
    height: 60px;
  }

  .logo__img {
    height: 56px;
  }

  /* --- Page hero: account for topbar (38px) + header (60px) --- */
  .page-hero {
    padding-top: calc(60px + 38px + var(--space-6));
    min-height: 30vh;
  }

  /* --- Home hero: account for topbar + header --- */
  .hero {
    padding-top: calc(60px + 38px);
  }

  /* --- Panel Klienta hero --- */
  .panel-hero {
    padding-top: calc(60px + 38px + var(--space-8));
  }

  /* --- Hero pillar text: allow wrapping --- */
  .hero-pillar__text strong,
  .hero-pillar__text span {
    white-space: normal;
  }

  .hero-pillar__icon {
    width: 40px;
    height: 40px;
  }

  .hero-pillar__icon--wide {
    width: 48px;
  }

  /* --- Stats: prevent overflow on small screens --- */
  .about__stat-value {
    font-size: clamp(1.8rem, 1.2rem + 3vw, 2.5rem);
  }

  .about__stats {
    gap: var(--space-6) var(--space-4);
  }

  /* --- Club section (Partnerstwo): fix photo on mobile --- */
  .club-grid--photo {
    gap: var(--space-6);
  }

  .club-photo {
    position: relative;
    min-height: 200px;
  }

  .club-photo__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* --- Club logo: scale down for mobile --- */
  .club-logo-img {
    max-width: 100% !important;
  }

  /* --- Contact info: scale text for mobile --- */
  .contact-info__item a,
  .contact-info__item span {
    font-size: var(--text-lg);
  }

  .contact-info__item-icon {
    width: 44px;
    height: 44px;
  }

  /* --- Pillar expand/collapse button alignment --- */
  .pillar__expand {
    font-size: var(--text-sm);
  }

  /* --- Service cards on uslugi page --- */
  .services__grid--equal {
    grid-template-columns: 1fr;
  }

  /* --- R2R section text --- */
  .r2r-logo-img {
    max-width: 100%;
  }

  /* --- CTA box --- */
  .cta__box {
    padding: var(--space-6);
  }

  .cta__buttons {
    flex-direction: column;
    gap: var(--space-3);
  }

  .cta__buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* --- Footer links: stack vertically on very small screens --- */
  .footer__links {
    gap: var(--space-2);
  }

  /* --- Zero cost section big text --- */
  .zero-cost__big {
    font-size: var(--text-2xl);
  }

  /* --- Process timeline text --- */
  .process__card h3 {
    font-size: var(--text-base);
  }

  /* --- Why Warsaw cards --- */
  .why-warsaw__grid {
    grid-template-columns: 1fr;
  }

  /* --- Katalog logo --- */
  .katalog-logo {
    width: 100%;
  }

  /* --- Kalkulator inputs/form --- */
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Mobile nav offset fix --- */
@media (max-width: 900px) {
  body:has(.topbar) .header {
    top: 38px;
  }

  body:has(.topbar) .mobile-nav {
    top: calc(60px + 38px);
  }

  .mobile-nav {
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
  }
}


/* CHANGE 9: Fix Doradztwo service card text wrapping */
.service-card__list li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
  align-items: flex-start;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

/* CHANGE 10: Fix RIMMO2Rent block title wrapping */
.r2r__block-title--wrap {
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* CHANGE 11: Fix R2R blue frame text on mobile */
@media (max-width: 768px) {
  .r2r__block-title--wrap {
    font-size: clamp(1rem, 3.5vw, 1.25rem);
    white-space: normal;
    word-break: normal;
    line-height: 1.4;
  }
  .r2r__feature span {
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }
  .r2r__block {
    overflow-wrap: break-word;
    word-break: normal;
  }
  .r2r__closing p {
    word-break: normal;
    overflow-wrap: break-word;
  }
}


/* ============================================
   STICKY CTA BAR (MOBILE)
   ============================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: var(--space-3) var(--space-4);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-divider);
  box-shadow: 0 -4px 20px rgba(0,24,80,0.1);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.sticky-cta.visible {
  transform: translateY(0);
}
.sticky-cta__btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--color-orange);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-lg);
  letter-spacing: 0.01em;
  min-height: 48px;
  line-height: 1.3;
}
.sticky-cta__btn:hover,
.sticky-cta__btn:active {
  background: var(--color-orange-hover);
}
@media (min-width: 769px) {
  .sticky-cta { display: none !important; }
}
@media (max-width: 768px) {
  .sticky-cta { display: block; }
  /* Add bottom padding to body so footer isn't hidden behind sticky CTA */
  body { padding-bottom: 72px; }
}

/* ============================================
   PRODUCT INTRO (RIMMO2Rent)
   ============================================ */
.product-intro {
  background: #ffffff;
}
.product-intro__grid {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.product-intro__logo-wrap {
  flex: 0 0 22%;
  max-width: 22%;
}
.product-intro__content {
  flex: 1;
  padding-left: var(--space-8);
  display: flex;
}
.product-intro__content p {
  font-size: 20px;
  color: var(--color-text-muted);
  margin: 0;
  text-align: justify;
  line-height: 1.7;
}
.product-intro__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  font-size: var(--text-base);
  transition: gap var(--transition-fast);
}
.product-intro__cta:hover {
  gap: var(--space-3);
}
@media (max-width: 768px) {
  .product-intro__grid {
    flex-direction: column;
  }
  .product-intro__logo-wrap {
    flex: none;
    max-width: 250px;
    margin: 0 auto;
  }
  .product-intro__content {
    padding-left: 0;
    padding-top: var(--space-4);
  }
  .product-intro__content p {
    text-align: center;
  }
}

/* ============================================
   ABOUT RIMMO — KIM JESTEŚMY
   ============================================ */
.about-rimmo {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  text-align: justify;
}
.about-rimmo p {
  margin-bottom: 16px;
}
.about-rimmo p:last-child {
  margin-bottom: 0;
  color: var(--color-primary);
  text-align: justify;
}
.about-rimmo strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* ============================================
   UNIQUENESS SECTION
   ============================================ */
.uniqueness {
  background: linear-gradient(135deg, var(--color-navy) 0%, #002470 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.uniqueness::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(248,88,16,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.uniqueness__highlight {
  color: #FE5C16;
}
.uniqueness__layout {
  display: flex;
  align-items: stretch;
  gap: var(--space-8);
}
.uniqueness__logo-col {
  flex: 0 0 18%;
  max-width: 18%;
  display: flex;
  align-items: center;
}
.uniqueness__r2r-logo {
  width: 100%;
  height: auto;
  display: block;
}
.uniqueness__text-col {
  flex: 1;
  max-width: 100%;
  overflow: hidden;
}
.uniqueness__text-col h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.uniqueness__text-col p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  text-align: justify;
  margin-bottom: 0;
}
.uniqueness h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  position: relative;
}
.uniqueness p {
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: none;
  position: relative;
}
@media (max-width: 768px) {
  .uniqueness__layout {
    flex-direction: column;
    text-align: center;
  }
  .uniqueness__logo-col {
    flex: none;
    max-width: 200px;
    margin: 0 auto;
  }
  .uniqueness__text-col h2 {
    white-space: normal;
  }
  .uniqueness__text-col p {
    text-align: center;
  }
}

/* ============================================
   HERO CTA BUTTONS (new layout)
   ============================================ */
.hero__buttons {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}
.hero__claim-brand {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-3);
}
.hero__claim-sub {
  display: block;
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.95;
}
@media (max-width: 768px) {
  .hero__buttons {
    flex-direction: column;
    gap: var(--space-3);
  }
  .hero__buttons .btn,
  .hero__buttons .btn--ghost,
  .hero__buttons .hero__badge-zero {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.desktop-only { display: inline; }
@media (max-width: 768px) { .desktop-only { display: none; } }

.hero__badge-zero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  color: #ffffff;
  background: var(--color-accent);
  border: 2px solid #ffffff;
  border-radius: var(--radius-full);
  box-sizing: border-box;
  gap: 0.3em;
}

/* ============================================
   PILLARS SIMPLIFIED (no expand)
   ============================================ */
/* Card-style pillars */
.pillar.pillar--card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid #001850;
  border-top: 5px solid var(--color-accent);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.pillar--card:hover {
  box-shadow: 0 12px 32px rgba(0,24,80,0.12);
  transform: translateY(-4px);
}
.pillar__card-top {
  background: linear-gradient(135deg, #001850 0%, #002470 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-6);
}
.pillar__card-top svg {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.pillar__card-bottom {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}
.pillar--card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.pillar--card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
  flex: 1;
}
.pillar--card .pillar__link {
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  margin-top: auto;
  transition: gap 0.2s ease;
}
.pillar--card .pillar__link:hover {
  gap: var(--space-2);
}

/* Legacy simple pillars (keep for other pages) */
.pillar--simple {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
  text-align: center;
}
.pillar--simple:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pillar--simple .pillar__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
}
.pillar--simple h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.pillar--simple p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
  flex: 1;
}
.pillar--simple .pillar__link {
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: auto;
}
.pillar--simple .pillar__link:hover {
  text-decoration: underline;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: var(--color-bg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}
.stat-item {
  overflow: visible;
  min-width: 0;
}
.stat-item__value {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: var(--space-2);
  white-space: nowrap;
  overflow: visible;
}
.stat-item__value--orange {
  color: var(--color-accent);
}
.stat-item__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}

/* ============================================
   FOOTER CTA
   ============================================ */
.footer-cta {
  background: linear-gradient(135deg, var(--color-navy) 0%, #002470 100%);
  color: #ffffff;
  text-align: center;
}
.footer-cta h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}
.footer-cta p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-8);
  max-width: 50ch;
  margin-inline: auto;
}
.footer-cta__buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.footer-cta__main-btn {
  padding: 20px 48px;
  font-size: 18px;
  font-weight: 700;
  height: auto;
}
.footer-cta__uniform {
  padding: 18px 44px;
  font-size: 17px;
  font-weight: 600;
  height: auto;
  border-radius: var(--radius-full);
  min-width: 240px;
  text-align: center;
}
.footer-cta__trust {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-4);
  margin-bottom: 0;
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .footer-cta__buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-cta__buttons .btn,
  .footer-cta__buttons .btn--ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ============================================
   NAV RIMMO2RENT HIGHLIGHT
   ============================================ */
.nav__link--highlight {
  color: var(--color-accent) !important;
  font-weight: 700 !important;
}

/* ============================================
   USLUGI PAGE — HERO IMAGE VARIANT
   ============================================ */
.page-hero--image {
  background-size: cover;
  background-position: center;
  min-height: 55vh;
}
.page-hero--image::before {
  display: none;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,24,80,0.85) 0%, rgba(0,36,112,0.75) 100%);
  z-index: 1;
}

/* R2R logo in hero — white version */
.page-hero__r2r-logo {
  width: clamp(180px, 20vw, 250px);
  height: auto;
  margin: 0 auto var(--space-5);
  display: block;
}

/* R2R hero title — smaller */
.page-hero__title--r2r {
  font-size: 42px;
  max-width: 900px;
  margin-inline: auto;
  color: #ffffff;
}
@media (max-width: 768px) {
  .page-hero__title--r2r {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
}

/* ============================================
   RIMMO2RENT 6-CARD GRID
   ============================================ */
.r2r-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.r2r-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #001850;
  border-left: 4px solid #FE5C16;
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6) var(--space-6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.r2r-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,24,80,0.12);
}
.r2r-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.r2r-card__icon svg {
  width: 100%;
  height: 100%;
}
.r2r-card__num {
  position: absolute;
  top: var(--space-4);
  right: var(--space-5);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: #FE5C16;
  letter-spacing: -0.02em;
}
.r2r-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.r2r-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}
/* Accordion details */
.r2r-card__details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
  opacity: 0;
  margin-top: 0;
  text-align: left;
}
.r2r-card--open .r2r-card__details {
  max-height: 500px;
  opacity: 1;
  margin-top: var(--space-3);
}
.r2r-card__details p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-divider, #e2e5ea);
}
.r2r-card__details-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #FE5C16;
  text-decoration: none;
  margin-top: var(--space-2);
}
/* CTA buttons in card details are centered via wrapper div in HTML */
.r2r-card__details-link:hover {
  text-decoration: underline;
}
.r2r-card__toggle {
  background: none;
  border: none;
  padding: 0;
  margin-top: auto;
  padding-top: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #FE5C16;
  cursor: pointer;
  text-align: center;
  transition: gap 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  width: 100%;
  justify-content: center;
}
.r2r-card__toggle:hover {
  gap: var(--space-2);
}
.r2r-card--open .r2r-card__toggle {
  color: var(--color-primary);
}
@media (max-width: 900px) {
  .r2r-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .r2r-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   5 LAYERS (SHIELD) GRID — BEZPIECZENSTWO
   ============================================ */
.shield-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
}
.shield-card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-5) var(--space-5);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.shield-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.shield-card__num {
  position: absolute;
  top: var(--space-3);
  left: var(--space-4);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--color-accent);
  opacity: 0.2;
}
.shield-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  color: var(--color-primary);
}
.shield-card__icon svg {
  width: 100%;
  height: 100%;
}
.shield-card__title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.shield-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}
@media (max-width: 1024px) {
  .shield-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .shield-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .shield-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    text-align: left;
    padding: var(--space-5);
  }
  .shield-card__num {
    position: static;
    opacity: 0.3;
    font-size: var(--text-lg);
    line-height: 1;
  }
  .shield-card__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin: 0;
  }
}

/* ============================================
   ROI HIGHLIGHT — USLUGI
   ============================================ */
.roi-highlight {
  background: var(--color-bg);
  border: 1px solid rgba(0,24,80,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  text-align: center;
}
.roi-highlight__row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.roi-highlight__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.roi-highlight__value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}
.roi-highlight__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 240px;
}
.roi-highlight__plus {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  align-self: center;
  margin-top: 0;
}
@media (max-width: 600px) {
  .roi-highlight {
    padding: var(--space-6);
  }
  .roi-highlight__row {
    flex-direction: column;
    gap: var(--space-4);
  }
}

/* ============================================
   COST BOX — USLUGI
   ============================================ */
.cost-box {
  background: linear-gradient(135deg, #001850 0%, #002470 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  color: #ffffff;
}
.cost-box__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #FE5C16;
  margin-bottom: var(--space-4);
}
.cost-box__headline {
  font-size: var(--text-xl);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-4);
}
.cost-box__text {
  font-size: var(--text-base);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-inline: auto;
}
.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.cost-grid__cell {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}
.cost-grid__label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.cost-grid__value {
  font-size: 36px;
  font-weight: 800;
  color: #FE5C16;
  line-height: 1.1;
}
.cost-grid__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
}
@media (max-width: 600px) {
  .cost-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cost-grid__cell {
    padding: 24px 20px;
  }
  .cost-grid__value {
    font-size: 28px;
  }
}

/* ============================================
   RENTAL STEPS — OBSŁUGA NAJMU
   ============================================ */
.rental-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}
.rental-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-6) 0;
  border-bottom: 1px solid rgba(0,24,80,0.08);
}
.rental-step:last-child {
  border-bottom: none;
}
.rental-step__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2px;
}
.rental-step__content {
  flex: 1;
}
.rental-step__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}
.rental-step__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}
@media (max-width: 600px) {
  .rental-step {
    gap: var(--space-4);
    padding: var(--space-5) 0;
  }
  .rental-step__num {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }
}

/* Najem lead */
.najem-lead {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: var(--space-4);
}
.najem-lead:last-child {
  margin-bottom: 0;
}

/* Najem highlights (3 columns) */
.najem-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.najem-highlight {
  text-align: center;
}
.najem-highlight__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #001850 0%, #002470 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: #FE5C16;
}
.najem-highlight__text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.5;
}
@media (max-width: 600px) {
  .najem-highlights {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .najem-highlight {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    text-align: left;
  }
  .najem-highlight__icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    margin: 0;
  }
}

/* Najem advantages (2x2 grid) */
.najem-advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.najem-advantage {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-bg-alt, #f8f9fb);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,24,80,0.06);
}
.najem-advantage__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #001850 0%, #002470 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FE5C16;
}
.najem-advantage__text {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.5;
}
@media (max-width: 600px) {
  .najem-advantages {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .najem-advantage {
    padding: var(--space-5);
  }
}

/* ============================================
   INVEST STEPS — KROK PO KROKU (STRONA GŁÓWNA)
   ============================================ */
.invest-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 1000px;
  margin: 0 auto;
}
.invest-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.invest-step__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #001850 0%, #002470 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #FE5C16;
}
.invest-step__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}
.invest-step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .invest-steps {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .invest-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   PERSONA CARDS — DLA KOGO
   ============================================ */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.persona-card {
  background: var(--color-bg);
  border: 1px solid rgba(0,24,80,0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.persona-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.persona-card__icon {
  width: 56px;
  height: 56px;
  color: var(--color-accent);
  margin: 0 auto var(--space-4);
}
.persona-card__icon svg {
  width: 100%;
  height: 100%;
}
.persona-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.persona-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .persona-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PROCESS TIMELINE — TEXT VARIANT
   ============================================ */
.process__text {
  flex: 1;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-primary);
  padding-top: var(--space-4);
}

/* ============================================
   COMMUNITY TABS — PARTNERSTWO
   ============================================ */
.community-section {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}
.comm-tabs {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}
.comm-tab {
  appearance: none;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.comm-tab:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.comm-tab.active {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}
.comm-panel {
  display: none;
}
.comm-panel.active {
  display: block;
}

/* ============================================
   AMBASSADOR SECTION
   ============================================ */
.ambassador-content {
  max-width: 720px;
  margin: 0 auto;
}
.ambassador-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.ambassador-step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.ambassador-step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: var(--color-text-inverse);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
}
.ambassador-step strong {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}
.ambassador-step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================
   CONTACT FORM — REVISED (kontakt.html)
   ============================================ */
.contact-form__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.contact-form__group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-2);
}
.contact-form__group input,
.contact-form__group select,
.contact-form__group textarea {
  resize: vertical;
  min-height: 48px;
  width: 100%;
  font-size: 16px;
  font-family: var(--font-body);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition-fast);
}
.contact-form__group input:focus,
.contact-form__group select:focus,
.contact-form__group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(248,88,16,0.12);
}
.contact-form__group select {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  background: var(--color-bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%235a6278' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.contact-form__submit {
  width: 100%;
  min-height: 48px;
  margin-top: var(--space-4);
}
.contact-form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
  padding: var(--space-8) var(--space-4);
}
.contact-form__success p {
  font-size: var(--text-base);
  color: var(--color-primary);
  line-height: 1.6;
}
@media (min-width: 768px) {
  .contact-form__fields {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   BTN GHOST (for footer-cta phone link)
   ============================================ */
.btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-inverse);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  gap: var(--space-2);
  text-decoration: none;
  letter-spacing: 0.01em;
  min-height: 48px;
  font-family: var(--font-body);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--color-text);
  border-color: rgba(255,255,255,0.6);
}

/* ============================================
   QA FIXES
   ============================================ */

/* Fix ghost button contrast on hero */
.hero .btn--ghost {
  height: 52px;
  padding: 0 var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  color: #ffffff;
  background: rgba(0,24,80,0.35);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  backdrop-filter: blur(4px);
  border-color: rgba(255,255,255,0.6);
}
.hero .btn--ghost:hover {
  background: rgba(0,24,80,0.55);
  color: var(--color-primary);
  border-color: rgba(255,255,255,0.9);
}

/* Ensure footer has enough bottom margin on mobile for sticky CTA */
@media (max-width: 768px) {
  .footer {
    padding-bottom: calc(var(--space-8) + 72px);
  }
}

/* Product intro logo sizing */
.product-intro__logo {
  width: 100%;
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

/* ============================================
   7 PILLARS GRID — BEZPIECZENSTWO REDESIGN
   ============================================ */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.pillar-card {
  background: var(--color-bg);
  border: 1px solid #001850;
  border-radius: 12px;
  padding: var(--space-8);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pillar-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.pillar-card__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pillar-card__icon {
  color: var(--color-accent);
  flex-shrink: 0;
}

.pillar-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.pillar-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .pillar-card {
    padding: var(--space-6);
  }
}

/* ============================================
   INVESTOR CLUB — BENEFIT CARDS (SPOLECZNOSC)
   ============================================ */

.ic-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.ic-benefit-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-6);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.ic-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ic-benefit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-orange-light);
  color: var(--color-accent);
  margin: 0 auto var(--space-4);
}

.ic-benefit-card__title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.ic-benefit-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.ic-info-box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: #F5F7FA;
  border: 1px solid rgba(0,24,80,0.15);
  border-radius: 12px;
  padding: var(--space-6) var(--space-8);
  max-width: 720px;
  margin: 0 auto;
}

.ic-info-box svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.ic-info-box p {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .ic-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .ic-benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PROGRAM AMBASADOR — BADGE, INFO, CTAS
   ============================================ */

.ambassador-badge {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.ambassador-info-text {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-top: var(--space-8);
}

.ambassador-info-text svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.ambassador-info-text p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.ambassador-ctas {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

@media (max-width: 500px) {
  .ambassador-ctas {
    flex-direction: column;
  }
  .ambassador-ctas .btn {
    width: 100%;
    text-align: center;
  }
}

/* Mobile: stack investment example columns */
@media (max-width: 600px) {
  .uniqueness__layout {
    flex-direction: column;
    text-align: center;
  }
  .uniqueness__logo-col {
    flex: none;
    max-width: 180px;
    margin: 0 auto var(--space-4);
  }
  .uniqueness__text-col h2 {
    white-space: normal;
    font-size: var(--text-xl);
  }
}

/* ============================================
   STICKY CTA — MOBILE
   ============================================ */
.sticky-cta {
  display: none;
}
@media (max-width: 768px) {
  .sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0,24,80,0.08);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  }
  .sticky-cta__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: #FE5C16;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    border: none;
    cursor: pointer;
  }
  /* Add bottom padding to body so content isn't hidden behind sticky */
  body {
    padding-bottom: 72px;
  }
}

@media (max-width: 700px) {
  .cennik-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   MOBILE FIXES — dodatkowe poprawki
   ============================================ */

/* Sekcja cen katalog — 1fr 1fr → 1fr na mobile */
@media (max-width: 600px) {
  .r2r-price-grid,
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Liczby cenowe większe na mobile */
  [style*="font-size:var(--text-2xl)"] {
    font-size: clamp(2rem, 8vw, 3.5rem) !important;
  }
}

/* Sekcja Krzysztofa — flex kolumnowy na mobile */
@media (max-width: 640px) {
  .foder-section-flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .foder-section-flex p {
    text-align: left !important;
  }
  /* Statystyki — przewijalne lub 2 kolumny */
  .stats-flex {
    flex-wrap: wrap !important;
    gap: var(--space-6) !important;
    justify-content: center !important;
  }
  .stats-flex > div[style*="width:1px"] {
    display: none !important;
  }
  .stats-flex > div[style*="text-align:center"] {
    width: calc(50% - var(--space-4)) !important;
  }
}

/* Strzałki number input — zawsze widoczne */
input[type=number] {
  -moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  opacity: 1 !important;
  -webkit-appearance: inner-spin-button !important;
  cursor: pointer;
}

/* Suwak range — styl spójny */
input[type=range] {
  height: 4px;
  border-radius: 2px;
}


/* ===== KALKULATOR FINANSOWY - inv-calc styles ===== */
/* ── KALKULATOR FINANSOWY ── */
.inv-calc {
  background: #001850;
  border-radius: 16px;
  padding: 28px 32px 20px;
  color: #fff;
}

/* Przełącznik */
.inv-mode-switch {
  display: inline-flex;
  gap: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 9px;
  padding: 3px;
  margin-bottom: 20px;
}
.inv-mode-btn {
  padding: 7px 20px;
  font-weight: 700;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  background: transparent;
  color: rgba(255,255,255,0.45);
  transition: all 0.18s;
}
.inv-mode-btn.active {
  background: #F85810;
  color: #fff;
  box-shadow: 0 2px 10px rgba(248,88,16,0.45);
}

/* Suwaki */
.inv-slider-row { margin-bottom: 10px; }
.inv-slider-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}
.inv-slider-label strong, .inv-slider-label span {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.inv-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.inv-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(0,0,0,0.4);
}
.inv-slider::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
}

/* Pola kredytu */
.inv-kredyt-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 4px 0 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 600px) { .inv-kredyt-fields { grid-template-columns: 1fr; } }
.inv-field label {
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.07em;
  display: block; margin-bottom: 6px;
}
.inv-field input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  font-size: 14px; font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: rgba(255,255,255,0.07);
  box-sizing: border-box;
}

/* Wyniki ROI/ROE */
.inv-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 14px 0 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 600px) { .inv-results { grid-template-columns: 1fr 1fr; } }
.inv-result-card {
  padding: 18px 16px;
  text-align: center;
  background: rgba(255,255,255,0.04);
}
.inv-result-card.accent { background: rgba(255,255,255,0.04); }
.inv-result-value {
  font-size: 30px; font-weight: 800; color: #fff;
  line-height: 1; letter-spacing: -0.02em;
}
.inv-result-card.accent .inv-result-value { color: #F85810; }
.inv-result-label {
  font-size: 9px; color: rgba(255,255,255,0.35);
  margin-top: 5px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
}

/* Wykres */
.inv-chart-wrap {
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 14px 14px 10px;
  margin: 0 0 10px;
}
.inv-chart-title {
  font-size: 9px; font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.inv-chart-bars { display: flex; align-items: flex-end; gap: 4px; height: 160px; overflow: visible; }
.inv-chart-labels { display: flex; gap: 4px; margin-top: 5px; }
.inv-chart-legend { font-size: 10px; color: rgba(255,255,255,0.35); margin-top: 6px; text-align: center; }

/* Kalkulator podatkowy */
.inv-tax-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 8px 0 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
}
.inv-tax-card { padding: 14px 16px; text-align: center; background: rgba(255,255,255,0.04); }
.inv-tax-title { font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.35); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.inv-tax-value { font-size: 26px; font-weight: 800; color: #F85810; letter-spacing: -0.02em; }
.inv-tax-sub { font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 3px; }

/* Kalkulator kredytu */
.inv-mortgage {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 12px;
  padding-top: 14px;
}
.inv-mortgage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
  margin-top: 10px;
}
@media (max-width: 700px) { .inv-mortgage-grid { grid-template-columns: 1fr; } }
.inv-mortgage-result {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 20px;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.inv-mortgage-result__label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.09em; color: rgba(255,255,255,0.35); font-weight: 700; margin-bottom: 8px; }
.inv-mortgage-result__amount { font-size: 40px; font-weight: 800; color: #F85810; line-height: 1; letter-spacing: -0.02em; }
.inv-mortgage-result__unit { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 3px; margin-bottom: 14px; }
.inv-mortgage-result__rows { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 10px; margin-bottom: 14px; flex: 1; }
.inv-mortgage-result__row { display: flex; justify-content: space-between; font-size: 12px; padding: 4px 0; }
.inv-mortgage-result__row span:first-child { color: rgba(255,255,255,0.4); }
.inv-mortgage-result__row span:last-child { font-weight: 700; }
.inv-mortgage-result__note { font-size: 10px; color: rgba(255,255,255,0.2); margin-top: auto; padding-top: 8px; line-height: 1.4; }

/* Quick buttons */
.mcalc-quick { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.mcalc-quick__btn {
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  background: rgba(255,255,255,0.04);
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.4);
  cursor: pointer; font-family: inherit; transition: all 0.13s;
}
.mcalc-quick__btn:hover { color: #fff; background: rgba(255,255,255,0.09); }
.mcalc-quick__btn.active { background: #F85810; color: #fff; border-color: #F85810; box-shadow: 0 1px 6px rgba(248,88,16,0.4); }

/* Input z sufiksem */
.inv-input-wrap { position: relative; display: flex; align-items: center; }
.inv-input-wrap input {
  width: 100%;
  padding: 9px 34px 9px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  font-size: 14px; font-weight: 700;
  font-family: inherit; color: #fff;
  background: rgba(255,255,255,0.06);
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.inv-input-wrap input:focus { outline: none; border-color: rgba(255,255,255,0.35); }
.inv-input-suffix { position: absolute; right: 11px; font-size: 12px; color: rgba(255,255,255,0.3); font-weight: 600; pointer-events: none; }

/* Divider */
.inv-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 12px 0; }

/* ===================================================
   MOBILE FIXES – poprawki responsywności (390px)
   =================================================== */

@media (max-width: 640px) {

  /* inv-calc – mniejszy padding na małych ekranach */
  .inv-calc {
    padding: 20px 16px 16px;
    border-radius: 12px;
  }

  /* inv-mode-switch – pełna szerokość */
  .inv-mode-switch {
    display: flex;
    width: 100%;
  }
  .inv-mode-btn {
    flex: 1;
    text-align: center;
    padding: 7px 8px;
  }

  /* inv-results – 2 kolumny na mobile */
  .inv-results {
    grid-template-columns: 1fr 1fr;
  }

  /* inv-chart-bars – mniejsza wysokość */
  .inv-chart-bars {
    height: 110px;
  }

  /* calculator-formula__eq – mniejsza czcionka */
  .calculator-formula__eq {
    font-size: var(--text-base);
  }

  /* calculator-form padding */
  .calculator-form {
    padding: var(--space-5) !important;
  }

  /* calculator-examples padding */
  .calculator-examples {
    padding: var(--space-5) !important;
  }

  /* Sekcja hero – mniejsze cyfry CTA */
  .hero__title {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }

  /* stats-flex na mobile – 2 w rzędzie */
  .stats-flex > div:not([style*="width:1px"]) {
    min-width: 120px;
  }
  .stats-flex > div[style*="width:1px"] {
    display: none;
  }

  /* r2r-card CTA button pełna szerokość */
  .r2r-card .btn {
    width: 100%;
    text-align: center;
  }

  /* Zmniejsz padding kart */
  .r2r-card {
    padding: var(--space-5) var(--space-4) var(--space-4);
  }

  /* Container – mniejszy padding boczny */
  .container {
    padding-inline: var(--space-4);
  }

}
