/* ===================================================
   CERTONIA GROUP — Premium Corporate Website CSS
   =================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,600&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* -------- CSS Variables -------- */
:root {
  --bg:        #0d0f18;
  --bg-card:   #111420;
  --bg-dark:   #0a0c12;
  --gold:      #C9A84C;
  --gold-dim:  rgba(201,168,76,0.15);
  --gold-border: rgba(201,168,76,0.3);
  --border:    rgba(255,255,255,0.08);
  --white:     #ffffff;
  --muted:     rgba(255,255,255,0.6);
  --muted-2:   rgba(255,255,255,0.4);
  --muted-3:   rgba(255,255,255,0.2);
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Manrope', sans-serif;
  --container: 1536px;
  --pad:       2rem;
  --transition: 0.3s ease;
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.04;
}

/* -------- Container -------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* -------- Typography -------- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}
.display-heading {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
}
.gold-line {
  width: 3rem;
  height: 1px;
  background: var(--gold);
  margin-top: 1.5rem;
}

/* -------- Scroll Reveal -------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =========================================
   NAVBAR
   ========================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.5s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(8,10,16,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom-color: rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  z-index: 1001;
}
.nav-logo img {
  height: 2.25rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.nav-est {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-cta {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  transition: background var(--transition), color var(--transition);
}
.nav-cta:hover { background: var(--gold); color: var(--bg); }
.nav-desktop { display: flex; align-items: center; gap: 2.5rem; }
/* Mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,10,16,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-mobile-overlay.visible { opacity: 1; }
.nav-mobile-overlay a {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
}
.nav-mobile-overlay a:hover { color: var(--gold); }
.nav-mobile-overlay .nav-cta { margin-top: 1rem; padding: 0.75rem 2rem; font-size: 0.875rem; }

/* =========================================
   HERO
   ========================================= */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay-1 {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.5), transparent);
}
.hero-overlay-2 {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg), transparent 40%);
}
.hero-counter {
  position: absolute;
  top: 2rem; right: 2rem;
  z-index: 10;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}
.hero-scroll-indicator {
  position: absolute;
  right: 2rem;
  bottom: 8rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.hero-scroll-text {
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-scroll-line {
  width: 1px;
  height: 4rem;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--gold);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -40%; }
  100% { top: 140%; }
}
.hero-gold-line {
  width: 4rem;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInRight 0.8s ease 0.3s forwards;
}
.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 5rem;
  max-width: 56rem;
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.5s forwards;
}
.hero-h1 em { font-style: italic; color: rgba(255,255,255,0.85); }
.hero-p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.55);
  max-width: 30rem;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.7s forwards;
}
.hero-btns {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.9s forwards;
}
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: #b8943d; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
}
.btn-ghost .btn-line {
  display: block;
  width: 2rem;
  height: 1px;
  background: rgba(255,255,255,0.3);
  transition: width 0.3s ease, background 0.3s ease;
}
.btn-ghost:hover { color: var(--gold); }
.btn-ghost:hover .btn-line { width: 3rem; background: var(--gold); }

.hero-bottom-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  border-top: 1px solid var(--border);
  background: rgba(13,15,24,0.5);
  backdrop-filter: blur(4px);
}
.hero-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
}
.hero-tag { padding-right: 1.5rem; }
.hero-tag + .hero-tag {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255,255,255,0.1);
}

/* =========================================
   STATS
   ========================================= */
#stats {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}
.stats-inner {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  padding: 6rem 0 8rem;
}
.stats-heading {
  width: 40%;
  flex-shrink: 0;
}
.stats-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.0rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  color: var(--white);
}
.stats-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 3rem;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1rem;

  display: inline-flex;
  align-items: flex-start;
  gap: 0.08em;
  white-space: nowrap;
}
.stat-number span,
.stat-number .plus {
  display: inline-block;
  font-size: 0.35em;
  line-height: 1;
  margin-top: 0.25em;
  letter-spacing: 0;
}
.stat-line {
  width: 2rem;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1rem;
}
.stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 2.5rem;
}
.h2 em { font-style: italic; color: rgba(255,255,255,0.75); }
.about-text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 700;
}
/* =========================================
   ABOUT
   ========================================= */
#about {
  padding: 7rem 0 10rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.about-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(12rem, 30vw, 22rem);
  font-weight: 800;
  color: var(--white);
  opacity: 0.02;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-section-label { margin-bottom: 1.5rem; }
.about-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 2.5rem;
}
.about-h2 em { font-style: italic; color: rgba(255,255,255,0.75); }
.about-text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}
.about-text p + p { margin-top: 1.5rem; }
.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 0.7s ease, opacity 0.7s ease;
}
.about-image-wrap:hover img { filter: grayscale(0); opacity: 1; }
.about-image-ring {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  pointer-events: none;
}
.about-tags {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.about-tag {
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================
   SERVICES
   ========================================= */
#services {
  padding: 7rem 0 8rem;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 5rem;
}
.services-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
}
.services-h2 em { font-style: italic; color: rgba(255,255,255,0.75); }
.services-accent-line { width: 6rem; height: 1px; background: var(--gold); flex-shrink: 0; margin-bottom: 0.75rem; }
.service-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  cursor: default;
  transition: background var(--transition);
  position: relative;
}
.service-row:hover { background: rgba(201,168,76,0.03); }
.service-row:hover .service-num { color: var(--gold); }
.service-row:hover .service-title { color: var(--white); }
.service-num {
  font-family: monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: rgba(201,168,76,0.4);
  flex-shrink: 0;
  width: 2.5rem;
  margin-top: 0.4rem;
  transition: color var(--transition);
	
}
.service-dash {
  width: 3rem;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 0.85rem;
}
.service-body { flex: 1; }
.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
	    color: #c9a84c;
    text-transform: uppercase;
}
.service-desc {
  font-size: 0.875rem;
  color: var(--muted-2);
  line-height: 1.65;
  max-width: 36rem;
}
.service-icon {
  flex-shrink: 0;
  color: rgba(201,168,76,0.35);
  margin-top: 0.25rem;
}
.service-icon svg { width: 1.25rem; height: 1.25rem; }
.service-row:last-child { border-bottom: 1px solid var(--border); }

/* =========================================
   PROJECTS
   ========================================= */
#projects {
  padding: 7rem 0 8rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.projects-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 4rem;
}
.projects-h2 em { font-style: italic; color: rgba(255,255,255,0.75); }
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.projects-col-left { display: flex; flex-direction: column; }
.projects-col-right { display: flex; flex-direction: column; gap: 1.5rem; }
.projects-col-right-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.project-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
}
.project-card-tall { height: 600px; }
.project-card-medium { height: 280px; }
.project-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 1s ease, opacity 0.5s ease;
}
.project-card:hover img { transform: scale(1.05); opacity: 0.9; }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}
.project-num {
  position: absolute;
  bottom: -0.25rem; right: -0.5rem;
  font-family: var(--font-display);
  font-size: 10rem;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  pointer-events: none;
  user-select: none;
  transition: color 0.5s ease;
}
.project-card:hover .project-num { color: rgba(255,255,255,0.12); }
.project-content {
  position: absolute; inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.project-status {
  align-self: flex-end;
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border: 1px solid;
  backdrop-filter: blur(4px);
  background: rgba(0,0,0,0.2);
}
.status-active { color: #34d399; border-color: rgba(52,211,153,0.3); }
.status-prep { color: var(--gold); border-color: var(--gold-border); }
.status-plan { color: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.2); }
.project-info { position: relative; }
.project-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.375rem;
}
.project-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
}
.project-gold-line {
  position: absolute;
  bottom: -2rem; left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.5s ease;
}
.project-card:hover .project-gold-line { width: 4rem; }

/* =========================================
   TEAM
   ========================================= */
#team {
  padding: 7rem 0 8rem;
  background: rgba(17,20,32,0.5);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.team-glow {
  position: absolute;
  bottom: 0; left: 25%;
  width: 24rem; height: 24rem;
  background: rgba(201,168,76,0.08);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.team-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 2.5rem;
}
.team-h2 span { color: var(--gold); }
.team-p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 52rem;
  margin-bottom: 4rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.dept-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: border-color var(--transition), background var(--transition);
}
.dept-card:hover { border-color: rgba(201,168,76,0.5); background: rgba(201,168,76,0.04); }
.dept-icon {
  width: 3rem; height: 3rem;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-border);
  background: var(--gold-dim);
  transition: background var(--transition);
}
.dept-card:hover .dept-icon { background: rgba(201,168,76,0.15); }
.dept-icon svg { width: 1.25rem; height: 1.25rem; color: var(--gold); fill: none; stroke: var(--gold); stroke-width: 2; }
.dept-name { font-size: 0.9375rem; font-weight: 600; color: var(--white); }

/* =========================================
   LAND
   ========================================= */
#land {
  padding: 7rem 0 8rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.land-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.land-label { color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem; }
.land-h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; color: var(--white); margin-bottom: 1.5rem; }
.land-h2 span { color: var(--gold); }
.land-line { width: 6rem; height: 1px; background: var(--gold); margin-bottom: 2rem; }
.land-p { color: var(--muted); line-height: 1.8; margin-bottom: 2rem; }
.land-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.land-feature {
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 1rem;
}
.land-feature-title { color: var(--gold); font-weight: 600; font-size: 0.875rem; margin-bottom: 0.25rem; }
.land-feature-desc { color: var(--muted-2); font-size: 0.75rem; }
.land-map-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  min-height: 480px;
}
.land-map-inner {
  position: absolute; inset: 1rem;
  border: 1px solid rgba(201,168,76,0.08);
  pointer-events: none;
}
.land-map-label {
  font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); text-align: center; margin-bottom: 1.5rem;
}
.map-container { position: relative; width: 100%; max-width: 360px; height: 360px; margin: 0 auto; }
.map-container svg { width: 100%; height: 100%; }
.map-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.map-dot-inner {
  position: relative;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201,168,76,0.6);
}
.map-dot-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
  opacity: 0.4;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(2.5); opacity: 0; }
}
.map-dot-label {
  font-size: 0.5625rem; font-weight: 500;
  color: var(--gold);
  margin-top: 0.25rem;
  white-space: nowrap;
  background: rgba(13,15,24,0.85);
  padding: 0 0.25rem;
}

/* =========================================
   PARALLAX ROW (Oferta / Process intro)
   ========================================= */
.process-parallax {
  position: relative;
  height: 500px;
  overflow: hidden;
  background-color: #040814;
  background-image: url('https://certoniagroup.pl/images/oferta-certonia.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;

}

.process-parallax-bg {
  display: none;
}

.process-parallax::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 20, 0.54);
  pointer-events: none;
  z-index: 0;
}



/* =========================================
   PROCESS
   ========================================= */
#process {
  padding: 7rem 0 8rem;
  background: rgba(17,20,32,0.5);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.process-glow {
  position: absolute; top: 50%; right: 0;
  width: 16rem; height: 16rem;
  background: rgba(201,168,76,0.08);
  border-radius: 50%; filter: blur(80px);
  pointer-events: none;
}
.process-label { color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem; }
.process-h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.process-h2 span { color: var(--gold); }
.process-gold-line { width: 6rem; height: 1px; background: var(--gold); margin-bottom: 4rem; }
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative; z-index: 1;
}
.process-step {
  display: flex;
  gap: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: border-color var(--transition);
}
.process-step:hover { border-color: rgba(201,168,76,0.4); }
.process-step-left { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.process-step-icon {
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-border);
  background: var(--gold-dim);
  transition: background var(--transition);
}
.process-step:hover .process-step-icon { background: rgba(201,168,76,0.15); }
.process-step-icon svg { width: 1.25rem; height: 1.25rem; color: var(--gold); fill: none; stroke: var(--gold); stroke-width: 1.5; }
.process-step-num { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.15em; color: rgba(201,168,76,0.5); }
.process-step-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.process-step-desc { font-size: 0.875rem; color: var(--muted-2); line-height: 1.6; }

/* =========================================
   WHY US
   ========================================= */
#whyus {
  padding: 7rem 0 8rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.whyus-bg {
  position: absolute; inset: 0;
}
.whyus-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.08; }
.whyus-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--bg), rgba(13,15,24,0.9), var(--bg));
}
.whyus-heading { text-align: center; margin-bottom: 4rem; position: relative; z-index: 1; }
.whyus-label { color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem; }
.whyus-h2 { 
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 2.5rem;

}
.whyus-h2 span { color: var(--gold); }
.whyus-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative; z-index: 1;
}
.why-card {
  background: rgba(17,20,32,0.8);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  overflow: hidden;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}
.why-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}
.why-card:hover { border-color: rgba(201,168,76,0.6); transform: translateY(-3px); }
.why-card:hover::after { transform: scaleX(1); }
.why-icon {
  width: 3.5rem; height: 3.5rem;
  margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-border);
  background: var(--gold-dim);
}
.why-icon svg { width: 1.75rem; height: 1.75rem; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.why-title { font-size: 0.9375rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.why-desc { font-size: 0.8125rem; color: var(--muted-2); line-height: 1.65; }

/* =========================================
   INVESTORS
   ========================================= */
#investors {
  padding: 7rem 0 8rem;
  background: rgba(17,20,32,0.5);
  border-top: 1px solid var(--border);
}
.investors-h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; color: var(--white); margin-bottom: 1.5rem; }
.investors-h2 span { color: var(--gold); }
.investors-line { width: 6rem; height: 1px; background: var(--gold); margin-bottom: 2rem; }
.investors-p { color: var(--muted); line-height: 1.8; max-width: 42rem; margin-bottom: 4rem; }
.investors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.investor-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition);
}
.investor-card::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 8rem; height: 8rem;
  background: rgba(201,168,76,0.04);
  border-radius: 0 0 0 100%;
  opacity: 0;
  transition: opacity var(--transition);
}
.investor-card:hover { border-color: rgba(201,168,76,0.5); }
.investor-card:hover::before { opacity: 1; }
.investor-icon {
  width: 3.5rem; height: 3.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-border);
  background: var(--gold-dim);
  margin-bottom: 1.5rem;
}
.investor-icon svg { width: 1.75rem; height: 1.75rem; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.investor-title { font-size: 1.125rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.investor-desc { color: var(--muted-2); line-height: 1.7; font-size: 0.9375rem; }

/* =========================================
   CTA
   ========================================= */
#cta {
  position: relative;
  padding: 7rem 0 10rem;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay-1 {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,15,24,0.98), rgba(13,15,24,0.85), rgba(13,15,24,0.6));
}
.cta-overlay-2 { position: absolute; inset: 0; background: rgba(13,15,24,0.5); }
.cta-glow {
  position: absolute; top: 50%; left: 33%;
  transform: translate(-50%, -50%);
  width: 37rem; height: 37rem;
  background: rgba(201,168,76,0.15);
  border-radius: 50%; filter: blur(120px);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 48rem; }
.cta-label { color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.5rem; }
.cta-h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 1.5rem; }
.cta-h2 span { color: var(--gold); }
.cta-p { color: var(--muted); line-height: 1.8; font-size: 1.0625rem; margin-bottom: 2rem; max-width: 40rem; }
.cta-quote {
  font-size: 1.125rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
  margin-bottom: 3rem;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 1.25rem 2.5rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-cta:hover { background: #b8943d; transform: translateY(-1px); }
.btn-cta svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; }

/* =========================================
   CONTACT
   ========================================= */
#contact {
  padding: 7rem 0 8rem;
  background: rgba(17,20,32,0.5);
  border-top: 1px solid var(--border);
}
.contact-h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.contact-h2 span { color: var(--gold); }
.contact-gold-line { width: 6rem; height: 1px; background: var(--gold); margin-bottom: 4rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-label { font-size: 0.8125rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.form-input, .form-textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.625rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
  width: 100%;
  transition: border-color var(--transition);
}
.form-input:focus, .form-textarea:focus { border-color: var(--gold); }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-textarea { resize: none; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.form-checkbox {
  width: 1rem; height: 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
}
.form-consent-label { font-size: 0.75rem; color: var(--muted-2); line-height: 1.6; cursor: pointer; }
.form-error { font-size: 0.75rem; color: #f87171; margin-top: 0.25rem; }
.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 1rem;
  transition: background var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.btn-submit:hover { background: #b8943d; }
.form-success {
  display: none;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--gold-border);
  padding: 1rem;
  color: var(--gold);
  font-size: 0.9375rem;
  text-align: center;
}
/* Contact info */
.contact-info-box {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2rem;
}
.contact-info-box h3 { font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 1.5rem; }
.info-items { display: flex; flex-direction: column; gap: 1.5rem; }
.info-item { display: flex; gap: 1rem; }
.info-icon {
  width: 2.5rem; height: 2.5rem;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-border);
  background: var(--gold-dim);
}
.info-icon svg { width: 1rem; height: 1rem; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.info-label { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 0.25rem; }
.info-value { font-size: 0.9375rem; color: var(--white); line-height: 1.5; white-space: pre-line; }
.contact-notice {
  margin-top: 1.5rem;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  padding: 1.25rem;
}
.contact-notice-title { color: var(--gold); font-weight: 600; font-size: 0.875rem; margin-bottom: 0.375rem; }
.contact-notice-text { color: var(--muted-2); font-size: 0.875rem; line-height: 1.6; }


/* Contact page layout matched to provided PDF mockup */
.contact-template {
  --container: 1024px;
}

.contact-template #navbar {
  background: rgba(8,10,16,0.18);
}

.contact-template .contact-page-hero {
  min-height: 390px;
  padding: 6.25rem 0 3.5rem;
  border-bottom: 0;
}

.contact-template .contact-page-hero .page-hero-bg img {
  opacity: 0.48;
  object-position: center 34%;
  transform: none;
}

.contact-template .contact-page-hero .page-hero-overlay {
  background:
    linear-gradient(180deg, rgba(8,10,16,0.28) 0%, rgba(8,10,16,0.54) 58%, var(--bg-dark) 100%),
    linear-gradient(90deg, rgba(8,10,16,0.78) 0%, rgba(8,10,16,0.54) 36%, rgba(8,10,16,0.36) 64%, rgba(8,10,16,0.42) 100%);
}

.contact-template .contact-page-hero .page-hero-label {
  margin-bottom: 0.9rem;
}

.contact-template .contact-page-hero .page-hero-h1 {
  font-size: clamp(3.1rem, 6vw, 5.3rem);
  line-height: 1.02;
  margin-bottom: 1.8rem;
  letter-spacing: -0.045em;
}

.contact-template .contact-page-hero .page-hero-p {
  max-width: 32rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.64);
}

.contact-template .contact-page-section {
  padding: 6.2rem 0 7rem;
  background: var(--bg-dark);
  border-top: 0;
}

.contact-template .contact-h2 {
  font-size: clamp(2.25rem, 4.3vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.contact-template .contact-h2 span { color: inherit; }

.contact-template .contact-gold-line {
  width: 5.75rem;
  margin-bottom: 4.15rem;
}

.contact-template .contact-grid {
  gap: 2rem;
  align-items: start;
}

.contact-template .contact-form { gap: 1.35rem; }
.contact-template .form-row { gap: 0.95rem; }
.contact-template .form-label { font-size: 0.72rem; color: rgba(255,255,255,0.72); }
.contact-template .form-input,
.contact-template .form-textarea {
  min-height: 2.65rem;
  background: rgba(10,12,18,0.68);
  border-color: rgba(255,255,255,0.10);
  font-size: 0.86rem;
  padding: 0.68rem 0.78rem;
}
.contact-template .form-textarea { min-height: 8.2rem; }
.contact-template .form-consent-label { font-size: 0.68rem; line-height: 1.55; }
.contact-template .btn-submit { padding: 0.95rem 1rem; font-size: 0.92rem; }

.contact-template .contact-info-box {
  background: rgba(10,12,18,0.55);
  border-color: rgba(255,255,255,0.11);
  padding: 2.15rem 2rem;
}
.contact-template .contact-info-box h3 { font-size: 1.05rem; margin-bottom: 1.65rem; }
.contact-template .info-items { gap: 1.35rem; }
.contact-template .info-icon { width: 2rem; height: 2rem; }
.contact-template .info-icon svg { width: 0.88rem; height: 0.88rem; }
.contact-template .info-label { font-size: 0.63rem; }
.contact-template .info-value { font-size: 0.83rem; line-height: 1.5; }
.contact-template .contact-notice {
  margin-top: 1rem;
  background: rgba(10,12,18,0.38);
  border-color: rgba(255,255,255,0.35);
  padding: 1rem 1.15rem;
}
.contact-template .contact-notice-title { color: var(--white); font-size: 0.8rem; }
.contact-template .contact-notice-text { font-size: 0.78rem; color: rgba(255,255,255,0.64); }

.contact-template footer { background: rgba(8,10,16,0.92); }

@media (max-width: 900px) {
  .contact-template { --container: 100%; }
  .contact-template .contact-page-hero { min-height: 430px; padding: 7.5rem 0 4rem; }
  .contact-template .contact-grid { gap: 3rem; }
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: rgba(17,20,32,0.8);
  border-top: 1px solid var(--border);
}
.footer-inner {
  padding: 4rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.footer-brand img {
  height: 2.5rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}
.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 1rem;
}
.footer-gold-accent { width: 3rem; height: 1px; background: rgba(201,168,76,0.3); margin-top: 1.5rem; }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-col ul li span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.875rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; align-items: center; gap: 1.5rem; }
.footer-links a { font-size: 0.75rem; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-links span { color: rgba(255,255,255,0.15); font-size: 0.75rem; }
.footer-tagline { font-size: 0.75rem; color: rgba(255,255,255,0.25); }

/* =========================================
   COOKIE BANNER
   ========================================= */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9997;
  background: rgba(10,12,18,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.1);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
#cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.cookie-text a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.cookie-text a:hover { color: rgba(201,168,76,0.75); }
.cookie-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.btn-cookie-reject {
  font-size: 0.6875rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); padding: 0.5rem 0.75rem;
  transition: color var(--transition);
}
.btn-cookie-reject:hover { color: rgba(255,255,255,0.75); }
.btn-cookie-accept {
  background: var(--gold); color: var(--bg);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.625rem 1.5rem; transition: background var(--transition);
}
.btn-cookie-accept:hover { background: #b8943d; }
.btn-cookie-close {
  color: rgba(255,255,255,0.25); padding: 0.25rem;
  transition: color var(--transition);
}
.btn-cookie-close:hover { color: rgba(255,255,255,0.6); }
.btn-cookie-close svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; }

/* =========================================
   SCROLL TO TOP
   ========================================= */
#scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 999;
  width: 3rem; height: 3rem;
  background: var(--gold);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(201,168,76,0.25);
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, background var(--transition);
}
#scroll-top.visible { opacity: 1; pointer-events: auto; }
#scroll-top:hover { background: #b8943d; }
#scroll-top svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; }

/* =========================================
   PAGE HERO (subpages)
   ========================================= */
.page-hero {
  padding: 9rem 0 5rem;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
  transform: scale(1.02);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(8, 10, 16, 0.24) 0%,
      rgba(8, 10, 16, 0.10) 14%,
      rgba(8, 10, 16, 0.14) 34%,
      rgba(8, 10, 16, 0.82) 100%
    ),
    linear-gradient(
      90deg,
      rgba(8, 10, 16, 0.78) 0%,
      rgba(8, 10, 16, 0.64) 28%,
      rgba(8, 10, 16, 0.36) 55%,
      rgba(8, 10, 16, 0.16) 100%
    );
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-label { margin-bottom: 1rem; }

.page-hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5.0rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.page-hero-h1 em { font-style: italic; color: rgba(255,255,255,0.75); }

.page-hero-p {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.7;
  font-weight: 300;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 460px;
    padding: 7.5rem 0 4rem;
  }

  .page-hero-bg img {
    opacity: 0.32;
  }

  .page-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(8, 10, 16, 0.28) 0%,
        rgba(8, 10, 16, 0.18) 35%,
        rgba(8, 10, 16, 0.88) 100%
      ),
      linear-gradient(
        90deg,
        rgba(8, 10, 16, 0.72) 0%,
        rgba(8, 10, 16, 0.48) 55%,
        rgba(8, 10, 16, 0.20) 100%
      );
  }
}

/* =========================================
   PRIVACY POLICY PAGE
   ========================================= */
.privacy-wrap { max-width: 56rem; margin: 0 auto; padding: 5rem var(--pad); }
.privacy-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.privacy-meta { color: rgba(255,255,255,0.4); font-size: 0.875rem; margin-bottom: 3rem; }
.privacy-section { border-top: 1px solid var(--border); padding-top: 2.5rem; margin-top: 2.5rem; }
.privacy-section h2 { font-size: 1.125rem; font-weight: 600; color: var(--white); margin-bottom: 1.25rem; }
.privacy-section p, .privacy-section ul { color: var(--muted); font-size: 0.9375rem; line-height: 1.75; }
.privacy-section p + p { margin-top: 0.75rem; }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: none; }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1280px) {
  .whyus-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .process-parallax { height: 500px; }
  .nav-hamburger { display: flex; }
  .stats-inner { flex-direction: column; gap: 3rem; }
  .stats-heading { width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .land-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .whyus-grid { grid-template-columns: repeat(2, 1fr); }
  .investors-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-col-left { margin-bottom: 1.5rem; }
  .project-card-tall { height: 400px; }
}
@media (max-width: 768px) {
  :root { --pad: 1.25rem; }
  .process-parallax { height: 360px; background-attachment: scroll; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .investors-grid { grid-template-columns: 1fr; }
  .projects-col-right-bottom { grid-template-columns: 1fr; }
  .hero-scroll-indicator { display: none; }
  .hero-counter { display: none; }
  .whyus-grid { grid-template-columns: 1fr 1fr; }
  .land-features { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .team-grid { grid-template-columns: 1fr; }
  .whyus-grid { grid-template-columns: 1fr; }
}

/* =========================================
   HERO — UPDATES (Figma redesign)
   ========================================= */

/* New overlays */
.hero-overlay-3 {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.40);
}

/* Region tags bar */
.hero-region-tags {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}
.hero-region-line {
  display: block;
  width: 4rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-region-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Updated h1 — bold with gold italic em */
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.35s forwards;
}
.hero-h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 700;
}

/* Updated hero-p */
.hero-p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  max-width: 28rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.5s forwards;
}

/* Buttons gap wider */
.hero-btns { gap: 2.5rem; }

/* btn-ghost line now gold */
.btn-ghost .btn-line {
  width: 2.5rem;
  background: var(--gold);
}
.btn-ghost:hover .btn-line { width: 3.5rem; background: var(--gold); }
.btn-ghost { color: rgba(255,255,255,0.8); font-weight: 600; letter-spacing: 0.22em; }
.btn-ghost:hover { color: var(--white); }

/* City bar */
.hero-bottom-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0;
}
.hero-city {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero-city-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(201,168,76,0.6);
  flex-shrink: 0;
}

/* =========================================
   STATS — UPDATES
   ========================================= */
.stats-left {
  width: 42%;
  flex-shrink: 0;
}
.stats-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.stats-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.85;
  font-weight: 300;
  max-width: 28rem;
}
.stat-number {
  font-weight: 700;
  font-size: clamp(3rem, 5.5vw, 4.0rem);
}
.stat-sup {
  font-size: 0.45em;
  font-weight: 300;
  opacity: 0.6;
  vertical-align: super;
}
.stat-label {
  font-size: 0.625rem;
  line-height: 1.6;
}

/* =========================================
   ABOUT — UPDATES
   ========================================= */
.about-h2 {
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
.about-h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

/* Numbered services list */
.about-services {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 1.5rem;
}
.about-service-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  cursor: default;
  transition: color 0.2s;
}
.about-service-row:hover .about-service-name { color: var(--gold); }
.about-service-row:hover .about-service-arrow { color: var(--gold); transform: translateX(3px); }
.about-service-num {
  font-family: monospace;
  font-size: 0.625rem;
  color: rgba(201,168,76,0.5);
  letter-spacing: 0.15em;
  width: 1.5rem;
  flex-shrink: 0;
}
.about-service-name {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.about-service-arrow {
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
  stroke: rgba(255,255,255,0.2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: rgba(255,255,255,0.2);
  transition: color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

/* EST. 2021 badge */
.about-image-wrap { position: relative; }
.about-est-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--gold);
  padding: 0.375rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}
.about-est-label {
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
}
.about-est-year {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg);
}

/* btn-outline */
.btn-outline {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1rem 1.75rem;
  transition: background 0.3s, color 0.3s;
}
.btn-outline:hover { background: var(--gold); color: var(--bg); }

/* =========================================
   MAP SECTION
   ========================================= */
#map-section {
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0;
  overflow: hidden;
}
.map-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  align-items: center;
  min-height: 580px;
}
.map-left {
  padding: 3.5rem 3rem 3.5rem 0;
}
.map-wrap {
  position: relative;
  width: 100%;
  user-select: none;
}
.map-wrap img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.92;
}

/* Map dots base */
.map-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
}

/* Active dot */
.map-dot--active .map-dot-inner {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(201,168,76,0.7);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.map-dot--active .map-dot-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.5);
  animation: mapPulse 2.5s ease-in-out infinite;
  z-index: 1;
}
@keyframes mapPulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.6; }
  50%       { transform: translate(-50%,-50%) scale(2.2); opacity: 0; }
}

/* Pipeline dot */
.map-dot--pipeline .map-dot-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  flex-shrink: 0;
}

/* Labels */
.map-dot-label {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: rgba(13,15,24,0.85);
  padding: 0 0.3rem;
  margin-left: 0.5rem;
  white-space: nowrap;
  display: none;
}
.map-dot--active .map-dot-label { display: block; color: var(--gold); }
.map-dot-label--right { margin-left: 0.75rem; }

/* Map legend */
.map-legend {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}
.map-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.map-legend-dot {
  display: inline-block;
  flex-shrink: 0;
}
.map-legend-dot--active {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px rgba(201,168,76,0.5);
}
.map-legend-dot--pipeline {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
}

/* Right panel */
.map-right {
  padding: 3.5rem 0 3.5rem 3rem;
  border-left: 1px solid rgba(255,255,255,0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.map-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.map-h2-muted { color: rgba(255,255,255,0.5); font-weight: 300; }
.map-p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 2rem;
}
.map-stats {
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.map-stat {
  flex: 1;
  padding: 1.5rem 1.25rem 0 0;
}
.map-stat--bordered {
  padding-left: 1.25rem;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.map-stat-val {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.375rem;
  line-height: 1;
}
.map-stat-label {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* =========================================
   CTA — UPDATES (centered layout)
   ========================================= */
.cta-overlay-dark {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.68);
}
.cta-content-centered {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}
.cta-h2-new {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.cta-p-new {
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  font-size: 0.9375rem;
  font-weight: 300;
  margin-bottom: 1.75rem;
}
.cta-quote-new {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  font-style: normal;
}

/* =========================================
   FOOTER — WATERMARK
   ========================================= */
footer {
  position: relative;
  background: #0a0c12;
  overflow: hidden;
}
.footer-watermark {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 900;
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.05em;
}

/* =========================================
   RESPONSIVE — map section
   ========================================= */
@media (max-width: 1024px) {
  .map-layout { grid-template-columns: 1fr; min-height: auto; }
  .map-left { padding: 3rem 0 2rem; }
  .map-right { padding: 2rem 0 3rem; border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
}
@media (max-width: 768px) {
  .hero-region-tags { gap: 1.25rem; }
  .hero-region-line { width: 2rem; }
  .stats-left { width: 100%; }
  .about-est-badge { top: 0.75rem; right: 0.75rem; }
}

/* =========================================
   TYPOGRAPHY — section headings refinement
   ========================================= */
.heading-muted {
  color: rgba(255,255,255,0.62);
  font-weight: 600;
}

.stats-left {
  width: 46%;
  max-width: 44rem;
}
.stats-h2 {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 5.2vw, 4.0rem);
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.75rem;
}
.stats-desc {
  max-width: 37rem;
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(255,255,255,0.62);
  font-weight: 400;
}

.about-h2 {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 5.2vw, 4.0rem);
  line-height: 1.16;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2rem;
}
.about-h2 em,
.about-h2 .heading-muted {
  font-style: normal;
  color: rgba(255,255,255,0.62);
  font-weight: 600;
}
.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.62);
  font-weight: 400;
}
.about-services {
  margin-top: 2rem;
}
.about-service-row {
  padding: 1.25rem 0;
  border-color: rgba(255,255,255,0.14);
}
.about-service-num {
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
}
.about-service-name {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.86);
}

.cta-h2-new .heading-muted,
.map-h2-muted {
  color: rgba(255,255,255,0.62);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .stats-left { width: 100%; max-width: 42rem; }
}
@media (max-width: 768px) {
  .stats-h2,
  .about-h2 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    line-height: 1.15;
  }
  .stats-desc,
  .about-text {
    font-size: 0.9375rem;
  }
}

/* =========================================
   MAP SECTION — final 50/50 column fix
   ========================================= */
#map-section .container {
  max-width: none;
  padding-left: clamp(2rem, 6vw, 7rem);
  padding-right: clamp(2rem, 6vw, 7rem);
}

.map-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 0 !important;
  align-items: stretch;
  min-height: 720px;
}

.map-left {
  min-width: 0;
  padding: clamp(4rem, 6vw, 6rem) clamp(3rem, 5vw, 6rem) clamp(4rem, 6vw, 6rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-wrap {
  width: 100%;
  max-width: none;
}

.map-wrap img {
  width: 100%;
  height: auto;
}

.map-right {
  min-width: 0;
  width: 100%;
  padding: clamp(4rem, 6vw, 6rem) 0 clamp(4rem, 6vw, 6rem) clamp(3rem, 5vw, 6rem);
  border-left: 1px solid rgba(255,255,255,0.06);
  justify-content: center;
  align-items: stretch;
}

.map-right .section-label,
.map-h2,
.map-p,
.map-stats {
  width: 100%;
  max-width: none;
}

.map-h2 {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 4.9vw, 4.0rem);
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 600;
  margin-bottom: 2rem;
}

.map-p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.62);
  margin-bottom: 3rem;
}

.map-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.map-stat {
  padding: 1.75rem 1.75rem 0 0;
}

.map-stat--bordered {
  padding-left: 1.75rem;
}

.map-stat-val {
  font-size: clamp(2rem, 2.4vw, 2.5rem);
  line-height: 1.05;
}

@media (max-width: 1024px) {
  #map-section .container {
    max-width: var(--container);
    padding-left: var(--pad);
    padding-right: var(--pad);
  }
  .map-layout {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }
  .map-left {
    padding: 3rem 0 2rem;
  }
  .map-right {
    padding: 3rem 0 4rem;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .map-h2 {
    font-size: clamp(2.75rem, 8vw, 4rem);
  }
}

@media (max-width: 640px) {
  .map-stats {
    grid-template-columns: 1fr;
  }
  .map-stat,
  .map-stat--bordered {
    padding: 1.25rem 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
}


/* =========================================
   FINAL FIX — restore hero city bar + about image
   ========================================= */

/* HERO: miasta znowu jako delikatna grupa przy lewej krawędzi contentu,
   bez paska na całą szerokość i bez ciemnego tła. */
#hero .hero-bottom-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5rem;
  width: 100%;
  z-index: 12;
  border-top: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: none;
}

#hero .hero-bottom-bar .hero-bottom-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(0.85rem, 1.8vw, 1.65rem);
}

#hero .hero-city {
  font-family: var(--font-body);
  font-size: clamp(0.52rem, 0.62vw, 0.68rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.36);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  filter: blur(2px);
  animation: heroCitySoftIn 0.9s ease 1.05s forwards;
}

#hero .hero-city-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(201,168,76,0.82);
  box-shadow: 0 0 8px rgba(201,168,76,0.28);
  flex: 0 0 auto;
  opacity: 0;
  transform: translateY(8px) scale(0.7);
  animation: heroCitySoftIn 0.9s ease 1.12s forwards;
}

@keyframes heroCitySoftIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 1024px) {
  #hero .hero-bottom-bar { bottom: 3rem; }
}

@media (max-width: 640px) {
  #hero .hero-bottom-bar { bottom: 1.75rem; }
  #hero .hero-bottom-bar .hero-bottom-inner { gap: 0.65rem; }
  #hero .hero-city { font-size: 0.5rem; letter-spacing: 0.14em; }
  #hero .hero-city-dot { width: 3px; height: 3px; }
}

/* ABOUT: przywrócenie układu zdjęcia po prawej jak na referencji. */
#about .about-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

#about .about-image-wrap {
  position: relative;
  width: min(100%, 540px);
  min-height: 520px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  isolation: isolate;
}

#about .about-image-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
  height: 100%;
  background: rgba(255,255,255,0.055);
  z-index: -1;
}

#about .about-image-wrap img {
  width: 86%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  filter: none !important;
  opacity: 1 !important;
  margin-left: 0;
  box-shadow: none;
}

#about .about-image-wrap:hover img {
  filter: none !important;
  opacity: 1 !important;
}

#about .about-image-ring {
  position: absolute;
  inset: auto;
  left: 0;
  top: 50%;
  width: 86%;
  height: auto;
  aspect-ratio: 1 / 1;
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  pointer-events: none;
}

#about .about-est-badge {
  top: 3.75rem;
  right: 2.25rem;
  min-width: 7.8rem;
  min-height: 3rem;
  padding: 0.8rem 1.1rem;
  background: var(--gold);
  align-items: center;
  justify-content: center;
}

#about .about-est-label,
#about .about-est-year {
  display: inline;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
}

#about .about-est-label::after { content: ' '; }

@media (max-width: 1024px) {
  #about .about-grid { grid-template-columns: 1fr; }
  #about .about-image-wrap { margin: 0 auto; }
}

@media (max-width: 640px) {
  #about .about-image-wrap { width: 100%; min-height: 360px; }
  #about .about-image-wrap img,
  #about .about-image-ring { width: 88%; }
  #about .about-est-badge { top: 2rem; right: 1rem; min-width: 6.8rem; }
}

/* =========================================
   FINAL HERO FIX — smaller 2-line H1 + cities under buttons
   ========================================= */
#hero {
  align-items: center;
}

#hero .hero-content {
  max-width: min(88rem, calc(100vw - (var(--pad) * 2)));
  padding-top: clamp(4rem, 7vh, 6rem);
}

#hero .hero-h1 {
  font-size: clamp(4.1rem, 5.55vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 86rem;
  margin-bottom: 2rem;
}

#hero .hero-h1 em {
  font-weight: 600;
}

#hero .hero-p {
  margin-bottom: 2.5rem;
}

/* Miasta są częścią contentu hero, więc zawsze siedzą pod przyciskiem,
   niezależnie od wysokości monitora. */
#hero .hero-bottom-bar {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  z-index: 12;
  margin-top: clamp(2.25rem, 4.2vh, 3.75rem);
  border-top: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: none;
}

#hero .hero-bottom-bar .hero-bottom-inner {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(0.85rem, 1.65vw, 1.55rem);
}

#hero .hero-city {
  font-size: clamp(0.5rem, 0.56vw, 0.62rem);
  letter-spacing: 0.26em;
  color: rgba(255,255,255,0.34);
}

#hero .hero-city-dot {
  width: 3.5px;
  height: 3.5px;
  background: rgba(201,168,76,0.78);
}

@media (min-width: 1200px) {
  #hero .hero-h1 br + * {}
  #hero .hero-h1 {
    max-width: 92rem;
  }
}

@media (max-width: 1360px) {
  #hero .hero-h1 {
    font-size: clamp(3.5rem, 5.25vw, 4.6rem);
    max-width: 78rem;
  }
}

@media (max-width: 1024px) {
  #hero .hero-content {
    max-width: 100%;
  }
  #hero .hero-h1 {
    font-size: clamp(3rem, 8.5vw, 4.0rem);
    line-height: 1.08;
  }
  #hero .hero-bottom-bar {
    margin-top: 2rem;
  }
}

@media (max-width: 640px) {
  #hero .hero-h1 {
    font-size: clamp(2.55rem, 12vw, 3.35rem);
    letter-spacing: -0.03em;
  }
  #hero .hero-bottom-bar .hero-bottom-inner {
    gap: 0.55rem;
    flex-wrap: wrap;
  }
  #hero .hero-city {
    font-size: 0.48rem;
    letter-spacing: 0.13em;
  }
  #hero .hero-city-dot {
    width: 3px;
    height: 3px;
  }
}

/* =========================================
   MAP FIX — image-only corrected map, 50/50 layout
   ========================================= */
#map-section .map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 0;
  min-height: 680px;
}

#map-section .map-left,
#map-section .map-right {
  width: 100%;
  min-width: 0;
}

#map-section .map-left {
  padding: clamp(4rem, 6vw, 6.5rem) clamp(2rem, 4vw, 4rem) clamp(4rem, 6vw, 6.5rem) 0;
}

#map-section .map-right {
  padding: clamp(4rem, 6vw, 6.5rem) 0 clamp(4rem, 6vw, 6.5rem) clamp(3rem, 5vw, 5.5rem);
  border-left: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#map-section .map-wrap--image-only {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: visible;
}

#map-section .map-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.94;
}

/* Old overlay dots stay disabled if any cached markup exists */
#map-section .map-wrap--image-only .map-dot,
#map-section .map-wrap--image-only .map-dot-inner,
#map-section .map-wrap--image-only .map-dot-pulse,
#map-section .map-wrap--image-only .map-dot-label {
  display: none !important;
}

#map-section .map-h2 {
  max-width: 100%;
}

#map-section .map-p {
  max-width: 42rem;
}

#map-section .map-stats {
  width: 100%;
}

@media (max-width: 1024px) {
  #map-section .map-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  #map-section .map-left {
    padding: 3rem 0 2rem;
  }

  #map-section .map-right {
    padding: 2.5rem 0 4rem;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
}

/* =========================================
   GLOBAL SECTION PAD FIX + SVG MAP
   ========================================= */
#stats .stats-inner {
  padding-left: var(--pad) !important;
  padding-right: var(--pad) !important;
}

#map-section .map-wrap--image-only {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: visible;
}

#map-section .map-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* No HTML overlay points on the SVG map — points live inside mapa.svg */
#map-section .map-wrap--image-only .map-dot,
#map-section .map-wrap--image-only .map-pulse-point {
  display: none !important;
}



/* =========================================
   FINAL FOOTER FIX — logo watermark in background
   ========================================= */
footer {
  position: relative;
  background: #090c14 !important;
  overflow: hidden;
  isolation: isolate;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 0;
}

.footer-inner,
.footer-grid,
.footer-bottom {
  position: relative;
  z-index: 2;
}

.footer-inner {
  padding: 4.0rem 0 2.5rem;
}

.footer-grid {
  margin-bottom: 4rem;
}

.footer-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 0;
  opacity: 0.065;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.footer-watermark img {
  display: block;
  width: min(78%, 1220px);
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.footer-brand,
.footer-col,
.footer-copy,
.footer-links,
.footer-tagline {
  position: relative;
  z-index: 2;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  padding-top: 2rem;
}

@media (max-width: 1024px) {
  .footer-watermark {
    padding: 1.5rem 0;
    opacity: 0.055;
  }

  .footer-watermark img {
    width: min(86%, 940px);
  }
}

@media (max-width: 640px) {
  .footer-inner {
    padding: 3.5rem 0 2rem;
  }

  .footer-grid {
    margin-bottom: 3rem;
  }

  .footer-watermark {
    padding: 1rem 0 2rem;
    opacity: 0.045;
  }

  .footer-watermark img {
    width: 138%;
    max-width: none;
  }
}

/* =========================================
   FINAL FIX - ABOUT PAGE WHY US LAYOUT
   =========================================
   Fixes the "Dlaczego Certonia Group?" section on o-grupie.php.
   Target layout:
   - centered heading
   - image on the left
   - 4 cards in a 2x2 grid on the right
*/

.about-page-whyus {
  padding: clamp(5rem, 8vw, 7rem) 0 clamp(5rem, 8vw, 8rem);
  background: var(--bg);
}

.about-page-whyus .container {
  max-width: 1536px;
}

.about-page-whyus .whyus-heading {
  text-align: center;
  margin-bottom: clamp(2.75rem, 5vw, 3.75rem);
}

.about-page-whyus .whyus-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(2rem, 5vw, 4.0rem);
  align-items: stretch;
}

.about-page-whyus .whyus-photo {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--bg-card);
}

.about-page-whyus .whyus-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.about-page-whyus .about-page-why-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(1rem, 2vw, 1.25rem);
  min-width: 0;
  align-self: stretch;
}

.about-page-whyus .about-page-why-grid .why-card {
  min-height: 205px;
  padding: clamp(1.5rem, 2.6vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(17,20,32,0.72);
}

.about-page-whyus .about-page-why-grid .why-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
}

.about-page-whyus .about-page-why-grid .why-icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.about-page-whyus .about-page-why-grid .why-title {
  margin-bottom: 0.75rem;
}

.about-page-whyus .about-page-why-grid .why-desc {
  max-width: 15.5rem;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .about-page-whyus .whyus-layout {
    grid-template-columns: 1fr !important;
  }

  .about-page-whyus .whyus-photo img {
    min-height: 360px;
  }

  .about-page-whyus .about-page-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .about-page-whyus .whyus-photo img {
    min-height: 280px;
  }

  .about-page-whyus .about-page-why-grid {
    grid-template-columns: 1fr !important;
  }

  .about-page-whyus .about-page-why-grid .why-card {
    min-height: 190px;
  }
}

/* =========================================
   FINAL FIX - O GRUPIE INTRO WIDTH + BUTTON
   =========================================
   - heading max 4rem
   - button no longer overlaps the tags
   - right image enlarged
   - row uses the full 1536px container with standard side padding
*/

#about.about-page-intro {
  padding: clamp(5.5rem, 8vw, 7rem) 0 clamp(5.5rem, 8vw, 7rem);
}

#about.about-page-intro .container {
  max-width: var(--container);
  padding-left: var(--pad);
  padding-right: var(--pad);
}

#about.about-page-intro .about-grid,
#about.about-page-intro .about-page-grid {
  width: 100%;
  display: grid !important;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr) !important;
  gap: clamp(3rem, 5.2vw, 4rem) !important;
  align-items: center !important;
}

#about.about-page-intro .reveal-left {
  min-width: 0;
  max-width: 640px;
}

#about.about-page-intro .reveal-right {
  min-width: 0;
  width: 100%;
}

#about.about-page-intro .about-h2 {
  font-size: clamp(3rem, 4.2vw, 4rem) !important;
  line-height: 1.13;
  letter-spacing: -0.035em;
  margin-bottom: 2.25rem;
}

#about.about-page-intro .about-text {
  max-width: 640px;
  font-size: clamp(0.95rem, 1vw, 1rem);
  line-height: 1.8;
}

#about.about-page-intro .about-text p + p {
  margin-top: 1.65rem;
}

#about.about-page-intro .about-tags {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.9rem;
  margin-bottom: 1.15rem;
}

#about.about-page-intro .about-tag {
  display: block;
  width: fit-content;
  min-height: 1.15rem;
  padding-left: 1rem;
  line-height: 1.25;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

#about.about-page-intro .about-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  clear: both;
  margin-top: 0 !important;
  min-width: 184px;
  min-height: 50px;
  padding: 0.95rem 1.75rem;
  position: relative;
  z-index: 2;
}

#about.about-page-intro .about-image-wrap {
  width: min(100%, 680px) !important;
  min-height: 560px !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#about.about-page-intro .about-image-wrap::before {
  top: -2.4rem !important;
  right: 0 !important;
  width: 78% !important;
  height: calc(100% + 4.8rem) !important;
  background: rgba(255,255,255,0.055) !important;
}

#about.about-page-intro .about-image-wrap img {
  width: 86% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center !important;
  margin-left: 0 !important;
  filter: none !important;
  opacity: 1 !important;
}

#about.about-page-intro .about-image-ring {
  width: 86% !important;
  aspect-ratio: 1 / 1 !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

#about.about-page-intro .about-est-badge {
  top: 1rem !important;
  right: 2.35rem !important;
  min-width: 7.15rem !important;
  min-height: 3.05rem !important;
  padding: 0.75rem 1rem !important;
}

#about.about-page-intro .about-est-label,
#about.about-page-intro .about-est-year {
  font-size: 0.55rem !important;
  line-height: 1.15 !important;
}

@media (max-width: 1280px) {
  #about.about-page-intro .about-grid,
  #about.about-page-intro .about-page-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
    gap: 3rem !important;
  }

  #about.about-page-intro .about-h2 {
    font-size: clamp(2.75rem, 5vw, 3.6rem) !important;
  }

  #about.about-page-intro .about-image-wrap {
    width: min(100%, 600px) !important;
    min-height: 500px !important;
  }
}

@media (max-width: 1024px) {
  #about.about-page-intro .about-grid,
  #about.about-page-intro .about-page-grid {
    grid-template-columns: 1fr !important;
  }

  #about.about-page-intro .reveal-left {
    max-width: 700px;
  }

  #about.about-page-intro .about-image-wrap {
    margin: 2rem auto 0 !important;
  }
}

@media (max-width: 640px) {
  #about.about-page-intro {
    padding: 4.5rem 0 5rem;
  }

  #about.about-page-intro .about-h2 {
    font-size: clamp(2.45rem, 11vw, 3.2rem) !important;
  }

  #about.about-page-intro .about-image-wrap {
    width: 100% !important;
    min-height: 350px !important;
  }

  #about.about-page-intro .about-image-wrap img,
  #about.about-page-intro .about-image-ring {
    width: 88% !important;
  }

  #about.about-page-intro .about-est-badge {
    top: 1.25rem !important;
    right: 0.75rem !important;
  }
}


/* =========================================
   GLOBAL H2 FIX - zwykle <h2> jak .about-h2
   =========================================
   Dzieki temu naglowek zapisany jako samo <h2>...</h2>
   ma ten sam rozmiar i wyglad co <h2 class="about-h2">...</h2>.
   Selektor :not([class]) nie rusza naglowkow z wlasnymi klasami.
*/
h2:not([class]) {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 5.2vw, 4.0rem);
  line-height: 1.16;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2rem;
}

h2:not([class]) em,
h2:not([class]) .heading-muted {
  font-style: normal;
  color: rgba(255,255,255,0.62);
  font-weight: 600;
}

@media (max-width: 768px) {
  h2:not([class]) {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    line-height: 1.15;
  }
}

/* =========================================
   FINAL FIX - H2 CONSISTENCY + INWESTYCJE PAGE
   =========================================
   1) Main section H2 on /o-grupie/ and /inwestycje/ share one scale.
   2) /inwestycje/ is rebuilt to match the supplied screenshot.
*/

:root {
  --section-h2-size: clamp(3.25rem, 5.2vw, 4rem);
  --section-h2-line: 1.16;
}

/* H2 normalization for comparable section headings, not hero/CTA/footer/privacy. */
h2:not([class]),
.about-h2,
#about.about-page-intro .about-h2,
.about-page-whyus .whyus-h2,
.investments-intro-copy h2,
.investments-model-card h2,
.investments-focus-heading h2 {
   font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 2.5rem;
}

h2:not([class]) em,
.about-h2 em,
.about-h2 .heading-muted,
.about-page-whyus .whyus-h2 span,
.investments-intro-copy h2 span,
.investments-model-card h2 span,
.investments-focus-heading h2 span {
  font-style: normal !important;
  color: rgba(255,255,255,0.62) !important;
  font-weight: 600 !important;
}

@media (max-width: 768px) {
  :root { --section-h2-size: clamp(2.5rem, 10vw, 3.5rem); }
}

body:has(.investments-hero) {
  background: #070a11;
}

/* HERO */
.investments-hero {
  min-height: 690px;
  padding: 8.5rem 0 6.5rem;
  align-items: flex-start;
  border-bottom: 0;
  background: #070a11;
}

.investments-hero::before { display: none; }

.investments-hero .page-hero-bg img {
  opacity: 0.48;
  filter: saturate(0.72) contrast(1.05) brightness(0.72);
  object-position: center top;
}

.investments-hero .page-hero-overlay {
  background:
    linear-gradient(180deg, rgba(7,10,17,0.18) 0%, rgba(7,10,17,0.35) 34%, #090c14 100%),
    linear-gradient(90deg, rgba(7,10,17,0.82) 0%, rgba(7,10,17,0.58) 42%, rgba(7,10,17,0.86) 100%);
}

.investments-hero-content {
  width: 100%;
  max-width: 1536px;
  padding-top: 3.2rem;
}

.investments-hero .section-label {
  margin-bottom: 1.75rem;
}

.investments-hero-title {
  max-width: 1040px;
  font-size: clamp(4.2rem, 6.6vw, 7.25rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em !important;
  font-weight: 600 !important;
  margin-bottom: 2.35rem !important;
}

.investments-hero-text {
  max-width: 660px;
  font-size: 0.93rem;
  line-height: 1.82;
  color: rgba(255,255,255,0.58);
  margin-bottom: 1.65rem;
}

.investments-hero .gold-line {
  width: 8rem;
  margin-top: 0;
}

/* INTRO */
.investments-intro {
  margin-top: -1px;
  padding: clamp(4.6rem, 7vw, 6.75rem) 0 clamp(4.75rem, 7vw, 6.5rem);
  background: linear-gradient(180deg, #090c14 0%, #090c14 74%, #070a11 100%);
}

.investments-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(460px, 0.92fr);
  align-items: end;
  gap: clamp(3rem, 7vw, 8rem);
}

.investments-intro-copy {
  max-width: 650px;
}

.investments-intro-copy .section-label,
.investments-model-card .section-label,
.investments-focus-heading .section-label,
.investments-cta .cta-label {
  display: block;
  margin-bottom: 1.15rem;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
}

.investments-intro-copy p:not(.section-label),
.investments-model-card p,
.investments-focus-heading p {
  max-width: 640px;
  color: rgba(255,255,255,0.58);
  font-size: 0.89rem;
  line-height: 1.82;
  font-weight: 300;
}

.investments-mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  align-self: center;
}

.investments-mini-card {
  min-height: 108px;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.07), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.016));
  box-shadow: 0 22px 55px rgba(0,0,0,0.2);
}

.investments-mini-card strong {
  display: block;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: clamp(1.85rem, 2.4vw, 2.55rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-bottom: 0.7rem;
}

.investments-mini-card span {
  display: block;
  max-width: 9rem;
  color: rgba(255,255,255,0.62);
  font-size: 0.62rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* MAP / MODEL */
.investments-map-section {
  padding: clamp(4.8rem, 7vw, 6.9rem) 0 clamp(6.5rem, 9vw, 9rem);
  background: #070a11;
}

.investments-map-inner {
  display: grid;
  grid-template-columns: minmax(380px, 520px) minmax(0, 1fr);
  gap: clamp(4rem, 8vw, 9rem);
  align-items: center;
}

.investments-model-card {
  padding: clamp(2.0rem, 3vw, 2.85rem);
  border: 1px solid rgba(255,255,255,0.075);
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.075), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,0.046), rgba(255,255,255,0.018));
  box-shadow: 0 34px 90px rgba(0,0,0,0.28);
}

.investments-model-card h2 {
  font-size: clamp(3rem, 4.6vw, 4.15rem) !important;
  line-height: 1.08 !important;
  max-width: 470px;
}

.investments-model-list {
  display: grid;
  gap: 0.78rem;
  margin-top: 1.65rem;
}

.investments-model-list div {
  padding: 0.95rem 1.05rem;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.045);
  color: rgba(255,255,255,0.54);
  font-size: 0.78rem;
  line-height: 1.58;
}

.investments-model-list strong {
  color: var(--gold);
  font-weight: 700;
}

.investments-common-box {
  margin-top: 0.85rem;
  padding: 1.05rem 1.05rem 1.15rem;
  border: 1px solid rgba(201,168,76,0.25);
  background: linear-gradient(135deg, rgba(201,168,76,0.14), rgba(201,168,76,0.035));
}

.investments-common-box span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
}

.investments-common-box p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.58);
}

.investments-map-wrap {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.investments-map-wrap img {
  width: min(100%, 760px);
  height: auto;
  opacity: 0.88;
  filter: drop-shadow(0 35px 80px rgba(0,0,0,0.24));
}

/* FOCUS CARDS */
.investments-focus-section {
  padding: clamp(5.5rem, 8vw, 7.4rem) 0 clamp(4.8rem, 7vw, 6.2rem);
  background: #0b0e18;
}

.investments-focus-inner {
  max-width: 1180px;
}

.investments-focus-heading {
  max-width: 1080px;
  margin-bottom: clamp(2.6rem, 4.5vw, 3.85rem);
}

.investments-focus-heading h2 {
  font-size: clamp(3.45rem, 5.2vw, 5rem) !important;
  line-height: 1.12 !important;
  margin-bottom: 1.85rem !important;
}

.investments-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.investments-service-card {
  min-height: 190px;
  padding: 1.75rem 1.85rem 1.85rem;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.045), transparent 40%),
    linear-gradient(135deg, rgba(255,255,255,0.044), rgba(255,255,255,0.018));
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 24px 70px rgba(0,0,0,0.16);
}

.investments-service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.investments-service-icon {
  width: 2.7rem;
  height: 2.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 0.65rem;
  background: rgba(255,255,255,0.045);
  color: rgba(255,255,255,0.72);
}

.investments-service-icon svg {
  width: 1.08rem;
  height: 1.08rem;
}

.investments-service-top span {
  color: rgba(201,168,76,0.55);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  font-weight: 800;
}

.investments-service-card h3 {
  color: var(--white);
  font-size: 1.02rem;
  line-height: 1.22;
  font-weight: 700;
  margin-bottom: 0.86rem;
}

.investments-service-card p {
  color: rgba(255,255,255,0.46);
  font-size: 0.78rem;
  line-height: 1.72;
}

/* STATS STRIP */
.investments-stats-strip {
  padding: clamp(4.6rem, 6.5vw, 6.25rem) 0 clamp(5.1rem, 7vw, 6.9rem);
  background: #070a11;
}

.investments-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2.4rem, 5.2vw, 6.2rem);
  max-width: 1180px;
}

.investments-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5vw, 5rem);
  line-height: 1;
  color: var(--white);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.investments-stat strong span {
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  font-size: 0.55em;
  vertical-align: baseline;
  margin-left: 0.08em;
}

.investments-stat i {
  display: block;
  width: 3.8rem;
  height: 2px;
  background: var(--gold);
  margin: 1.1rem 0 0.65rem;
}

.investments-stat p {
  color: rgba(255,255,255,0.66);
  font-size: 0.72rem;
  line-height: 1.35;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

/* CTA */
.investments-cta {
  padding: clamp(5.75rem, 7vw, 7.5rem) 0 !important;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.investments-cta .cta-bg img {
  opacity: 0.48;
  object-position: center;
}

.investments-cta .cta-overlay-dark {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,9,15,0.88), rgba(7,9,15,0.66), rgba(7,9,15,0.88)),
    rgba(0,0,0,0.42);
}

.investments-cta .cta-content-centered {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.investments-cta .cta-h2-new {
  font-size: clamp(3rem, 4.7vw, 4.8rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin-bottom: 1.4rem;
}

.investments-cta .cta-p-new {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.investments-cta .btn-primary {
  padding: 0.9rem 1.65rem;
}

/* RESPONSIVE */
@media (max-width: 1180px) {
  .investments-intro-inner,
  .investments-map-inner {
    grid-template-columns: 1fr;
  }
  .investments-mini-metrics {
    max-width: 680px;
  }
  .investments-map-wrap {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .investments-hero {
    min-height: 560px;
    padding-top: 7rem;
  }
  .investments-hero-title {
    font-size: clamp(2.7rem, 12vw, 4.1rem) !important;
    line-height: 1.04 !important;
  }
  .investments-mini-metrics,
  .investments-services-grid,
  .investments-stats-grid {
    grid-template-columns: 1fr;
  }
  .investments-model-card {
    padding: 1.5rem;
  }
  .investments-map-wrap img {
    width: 112%;
    max-width: none;
  }
}

/* =========================================
   FINAL FIX - INWESTYCJE 1536 ROW + 50/50 COLUMNS
   ========================================= */
.investments-intro .container,
.investments-map-section .container,
.investments-focus-section .container,
.investments-stats-strip .container,
.investments-cta .container {
  width: 100%;
  max-width: 1536px !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad) !important;
  padding-right: var(--pad) !important;
}

.investments-intro-inner,
.investments-map-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: clamp(3rem, 5vw, 5.5rem) !important;
  align-items: center !important;
}

.investments-intro-copy,
.investments-mini-metrics,
.investments-model-card,
.investments-map-wrap {
  width: 100%;
  min-width: 0;
}

.investments-mini-metrics {
  max-width: none !important;
  justify-self: stretch;
}

.investments-model-card {
  max-width: none !important;
}

.investments-map-wrap {
  min-height: 560px;
  justify-content: center;
}

.investments-map-wrap img {
  width: min(100%, 760px);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.investments-focus-inner,
.investments-stats-grid {
  max-width: 1536px !important;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1180px) {
  .investments-intro-inner,
  .investments-map-inner {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }

  .investments-map-wrap {
    min-height: auto;
  }
}

/* =========================================
   FINAL FIX - TERENY PAGE HEADER + 1536 / 50-50 MAP ROW
   =========================================
   Only targets /tereny/ markup. Keeps the rest of the site unchanged.
*/

/* HERO - same visual language as other subpages */
.land-page-hero {
  min-height: 560px;
  padding: 8.5rem 0 4rem;
  display: flex;
  align-items: center;
  background: #070a11;
  border-bottom: 0;
}

.land-page-hero::before {
  display: none;
}

.land-page-hero .page-hero-bg img {
  opacity: 0.50;
  filter: saturate(0.72) contrast(1.06) brightness(0.72);
  object-position: center top;
}

.land-page-hero .page-hero-overlay {
  background:
    linear-gradient(180deg, rgba(7,10,17,0.16) 0%, rgba(7,10,17,0.30) 38%, #090c14 100%),
    linear-gradient(90deg, rgba(7,10,17,0.84) 0%, rgba(7,10,17,0.58) 45%, rgba(7,10,17,0.86) 100%);
}

.land-page-hero-content {
  width: 100%;
  max-width: 1536px !important;
  padding-left: var(--pad) !important;
  padding-right: var(--pad) !important;
  padding-top: 2.2rem;
}

.land-page-hero .page-hero-label {
  margin-bottom: 1.45rem;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
}

.land-page-hero-title {
  max-width: 1030px;
    font-size: clamp(2.5rem, 5vw, 5.0rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.055em !important;
  font-weight: 600 !important;
  margin-bottom: 2rem !important;
}

.land-page-hero-title em {
  font-style: normal !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}

.land-page-hero .page-hero-p {
  max-width: 610px;
  font-size: 0.93rem;
  line-height: 1.82;
  color: rgba(255,255,255,0.58);
}

.land-page-hero .gold-line {
  width: 7.8rem;
  margin-top: 1.65rem;
}

/* Main land/map row - 1536px, side padding, equal 50/50 columns */
#land {
  padding: clamp(5.5rem, 7vw, 7.2rem) 0 clamp(5.8rem, 7.5vw, 7.8rem);
  background: #090c14;
  border-top: 0;
}

#land .container {
  width: 100%;
  max-width: 1536px !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad) !important;
  padding-right: var(--pad) !important;
}

#land .land-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: clamp(3rem, 5vw, 5.5rem) !important;
  align-items: center !important;
}

#land .reveal-left,
#land .reveal-right,
#land .land-map-wrap {
  min-width: 0;
  width: 100%;
}

#land .reveal-left {
  max-width: none;
}

#land .areas-heading {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 5.2vw, 4.05rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1.9rem;
}

#land .areas-heading em {
  font-style: italic;
  color: rgba(255,255,255,0.66);
  font-weight: 300;
}

#land .areas-text {
  max-width: 680px;
  color: rgba(255,255,255,0.56);
  font-size: 0.95rem;
  line-height: 1.82;
  font-weight: 300;
}

#land .land-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 720px;
}

#land .land-feature {
  min-height: 96px;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.075);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.055), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.016));
}

#land .land-feature-title {
  color: var(--gold);
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

#land .land-feature-desc {
  color: rgba(255,255,255,0.42);
  font-size: 0.75rem;
  line-height: 1.55;
}

#land .land-map-wrap {
  min-height: 600px;
  padding: clamp(2.1rem, 3.3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.055), transparent 45%),
    linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.014));
  box-shadow: 0 34px 90px rgba(0,0,0,0.24);
}

#land .land-map-inner {
  inset: 1.1rem;
  border-color: rgba(255,255,255,0.055);
}

#land .land-map-label {
  position: relative;
  z-index: 1;
  margin: 0 0 1.6rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

#land .map-container--image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  margin: 0;
}

#land .map-container--image img {
  width: min(100%, 660px);
  height: auto;
  margin: 0 auto;
  opacity: 0.92;
  filter: drop-shadow(0 28px 80px rgba(0,0,0,0.28));
}

#land .land-map-note {
  max-width: 590px;
  margin: 1.7rem auto 1rem;
  color: rgba(255,255,255,0.58);
  font-size: 0.78rem;
  line-height: 1.65;
  text-align: center;
}

#land .land-map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  max-width: 560px;
  margin: 0 auto;
}

#land .land-map-legend span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
  color: rgba(255,255,255,0.46);
  font-size: 0.68rem;
  line-height: 1;
}

/* Keep following cards aligned with the same 1536px row width */
#investors .container {
  max-width: 1536px !important;
  padding-left: var(--pad) !important;
  padding-right: var(--pad) !important;
}

@media (max-width: 1180px) {
  #land .land-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }

  #land .land-map-wrap {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .land-page-hero {
    min-height: 520px;
    padding-top: 7.2rem;
  }

  .land-page-hero-title {
    font-size: clamp(2.75rem, 12vw, 4.1rem) !important;
    line-height: 1.06 !important;
  }

  #land .areas-heading {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  #land .land-features {
    grid-template-columns: 1fr;
  }

  #land .land-map-wrap {
    padding: 1.5rem;
  }
}


/* =========================================
   FINAL OVERRIDE — FOOTER LOGO WATERMARK
   =========================================
   Logo w tle stopki jak na screenie:
   - duze, wysrodkowane logo za trescia,
   - delikatna przezroczystosc,
   - tresc stopki zawsze ponad logo.
*/
footer {
  position: relative !important;
  background: #090c14 !important;
  overflow: hidden !important;
  isolation: isolate !important;
  border-top: 1px solid rgba(255,255,255,0.08);
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 0;
}

.footer-watermark {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.75rem 0 !important;
  pointer-events: none !important;
  user-select: none !important;
  z-index: 1 !important;
  opacity: 0.055 !important;
}

.footer-watermark img {
  display: block !important;
  width: min(78%, 1220px) !important;
  height: auto !important;
  max-height: 100% !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

.footer-inner,
.footer-grid,
.footer-bottom,
.footer-brand,
.footer-col,
.footer-copy,
.footer-links,
.footer-tagline {
  position: relative !important;
  z-index: 2 !important;
}

.footer-inner {
  padding: 4rem 0 2.5rem !important;
}

.footer-grid {
  margin-bottom: 4rem !important;
}

.footer-brand img {
  height: 2.5rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-bottom {
  padding-top: 2rem !important;
}

@media (max-width: 1024px) {
  .footer-watermark {
    padding: 1.5rem 0 !important;
    opacity: 0.05 !important;
  }

  .footer-watermark img {
    width: min(86%, 940px) !important;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    padding: 3.5rem 0 2rem !important;
  }

  .footer-grid {
    margin-bottom: 3rem !important;
  }

  .footer-watermark {
    padding: 1rem 0 2rem !important;
    opacity: 0.04 !important;
  }

  .footer-watermark img {
    width: 138% !important;
    max-width: none !important;
  }
}


/* =========================================
   FINAL OVERRIDE — CENTER FOOTER WATERMARK
   ========================================= */
footer {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.footer-watermark {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  transform: translate(-50%, -50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  pointer-events: none !important;
  user-select: none !important;
  z-index: 1 !important;
  opacity: 0.055 !important;
}

.footer-watermark img {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  display: block !important;
  width: min(72vw, 1180px) !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

.footer-inner,
.footer-grid,
.footer-bottom,
.footer-brand,
.footer-col,
.footer-copy,
.footer-links,
.footer-tagline {
  position: relative !important;
  z-index: 2 !important;
}

@media (max-width: 1024px) {
  .footer-watermark img {
    width: min(86vw, 980px) !important;
  }
}

@media (max-width: 640px) {
  .footer-watermark img {
    width: 135vw !important;
  }
}

/* =========================================
   FINAL FIX - FOOTER MOBILE SIDE PADDING
   =========================================
   Adds the same horizontal spacing on mobile as other rows.
   Visual layout stays unchanged on desktop.
*/
@media (max-width: 768px) {
  footer .footer-inner {
    padding-left: var(--pad) !important;
    padding-right: var(--pad) !important;
  }
}

/* =========================================
   FINAL FIX - PRIVACY PAGE LIKE OFFER / 1536PX
   ========================================= */
body:has(.privacy-page-hero) {
  background: #070a11;
}

.privacy-page-hero {
  min-height: 560px;
  padding: 8.5rem 0 4rem;
  display: flex;
  align-items: center;
  background: #070a11;
  border-bottom: 0;
}

.privacy-page-hero::before {
  display: none;
}

.privacy-page-hero .page-hero-bg img {
  opacity: 0.48;
  filter: saturate(0.72) contrast(1.06) brightness(0.72);
  object-position: center top;
}

.privacy-page-hero .page-hero-overlay {
  background:
    linear-gradient(180deg, rgba(7,10,17,0.16) 0%, rgba(7,10,17,0.30) 38%, #090c14 100%),
    linear-gradient(90deg, rgba(7,10,17,0.84) 0%, rgba(7,10,17,0.58) 45%, rgba(7,10,17,0.86) 100%);
}

.privacy-page-hero-content {
  width: 100%;
  max-width: 1536px !important;
  padding-left: var(--pad) !important;
  padding-right: var(--pad) !important;
  padding-top: 2.2rem;
}

.privacy-page-hero .page-hero-label {
  margin-bottom: 1.45rem;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
}

.privacy-page-hero .page-hero-h1 {
  max-width: 1030px;
  font-size: clamp(4.1rem, 6.25vw, 6.9rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.055em !important;
  font-weight: 600 !important;
  margin-bottom: 2rem !important;
}

.privacy-page-hero .page-hero-h1 em {
  font-style: italic !important;
  color: var(--gold) !important;
  font-weight: 600 !important;
}

.privacy-page-hero .page-hero-p {
  max-width: 680px;
  font-size: 0.93rem;
  line-height: 1.82;
  color: rgba(255,255,255,0.58);
}

.privacy-page-hero .gold-line {
  width: 7.8rem;
  margin-top: 1.65rem;
}

.privacy-page {
  padding: clamp(5.5rem, 7vw, 7.2rem) 0 clamp(5.8rem, 7.5vw, 7.8rem);
  background: #090c14;
  border-top: 0;
}

.privacy-page .privacy-container {
  width: 100%;
  max-width: 1536px !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad) !important;
  padding-right: var(--pad) !important;
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  gap: clamp(2.25rem, 5vw, 5.5rem);
  align-items: start;
}

.privacy-aside {
  position: sticky;
  top: 7rem;
  min-width: 0;
  padding: clamp(1.65rem, 2.6vw, 2.25rem);
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.06), transparent 44%),
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.016));
  box-shadow: 0 34px 90px rgba(0,0,0,0.22);
}

.privacy-aside h2 {
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 2.6vw, 2.8rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.04em !important;
  font-weight: 500 !important;
  color: var(--white) !important;
  margin: 1rem 0 1rem !important;
}

.privacy-aside p {
  color: rgba(255,255,255,0.58);
  font-size: 0.9rem;
  line-height: 1.75;
}

.privacy-aside strong {
  color: rgba(255,255,255,0.86);
}

.privacy-aside a {
  display: inline-flex;
  margin-top: 1.25rem;
  color: var(--gold);
  font-size: 0.82rem;
  line-height: 1.4;
  word-break: break-word;
}

.privacy-aside-line {
  width: 5rem;
  height: 1px;
  margin: 1.45rem 0;
  background: var(--gold);
}

.privacy-page .privacy-wrap {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.privacy-page .privacy-section {
  margin: 0 0 1rem !important;
  padding: clamp(1.55rem, 2.4vw, 2.25rem) !important;
  border: 1px solid rgba(255,255,255,0.075) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.045), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,0.038), rgba(255,255,255,0.014));
  box-shadow: 0 24px 70px rgba(0,0,0,0.14);
}

.privacy-page .privacy-section:hover {
  border-color: rgba(201,168,76,0.28) !important;
}

.privacy-page .privacy-section h2 {
  font-family: var(--font-display) !important;
  font-size: clamp(1.25rem, 1.7vw, 1.75rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  margin: 0 0 1.15rem !important;
}

.privacy-page .privacy-section p,
.privacy-page .privacy-section ul,
.privacy-page .privacy-section li {
  color: rgba(255,255,255,0.58) !important;
  font-size: 0.94rem !important;
  line-height: 1.82 !important;
  font-weight: 300;
}

.privacy-page .privacy-section p + p {
  margin-top: 0.85rem !important;
}

.privacy-page .privacy-section ul {
  margin-top: 0.85rem !important;
  padding-left: 1.25rem !important;
  list-style: disc !important;
}

.privacy-page .privacy-section li + li {
  margin-top: 0.35rem;
}

.privacy-page .privacy-section a {
  color: var(--gold) !important;
  text-decoration: none;
}

.privacy-page .privacy-section a:hover {
  color: #d9bd67 !important;
}

@media (max-width: 1180px) {
  .privacy-page .privacy-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .privacy-aside {
    position: relative;
    top: auto;
  }
}

@media (max-width: 768px) {
  .privacy-page-hero {
    min-height: 520px;
    padding-top: 7.2rem;
  }

  .privacy-page-hero .page-hero-h1 {
    font-size: clamp(2.75rem, 12vw, 4.1rem) !important;
    line-height: 1.06 !important;
  }

  .privacy-page {
    padding: 4.5rem 0 5rem;
  }

  .privacy-page .privacy-section {
    padding: 1.35rem !important;
  }
}


/* =========================================
   404 ERROR PAGE
   ========================================= */
.error-page {
  min-height: 100vh;
  background: var(--bg-dark);
}

.error-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 9rem 0 5rem;
}

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

.error-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: grayscale(20%);
}

.error-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 35%, rgba(201,168,76,0.22), transparent 32%),
    linear-gradient(90deg, rgba(10,12,18,0.96) 0%, rgba(10,12,18,0.82) 46%, rgba(10,12,18,0.58) 100%),
    linear-gradient(180deg, rgba(10,12,18,0.55) 0%, rgba(10,12,18,0.96) 100%);
}

.error-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.error-title {
  margin-top: 1.25rem;
  max-width: 880px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.error-title::before {
  content: '404';
  display: block;
  margin-bottom: 1rem;
  font-size: clamp(4.5rem, 16vw, 12rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.65);
  opacity: 0.9;
}

.error-lead {
  max-width: 720px;
  margin-top: 1.5rem;
  color: rgba(255,255,255,0.72);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.85;
}

.error-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.error-btn-ghost {
  border-color: rgba(255,255,255,0.16);
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.error-links a {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  color: rgba(255,255,255,0.74);
  font-size: 0.85rem;
  transition: var(--transition);
}

.error-links a:hover {
  color: var(--white);
  border-color: rgba(201,168,76,0.55);
  background: rgba(201,168,76,0.08);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .error-hero {
    padding: 7rem 0 4rem;
  }

  .error-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .error-actions .btn-primary,
  .error-actions .btn-ghost {
    justify-content: center;
    width: 100%;
  }

  .error-links a {
    width: 100%;
    text-align: center;
  }
}

/* =========================================
   SCREENSHOT MATCH - INWESTYCJE ROWS
   ========================================= */
body:has(.investments-intro) {
  background: #080b13;
}

/* Row 01: model + metrics from supplied screenshot */
.investments-intro {
  padding: clamp(5.4rem, 8vw, 7.5rem) 0 clamp(5.7rem, 8vw, 7.9rem) !important;
  background: #080b13 !important;
  border-top: 1px solid rgba(255,255,255,0.035);
  border-bottom: 1px solid rgba(255,255,255,0.035);
}

.investments-intro-inner {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr) !important;
  gap: clamp(4rem, 9vw, 9.5rem) !important;
  align-items: center !important;
}

.investments-intro-copy {
  max-width: 640px !important;
}

.investments-intro-copy .section-label,
.investments-model-card .section-label,
.investments-focus-heading .section-label {
  color: var(--gold) !important;
  letter-spacing: 0.28em !important;
  font-weight: 700 !important;
}

.investments-intro-copy h2 {

  font-size: clamp(3.85rem, 5.35vw, 4rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.055em !important;
  margin-bottom: 2rem !important;
}

.investments-intro-copy p:not(.section-label) {
  max-width: 600px !important;
  font-size: 0.86rem !important;
  line-height: 1.85 !important;
  color: rgba(255,255,255,0.62) !important;
}

.investments-intro-points {
  display: grid;
  gap: 0.95rem;
  margin: 1.65rem 0 1.65rem;
  padding: 0;
  list-style: none;
}

.investments-intro-points li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(255,255,255,0.56);
  font-size: 0.66rem;
  line-height: 1.35;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.investments-intro-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.22rem;
  width: 1px;
  height: 1.85rem;
  background: var(--gold);
}

.investments-mini-metrics {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(4.3rem, 6vw, 6.8rem) clamp(5rem, 8vw, 8.25rem) !important;
  align-self: center !important;
  justify-self: start !important;
  max-width: 620px !important;
}

.investments-mini-card {
  min-height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.investments-mini-card strong {
  display: block;
  color: var(--white) !important;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 5.1vw, 5.8rem) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.06em !important;
  font-weight: 500 !important;
  margin-bottom: 1.05rem !important;
}

.investments-mini-card strong span {
  color: rgba(255,255,255,0.58);
  font-size: 0.45em;
  font-weight: 300;
  margin-left: 0.08em;
}

.investments-mini-card i {
  display: block;
  width: 6.2rem;
  height: 2px;
  background: var(--gold);
  margin-bottom: 0.9rem;
}

.investments-mini-card span:not(strong span) {
  display: block;
  max-width: 15rem !important;
  color: rgba(255,255,255,0.74) !important;
  font-size: 0.83rem !important;
  line-height: 1.32 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase;
  font-weight: 600 !important;
}

.investments-mini-card-wide {
  grid-column: 1 / 2;
}

/* Row 02: operation model + Europe map */
.investments-map-section {
  padding: clamp(1.9rem, 3vw, 2.8rem) 0 clamp(4rem, 6vw, 5.6rem) !important;
  background: #090c14 !important;
}

.investments-map-inner {
  grid-template-columns: minmax(420px, 540px) minmax(0, 1fr) !important;
  gap: clamp(4.3rem, 8vw, 8.75rem) !important;
  align-items: stretch !important;
}

.investments-model-card {
  padding: clamp(2.4rem, 3.5vw, 3.2rem) !important;
  border: 1px solid rgba(255,255,255,0.075) !important;
  background: rgba(255,255,255,0.012) !important;
  box-shadow: none !important;
}

.investments-model-card h2 {
  font-size: clamp(4rem, 5.3vw, 4rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -0.06em !important;
  max-width: 470px !important;
  margin-bottom: 1.55rem !important;
}

.investments-model-list {
  margin-top: 1.85rem !important;
  gap: 0.9rem !important;
}

.investments-model-list div {
  padding: 1.04rem 1.25rem !important;
  background: rgba(255,255,255,0.028) !important;
  border: 1px solid rgba(255,255,255,0.055) !important;
  color: rgba(255,255,255,0.60) !important;
  font-size: 0.82rem !important;
}

.investments-common-box {
  margin-top: 2.7rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.investments-common-box span {
  color: var(--gold) !important;
  font-size: 0.58rem !important;
  letter-spacing: 0.26em !important;
}

.investments-map-wrap {
  min-height: 690px !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
}

.investments-map-wrap img {
  width: min(100%, 735px) !important;
  opacity: 0.74 !important;
  filter: drop-shadow(0 36px 80px rgba(0,0,0,0.32));
}

/* Row 03: competency cards */
.investments-focus-section {
  padding: clamp(5.2rem, 7vw, 6.7rem) 0 clamp(5.1rem, 7vw, 6.4rem) !important;
  background: #090c14 !important;
}

.investments-focus-inner {
  max-width: 1200px !important;
}

.investments-focus-heading {
  max-width: 970px !important;
  margin-bottom: clamp(2.7rem, 4vw, 4rem) !important;
}

.investments-focus-heading h2 {
  font-size: clamp(3.9rem, 5.3vw, 4rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.055em !important;
}

.investments-focus-heading p {
  max-width: 680px !important;
}

.investments-services-grid {
  gap: 1.05rem !important;
}

.investments-service-card {
  min-height: 230px !important;
  padding: 2.1rem 2.25rem 2.35rem !important;
  background: rgba(255,255,255,0.012) !important;
  border: 1px solid rgba(255,255,255,0.065) !important;
  box-shadow: none !important;
}

.investments-service-icon {
  border-radius: 0 !important;
  width: 3rem !important;
  height: 3rem !important;
}

.investments-service-card h3 {
  color: var(--gold) !important;
  font-size: 1.16rem !important;
  letter-spacing: -0.02em;
}

.investments-service-card p {
  color: rgba(255,255,255,0.58) !important;
  max-width: 360px;
}

@media (max-width: 1180px) {
  .investments-intro-inner,
  .investments-map-inner {
    grid-template-columns: 1fr !important;
  }

  .investments-mini-metrics {
    justify-self: stretch !important;
    max-width: none !important;
  }

  .investments-map-wrap {
    min-height: auto !important;
  }
}

@media (max-width: 768px) {
  .investments-intro {
    padding-top: 4.2rem !important;
    padding-bottom: 4.3rem !important;
  }

  .investments-intro-copy h2,
  .investments-model-card h2,
  .investments-focus-heading h2 {
    font-size: clamp(2.75rem, 11vw, 3.65rem) !important;
    line-height: 1.08 !important;
  }

  .investments-mini-metrics,
  .investments-services-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .investments-mini-card-wide {
    grid-column: auto;
  }

  .investments-model-card {
    padding: 1.6rem !important;
  }

  .investments-service-card {
    min-height: auto !important;
    padding: 1.55rem !important;
  }
}

/* === FIX: investments numbers - keep suffix on the same line as homepage stats === */
.investments-mini-card strong,
.investments-stat strong {
  display: inline-flex !important;
  align-items: flex-start !important;
  gap: 0.08em !important;
  white-space: nowrap !important;
  width: auto !important;
}

.investments-mini-card strong span,
.investments-stat strong span {
  display: inline-block !important;
  flex: 0 0 auto !important;
  font-size: 0.35em !important;
  line-height: 1 !important;
  margin-left: 0 !important;
  margin-top: 0.25em !important;
  letter-spacing: 0 !important;
  vertical-align: top !important;
}

/* =========================================
   FINAL FIX v5 - INWESTYCJE: row Model + mapa 50/50
   Breakpoint 1180px wcześniej wymuszał 1 kolumnę, więc mapa spadała pod tekst.
   ========================================= */
.investments-map-section .investments-map-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: clamp(3rem, 5vw, 5.5rem) !important;
  align-items: stretch !important;
}

.investments-map-section .investments-model-card,
.investments-map-section .investments-map-wrap {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

.investments-map-section .investments-model-card {
  justify-self: stretch !important;
}

.investments-map-section .investments-map-wrap {
  min-height: clamp(520px, 48vw, 690px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.investments-map-section .investments-map-wrap img {
  width: min(100%, 760px) !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Dopiero na małych ekranach układ przechodzi w jedną kolumnę. */
@media (max-width: 767px) {
  .investments-map-section .investments-map-inner {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .investments-map-section .investments-map-wrap {
    min-height: auto !important;
  }

  .investments-map-section .investments-map-wrap img {
    width: 112% !important;
    max-width: none !important;
  }
}

/* =========================================
   FINAL FIX v6 - INWESTYCJE: full map visible in 50/50 row
   Earlier rule used overflow:hidden on .investments-map-wrap, which cut the SVG.
   ========================================= */
.investments-map-section .investments-map-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: clamp(3rem, 5vw, 5.5rem) !important;
  align-items: center !important;
}

.investments-map-section .investments-model-card,
.investments-map-section .investments-map-wrap {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

.investments-map-section .investments-map-wrap {
  min-height: clamp(520px, 44vw, 690px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  padding: clamp(0.75rem, 1.5vw, 1.5rem) 0 !important;
}

.investments-map-section .investments-map-wrap img {
  display: block !important;
  width: 100% !important;
  max-width: 674px !important;
  height: auto !important;
  max-height: 100% !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  transform: none !important;
}

@media (max-width: 767px) {
  .investments-map-section .investments-map-inner {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .investments-map-section .investments-map-wrap {
    min-height: auto !important;
    padding: 0 !important;
  }

  .investments-map-section .investments-map-wrap img {
    width: 100% !important;
    max-width: 674px !important;
  }
}


/* =========================================
   FINAL FIX v7 - INWESTYCJE: mapa lokalna + widoczna jak na stronie glownej
   ========================================= */
.investments-map-section .investments-map-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: clamp(3rem, 5vw, 5.5rem) !important;
  align-items: center !important;
}

.investments-map-section .investments-map-wrap {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  padding: 0 !important;
}

.investments-map-section .investments-map-wrap img {
  display: block !important;
  width: 100% !important;
  max-width: 674px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
  transform: none !important;
  opacity: 0.94 !important;
}

@media (max-width: 767px) {
  .investments-map-section .investments-map-inner {
    grid-template-columns: 1fr !important;
  }

  .investments-map-section .investments-map-wrap img {
    width: 100% !important;
    max-width: 674px !important;
  }
}


/* =========================================
   FINAL FIX v8 - INWESTYCJE: legenda mapy w kodzie, bez zmian w SVG
   ========================================= */
.investments-map-section .investments-map-wrap {
  position: relative !important;
  overflow: visible !important;
}

.investments-map-section .investments-map-wrap img {
  display: block !important;
}

.investments-map-legend {
  position: absolute;
  right: clamp(0.75rem, 3.2vw, 2.4rem);
  bottom: clamp(0.25rem, 1.2vw, 0.9rem);
  z-index: 3;
  min-width: 172px;
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(201, 168, 76, 0.24);
  background: rgba(8, 11, 18, 0.78);
  backdrop-filter: blur(2px);
  display: grid;
  gap: 0.82rem;
  pointer-events: none;
}

.investments-map-legend-item {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: clamp(0.62rem, 0.82vw, 0.78rem);
  line-height: 1;
  white-space: nowrap;
}

.investments-map-legend-mark {
  display: inline-block;
  flex: 0 0 auto;
}

.investments-map-legend-mark--active {
  width: 18px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.78), rgba(201, 168, 76, 1));
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.34);
}

.investments-map-legend-mark--pipeline {
  width: 18px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.95);
  background: transparent;
}

@media (max-width: 767px) {
  .investments-map-legend {
    position: static;
    margin: 1rem auto 0;
    width: max-content;
    max-width: 100%;
  }

  .investments-map-section .investments-map-wrap {
    flex-direction: column !important;
  }
}

/* =========================================
   FINAL FIX v10 - INWESTYCJE: legenda pod mapa, bez nachodzenia
   ========================================= */
.investments-map-section .investments-map-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

.investments-map-section .investments-map-wrap img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.investments-map-legend {
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  margin: clamp(0.9rem, 1.4vw, 1.25rem) auto 0 !important;
  width: max-content !important;
  max-width: calc(100% - 2rem) !important;
  pointer-events: none;
}

/* =========================================
   FINAL FIX v11 - INWESTYCJE: legenda pod mapa, wyrownana do prawej krawedzi mapy
   ========================================= */
.investments-map-section .investments-map-wrap {
  align-items: stretch !important;
}

.investments-map-section .investments-map-wrap img {
  align-self: stretch !important;
}

.investments-map-legend {
  align-self: flex-end !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

@media (max-width: 767px) {
  .investments-map-legend {
    align-self: flex-end !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
}

/* =========================================
   FINAL FIX - TERENY PAGE FROM PDF + H2 LIKE /O-GRUPIE/
   ========================================= */
.land-page-hero .page-hero-p-secondary {
  margin-top: 1rem;
}

/* Tereny H2: same size/weight rhythm as the /o-grupie/ section headings */
#land .land-section-h2,
#investors .land-section-h2 {
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 4vw, 3.5rem) !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.035em !important;
  color: var(--white) !important;
  margin-bottom: 2.5rem !important;
}

#land .land-section-h2 em,
#land .land-section-h2 span,
#investors .land-section-h2 span {
  font-style: normal !important;
  color: rgba(255,255,255,0.62) !important;
  font-weight: 500 !important;
}

.land-page-analysis {
  position: relative;
  overflow: hidden;
}

#land.land-page-analysis .land-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important;
  align-items: center !important;
}

#land.land-page-analysis .land-copy {
  max-width: 690px;
}

#land.land-page-analysis .land-features {
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
}

#land.land-page-analysis .land-feature {
  min-height: 78px;
  display: flex;
  align-items: center;
}

#land.land-page-analysis .land-feature-title {
  margin-bottom: 0;
}

#land.land-page-analysis .land-result-text {
  margin-top: 1.45rem;
  margin-bottom: 0;
}

.land-photo-card {
  position: relative;
  min-height: 560px;
  padding: 0;
  display: block;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.land-photo-card::before {
  content: '';
  position: absolute;
  z-index: 0;
  width: 70%;
  height: 100%;
  right: 0;
  top: 0;
  background: rgba(255,255,255,0.075);
  border: 0;
  pointer-events: none;
}

.land-photo-card img {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 56px;
  width: 82%;
  max-width: none;
  height: calc(100% - 112px);
  aspect-ratio: auto;
  object-fit: cover;
  filter: grayscale(0.12) saturate(0.82) contrast(1.05) brightness(0.82);
  opacity: 0.92;
}

.land-est-badge {
  position: absolute;
  z-index: 2;
  right: 7%;
  top: 42px;
  min-width: 168px;
  min-height: 52px;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--gold);
  color: #090c14;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.64rem;
}

.land-est-badge strong {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.land-page-owners {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 32%, rgba(201,168,76,0.055), transparent 30%),
    rgba(17,20,32,0.5) !important;
}

.land-page-owners::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/mapa-europa.png') center right / min(820px, 70vw) auto no-repeat;
  opacity: 0.055;
  pointer-events: none;
}

.land-page-owners .container {
  position: relative;
  z-index: 1;
}

.land-page-owners .owners-head {
  max-width: 720px;
}

.land-page-owners .investors-line {
  display: none;
}

.land-page-owners .investors-p {
  max-width: 690px;
  margin-bottom: 4.2rem;
}

.land-page-owners .investor-card {
  min-height: 220px;
}

@media (max-width: 1180px) {
  #land.land-page-analysis .land-grid {
    grid-template-columns: 1fr !important;
  }

  #land.land-page-analysis .land-copy {
    max-width: 780px;
  }

  .land-photo-card {
    min-height: min(560px, 82vw);
  }
}

@media (max-width: 768px) {
  #land .land-section-h2,
  #investors .land-section-h2 {
    font-size: clamp(2rem, 10vw, 3.2rem) !important;
  }

  .land-photo-card {
    min-height: 430px;
    padding: 0;
  }

  .land-photo-card img {
    top: 44px;
    width: 86%;
    height: calc(100% - 88px);
  }

  .land-est-badge {
    position: absolute;
    right: 4%;
    top: 26px;
    min-width: 140px;
    min-height: 46px;
    margin-bottom: 0;
  }

  .land-page-owners .investor-card {
    min-height: auto;
  }
}


/* FINAL FIX - TERENY: analiza photo like reference screenshot */
#land.land-page-analysis .land-photo-card {
  position: relative !important;
  min-height: 560px !important;
  padding: 0 !important;
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#land.land-page-analysis .land-photo-card::before {
  content: '' !important;
  position: absolute !important;
  z-index: 0 !important;
  right: 0 !important;
  top: 0 !important;
  width: 70% !important;
  height: 100% !important;
  background: rgba(255,255,255,0.075) !important;
  border: 0 !important;
  pointer-events: none !important;
}

#land.land-page-analysis .land-photo-card img {
  position: absolute !important;
  z-index: 1 !important;
  left: 0 !important;
  top: 58px !important;
  width: 82% !important;
  height: calc(100% - 116px) !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: none !important;
  opacity: 1 !important;
  border: 0 !important;
}

#land.land-page-analysis .land-est-badge {
  position: absolute !important;
  z-index: 2 !important;
  top: 44px !important;
  right: 7% !important;
  min-width: 168px !important;
  min-height: 52px !important;
  padding: 0.8rem 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  background: var(--gold) !important;
  color: #090c14 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.16em !important;
  font-size: 0.64rem !important;
  border: 0 !important;
}

#land.land-page-analysis .land-est-badge span {
  font-size: 0.64rem !important;
  font-weight: 500 !important;
}

#land.land-page-analysis .land-est-badge strong {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
}

@media (max-width: 1180px) {
  #land.land-page-analysis .land-photo-card {
    min-height: min(560px, 82vw) !important;
  }
}

@media (max-width: 768px) {
  #land.land-page-analysis .land-photo-card {
    min-height: 430px !important;
  }

  #land.land-page-analysis .land-photo-card img {
    top: 44px !important;
    width: 86% !important;
    height: calc(100% - 88px) !important;
  }

  #land.land-page-analysis .land-est-badge {
    top: 26px !important;
    right: 4% !important;
    min-width: 140px !important;
    min-height: 46px !important;
  }
}

/* =========================================
   FINAL CODE FIX - TERENY ANALIZA IMAGE COMPOSITION
   Matches reference screenshot no. 2 without generating a new image.
   ========================================= */
#land.land-page-analysis .reveal-right.land-photo-card,
#land.land-page-analysis .land-photo-card {
  position: relative !important;
  justify-self: center !important;
  width: min(720px, 100%) !important;
  min-height: 660px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  display: block !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#land.land-page-analysis .land-photo-card::before {
  content: '' !important;
  position: absolute !important;
  z-index: 0 !important;
  width: 63% !important;
  height: 88% !important;
  right: 7% !important;
  top: 7% !important;
  background: rgba(255,255,255,0.075) !important;
  border: 0 !important;
  pointer-events: none !important;
}

#land.land-page-analysis .land-photo-card img {
  position: absolute !important;
  z-index: 1 !important;
  left: 6% !important;
  top: 16% !important;
  width: 77.5% !important;
  height: 70% !important;
  max-width: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: grayscale(0.06) saturate(0.95) contrast(1.02) brightness(0.9) !important;
  opacity: 0.96 !important;
}

#land.land-page-analysis .land-est-badge {
  position: absolute !important;
  z-index: 2 !important;
  top: 14% !important;
  right: 13.5% !important;
  min-width: 150px !important;
  min-height: 42px !important;
  padding: 0.65rem 1.1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  background: var(--gold) !important;
  color: #070a10 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.16em !important;
  font-size: 0.58rem !important;
  font-weight: 500 !important;
}

#land.land-page-analysis .land-est-badge span {
  font-weight: 500 !important;
}

#land.land-page-analysis .land-est-badge strong {
  font-size: 0.67rem !important;
  letter-spacing: 0.12em !important;
  font-weight: 800 !important;
}

@media (max-width: 1180px) {
  #land.land-page-analysis .land-photo-card {
    min-height: min(660px, 92vw) !important;
  }
}

@media (max-width: 768px) {
  #land.land-page-analysis .land-photo-card {
    min-height: 430px !important;
  }

  #land.land-page-analysis .land-photo-card::before {
    width: 64% !important;
    height: 88% !important;
    right: 5% !important;
    top: 7% !important;
  }

  #land.land-page-analysis .land-photo-card img {
    left: 5% !important;
    top: 16% !important;
    width: 80% !important;
    height: 70% !important;
  }

  #land.land-page-analysis .land-est-badge {
    top: 12.5% !important;
    right: 9% !important;
    min-width: 128px !important;
    min-height: 38px !important;
    font-size: 0.52rem !important;
  }
}

/* =========================================
   FINAL FIX - CONTACT WIDTH + GLOBAL HEADING LINE HEIGHT
   ========================================= */
.contact-template {
  --container: 1536px !important;
}

.contact-template .container,
.contact-template .page-hero-content,
.contact-template .contact-page-section > .container {
  max-width: 1536px !important;
}

.contact-template .contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr) !important;
  gap: clamp(2rem, 4vw, 5rem) !important;
}

h1,
h2 {
  line-height: 1.2 !important;
}

@media (max-width: 1024px) {
  .contact-template .contact-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================
   FINAL FIX - homepage stats vertical centering
   ========================================= */
@media (min-width: 1025px) {
  #stats .stats-inner {
    align-items: center !important;
  }

  #stats .stats-left {
    width: 48% !important;
  }

  #stats .stats-grid {
    flex: 0 1 34rem !important;
    max-width: 34rem !important;
    margin-left: auto !important;
    align-self: center !important;
    justify-content: center !important;
    align-content: center !important;
    gap: 4.5rem 5rem !important;
  }

  #stats .stats-grid > div {
    justify-self: start !important;
  }
}
