/* =============================================
   ULTRADOM RADOM — Landing Page Styles
   Crowd Real Estate Brand Manual 2026
   ============================================= */

@font-face {
  font-family: 'Teodor';
  src: url('fonts/Teodor-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --jasna-pistacja:   #F0F4E6;
  --swieza-limonka:   #EAFFCC;
  --ciepły-blekit:    #B0CED1;
  --neutralny-turkus: #56878C;
  --gleboki-morski:   #0E5358;
  --ciemny-morski:    #263435;
  --naturalny-karmel: #B19A86;
  --gleboki-burgund:  #471125;
  --ciepla-zielen:    #7BA888;
  --risk-bar-h:       44px;
  --nav-h:            64px;
  --sticky-offset:    calc(var(--risk-bar-h) + var(--nav-h));
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--jasna-pistacja);
  color: var(--ciemny-morski);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .teodor {
  font-family: 'Teodor', Georgia, serif;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neutralny-turkus);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: currentColor; flex-shrink: 0; }

.section-title { font-size: clamp(34px, 4.2vw, 62px); line-height: 1.0; margin-bottom: 24px; }
.section-pad { padding: 100px 48px; }

.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.10s; }
.stagger-2 { transition-delay: 0.20s; }
.stagger-3 { transition-delay: 0.30s; }

/* =============================================
   01 — RISK BAR (sticky, above nav)
   ============================================= */
/* =============================================
   VERSION C OVERRIDES
   01: green risk bar
   02: pill/floating nav
   03: rounded buttons
   ============================================= */

/* 01 — green risk bar */
.risk-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  height: var(--risk-bar-h);
  background: var(--gleboki-morski);
  border-bottom: 1px solid rgba(234, 255, 204, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  font-size: 12px;
  color: #F0F4E6;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: center;
}

/* nav links, CTA, burger overrides below */
nav.scrolled {
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}

/* pill nav: push sticky offset down to account for gap */
:root {
  --nav-pill-top: calc(var(--risk-bar-h) + 10px + 56px + 10px);
}
body > section,
body > div { scroll-margin-top: var(--nav-pill-top); }

/* nav links lighter dots separator style like screenshot */
.nav-links { display: flex; align-items: center; list-style: none; flex: 1; gap: 0; justify-content: center; }
.nav-link {
  display: flex; align-items: center; gap: 0;
  padding: 6px 14px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: none;
  color: rgba(255,255,255,0.65);
  text-decoration: none; white-space: nowrap;
  transition: color 0.2s;
  position: relative;
}
.nav-link::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  margin-right: 10px;
}
.nav-link:first-child::before { display: none; }
.nav-link:hover, .nav-link.active { color: rgba(255,255,255,1); }
.nav-link--plain { opacity: 0.35; cursor: default; pointer-events: none; }

/* 03: rounded nav CTA */
.nav-cta {
  background: var(--swieza-limonka);
  color: #111;
  border: none;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center;
  transition: background 0.2s, transform 0.15s; line-height: 1; white-space: nowrap; flex-shrink: 0; margin-left: 12px;
  min-height: 38px;
}
.nav-cta:hover { background: #d4f5a0; transform: translateY(-1px); }
.nav-cta:active { transform: translateY(0); }

/* burger stays white */
.nav-burger span { background: rgba(255,255,255,0.8); }

/* mobile open menu: black pill expands down */
@media (max-width: 960px) {
  nav {
    top: var(--risk-bar-h);
    left: 0;
    right: 0;
    max-width: none;
    margin: 0;
    padding: 0 16px;
    border-radius: 0;
    height: 56px;
    border-left: none;
    border-right: none;
    border-top: none;
    background: #111111;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-links.open {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    margin-top: 0;
    background: #111111;
    border-radius: 0;
    padding: 12px 20px 20px;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    gap: 2px; z-index: 350;
  }
  /* inside open menu: hide the dot separators */
  .nav-link::before { display: none; }
  .nav-cta { padding: 10px 16px; font-size: 11px; min-height: 38px; }
}

/* 03: rounded hero CTA */
.hero-cta-btn {
  display: inline-block; text-align: center;
  background: var(--swieza-limonka);
  color: var(--ciemny-morski);
  padding: 20px 48px;
  border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; line-height: 1.2;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  white-space: nowrap;
}
.hero-cta-btn:hover { background: #d4f5a0; transform: translateY(-3px); box-shadow: 0 20px 60px rgba(0,0,0,0.35); }

/* 03: rounded form submit */
.form-submit {
  width: 100%; padding: 18px;
  background: var(--gleboki-morski); color: var(--swieza-limonka);
  border: none; border-radius: 999px;
  font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  cursor: pointer; margin-top: 12px;
  transition: background 0.2s, transform 0.15s; min-height: 54px;
}
.form-submit:hover { background: var(--ciemny-morski); transform: translateY(-1px); }

/* =============================================
   01 — NAVIGATION (fixed, pill style)
   ============================================= */
nav {
  position: fixed;
  top: calc(var(--risk-bar-h) + 20px);
  left: 32px; right: 32px;
  z-index: 200;
  height: 68px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
  background: #111111;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transition: box-shadow 0.3s;
}

.nav-logo-link { display: flex; align-items: center; flex-shrink: 0; margin-right: 32px; text-decoration: none; }
.nav-logo { height: 24px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; list-style: none; flex: 1; gap: 2px; justify-content: center; }
.nav-link {
  display: block; padding: 6px 13px;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(240, 244, 230, 0.82); /* 01: lighter — matches hero headings */
  text-decoration: none; white-space: nowrap;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--swieza-limonka); }
.nav-link--plain { opacity: 0.4; cursor: default; pointer-events: none; }

/* 01: equal top/bottom padding on CTA */
.nav-cta {
  background: var(--swieza-limonka);
  color: var(--ciemny-morski);
  border: none;
  padding: 13px 24px; /* equal top/bottom */
  font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center;
  transition: background 0.2s, transform 0.15s; line-height: 1; white-space: nowrap; flex-shrink: 0; margin-left: 16px;
  min-height: 44px;
}
.nav-cta:hover { background: #d4f5a0; transform: translateY(-1px); }
.nav-cta:active { transform: translateY(0); }

.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; flex-shrink: 0; margin-left: 16px;
  min-width: 44px; min-height: 44px; align-items: center;
}
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--swieza-limonka); transition: transform 0.25s, opacity 0.25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* page content pushed down by risk-bar + nav */
body > section, body > div { scroll-margin-top: var(--sticky-offset); }

/* =============================================
   02 — HERO: full-bleed photo + green tint; centred content + CTA below
   ============================================= */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: var(--sticky-offset);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(14, 83, 88, 0.72);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; display: flex; align-items: center; justify-content: center;
}
/* centred single column */
.hero-content {
  padding: 32px 48px 80px;
  max-width: 780px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 76px);
  color: var(--jasna-pistacja);
  line-height: 1.0;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 17px; line-height: 1.45;
  color: var(--jasna-pistacja);
  max-width: 560px;
  margin-bottom: 44px;
}
/* CTA button directly below sub, centred */
.hero-cta-btn {
  display: inline-block; text-align: center;
  background: var(--swieza-limonka);
  color: var(--ciemny-morski);
  padding: 20px 48px;
  font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; line-height: 1.2;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  white-space: nowrap;
}
.hero-cta-btn:hover { background: #d4f5a0; transform: translateY(-3px); box-shadow: 0 20px 60px rgba(0,0,0,0.35); }

/* =============================================
   04 — NUMBERS (6-column expanded)
   ============================================= */
.numbers-section { background: var(--gleboki-morski); padding: 72px 48px; }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(176,206,209,0.11);
  border: 1px solid rgba(176,206,209,0.11);
}
/* 2×4 layout for 8 cards */
.numbers-grid--8 {
  grid-template-columns: repeat(4, 1fr);
}
.number-card { background: var(--gleboki-morski); padding: 40px 28px; position: relative; overflow: hidden; }
.number-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--swieza-limonka); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.number-card:hover::after { transform: scaleX(1); }
.number-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(176,206,209,0.44); margin-bottom: 14px; line-height: 1.4; }
.number-val { font-family: 'Teodor', Georgia, serif; font-size: clamp(20px, 2vw, 34px); color: var(--swieza-limonka); line-height: 1; margin-bottom: 10px; }
.number-desc { font-size: 12px; color: rgba(240,244,230,0.36); line-height: 1.5; }

/* =============================================
   05 — CALCULATOR (centred)
   ============================================= */
.calc-section { background: var(--ciemny-morski); }
.calc-inner { max-width: 860px; margin: 0 auto; }
.calc-section .section-label { color: rgba(176,206,209,0.4); justify-content: center; }
.calc-section .section-label::before { display: none; }
.calc-section .section-title { color: var(--jasna-pistacja); text-align: center; }
.calc-intro { font-size: 16px; line-height: 1.7; color: rgba(240,244,230,0.5); margin-top: -12px; margin-bottom: 48px; text-align: center; }

.calc-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(176,206,209,0.12);
  padding: 48px;
  border-radius: 2px;
}
.calc-slider-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.calc-slider-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #e7fec9; }
.calc-amount-display { font-family: 'Teodor', Georgia, serif; font-size: 32px; color: var(--swieza-limonka); }

.calc-slider-wrap { position: relative; margin-bottom: 10px; }
.calc-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  background: rgba(176,206,209,0.15);
  outline: none; cursor: pointer; border-radius: 2px;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--swieza-limonka); cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.15s;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.calc-slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; border: none;
  background: var(--swieza-limonka); cursor: pointer;
}

.calc-slider-hints { display: flex; justify-content: space-between; font-size: 13px; color: #eef2e3; margin-bottom: 44px; }

.calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(176,206,209,0.1); margin-bottom: 28px; }
.calc-result-box { background: rgba(14,83,88,1); padding: 28px 24px; text-align: center; }
.calc-result-box--accent { background: rgba(14,83,88,1); }
.calc-result-label { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(176,206,209,0.6); margin-bottom: 12px; }
.calc-result-val { font-family: 'Teodor', Georgia, serif; font-size: clamp(26px, 3vw, 42px); color: var(--swieza-limonka); line-height: 1; margin-bottom: 6px; transition: all 0.3s ease; }
.calc-result-sub { font-size: 13px; color: rgba(176,206,209,0.5); }

.calc-tier-info { font-size: 13px; color: rgba(176,206,209,0.55); line-height: 1.6; padding: 16px 0 0; border-top: 1px solid rgba(176,206,209,0.1); }
.calc-tier-info strong { color: var(--swieza-limonka); }

.calc-disclaimer { font-size: 13px; color: rgba(176,206,209,0.28); line-height: 1.65; margin-top: 28px; }

/* =============================================
   06 — ABOUT SECTION
   ============================================= */
.about-section { background: var(--jasna-pistacja); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about-text { font-size: 16px; line-height: 1.75; color: rgba(38,52,53,0.68); }
.about-text p { margin-bottom: 14px; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--gleboki-morski); font-weight: 600; }
.about-subsection-title { font-family: 'Teodor', Georgia, serif; font-size: 22px; color: var(--gleboki-morski); margin-bottom: 8px; }

/* Trust Investment — full width below the two-column grid */
.about-trust {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(38,52,53,0.1);
}
.about-trust .about-subsection-title { margin-bottom: 20px; }
.about-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 48px;
  font-size: 16px;
  line-height: 1.72;
  color: rgba(38,52,53,0.68);
}
.about-trust-grid p { margin: 0; }
.about-trust-grid strong { color: var(--gleboki-morski); font-weight: 600; }

/* progress block on right side of about */
.about-progress {
  background: var(--gleboki-morski);
  padding: 40px;
  color: var(--jasna-pistacja);
}
.about-progress-title {
  font-family: 'Teodor', Georgia, serif; font-size: 24px; color: var(--jasna-pistacja);
  line-height: 1.2; margin-bottom: 36px;
}
.about-progress-title span { font-size: 14px; opacity: 0.5; font-family: inherit; }
.about-progress-stat { margin-bottom: 28px; }
.about-progress-num { font-family: 'Teodor', Georgia, serif; font-size: 42px; color: var(--swieza-limonka); line-height: 1; }
.about-progress-num span { font-size: 20px; opacity: 0.6; }
.about-progress-lbl { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(176,206,209,0.45); margin-top: 6px; }
.about-progress-pct { font-size: 12px; color: rgba(176,206,209,0.4); margin-top: 6px; text-align: right; }
.about-progress-divider { height: 1px; background: rgba(176,206,209,0.12); margin: 28px 0; }
.about-progress-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(176,206,209,0.08); }
.about-progress-row:last-child { border-bottom: none; }
.about-progress-row-label { font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(176,206,209,0.4); }
.about-progress-row-val { font-size: 14px; color: var(--jasna-pistacja); font-weight: 500; }

/* progress bars shared */
.progress-bar { height: 5px; background: rgba(176,206,209,0.15); overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--swieza-limonka); transition: width 1.4s cubic-bezier(0.4,0,0.2,1); }
.progress-fill.green { background: var(--ciepla-zielen); }
.progress-fill.teal  { background: var(--neutralny-turkus); }

/* =============================================
   07 — MEDIA SECTION (video + gallery on pistachio bg)
   ============================================= */
.media-section { background: var(--jasna-pistacja); padding-bottom: 80px; }
.media-section .section-label { color: var(--neutralny-turkus); }
.media-section .section-title { color: var(--ciemny-morski); }

.media-video-wrap { padding: 0 48px; }
.video-wrap { max-width: 880px; margin: 0 auto; aspect-ratio: 16/9; overflow: hidden; box-shadow: 0 40px 80px rgba(38,52,53,0.2); }
.video-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

.gallery-sub-title { font-family: 'Teodor', Georgia, serif; font-size: clamp(24px, 3vw, 40px); font-weight: 400; line-height: 1; letter-spacing: -0.01em; }

.gallery-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.gallery-nav { display: flex; gap: 10px; flex-shrink: 0; padding-bottom: 4px; }
.gallery-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(38,52,53,0.2); background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--ciemny-morski);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.gallery-btn svg { width: 18px; height: 18px; display: block; }
.gallery-btn:hover { background: var(--gleboki-morski); border-color: var(--gleboki-morski); color: var(--swieza-limonka); }

.gallery-scroll {
  display: flex; gap: 12px; padding: 0 48px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -ms-overflow-style: none; scrollbar-width: none; cursor: grab;
}
.gallery-scroll:active { cursor: grabbing; }
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-item { flex-shrink: 0; width: clamp(280px, 36vw, 520px); height: clamp(200px, 26vw, 380px); overflow: hidden; scroll-snap-align: start; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s ease; pointer-events: none; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; padding: 0 48px; }
.gallery-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(38,52,53,0.18); cursor: pointer; border: none; transition: background 0.2s, transform 0.2s; }
.gallery-dot.active { background: var(--gleboki-morski); transform: scale(1.4); }

/* =============================================
   BENEFITS
   ============================================= */
.benefits-section { background: var(--gleboki-morski); padding: 100px 48px; }
.benefits-section .section-label { color: rgba(176,206,209,0.38); }
.benefits-section .section-title { color: var(--jasna-pistacja); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 56px; background: rgba(176,206,209,0.07); }
.benefit-card { background: var(--gleboki-morski); padding: 44px 32px; transition: background 0.3s; }
.benefit-card:hover { background: rgba(10,62,67,0.9); }
.benefit-icon-img { width: 52px; height: 52px; display: block; margin-bottom: 22px; filter: invert(1) brightness(1.8); opacity: 0.8; }
.benefit-title { font-family: 'Teodor', Georgia, serif; font-size: 20px; color: var(--jasna-pistacja); margin-bottom: 12px; line-height: 1.25; }
.benefit-desc { font-size: 14px; line-height: 1.72; color: rgba(176,206,209,0.46); }

/* =============================================
   TIMELINE
   ============================================= */
.timeline-section { background: var(--gleboki-burgund); padding: 100px 48px; }
.timeline-section .section-title { color: var(--jasna-pistacja); }
.timeline-section .section-label { color: rgba(176,206,209,0.45); }
.timeline-section .section-label::before { background: rgba(176,206,209,0.3); }
.timeline { display: flex; gap: 0; margin-top: 60px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: rgba(234,255,204,0.18); }
.timeline-item { flex: 1; padding-top: 56px; position: relative; padding-right: 24px; }
.timeline-dot { position: absolute; top: 14px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 2.5px solid var(--gleboki-burgund); box-shadow: 0 0 0 3px rgba(234,255,204,0.15); }
.timeline-item.active .timeline-dot { background: var(--swieza-limonka); box-shadow: 0 0 0 5px rgba(234,255,204,0.22); }
.timeline-date { font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; color: rgba(176,206,209,0.55); margin-bottom: 10px; }
.timeline-event { font-family: 'Teodor', Georgia, serif; font-size: 20px; color: var(--jasna-pistacja); line-height: 1.2; max-width: 160px; }

/* =============================================
   FORM SECTION
   ============================================= */
.form-section { background: var(--ciemny-morski); padding: 120px 48px; position: relative; overflow: hidden; }
.form-section::before { content: 'CROWD'; position: absolute; top: -60px; right: -20px; font-family: 'Teodor', Georgia, serif; font-size: 260px; color: rgba(255,255,255,0.018); line-height: 1; pointer-events: none; user-select: none; white-space: nowrap; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.form-left .section-title { color: var(--jasna-pistacja); margin-bottom: 20px; }
.form-left .section-label { color: rgba(176,206,209,0.36); }
.form-desc { font-size: 16px; line-height: 1.72; color: rgba(240,244,230,0.44); margin-top: 24px; }
.form-kpi { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid rgba(176,206,209,0.10); padding-top: 40px; }
.form-kpi-val { font-family: 'Teodor', Georgia, serif; font-size: 28px; color: var(--swieza-limonka); line-height: 1; }
.form-kpi-label { font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; color: #eef2e3; margin-top: 8px; }
.form-card { background: var(--jasna-pistacja); padding: 48px; }
.form-card-title { font-family: 'Teodor', Georgia, serif; font-size: 28px; color: var(--gleboki-morski); margin-bottom: 24px; line-height: 1.1; }
/* form-card-sub removed — not used */
.form-input { width: 100%; padding: 15px 18px; font-size: 15px; font-family: inherit; border: 1.5px solid rgba(38,52,53,0.16); background: #fff; color: var(--ciemny-morski); outline: none; border-radius: 0; transition: border-color 0.2s; margin-bottom: 20px; display: block; }
.form-input:focus { border-color: var(--gleboki-morski); }
.form-input::placeholder { color: rgba(38,52,53,0.30); }
.form-input.error { border-color: #b94040; margin-bottom: 4px; }
.err-msg { font-size: 12px; color: #b94040; margin-bottom: 14px; display: none; line-height: 1.4; }
.err-msg.visible { display: block; }
/* unified consent checkboxes */
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.checkbox-group input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; accent-color: var(--gleboki-morski); cursor: pointer; }
.checkbox-label { font-size: 12px; line-height: 1.5; color: rgba(38,52,53,0.60); cursor: pointer; }
.checkbox-label a { color: var(--gleboki-morski); text-decoration: underline; }
.form-legal { font-size: 11px; line-height: 1.55; color: rgba(38,52,53,0.40); margin-bottom: 8px; }
/* 01: bigger submit button */
.form-submit { width: 100%; padding: 18px; background: var(--gleboki-morski); color: var(--swieza-limonka); border: none; font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; cursor: pointer; margin-top: 12px; transition: background 0.2s, transform 0.15s; min-height: 54px; }
.form-submit:hover { background: var(--ciemny-morski); transform: translateY(-1px); }
.form-success { display: none; text-align: center; padding: 40px 16px; }
.form-success.visible { display: block; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--gleboki-morski); color: var(--swieza-limonka); font-size: 22px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success-title { font-family: 'Teodor', Georgia, serif; font-size: 26px; color: var(--gleboki-morski); margin-bottom: 10px; }
.success-desc { font-size: 14px; color: rgba(38,52,53,0.5); line-height: 1.62; }

/* =============================================
   FOOTER — new design
   ============================================= */
footer { background: #0b2425; color: var(--swieza-limonka); }

/* top: big tagline — no wrap, logo below */
.footer-top {
  padding: 72px 48px 48px;
}
.footer-top-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer-tagline-big {
  font-family: 'Teodor', Georgia, serif;
  font-size: clamp(42px, 6.5vw, 96px);
  font-weight: 400;
  color: var(--swieza-limonka);
  line-height: 1.0;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
/* 02: smaller logo */
.footer-logo-top { height: 18px; width: auto; display: block; opacity: 0.95; }

/* middle: 3 columns */
.footer-mid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding: 48px 48px 56px;
  border-bottom: 1px solid rgba(234,255,204,0.08);
}

/* 03: all labels lime */
.footer-col-title {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(234,255,204,0.4); margin-bottom: 20px;
}

/* risk column — 03: lime text */
.footer-risk-text {
  font-size: 12px; line-height: 1.65;
  color: rgba(234,255,204,0.38);
}

/* contact column — 03: lime */
.footer-address {
  font-size: 26px; font-family: 'Teodor', Georgia, serif; font-weight: 400;
  color: var(--swieza-limonka); line-height: 1.2; margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.footer-phone {
  display: block; font-size: 26px; font-family: 'Teodor', Georgia, serif; font-weight: 400;
  color: var(--swieza-limonka); text-decoration: none; line-height: 1.2;
  letter-spacing: -0.01em; transition: opacity 0.2s;
}
.footer-phone:hover { opacity: 0.7; }

/* 03: social icons lime */
.footer-socials { display: flex; gap: 12px; margin-top: 8px; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(234,255,204,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--swieza-limonka); text-decoration: none;
  transition: background 0.2s;
}
.footer-socials a:hover { background: rgba(234,255,204,0.22); }
.footer-socials svg { width: 18px; height: 18px; display: block; }

/* nav column — 03: lime links */
.footer-nav-col { display: flex; flex-direction: column; }
.footer-nav-col a {
  font-size: 15px; color: rgba(234,255,204,0.6); text-decoration: none;
  margin-bottom: 12px; transition: color 0.2s; line-height: 1.3;
}
.footer-nav-col a:hover { color: var(--swieza-limonka); }

/* bottom bar — 03: lime */
.footer-bottom {
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.footer-copy-left  { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(234,255,204,0.25); }
.footer-copy-mid   { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(234,255,204,0.25); }
.footer-copy-right { font-size: 11px; color: rgba(234,255,204,0.25); white-space: nowrap; }

/* responsive footer */
@media (max-width: 1100px) {
  .footer-tagline-big { white-space: normal; }
  .footer-mid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-risk-col { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .footer-top { padding: 48px 24px 36px; }
  .footer-mid { grid-template-columns: 1fr; gap: 36px; padding: 40px 24px; }
  .footer-risk-col { grid-column: auto; }
  .footer-address, .footer-phone { font-size: 20px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 8px; text-align: center; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
  .numbers-grid { grid-template-columns: repeat(3, 1fr); }
  .numbers-grid--8 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-cta-col { flex: 0 0 35%; }
}

@media (max-width: 960px) {
  nav { padding: 0 16px; }
  .nav-logo-link { margin-right: 0; }
  .nav-logo { height: 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed;
    left: 0; right: 0;
    background: #111111;
    padding: 12px 20px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 2px; z-index: 450;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .nav-burger { display: flex; margin-left: 12px; }
  .nav-cta { padding: 10px 14px; font-size: 10.5px; letter-spacing: 0.07em; margin-left: 12px; min-height: 40px; }
}

@media (max-width: 860px) {
  :root { --risk-bar-h: auto; }

  /* site-header: fixed at top, full width, black — always visible */
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0; right: 0;
    z-index: 400;
    width: 100%;
  }

  /* risk-bar flows inside fixed wrapper */
  .risk-bar {
    position: static !important;
    height: auto; min-height: 44px; padding: 8px 16px;
    font-size: 10px; line-height: 1.35;
    background: var(--gleboki-morski);
    z-index: auto;
  }

  /* nav flows inside fixed wrapper */
  nav {
    position: static !important;
    top: auto !important; left: auto !important; right: auto !important;
    transform: none !important;
    border-radius: 1px !important;
    max-width: none; margin: 0; width: 100%;
    height: 56px;
    background: #111111 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    box-shadow: none !important;
    padding: 0 16px;
  }

  /* hero: no extra padding — JS sets body padding-top to match header height */
  .hero { padding-top: 0 !important; }

  .nav-logo { height: 18px; }
  .section-pad { padding: 72px 24px; }
  .hero-content { padding: 20px 20px 56px; }
  .hero-cta-btn { width: 100%; text-align: center; padding: 18px 24px; font-size: 14px; }
  .hero h1 { margin-bottom: 20px; }
  .hero-sub { font-size: 16px; margin-bottom: 36px; }
  .numbers-section { padding: 56px 24px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-box { padding: 28px 20px; }
  .calc-results { grid-template-columns: 1fr; }
  .media-video-wrap { padding: 0 24px; }
  .gallery-header { padding: 0 24px 36px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .gallery-scroll { padding: 0 24px; }
  .gallery-dots { padding: 0 24px; }
  .benefits-section { padding: 72px 24px; }
  .timeline-section { padding: 72px 24px; }
  .timeline { flex-direction: column; gap: 28px; }
  .timeline::before { display: none; }
  .timeline-item { padding-top: 0; padding-left: 36px; }
  .timeline-dot { top: 2px; }
  .timeline-event { max-width: 100%; }
  .form-section { padding: 80px 24px; }
  .form-card { padding: 28px; }
  footer { padding: 48px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-legal { max-width: 100%; }
}

@media (max-width: 600px) {
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .numbers-grid--8 { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .form-kpi { grid-template-columns: 1fr 1fr; }
  .about-progress { padding: 28px 20px; }
  .about-trust-grid { grid-template-columns: 1fr; }
}

/* =============================================
   AKII BLOCK
   ============================================= */
.akii-block {
  background: var(--gleboki-morski);
  padding: 72px 48px;
  text-align: center;
}
.akii-inner { max-width: 640px; margin: 0 auto; }
.akii-title {
  font-family: 'Teodor', Georgia, serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 400;
  color: var(--jasna-pistacja);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.akii-text {
  font-size: 16px; line-height: 1.65;
  color: rgba(240,244,230,0.6);
  margin-bottom: 32px;
}
.akii-btn {
  display: inline-block;
  background: transparent;
  color: var(--swieza-limonka);
  border: 1.5px solid rgba(234,255,204,0.45);
  padding: 13px 36px;
  border-radius: 999px;
  font-family: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  cursor: not-allowed; opacity: 0.6;
}
.akii-btn:hover { background: rgba(234,255,204,0.07); border-color: var(--swieza-limonka); }
@media (max-width: 860px) { .akii-block { padding: 48px 24px; } }
