/* ============================================================
   Dr. Paranici Levente — magánrendelés
   Dizájntokenek: zsályapapír / fenyő tinta / sárgaréz akcent
   Betűk: Spectral (display) + Karla (szöveg) — fonts.bunny.net
   ============================================================ */

:root {
  /* A rendelő színvilágából: mentazöld falak, kobaltkék csík, a cégtábla zöldje */
  --paper:     #F5F8F2;
  --paper-2:   #E8F1E3;
  --ink:       #20332C;
  --ink-soft:  #4C6156;
  --pine:      #2E7A55;
  --pine-deep: #245F42;
  --brass:     #24509E;
  --line:      #CBDCC6;
  --thread:    #C2CFE7;
  --sand:      #F3EDDD;
  --sand-edge: #C2A054;

  --ff-display: "Spectral", Georgia, serif;
  --ff-body:    "Karla", "Segoe UI", Arial, sans-serif;

  --w-content: 1080px;
  --w-prose:   680px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pine); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Fejléc ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.wordmark {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { color: var(--ink-soft); font-weight: 300; }

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-links a:hover { color: var(--pine); }

.lang-switch {
  display: flex;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lang-switch a { color: var(--ink-soft); text-decoration: none; }
.lang-switch a:hover { color: var(--pine); }
.lang-switch .current { color: var(--pine); border-bottom: 2px solid var(--brass); }

.nav-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--paper);
  background: var(--pine);
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--pine-deep); color: var(--paper); }
.nav-cta .cta-short { display: none; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav { gap: 14px; }
  .lang-switch { margin-left: auto; }
}

@media (max-width: 560px) {
  .nav { padding: 12px 16px; gap: 12px; }
  .wordmark { font-size: 0.95rem; }
  .wordmark span { display: none; }
  .lang-switch { gap: 7px; font-size: 0.72rem; }
  .nav-cta { padding: 8px 13px; font-size: 0.8rem; }
  .nav-cta .cta-long { display: none; }
  .nav-cta .cta-short { display: inline; }
}

/* ---------- Hero ---------- */

.hero {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 84px 24px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.4vw, 3.7rem);
  line-height: 1.08;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.hero .role {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.35rem;
  color: var(--ink-soft);
  margin: 0 0 26px;
}

.hero .lead {
  font-size: 1.06rem;
  max-width: 56ch;
  color: var(--ink);
  margin: 0 0 34px;
}

.cta-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

.btn-primary {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--paper);
  background: var(--pine);
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
}
.btn-primary:hover { background: var(--pine-deep); color: var(--paper); }

.btn-quiet {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--pine);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.btn-quiet:hover { border-color: var(--brass); }

.portrait {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--pine) 0%, #5FA57E 60%, #A9D3B8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(31, 46, 39, 0.45);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.portrait .monogram {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: 4.4rem;
  color: color-mix(in srgb, var(--paper) 82%, transparent);
  letter-spacing: 0.06em;
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; gap: 40px; }
  .portrait { max-width: 320px; }
}

/* ---------- A fonál (vezérfonal-motívum) ---------- */

.thread {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.station {
  position: relative;
  padding: 64px 0 64px 56px;
  border-left: 2px solid var(--thread);
  margin-left: 8px;
}
.station:last-of-type { border-left-color: transparent; }

.station::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 78px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--brass);
}

.station h2 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.18;
  margin: 0 0 22px;
  letter-spacing: -0.005em;
}

.station .kicker {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 10px;
}

.station p { max-width: var(--w-prose); }

@media (max-width: 720px) {
  .station { padding-left: 28px; margin-left: 4px; }
  .station::before { left: -6px; top: 70px; }
}

/* ---------- Fókuszterületek ---------- */

.focus-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
  max-width: 820px;
}
.focus-list li {
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 0.98rem;
}
.focus-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brass);
}
@media (max-width: 720px) {
  .focus-list { grid-template-columns: 1fr; }
}

.reassure {
  margin-top: 36px;
  max-width: 720px;
  background: var(--paper-2);
  border-radius: 12px;
  padding: 26px 30px;
}
.reassure p { margin: 0; }
.reassure strong { color: var(--pine); }

/* ---------- Idézet-sáv ---------- */

.pull {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.35;
  color: var(--pine);
  max-width: 26ch;
  margin: 34px 0 0;
}

/* ---------- Első találkozás: lépések ---------- */

.steps {
  counter-reset: step;
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  max-width: 720px;
  display: grid;
  gap: 26px;
}
.steps li {
  counter-increment: step;
  padding-left: 64px;
  position: relative;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: 1.7rem;
  color: var(--brass);
}
.steps h3 {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 6px;
}
.steps p { margin: 0; font-size: 0.97rem; color: var(--ink-soft); }

/* ---------- Kártyák (online konzultáció) ---------- */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 860px;
  margin-top: 30px;
}
.card {
  background: var(--paper-2);
  border-radius: 12px;
  padding: 26px 28px;
}
.card h3 {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.98rem;
  margin: 0 0 12px;
}
.card ul { margin: 0; padding-left: 20px; }
.card li { margin-bottom: 8px; font-size: 0.95rem; }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }

/* ---------- Szakmai háttér ---------- */

.cv {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  max-width: 720px;
}
.cv li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cv .year {
  font-family: var(--ff-display);
  font-weight: 500;
  color: var(--brass);
}
@media (max-width: 540px) {
  .cv li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Árak ---------- */

.prices {
  width: 100%;
  max-width: 720px;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 0.98rem;
}
.prices th {
  text-align: left;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0 12px 12px 0;
  border-bottom: 2px solid var(--pine);
}
.prices td {
  padding: 15px 12px 15px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prices td:last-child { white-space: nowrap; font-weight: 700; color: var(--pine); }
.prices .dur { color: var(--ink-soft); font-size: 0.9rem; }

.smallnote { font-size: 0.88rem; color: var(--ink-soft); max-width: 680px; }

/* ---------- Sürgősségi kártya ---------- */

.crisis {
  background: var(--sand);
  border-left: 4px solid var(--sand-edge);
  border-radius: 0 12px 12px 0;
  padding: 30px 34px;
  max-width: 760px;
}
.crisis h2 { margin-top: 0; }
.crisis ul { padding-left: 20px; margin: 16px 0 0; }
.crisis li { margin-bottom: 10px; }
.crisis strong { color: var(--pine-deep); }

/* ---------- Kapcsolat ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 860px;
  margin-top: 8px;
}
.contact-grid h3 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 22px 0 6px;
}
.contact-grid p { margin: 0; }
.contact-big {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 500;
}
.contact-big a { color: var(--pine); text-decoration: none; }
.contact-big a:hover { color: var(--brass); }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Galéria (rendelő) ---------- */

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  align-items: flex-start;
}
.gallery figure { margin: 0; }
.gallery img {
  height: 185px;              /* egységes magasság, eredeti képarány */
  width: auto;
  border-radius: 10px;
  box-shadow: 0 14px 28px -18px rgba(32, 51, 44, 0.4);
}
@media (max-width: 720px) {
  .gallery { gap: 10px; }
  .gallery img { height: 108px; }
}

.entrance-figure { margin: 18px 0 0; }
.entrance-figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 14px 28px -18px rgba(32, 51, 44, 0.4);
}

/* ---------- Bejárat-fotó (kapcsolat) ---------- */

.entrance-figure { margin: 18px 0 0; }
.entrance-figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 14px 28px -18px rgba(32, 51, 44, 0.4);
}

/* ---------- Lábléc ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.site-footer .inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 30px 24px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--pine); }

/* ---------- Hosszú szöveges aloldal (adatkezelés, impresszum) ---------- */

.prose {
  max-width: 920px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.prose > p,
.prose > ul,
.prose > ol,
.prose h1,
.prose h2 {
  max-width: var(--w-prose);
}
.prose h1 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.15;
}
.prose h2 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.45rem;
  margin-top: 2.2em;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 18px 0;
}
.prose th, .prose td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.prose th { background: var(--paper-2); font-weight: 700; }

@media (max-width: 720px) {
  .prose table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ---------- Megjelenési animáció ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

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