/* ============================================================
   Dr. Nikoletta Hényel – weboldal stílus
   Konfiguráció: az alábbi változókat átírva az egész oldal
   színvilága, betűtípusa és kerekítése egy helyen módosítható.
   ============================================================ */
:root {
  --petrol: #12907e;          /* fő szín – mélyzöld */
  --petrol-dark: #0a5a4e;     /* sötét zöld (lábléc, címsorok) */
  --teal: #4ecdb6;            /* világosabb zöld kiemelés */
  --teal-soft: #e8f8f3;       /* krém háttér */
  --coral: #0e8571;           /* akcentszín – arany */
  --coral-dark: #0a6355;
  --ink: #1e2e2a;             /* szövegszín */
  --muted: #6d7269;           /* halványabb szöveg */
  --bg: #fafdfc;              /* oldal háttér – meleg törtfehér */
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 34px rgba(31, 47, 39, 0.08);
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* ---------- Scroll-animációk ---------- */
.reveal { opacity: 0; transition: opacity .8s ease; }
.reveal.visible { opacity: 1; }
.reveal-child {
  opacity: 0; transform: translateY(48px) scale(.97);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.visible .reveal-child { opacity: 1; transform: none; }
.visible .reveal-child:nth-child(2) { transition-delay: .12s; }
.visible .reveal-child:nth-child(3) { transition-delay: .24s; }
.visible .reveal-child:nth-child(4) { transition-delay: .36s; }
.visible .reveal-child:nth-child(5) { transition-delay: .48s; }
.visible .reveal-child:nth-child(6) { transition-delay: .60s; }
.visible .reveal-child:nth-child(n+7) { transition-delay: .70s; }
.reveal .photo, .reveal .section-photo, .reveal .hero-photo {
  opacity: 0; transform: scale(1.09) translateY(18px);
  transition: opacity 1s ease, transform 1.4s cubic-bezier(.22,.61,.36,1);
}
.visible .photo, .visible .section-photo, .visible .hero-photo { opacity: 1; transform: scale(1) translateY(0); }
.reveal .kicker-dark::after {
  content: ""; display: block; width: 0; height: 2px;
  background: var(--coral); margin-top: 12px;
  transition: width 1s cubic-bezier(.22,.61,.36,1) .25s;
}
.visible .kicker-dark::after { width: 96px; }
.reveal h2 {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s ease .1s, transform .8s cubic-bezier(.22,.61,.36,1) .1s;
}
.visible h2 { opacity: 1; transform: none; }
.center .kicker-dark::after { margin-left: auto; margin-right: auto; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-child, .reveal .photo, .reveal .section-photo, .reveal .hero-photo
  { opacity: 1; transform: none; transition: none; }
  .reveal .kicker-dark::after { width: 64px; transition: none; }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
}
img { max-width: 100%; display: block; }
a { color: var(--petrol); text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--petrol-dark); line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 0.6em; }
h3 { font-size: 1.35rem; margin-bottom: 0.4em; }
p  { margin-bottom: 1em; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Fejléc / navigáció ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e3ecec;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
}
.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--petrol-dark); }
.logo span { color: var(--coral); margin-left: .3ch; }
.logo { display: flex; align-items: center; }
.logo-kft {
  border-left: 1px solid #bfe6db; padding-left: 12px; margin-left: 12px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.6rem;
  line-height: 1.4; letter-spacing: .03em; color: #4a7a70; text-transform: uppercase;
}
@media (max-width: 760px) { .logo-kft { display: none; } }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--ink); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--coral); }
.lang { display: flex; gap: 6px; margin-left: 10px; }
.lang a {
  font-size: 0.78rem; font-weight: 700; padding: 4px 9px; border-radius: 8px;
  background: var(--teal-soft); color: var(--petrol);
}
.lang a.on { background: var(--petrol); color: #fff; }
.burger { display: none; background: none; border: none; font-size: 1.6rem; color: var(--petrol); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #dcf5ec 0%, #eefaf5 40%, #fafdfc 100%);
  color: var(--ink); padding: 100px 0 110px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(18,144,126,0.08);
}
.hero::before {
  content: ""; position: absolute; right: 80px; bottom: -160px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(14,133,113,0.06);
}
.hero h1, .hero h2 { color: var(--petrol-dark); }
.hero h1 .accent { color: var(--coral); }
.hero .kicker {
  display: inline-block; background: transparent; color: var(--coral-dark);
  border: 1px solid rgba(18,144,126,0.5); box-shadow: none;
  padding: 7px 18px; border-radius: 999px; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 24px; font-weight: 600;
}
.hero p { max-width: 640px; font-size: 1.15rem; color: var(--muted); }
.hero .container { position: relative; z-index: 2; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; transition: transform .15s, box-shadow .15s;
}
.btn-coral { background: var(--petrol-dark); color: #eafaf5; box-shadow: none; letter-spacing: 0.04em; }
.btn-coral:hover { background: var(--coral-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--coral); color: var(--coral-dark); margin-left: 12px; background: transparent; letter-spacing: 0.04em; }
.btn-ghost:hover { background: rgba(18,144,126,0.08); }
.btn-outline { border: 2px solid var(--petrol); color: var(--petrol); }
.btn-outline:hover { background: var(--petrol); color: #fff; }
.btn-row { margin-top: 30px; }

/* ---------- Statisztika sáv ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: -50px; position: relative; z-index: 5;
}
.stat {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 20px; text-align: center;
}
.stat .num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 600; color: var(--coral-dark); }
.stat .lbl { font-size: 0.9rem; color: var(--muted); }

/* ---------- Szekciók ---------- */
section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-teal { background: linear-gradient(180deg, #ffffff 0%, #e2f4ee 100%); }
.kicker-dark {
  color: var(--coral-dark); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 0.78rem; display: block; margin-bottom: 12px;
}
.center { text-align: center; }
.center .lead { margin: 0 auto 40px; max-width: 700px; }

/* ---------- Kártyák ---------- */
.grid { display: grid; gap: 26px; margin-top: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); padding: 38px 32px;
  box-shadow: none; transition: transform .2s, box-shadow .2s;
  border: 1px solid #d9ece5;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--coral); }
.card .icon { display: none; }
.card h3::before {
  content: ""; display: block; width: 38px; height: 2px;
  background: var(--coral); margin-bottom: 16px;
}
.card ul { margin: 10px 0 0 18px; color: var(--muted); font-size: 0.95rem; }
.card ul li { margin-bottom: 6px; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--coral); font-size: 0.95rem; }

/* ---------- Kiemelt ágazat sáv ---------- */
.highlight {
  background: linear-gradient(120deg, #e8f8f3 0%, #ffffff 65%, #eefaf5 100%);
  border: 1px solid rgba(18,144,126,0.35);
  border-radius: calc(var(--radius) + 8px); color: var(--ink); padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  box-shadow: none;
}
.highlight h2, .highlight h3 { color: var(--petrol-dark); }
.highlight p { color: var(--muted); }
.badge {
  display: inline-block; background: var(--coral); color: #fff; font-size: 0.78rem;
  font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* ---------- Checklist ---------- */
.check { list-style: none; margin-top: 16px; }
.check li { padding-left: 32px; position: relative; margin-bottom: 12px; }
.check li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--coral);
  color: #fff; font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.highlight .check li::before { background: var(--petrol); }

/* ---------- Idővonal / folyamat ---------- */
.steps { counter-reset: step; margin-top: 40px; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px;
  margin-bottom: 30px; align-items: start;
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--petrol); color: #fff; font-family: var(--font-head);
  font-size: 1.3rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Rólam ---------- */
.profile { display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: start; }
.portrait {
  background: linear-gradient(160deg, var(--teal-soft), #fff);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px; text-align: center;
}
.portrait .avatar {
  width: 160px; height: 160px; border-radius: 50%; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--petrol), var(--teal));
  color: #fff; font-family: var(--font-head); font-size: 3rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.portrait .name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--petrol-dark); }
.portrait .role { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.tag {
  display: inline-block; background: var(--teal-soft); color: var(--petrol);
  font-size: 0.8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; margin: 3px;
}

/* ---------- CTA sáv ---------- */
.cta {
  background: var(--petrol-dark); color: #fff; text-align: center;
  border-radius: calc(var(--radius) + 8px); padding: 60px 40px;
}
.cta h2 { color: #fff; }
.cta p { color: #bcd8da; max-width: 560px; margin: 0 auto 10px; }

/* ---------- Kapcsolat ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; margin-top: 40px; }
.contact-info .item { display: flex; gap: 16px; margin-bottom: 24px; align-items: start; }
.contact-info .ico {
  width: 46px; height: 46px; border-radius: 50%; background: transparent;
  border: 1px solid var(--coral);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
  filter: grayscale(1) sepia(0.5) hue-rotate(10deg) saturate(2) brightness(0.85);
}
form .field { margin-bottom: 18px; }
form label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 6px; }
form input, form textarea, form select {
  width: 100%; padding: 13px 16px; border: 1.5px solid #d5e4e5; border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem; background: #fff; color: var(--ink);
}
form input:focus, form textarea:focus { outline: none; border-color: var(--teal); }

/* ---------- Lábléc ---------- */
footer { background: var(--petrol-dark); color: #9fc3c6; padding: 50px 0 30px; margin-top: 80px; }
footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
footer a { color: #9fc3c6; }
footer a:hover { color: var(--coral); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 36px; padding-top: 20px;
  font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- Képek ---------- */
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }
.hero-photo {
  width: 100%; height: 420px; object-fit: cover;
  border: none; border-radius: 0; box-shadow: none;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 68% 65% at 50% 50%, #000 30%, rgba(0,0,0,0.55) 55%, transparent 82%);
  mask-image: radial-gradient(ellipse 68% 65% at 50% 50%, #000 30%, rgba(0,0,0,0.55) 55%, transparent 82%);
}
.photo { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.photo-strip figure { margin: 0; }
.photo-strip figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 10px; text-align: center; }
.section-photo {
  width: 100%; height: 300px; object-fit: cover;
  border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow); margin: 24px 0 34px;
}
.portrait-photo { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; display: block; border: 5px solid var(--teal-soft); }

/* ---------- Reszponzív ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero-grid, .photo-strip { grid-template-columns: 1fr; }
  .hero-photo { height: 260px; transform: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .highlight, .profile, .contact-grid, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 20px; gap: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .burger { display: block; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero { padding: 60px 0 80px; }
  .btn-ghost { margin-left: 0; margin-top: 12px; }
}
