:root {
  --navy: #0c0852;
  --gold: #b49d70;
  --gold-dark: #9c8659;
  --ink: #1e1e1e;
  --ink-soft: #424142;
  --bg: #f5f5f5;
  --line: #edeeef;
  --white: #ffffff;
  --shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Roboto", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 500;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 16px; font-weight: 700; }
h2 { font-size: 28px; }
h3 { font-size: 21px; font-weight: 600; }
p { margin: 0 0 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.section { padding: 80px 0; }
.section--white { background: var(--white); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--white);
  padding: 14px 26px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 0; cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--gold-dark); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 80px;
}
.brand { display: flex; align-items: center; gap: 20px; text-decoration: none; }
.brand img { width: 74px; height: auto; }
.brand span { font-size: 24px; font-weight: 600; color: var(--ink-soft); }
.nav { display: flex; gap: 36px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 16px; }
.nav a:hover { color: var(--gold); }
.header .btn { padding: 12px 22px; font-size: 15px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; }

/* Hero */
.hero {
  position: relative; min-height: min(86vh, 820px);
  background: url("assets/web/hero.jpg") center / cover no-repeat;
  display: flex; align-items: flex-end;
}
.hero__card {
  background: rgba(255, 255, 255, 0.82);
  max-width: 600px; margin: 0 0 0 auto;
  padding: 44px 50px;
}
.hero__card h1 { font-size: 32px; font-weight: 600; color: var(--ink-soft); }
.hero__card .lead { font-size: 18px; font-weight: 500; color: var(--ink-soft); }
.hero .wrap { width: 100%; padding-bottom: 60px; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tile { background: var(--white); box-shadow: var(--shadow); padding: 36px 32px; }
.tile .icon { margin-bottom: 18px; }

.icon { width: 64px; height: 64px; color: var(--gold); }
.icon img { width: 100%; height: 100%; object-fit: contain; }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.split img { width: 100%; height: auto; }
.split .btn { margin-top: 8px; }

/* Cards grid */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 56px; }
.card {
  background: var(--white); box-shadow: var(--shadow);
  padding: 40px 36px; text-align: center;
}
.card .icon { margin: 0 auto 18px; width: 110px; height: 90px; }
.card p { font-weight: 500; margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.features-band {
  position: relative; padding: 90px 0; color: var(--white);
  background: linear-gradient(rgba(180, 157, 112, 0.82), rgba(180, 157, 112, 0.82)), url("assets/web/wizualizacja-2b-szeroka.jpg") center / cover no-repeat;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 56px; text-align: center; }
.feature .icon { margin: 0 auto 20px; width: 72px; height: 72px; }
.feature p { font-size: 18px; font-weight: 700; margin: 0; }

/* Navigator */
.navigator h2 { text-align: center; margin-bottom: 40px; }
.twopoint-iframe { width: 100%; min-height: 700px; border: 0; display: block; background: var(--white); }

/* Finance */
.finance { background: var(--white); box-shadow: var(--shadow); padding: 56px; max-width: 900px; margin: 0 auto; }

/* Other investments */
.other { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--white); box-shadow: var(--shadow); margin-top: 40px; }
.other img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.other__body { padding: 44px; }
.other__body .lead { font-size: 18px; font-weight: 500; color: var(--ink-soft); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact--single { grid-template-columns: 1fr; }
.contact .lead { font-size: 21px; font-weight: 500; margin-bottom: 40px; }
.contact address { font-style: normal; font-size: 18px; }
.contact address p { margin-bottom: 28px; }
.contact address a { text-decoration: none; }
.contact address a:hover { color: var(--gold); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-weight: 500; }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea {
  font: inherit; padding: 12px 14px;
  border: 1px solid #dcdcdc; background: var(--bg);
  width: 100%;
}
.form textarea { min-height: 140px; resize: vertical; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.form .consent input { width: auto; margin-top: 5px; }
.form .btn { justify-self: start; }
.form small { color: var(--ink-soft); }

/* Footer */
.footer { background: var(--white); padding: 56px 0 28px; font-size: 15px; color: var(--ink-soft); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { margin: 0 0 12px; font-size: 16px; color: var(--ink); font-weight: 500; }
.footer p { margin: 0 0 4px; }
.footer nav a { display: block; text-decoration: none; margin-bottom: 4px; }
.footer nav a:hover, .footer__bottom a:hover { color: var(--gold); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px;
}
.footer__bottom a { color: inherit; }
.footer__bottom svg { width: 22px; height: 22px; fill: currentColor; }

@media (max-width: 1024px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 80px; left: 0; right: 0;
    background: var(--bg); box-shadow: var(--shadow); padding: 8px 16px 16px;
  }
  .nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .header .btn { display: none; }
  .tiles, .features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .brand img { width: 56px; }
  .brand span { font-size: 21px; }
  .hero { min-height: 640px; }
  .hero .wrap { padding-bottom: 16px; }
  .hero__card { padding: 28px 24px; }
  .tiles, .features, .cards, .split, .contact, .other, .footer__grid, .form { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .finance, .other__body { padding: 28px 24px; }
  .twopoint-iframe { min-height: 600px; }
}

#kontakt h2 { font-size: 32px; }
