:root {
  --bg: #f8f4ee;
  --paper: #fffaf4;
  --text: #241f1a;
  --muted: #766b61;
  --soft: #e9ded1;
  --accent: #9a6346;
  --accent2: #4d6261;
  --dark: #171513;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  padding: 22px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  mix-blend-mode: difference;
}

.brand {
  font-size: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: end start;
  overflow: hidden;
  background: #111;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(.95) contrast(.96);
}

.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.08) 100%),
    linear-gradient(0deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,0) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 34px 92px;
  color: white;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 28px 80px;
}

section {
  padding: 72px 0;
  border-bottom: 1px solid var(--soft);
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(48px, 8vw, 96px);
  line-height: .98;
  letter-spacing: -.055em;
  margin: 0 0 28px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 0 0 26px;
}

p {
  font-size: 18px;
  color: var(--muted);
  max-width: 820px;
  margin: 0 0 18px;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 44px;
  color: var(--muted);
  font-size: 14px;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 54px;
  align-items: start;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
}

.background-block {
  display: grid;
  grid-template-columns: 1fr;
}

@media (max-width: 820px) {
  .topbar {
    position: absolute;
    padding: 20px;
    mix-blend-mode: normal;
  }

  nav {
    display: none;
  }

  .hero-content {
    padding: 0 22px 54px;
  }

  main {
    padding: 54px 22px;
  }

  section {
    padding: 52px 0;
  }

  .intro,
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 400px) and (max-width: 500px) {
    .hero-content {
        transform: translateY(-100px);
    }
}

/* ===== Háttér kulcsszavak ===== */

#rolam,
#hatterem,
#irasok,
#coaching,
#kapcsolat {
    position: relative;
    overflow: hidden;
}

#rolam::before,
#hatterem::before,
#irasok::before,
#coaching::before,
#kapcsolat::before {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 0;

    line-height: 1;
    font-weight: 800;
    letter-spacing: .08em;
    white-space: nowrap;
}

#rolam > *,
#hatterem > *,
#irasok > *,
#coaching > *,
#kapcsolat > * {
    position: relative;
    z-index: 1;
}

#rolam::before {
    content: "RENDSZERLÁTÁS";
    top: 440px;
    right: 160px;
    font-size: clamp(42px, 5.2vw, 75px);
    color: rgba(154,99,70,.10);
    transform: rotate(-6deg) translateX(20px);
}

#hatterem::before {
    content: "INTEGRÁCIÓ";
    top: 20px;
    right: 250px;
    font-size: clamp(35px, 4.5vw, 65px);
    color: rgba(77,98,97,.075);
    transform: rotate(2deg);
}

#irasok::before {
    content: "ÖNREFLEXIÓ";
    top: 60px;
    right: 160px;
    font-size: clamp(42px, 5.2vw, 75px);
    color: rgba(154,99,70,.10);
    transform: rotate(6deg) translateX(20px);
}

#coaching::before {
    content: "SÉMASZEMLÉLET";
    top: 20px;
    right: 250px;
    font-size: clamp(35px, 4.5vw, 65px);
    color: rgba(77,98,97,.075);
    transform: rotate(-2deg);
}

#kapcsolat::before {
    content: "JELENLÉT";
    top: 80px;
    right: 150px;
    font-size: clamp(42px, 5.2vw, 75px);
    color: rgba(154,99,70,.10);
    transform: rotate(6deg) translateX(20px);
}

@media (max-width: 820px) {
    #rolam::before {
        top: 2%;
        right: 5%;
        font-size: clamp(22px, 7vw, 38px);
        transform: rotate(8deg) translateX(20px);
    }

    #hatterem::before {
        top: 2%;
        right: 2%;
        font-size: clamp(38px, 9vw, 70px);
    }

    #irasok::before {
        top: 5%;
        right: 5%;
        font-size: clamp(22px, 7vw, 38px);
        transform: rotate(6deg);
    }

    #coaching::before {
        top: 2%;
        right: 2%;
        font-size: clamp(28px, 6vw, 34px);
        transform: rotate(2deg);
    }

    #kapcsolat::before {
        top: 16%;
        right: 5%;
        font-size: clamp(24px, 8vw, 42px);
        transform: rotate(6deg);
    }
}