/* ===== Betűtípusok (saját tárhelyről – nincs Google Fonts kérés, GDPR) ===== */
/* Változó betűtípusok, latin + latin-ext (ő, ű) részhalmaz; licenc: fonts/OFL-*.txt */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/nunito-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/nunito-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Alapok ===== */
:root {
  --bg: #fff4ec;
  --bg-alt: #fde3d2;       /* halvány barack */
  --surface: #ffffff;
  --text: #3a2f2b;
  --muted: #75665f;
  --accent: #b05c3c;       /* mély barack – gombok, ikonok */
  --accent-dark: #924a2f;
  --accent-soft: #fdd9c4;
  --line: #f5b596;         /* pasztell barack díszítés */
  --border: #f6dcca;

  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow: 0 10px 30px -18px rgba(110, 60, 40, .28);
  --container: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--text);
}
h1 { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 500; }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1em; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }

.eyebrow {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: .6em;
}

.divider {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--line);
  margin: 0 0 1.2rem;
}

/* ===== Gombok ===== */
.btn {
  display: inline-block;
  padding: .8em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: var(--accent); color: var(--accent-dark); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-dark); }

/* ===== Fejléc ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 244, 236, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.main-nav a:hover { color: var(--accent-dark); }
.main-nav .nav-cta { padding: .45em 1.1em; border: 1.5px solid var(--accent); border-radius: 999px; color: var(--accent-dark); }
.main-nav .nav-cta:hover { background: var(--accent); color: #fff; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: 64px 0 88px; }
.hero-inner { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius); /* lekerekített téglalap */
  box-shadow: var(--shadow);
}
.hero-sub { color: var(--muted); font-size: 1rem; margin-bottom: 1.4em; }
.hero-lead { font-family: var(--font-head); font-style: italic; font-size: 1.5rem; line-height: 1.4; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== Szekciók ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-intro { color: var(--muted); }

/* ===== Kártyák ===== */
.cards { display: grid; gap: 28px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-3 .card { padding: 30px 28px; }
.cards-3 .card h3 { font-size: 1.35rem; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.card-small { padding: 28px; }
.card-small h3 { font-size: 1.3rem; }
.card-small p { font-size: .95rem; color: var(--muted); margin: 0; }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--accent-dark);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sub-list { list-style: none; margin: 0; padding: 0; }
.sub-list li { position: relative; padding-left: 18px; margin-top: .45em; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.sub-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}

/* ===== Témák ===== */
.topics-panel { margin-top: 56px; text-align: center; }
.topics-panel h3 { font-size: 1.35rem; font-weight: 500; margin-bottom: 1.2em; }
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pills li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .45em 1.1em;
  font-size: .92rem;
}

/* ===== Rólam ===== */
.prose p { margin-bottom: 1.2em; }
.prose .lead { font-family: var(--font-head); font-size: 1.7rem; line-height: 1.35; }
.quote {
  margin: 48px 0;
  padding: 8px 0 8px 32px;
  border-left: 3px solid var(--line);
}
.quote p {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.4;
  margin: 0;
}

.personal {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: center;
  margin-top: 8px;
}
.personal-note { margin: 0; }
.personal-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Tanulmányok ===== */
.education { max-width: 760px; margin: 72px auto 0; }
.education h3 { text-align: center; font-size: 1.8rem; font-weight: 500; margin-bottom: 1.2em; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 0 0 26px 26px; position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
}
.timeline .year { font-weight: 700; color: var(--accent-dark); }
.education .education-sub { margin-top: 1.6em; }
.practice-list li { color: var(--text); font-size: 1rem; margin-top: .9em; }

/* ===== Meghívás ===== */
.invite { background: linear-gradient(135deg, #fdd5bd, #fbc4a6); color: var(--text); padding: 72px 0; text-align: center; }
.invite p { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.4; margin-bottom: 1.2em; }

/* ===== Kapcsolat ===== */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; text-align: center; max-width: 760px; margin: 0 auto; }
.locations span:not(.muted) { display: block; white-space: nowrap; }
.locations .muted { white-space: nowrap; }
.contact-item .card-icon { margin: 0 auto 14px; }
.contact-item h3 { font-size: 1.3rem; margin-bottom: .2em; }
.contact-item p { margin: 0; }

/* ===== Lábléc ===== */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-inner p { margin: 0; }
.site-footer a { color: var(--muted); }

/* ===== 404 ===== */
.back-link { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.not-found { padding: 120px 0 140px; text-align: center; }
.not-found .divider { margin-left: auto; margin-right: auto; }
.not-found .section-intro { margin-bottom: 2em; }

/* ===== Reszponzív ===== */
@media (max-width: 1080px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
}

@media (max-width: 960px) {
  .hero-inner { gap: 40px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; width: 100%; text-align: center; }
  .main-nav .nav-cta { margin-top: 8px; }

  .hero { padding: 32px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-photo { width: 100%; max-width: 300px; margin: 0 auto; }
  .divider { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  .section { padding: 72px 0; }
  .cards-4, .contact-grid { grid-template-columns: 1fr; }
  .personal { grid-template-columns: 1fr; gap: 24px; }
  .locations span:not(.muted) { white-space: normal; }
  .card { padding: 28px 24px; }
  .quote { padding-left: 20px; }
  .quote p { font-size: 1.35rem; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
}
