/* Lucrema – statická verze původního Divi webu (rozměry změřené 1:1) */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #000;
  color: #666;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 23.8px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* přesahující dekorace (jako v originále) */
}

h2, h4 { margin: 0; padding-bottom: 10px; font-weight: 400; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- mřížka (Divi: řádek 80 %, mezera 5.5 %) ---------- */

section, footer { position: relative; background-color: #000; }

.row {
  position: relative;
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 27px 0;
  display: flex;
  align-items: flex-start;
}
.row--narrow { max-width: 900px; }
.row--wide { max-width: 1280px; }

.col { position: relative; z-index: 2; width: 100%; }
.col--half { width: 47.25%; flex: none; }
.col + .col { margin-left: 5.5%; }

/* mezera pod modulem (Divi 2.75 % šířky řádku) */
.module { margin-bottom: min(2.2vw, 29.7px); }
.row--narrow .module { margin-bottom: min(2.2vw, 24.75px); }

/* ---------- typografie ---------- */

.title {
  color: #fff;
  font-family: "Anton", Helvetica, Arial, sans-serif;
  font-size: 60px;
  line-height: 1.2em;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.title--center { text-align: center; }
.title--tight { margin-bottom: 10px; }

.text {
  color: #fff;
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8em;
}

/* ---------- hero ---------- */

.hero {
  padding: 4vw 0 4px;
  overflow: hidden;
  background: #000 url("/img/pozadi-vlny-hero.webp") no-repeat center top 30px;
}
.hero__logo { width: 500px; margin: 0 auto; }

/* ---------- úvod ---------- */

.intro { padding: 0 0 7px; overflow: hidden; }

.intro__deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 10%;
  transform: translateX(100%) translateY(-50%);
}

/* ---------- investiční příležitosti ---------- */

.invest { padding: 25px 0 0; }

.invest .title { font-size: min(60px, calc(7.9vw - 20px)); } /* originál kolem 990 px přetékal */

.invest__box {
  padding: 60px 100px;
  border-radius: 30px;
  background: #000;
}

.invest__image {
  width: calc(100% + 30%);
  max-width: none;
  margin: -6vw -30% -6vw 0;
}

/* ---------- nákup a prodej pohledávek ---------- */

.debts { padding: 54px 0 2px; }
.debts .col--half > img { width: 100%; }
.debts__text { padding-top: 60px; }

/* ---------- výzva ---------- */

.cta {
  padding: 3px 0 0;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, #121212 100%), url("/img/pozadi-vlny-cta.webp");
  background-repeat: no-repeat;
  background-position: center top;
}

.cta__text {
  color: #fff;
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
}

/* ---------- kontakt ---------- */

.contact {
  padding: 0 0 22px;
  background: #000 url("/img/pozadi-vlny-kontakt.webp") no-repeat center bottom;
}

.contact__box {
  margin-bottom: 30px;
  padding: 60px 5vw;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
}

.blurb {
  display: flex;
  align-items: flex-start;
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8em;
}

.blurb__icon {
  flex: none;
  width: 52px;
  height: 52px;
  margin-right: 15px;
  padding: 16px;
  border: 2px solid #000;
  border-radius: 100px;
}
.blurb__icon img { width: 16px; height: 16px; }

.blurb__body { flex: 1; min-width: 0; }

.blurb__title {
  color: #333;
  font-family: "Anton", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6em;
  letter-spacing: 1px;
}
.blurb__title--small { font-size: 14px; }

.blurb a { color: #666; }
.blurb a:hover { text-decoration: underline; }

/* ---------- 404 ---------- */

.notfound { padding: 120px 0; text-align: center; }
.notfound .row { display: block; }
.notfound a { color: #fff; text-decoration: underline; }

/* ---------- tablet (Divi ≤ 980 px) ---------- */

@media (max-width: 980px) {
  .row { display: block; padding: 30px 0; }
  .col--half { width: 100%; }
  .col + .col { margin-left: 0; }
  .row > .col:not(:last-child) { margin-bottom: 30px; }
  .module, .row--narrow .module { margin-bottom: 30px; }

  .hero__logo { width: auto; }
  .title, .invest .title { font-size: 32px; }
  .text { font-size: 15px; }

  .invest__box { padding: 30px; }
  .debts { padding-top: 50px; }
  .debts__text { padding-top: 0; }

  .contact__box { padding: 30px; }
  .blurb, .blurb__title, .blurb__title--small { font-size: 15px; }
}

/* ---------- mobil (Divi ≤ 767 px) ---------- */

@media (max-width: 767px) {
  .title, .invest .title { font-size: 35px; }
  .text { font-size: 14px; }
  .invest__box { padding: 20px; }
  .contact__box { padding: 20px; }
  .blurb, .blurb__title, .blurb__title--small { font-size: 14px; }
}
