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

:root {
  --forest:  #253C2E;
  --sage:    #3E5649;
  --moss:    #5C7A6A;
  --fog:     #F0EBE2;
  --cream:   #FAF8F3;
  --gold:    #B8906A;
  --gold-lt: #CCA882;
  --mist:    #BDD0C8;
  --ink:     #1B1E1C;
  --ink-70:  rgba(27,30,28,.72);
  --ink-40:  rgba(27,30,28,.40);
  --fog-80:  rgba(240,235,226,.84);
  --display: 'Cormorant Garamond', Georgia, serif;
  --body:    'Jost', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }

body {
  font-family: var(--body);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s ease;
}

.nav.scrolled {
  background: rgba(37, 60, 46, 0.97);
  backdrop-filter: blur(10px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fog);
  text-decoration: none;
}

.nav-logo {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(240,235,226,.72);
  text-decoration: none;
  transition: color .2s;
}

.nav-links a:hover { color: var(--gold-lt); }

.nav-links-book { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0 .4rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--fog);
  transition: transform .3s ease, opacity .3s ease;
}

.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-book {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--gold);
  padding: .65rem 1.5rem;
  text-decoration: none;
  transition: background .2s;
}

.nav-book:hover { background: var(--gold-lt); }

/* ── HERO ────────────────────────────────── */

.hero {
  min-height: 100svh;
  background-color: var(--forest);
  background-image:
    radial-gradient(ellipse 80% 70% at 65% 50%, rgba(92,122,106,.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 5% 85%, rgba(20,40,28,.55) 0%, transparent 55%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  padding: 8rem 5rem 5rem;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3.8rem, 8.5vw, 7.8rem);
  line-height: 1.04;
  color: var(--fog);
  max-width: 13ch;
  letter-spacing: -.01em;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ── Signature element: the golden thin rule ── */
.hero-rule {
  width: 5rem;
  height: 1px;
  background: var(--gold);
  margin: 2.75rem 0;
}

.hero-sub {
  font-size: .96rem;
  font-weight: 300;
  line-height: 1.82;
  color: var(--fog-80);
  max-width: 40ch;
  letter-spacing: .01em;
}

.hero-sub + .hero-sub { margin-top: 1.25rem; }

.hero-actions {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.btn-primary {
  display: inline-block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--gold);
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: background .2s, transform .2s;
}

.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
}

.btn-text {
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid rgba(189,208,200,.28);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}

.btn-text:hover {
  color: var(--gold-lt);
  border-color: var(--gold-lt);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(189,208,200,.42);
  font-size: .62rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  pointer-events: none;
}

.scroll-bar {
  display: block;
  width: 1px;
  height: 2.25rem;
  background: rgba(189,208,200,.28);
}

/* ── ABOUT ───────────────────────────────── */

.about-wrap {
  padding: 9rem 5rem;
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-wrap > * { min-width: 0; }

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--sage);
  position: relative;
  overflow: hidden;
}

.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(145deg, rgba(37,60,46,.28) 0%, rgba(62,86,73,.08) 55%, rgba(92,122,106,.18) 100%);
  pointer-events: none;
}

.about-label {
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
}

.about-h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.about-body {
  font-size: 1rem;
  line-height: 1.92;
  color: var(--ink-70);
  margin-bottom: 1rem;
}

.about-stats {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(27,30,28,.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
}

.stat-num {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--sage);
  line-height: 1;
  display: block;
  margin-bottom: .3rem;
}

.stat-label {
  font-size: .64rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-40);
}

/* ── SERVICES ────────────────────────────── */

.services-section {
  background: var(--fog);
  padding: 8rem 5rem;
}

.section-header {
  max-width: 1380px;
  margin: 0 auto 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.sec-label {
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .75rem;
}

.sec-h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 3vw, 2.75rem);
  color: var(--ink);
  line-height: 1.22;
}

.sec-aside {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-70);
  max-width: 30ch;
  text-align: right;
}

.services-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(27,30,28,.08);
}

.svc-card {
  background: var(--fog);
  padding: 2.75rem;
  transition: background .25s;
}

.svc-card:hover { background: #ece6dc; }

.svc-dot {
  display: block;
  width: .42rem;
  height: .42rem;
  background: var(--gold);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.svc-name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .75rem;
}

.svc-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.82;
  color: var(--ink-70);
}

/* ── QUOTE ───────────────────────────────── */

.quote-section {
  background: var(--forest);
  padding: 8rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 80% at 50% 50%, rgba(92,122,106,.22) 0%, transparent 70%);
  pointer-events: none;
}

.qmark {
  display: block;
  font-family: var(--display);
  font-size: 5rem;
  line-height: .6;
  color: var(--gold);
  opacity: .32;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.qtext {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  color: var(--fog);
  line-height: 1.45;
  max-width: 32ch;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.qrule {
  width: 2rem;
  height: 1px;
  background: var(--gold);
  margin: 1.25rem auto;
  opacity: .5;
}

.qattr {
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  z-index: 1;
}

/* ── PROSE (Szemléletem) ─────────────────── */

.prose-section {
  background: var(--cream);
  padding: 8rem 5rem;
}

.prose-inner {
  max-width: 760px;
  margin: 0 auto;
}

.prose-inner .sec-h2 { margin-bottom: 2rem; }

.prose-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.95;
  color: var(--ink-70);
  margin-bottom: 1.25rem;
}

.prose-em {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--sage);
  line-height: 1.5;
  margin: 2rem 0;
}

/* ── PROCESS ─────────────────────────────── */

.process-section {
  background: var(--fog);
  padding: 8rem 5rem;
}

.process-inner {
  max-width: 1380px;
  margin: 0 auto;
}

.process-steps {
  margin-top: 4.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 1.4rem;
  left: calc(33.33% + 0.5rem);
  right: calc(33.33% + 0.5rem);
  height: 1px;
  background: rgba(27,30,28,.1);
}

.process-step {
  display: flex;
  flex-direction: column;
}

.step-ring {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  border: 1px solid rgba(27,30,28,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: var(--fog);
  position: relative;
  z-index: 1;
}

.step-ring-num {
  font-family: var(--display);
  font-size: .9rem;
  font-weight: 400;
  color: var(--sage);
}

.step-title {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .75rem;
}

.step-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.82;
  color: var(--ink-70);
}

/* ── CTA ─────────────────────────────────── */

.cta-section {
  background: var(--sage);
  padding: 7rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(92,122,106,.35) 0%, transparent 70%);
  pointer-events: none;
}

.cta-label {
  display: block;
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--fog);
  line-height: 1.25;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.btn-cta {
  display: inline-block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--fog);
  padding: 1.1rem 3rem;
  text-decoration: none;
  transition: background .2s, transform .2s;
  position: relative;
  z-index: 1;
}

.btn-cta:hover {
  background: #fff;
  transform: translateY(-2px);
}

.cta-note {
  display: block;
  margin-top: 1.5rem;
  font-size: .9rem;
  font-weight: 300;
  color: rgba(189,208,200,.52);
  letter-spacing: .04em;
  position: relative;
  z-index: 1;
}

/* ── FOOTER ──────────────────────────────── */

.site-footer {
  background: var(--forest);
  padding: 2.5rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mist);
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: .68rem;
  font-weight: 300;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(189,208,200,.45);
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: .65rem;
  font-weight: 300;
  color: rgba(189,208,200,.3);
  letter-spacing: .04em;
}

/* ── SCROLL REVEAL ───────────────────────── */

.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s ease, transform .75s ease;
}
.rv.d1 { transition-delay: .12s; }
.rv.d2 { transition-delay: .24s; }
.rv.d3 { transition-delay: .36s; }
.rv.in  { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────── */

@media (max-width: 960px) {
  .nav { padding: 1.25rem 2rem; }
  .nav-book { display: none; }
  .nav-toggle { display: flex; }
  .nav-links-book { display: block; }
  .nav-links-book a { color: var(--gold-lt); }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(37, 60, 46, 0.97);
    backdrop-filter: blur(10px);
    padding: .75rem 0 1.25rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }

  .nav.open .nav-links {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    padding: .9rem 2rem;
    font-size: .8rem;
  }

  .nav.open { background: rgba(37, 60, 46, 0.97); backdrop-filter: blur(10px); }

  .hero-inner { padding: 7rem 2rem 5rem; }
  .hero-h1 { font-size: clamp(2.6rem, 11.5vw, 3.8rem); }
  .hero-scroll { left: 2rem; }

  .sec-h2, .about-h2, .cta-h2 { overflow-wrap: break-word; hyphens: auto; }

  .about-wrap {
    grid-template-columns: 1fr;
    padding: 5rem 2rem;
    gap: 3rem;
  }

  .services-section { padding: 5rem 2rem; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .sec-aside { text-align: left; max-width: none; }
  .services-grid { grid-template-columns: 1fr; }

  .quote-section { padding: 5rem 2rem; }

  .prose-section { padding: 5rem 2rem; }

  .process-section { padding: 5rem 2rem; }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .process-steps::before { display: none; }

  .cta-section { padding: 5rem 2rem; }

  .site-footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}
