/* ============================================================
   SZÁRNYVIRÁG — Közös stíluslap
   Gyásztanácsadás • Kríziskísérés • Lelki támogatás
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Lágy, világos levendula-krém paletta (minta szerint) */
  --aubergine: #826FA3;       /* elsődleges lila (gombok, akcentus) */
  --aubergine-deep: #6C5A8A;  /* mélyebb lila (címek, lila szekciók) */
  --orchid: #9885B4;          /* köztes lila */
  --lavender: #C7B8DC;        /* halvány levendula */
  --cream: #F3EEE5;           /* meleg elefántcsont oldalháttér */
  --cream-soft: #FAF6EF;
  --gold: #BFA36B;            /* tompított, halk arany akcentus */
  --gold-soft: #D8C599;
  --ink: #453F3B;             /* meleg, lágy sötét szöveg */
  --ink-soft: #6E6663;
  --white: #FFFFFF;

  /* Új akcentusok a mintáról */
  --sage: #7E9B6B;            /* zöld — krízisfeldolgozás */
  --terracotta: #BE8E76;      /* terrakotta — metamorf */
  --band-lilac: #E9E1F1;      /* lágy lila sáv (mottó) */

  --shadow-card: 0 4px 22px rgba(126, 106, 156, 0.14);
  --shadow-card-hover: 0 16px 40px rgba(108, 90, 138, 0.20);
  --shadow-nav: 0 2px 16px rgba(108, 90, 138, 0.12);

  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1180px;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Lato", "Segoe UI", sans-serif;
  --font-script: "Dancing Script", "Segoe Script", cursive;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(60vw 50vh at 12% -8%, rgba(139, 92, 184, 0.16), transparent 60%),
    radial-gradient(50vw 45vh at 102% 6%, rgba(201, 168, 224, 0.20), transparent 55%),
    radial-gradient(45vw 40vh at 50% 118%, rgba(201, 168, 76, 0.10), transparent 60%);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--aubergine-deep);
  line-height: 1.18;
  font-weight: 700;
  margin: 0 0 0.5em;
}

/* Címsorok kézírásos (Dancing Script) betűvel — mint a logó */
h1, h2 {
  font-family: var(--font-script);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.005em;
}

p { margin: 0 0 1.1em; }

a { color: var(--orchid); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--gold); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

section { position: relative; }

/* ---------- Decorative gold rule ---------- */
.gold-rule {
  width: 84px;
  height: 2px;
  border: 0;
  margin: 18px 0 24px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.gold-rule.center { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--aubergine);
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  box-shadow: 0 8px 20px rgba(108, 90, 138, 0.28);
}
.btn:hover {
  background: var(--aubergine-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(108, 90, 138, 0.34);
}
.btn--ghost {
  background: transparent;
  color: var(--aubergine-deep);
  border-color: var(--lavender);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--aubergine); color: var(--white); border-color: var(--aubergine); }
.btn--light { background: var(--white); color: var(--aubergine-deep); border-color: transparent; }
.btn--light:hover { background: var(--cream-soft); color: var(--aubergine-deep); }

.text-link {
  font-weight: 700;
  color: var(--orchid);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.text-link::after { content: "→"; transition: transform 0.25s var(--ease); }
.text-link:hover::after { transform: translateX(5px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-nav);
  border-bottom: 1px solid rgba(130, 111, 163, 0.16);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 14px 24px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo__word {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--aubergine-deep);
  line-height: 1;
}
.logo:hover .logo__word { color: var(--aubergine); }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--aubergine-deep);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu > li { position: relative; }
.nav__menu a {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border-radius: 8px;
  position: relative;
}
.nav__menu > li > a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--aubergine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__menu > li > a:hover { color: var(--aubergine-deep); }
.nav__menu > li > a:hover::after,
.nav__menu > li > a.active::after { transform: scaleX(1); }
.nav__menu a.active { color: var(--aubergine); }

/* dropdown */
.has-sub > a .caret { font-size: 0.7em; margin-left: 2px; }
.nav__sub {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 234px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card-hover);
  border: 1px solid rgba(201, 168, 76, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
}
.has-sub:hover .nav__sub,
.has-sub.open .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  color: var(--ink);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
}
.nav__sub a:hover { background: var(--cream); color: var(--aubergine-deep); }

/* ============================================================
   HERO (generic page hero)
   ============================================================ */
.page-hero {
  text-align: center;
  padding: 92px 0 76px;
  background:
    radial-gradient(70% 120% at 50% -10%, rgba(139, 92, 184, 0.30), transparent 60%),
    linear-gradient(160deg, var(--aubergine-deep), var(--aubergine) 60%, #5a2a82);
  color: var(--cream);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.5rem); }
.page-hero .lead { color: var(--lavender); font-size: 1.2rem; max-width: 620px; margin-inline: auto; }
.page-hero .hero-icon { font-size: 3.2rem; display: block; margin-bottom: 12px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

.section--purple {
  background:
    radial-gradient(70% 120% at 50% 0, rgba(255, 255, 255, 0.55), transparent 60%),
    linear-gradient(160deg, #E5DBF1, #D7CBE9);
  color: var(--ink);
  border-block: 1px solid rgba(130, 111, 163, 0.16);
}
.section--purple h2, .section--purple h3 { color: var(--aubergine-deep); }
.section--purple p { color: var(--ink); }
.section--purple .btn--light { background: var(--aubergine); color: #fff; border-color: transparent; }
.section--purple .btn--light:hover { background: var(--aubergine-deep); color: #fff; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  border: 1px solid rgba(201, 168, 224, 0.35);
}
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* service preview cards */
.svc-card { text-align: center; display: block; color: inherit; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); background: linear-gradient(180deg, var(--white), #f7f0fb); }
.svc-card .ico { font-size: 2.6rem; display: block; margin-bottom: 14px; }
.svc-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.svc-card p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 14px; }
.svc-card .more { color: var(--orchid); font-weight: 700; font-size: 0.9rem; }

/* big alternating service cards */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 36px;
}
.svc-row .visual {
  border-radius: var(--radius);
  min-height: 240px;
  display: grid;
  place-items: center;
  font-size: 5.5rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 168, 224, 0.5), transparent 60%),
    linear-gradient(140deg, #efe4f7, #f7eede);
  border: 1px solid rgba(201, 168, 76, 0.35);
  box-shadow: inset 0 0 60px rgba(139, 92, 184, 0.12);
}
.svc-row.reverse .text { order: 2; }
.svc-row.reverse .visual { order: 1; }
.svc-row .num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}

/* ---------- Namecard / business card ---------- */
.namecard {
  background: linear-gradient(155deg, var(--aubergine-deep), var(--aubergine));
  color: var(--cream);
  border-radius: var(--radius);
  padding: 38px 34px;
  border: 1.5px solid var(--gold);
  box-shadow: var(--shadow-card-hover);
  position: relative;
  overflow: hidden;
}
.namecard::before {
  content: "🦋";
  position: absolute;
  top: -10px; right: 6px;
  font-size: 6rem;
  opacity: 0.12;
  transform: rotate(12deg);
}
.namecard .nc-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}
.namecard .nc-role { color: var(--gold-soft); font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 20px; }
.namecard .nc-line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 1rem; border-top: 1px solid rgba(201, 168, 76, 0.25); }
.namecard .nc-line:first-of-type { border-top: 0; }

/* ---------- Highlight box (Kinek ajánlom) ---------- */
.checkbox {
  background: var(--cream-soft);
  border: 1px solid rgba(201, 168, 224, 0.5);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 28px 30px;
  box-shadow: var(--shadow-card);
}
.checkbox h3 { font-size: 1.25rem; margin-bottom: 16px; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding: 9px 0 9px 34px;
  border-bottom: 1px dashed rgba(139, 92, 184, 0.22);
  color: var(--ink);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0; top: 9px;
  color: var(--gold);
  font-weight: 700;
}

/* "Miért" list with butterflies */
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why-list li {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(130, 111, 163, 0.22);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 1.05rem;
  color: var(--ink);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.why-list li:hover { background: rgba(255, 255, 255, 0.85); transform: translateX(6px); }
.why-list .b { font-size: 1.4rem; }

/* ---------- Timeline (process steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { text-align: center; padding: 30px 24px; }
.step .step-ico { font-size: 2.4rem; margin-bottom: 10px; display: block; }
.step .step-n {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--aubergine);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.18rem; }
.step p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 16px 0;
  color: var(--ink-soft);
}
.breadcrumb a { color: var(--orchid); }
.breadcrumb span { color: var(--gold); margin: 0 8px; }
.breadcrumb .cur { color: var(--aubergine-deep); font-weight: 700; }

/* ---------- Split hero (index) ---------- */
.split-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 78vh;
  position: relative;
}
.split-hero .left {
  background:
    radial-gradient(80% 80% at 20% 10%, rgba(139, 92, 184, 0.45), transparent 60%),
    linear-gradient(160deg, var(--aubergine-deep), var(--aubergine) 70%, #5a2a82);
  color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: 76px clamp(28px, 6vw, 84px);
  position: relative;
}
.split-hero .left::after {
  content: "🦋"; position: absolute; bottom: 28px; left: clamp(28px, 6vw, 84px);
  font-size: 2.4rem; opacity: 0.5;
}
.split-hero .right {
  background: var(--cream-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  padding: 60px clamp(28px, 5vw, 70px);
  position: relative;
}
.split-hero .right .namecard { width: 100%; max-width: 420px; }
.split-hero .right::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 60px;
  background: radial-gradient(60px 100% at 0 50%, rgba(74,26,107,0.18), transparent 70%);
  pointer-events: none;
}
.split-hero h1 { color: var(--white); font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.split-hero .sub { color: var(--gold-soft); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.8rem; font-weight: 700; margin-bottom: 22px; }
.split-hero p { color: rgba(245, 239, 230, 0.9); max-width: 520px; }

/* ---------- Event card ---------- */
.event-card { position: relative; border: 2px solid var(--orchid); }
.event-card .badge {
  position: absolute; top: 22px; right: 22px;
  background: var(--gold); color: var(--ink);
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.4);
}
.event-card h3 { font-size: 1.5rem; padding-right: 110px; }
.placeholder-card {
  border: 2px dashed var(--orchid);
  background: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ---------- Accordion ---------- */
.accordion { max-width: 820px; margin-inline: auto; }
.acc-item { background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-card); margin-bottom: 16px; overflow: hidden; border: 1px solid rgba(201, 168, 224, 0.4); }
.acc-q {
  width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0;
  font-family: var(--font-display); font-size: 1.12rem; color: var(--aubergine-deep);
  padding: 22px 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.acc-q .pm { color: var(--gold); font-size: 1.5rem; transition: transform 0.3s var(--ease); flex: 0 0 auto; }
.acc-item.open .acc-q .pm { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.acc-a-inner { padding: 0 26px 22px; color: var(--ink-soft); }

/* ---------- Form ---------- */
.form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 36px; border: 1px solid rgba(201, 168, 224, 0.4); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; color: var(--aubergine-deep); margin-bottom: 6px; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid rgba(139, 92, 184, 0.35);
  border-radius: var(--radius-sm);
  background: var(--cream-soft);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orchid);
  box-shadow: 0 0 0 3px rgba(139, 92, 184, 0.16);
}
.field textarea { resize: vertical; min-height: 130px; }
.field.error input, .field.error select, .field.error textarea { border-color: #c0392b; background: #fdf3f2; }
.field .err-msg { display: none; color: #c0392b; font-size: 0.82rem; margin-top: 5px; }
.field.error .err-msg { display: block; }
.field-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; }
.field-check input { width: auto; margin-top: 3px; }
.form-success {
  display: none;
  background: #eef7ee; border: 1px solid #9ccc9c; color: #2e6b2e;
  border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 18px; font-weight: 600;
}
.form-success.show { display: block; }
.form-error {
  display: none;
  background: #fdf3f2; border: 1px solid #e0a9a2; color: #a5342a;
  border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 18px; font-weight: 600;
}
.form-error a { color: #a5342a; text-decoration: underline; }
.form-error.show { display: block; }

.contact-card {
  background: linear-gradient(155deg, var(--aubergine-deep), var(--aubergine));
  color: var(--cream); border-radius: var(--radius); padding: 38px 34px;
  border: 1.5px solid var(--gold); box-shadow: var(--shadow-card-hover);
}
.contact-card h3 { color: var(--white); }
.contact-card .nc-line { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 1.05rem; border-top: 1px solid rgba(201, 168, 76, 0.25); }
.contact-card .note { margin-top: 18px; font-size: 0.9rem; color: var(--lavender); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { max-width: 560px; margin-inline: auto 1.4em; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(160deg, #E7DEF2, #D6CAE9);
  color: var(--ink);
  padding: 56px 0 26px;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, transparent, var(--aubergine), transparent) 1;
}
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: var(--aubergine); font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer p { color: var(--ink-soft); font-size: 0.95rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: var(--ink); font-weight: 600; }
.footer ul a:hover { color: var(--aubergine); }
.footer .f-line { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; color: var(--ink); font-size: 0.95rem; }
.footer .f-line a { color: var(--ink); }
.footer .f-line a:hover { color: var(--aubergine); }
.footer__bottom {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(130, 111, 163, 0.25);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.85rem; color: var(--ink-soft);
}
.footer__bottom a { color: var(--ink-soft); }
.footer__bottom a:hover { color: var(--aubergine); }

/* ============================================================
   ANIMATIONS — fade in on scroll
   ============================================================ */
.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
/* A tartalmat CSAK akkor rejtjük el, ha fut a JS (különben mindig látszik) */
.js .reveal { opacity: 0; transform: translateY(28px); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split-hero { grid-template-columns: 1fr; min-height: auto; }
  .split-hero .right { padding-block: 50px; }
}

@media (max-width: 768px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(250, 246, 239, 0.98);
    padding: 10px 14px 20px;
    box-shadow: var(--shadow-nav);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .nav.open .nav__menu { max-height: 560px; overflow: auto; }
  .nav__menu > li > a::after { display: none; }
  .nav__menu a { padding: 13px 14px; border-bottom: 1px solid rgba(130,111,163,0.12); }
  /* Almenü mobilon MINDIG nyitva — minden link közvetlenül nyomható */
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(130,111,163,0.06); border: 0;
    max-height: none; overflow: visible; padding: 4px 8px 8px;
  }
  .has-sub > a .caret { display: none; }
  .nav__sub a { color: var(--aubergine-deep); padding-left: 26px; font-size: 0.9rem; }
  .nav__sub a:hover { background: rgba(130,111,163,0.12); color: var(--aubergine); }

  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  /* Mobilon minden sorban a szöveg legyen elöl, utána az ikon (ne csússzon el) */
  .svc-row { grid-template-columns: 1fr; gap: 20px; }
  .svc-row.reverse .text { order: 0; }
  .svc-row.reverse .visual { order: 0; }
  .svc-row .visual { min-height: 150px; font-size: 3.4rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 60px 0; }
  .event-card h3 { padding-right: 0; }
  .event-card .badge { position: static; display: inline-block; margin-bottom: 14px; }
}

/* ============================================================
   KIEGÉSZÍTÉSEK — motto, árazás, portré, kis telefon
   ============================================================ */

/* ---------- Motto sáv ---------- */
.motto-band {
  text-align: center;
  padding: 54px 0;
  background:
    radial-gradient(70% 130% at 50% 0, rgba(255,255,255,0.5), transparent 60%),
    var(--band-lilac);
  border-block: 1px solid rgba(130, 111, 163, 0.18);
}
.motto-band .motto {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  color: var(--aubergine-deep);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.3;
}
.motto-band .motto .mk { color: var(--aubergine); }
.motto-band .motto-sub {
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 6px 0 0;
}
.motto-band .flutter { font-size: 1.7rem; display: block; margin-bottom: 12px; opacity: 0.9; }
.motto-inner { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.motto-feather { flex: 0 0 auto; width: clamp(120px, 15vw, 195px); }
.motto-feather svg { width: 100%; height: auto; display: block; }
.motto-text { text-align: center; max-width: 640px; }
@media (max-width: 640px) {
  .motto-inner { gap: 10px; }
  .motto-feather { width: 120px; }
}

/* Hero motto (split-hero-ban) */
.hero-motto {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

/* ---------- Gyakorlati tudnivalók (árazó doboz) ---------- */
.info-box {
  background: linear-gradient(155deg, var(--aubergine-deep), var(--aubergine));
  color: var(--cream);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-card-hover);
}
.info-box h3 { color: var(--white); margin-bottom: 4px; }
.info-list { list-style: none; margin: 14px 0 0; padding: 0; }
.info-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; font-size: 1.02rem;
  border-top: 1px solid rgba(201, 168, 76, 0.25);
}
.info-list li:first-child { border-top: 0; }
.info-list .lbl { color: var(--lavender); min-width: 108px; font-size: 0.9rem; letter-spacing: 0.03em; }
.info-list .val { font-weight: 700; color: var(--white); }
.info-list .price { color: var(--gold-soft); font-size: 1.15rem; }

/* ---------- Callout (kiemelt kérdés/válasz) ---------- */
.callout {
  background: var(--cream-soft);
  border: 1px solid rgba(201, 168, 224, 0.5);
  border-left: 4px solid var(--orchid);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 26px 0;
}
.callout .q { font-family: var(--font-display); color: var(--aubergine-deep); font-size: 1.15rem; margin-bottom: 6px; }
.callout .a { margin: 0; color: var(--ink-soft); }

/* prose helper — hosszabb szöveges blokkokhoz */
.prose h3 { margin-top: 34px; font-size: 1.35rem; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.1em; }
.prose ul li { position: relative; padding: 7px 0 7px 26px; }
.prose ul li::before { content: "🌸"; position: absolute; left: 0; top: 7px; font-size: 0.85rem; }

/* ---------- Portré placeholder ---------- */
.portrait {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  border: 1.5px solid var(--gold);
  background:
    radial-gradient(circle at 50% 32%, rgba(201, 168, 224, 0.55), transparent 62%),
    linear-gradient(160deg, #efe4f7, #f7eede);
  display: grid; place-items: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.portrait .ph-ico { font-size: 4.5rem; opacity: 0.85; }
.portrait .ph-label {
  position: absolute; bottom: 16px; left: 0; right: 0; text-align: center;
  font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.05em;
}

/* ---------- Nagy képernyő finomítás ---------- */
@media (min-width: 1440px) {
  :root { --maxw: 1240px; }
}

/* ---------- Kis telefon ---------- */
@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .section { padding: 46px 0; }
  .page-hero { padding: 64px 0 52px; }
  .page-hero .hero-icon { font-size: 2.6rem; }
  .split-hero .left { padding: 54px 22px; }
  .split-hero .right { padding: 40px 22px; }
  .card, .namecard, .contact-card, .info-box, .form, .checkbox { padding: 22px 20px; }
  .btn { padding: 13px 24px; font-size: 0.9rem; width: 100%; justify-content: center; }
  .hero-cta .btn, .cta-band .btn { width: auto; }
  .hero-cta { width: 100%; }
  .logo__word { font-size: 1.7rem; }
  .namecard .nc-name { font-size: 1.4rem; }
  .event-card h3 { font-size: 1.28rem; }
  .motto-band { padding: 48px 0; }
  .info-list .lbl { min-width: 92px; }
  .footer__bottom { flex-direction: column; }
  .grid, .grid-2, .grid-3, .grid-4 { gap: 20px; }
}

/* Nagyon keskeny kijelző (pl. 320px) — ne csússzon ki semmi */
@media (max-width: 360px) {
  .logo { font-size: 1.05rem; letter-spacing: 0.08em; }
  .logo__word { font-size: 1.45rem; }
  .logo__mark { width: 36px; height: 36px; }
  h1 { font-size: 1.9rem; }
  .info-list li { flex-wrap: wrap; gap: 4px 12px; }
}

/* ============================================================
   MÁRKA DIZÁJN RÉTEG — logó, kép, finom animációk, atmoszféra
   ============================================================ */

/* ---------- Virágos akvarell háttérkeret (halvány, a szöveg mögött) ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../images/hatter1.jpg") center center / cover no-repeat;
  opacity: 0.40;
}
/* Bemutatkozás + Kapcsolat oldalon a másik motívum */
body.bg-2::before { background-image: url("../images/hatter2.jpg"); }

/* ---------- Diszkrét lebegő arany fény-orb (finom élet) ---------- */
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  width: 42vmax; height: 42vmax;
  bottom: -16vmax; right: -12vmax;
  border-radius: 50%;
  filter: blur(8px);
  background: radial-gradient(closest-side, rgba(201, 168, 76, 0.12), transparent 70%);
  animation: drift-b 34s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-5vmax, -4vmax, 0) scale(1.1); }
}

/* ---------- Fejléc logó (kép + szöveg) ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(201, 168, 76, 0.7);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12), 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease);
  flex: 0 0 auto;
}
.logo:hover .logo__mark {
  transform: rotate(8deg) scale(1.06);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.28), 0 6px 18px rgba(0, 0, 0, 0.35);
}
.logo__text { line-height: 1; }

/* footer logó — világos gold gyűrű a sötét háttéren */
.footer .logo__mark { border-color: rgba(201, 168, 76, 0.55); }

/* ---------- Hero művészi logó (kitölti az üres teret) ---------- */
.hero-art {
  position: relative;
  width: clamp(220px, 30vw, 330px);
  aspect-ratio: 1;
  margin: 0 auto 26px;
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(from 180deg, rgba(201,168,76,0.55), rgba(139,92,184,0.4), rgba(201,168,76,0.55));
  box-shadow: 0 18px 50px rgba(74, 26, 107, 0.28);
  animation: float-soft 8s ease-in-out infinite;
  will-change: transform;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 168, 76, 0.28), transparent 72%);
  z-index: -1;
  animation: glow-pulse 6s ease-in-out infinite;
}
.hero-art img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #2a1740;
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(-1.2deg); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.05); }
}

/* ---------- Lebegő motívumok (pillangó / szirom) ---------- */
.floaties { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.floatie {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0;
  animation: floatie-rise linear infinite;
  will-change: transform, opacity;
}
@keyframes floatie-rise {
  0%   { opacity: 0; transform: translateY(30px) translateX(0) rotate(0deg); }
  10%  { opacity: 0.5; }
  50%  { opacity: 0.6; transform: translateY(-40px) translateX(20px) rotate(12deg); }
  90%  { opacity: 0.35; }
  100% { opacity: 0; transform: translateY(-120px) translateX(-10px) rotate(-8deg); }
}
.floatie.f1 { left: 8%;  bottom: 8%;  font-size: 1.3rem; animation-duration: 15s; animation-delay: 0s; }
.floatie.f2 { left: 26%; bottom: 2%;  font-size: 1.7rem; animation-duration: 19s; animation-delay: 3s; }
.floatie.f3 { left: 62%; bottom: 5%;  font-size: 1.2rem; animation-duration: 17s; animation-delay: 6s; }
.floatie.f4 { left: 84%; bottom: 10%; font-size: 1.6rem; animation-duration: 21s; animation-delay: 1.5s; }
.floatie.f5 { left: 45%; bottom: 0;   font-size: 1.1rem; animation-duration: 23s; animation-delay: 8s; }

/* Hero-tartalom a motívumok fölé (a .floaties kivételével) */
.split-hero .left > *:not(.floaties),
.page-hero .container { position: relative; z-index: 1; }

/* halvány pillangó a page-hero-ban (üres tér feldobása) */
.page-hero::before {
  content: "🦋";
  position: absolute;
  top: 14%; right: 8%;
  font-size: clamp(3rem, 9vw, 7rem);
  opacity: 0.08;
  transform: rotate(-12deg);
  animation: float-soft 10s ease-in-out infinite;
  pointer-events: none;
}

/* ---------- Fotókeret (bemutatkozás / kapcsolat) ---------- */
.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--gold);
  box-shadow: var(--shadow-card-hover);
  background: linear-gradient(160deg, #efe4f7, #f7eede);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; object-position: center 22%; }
.photo-frame::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.35), inset 0 -60px 60px -30px rgba(61, 18, 96, 0.35);
  pointer-events: none;
  border-radius: inherit;
}
.photo-frame--portrait { aspect-ratio: 4 / 5; }
.photo-frame--tall { aspect-ratio: 3 / 4; }
.photo-caption {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 12px;
}

/* ---------- Reduced motion: minden finom mozgás ki ---------- */
@media (prefers-reduced-motion: reduce) {
  body::before, body::after,
  .hero-art, .hero-art::after,
  .floatie, .page-hero::before { animation: none !important; }
  .floatie { display: none; }
}

/* ---------- Reszponzív finomítás az új elemekhez ---------- */
@media (max-width: 1024px) {
  .hero-art { width: clamp(200px, 46vw, 300px); }
}
@media (max-width: 480px) {
  .logo__mark { width: 40px; height: 40px; }
  .hero-art { width: min(72vw, 260px); }
  .page-hero::before { display: none; }
}

/* ============================================================
   KEZDŐLAP — új hero + szolgáltatás-csempék (minta.png szerint)
   ============================================================ */
.script { font-family: var(--font-script); font-weight: 700; }

.heart-divider {
  display: flex; align-items: center; gap: 10px;
  color: var(--aubergine);
  max-width: 240px;
  margin: 16px 0 18px;
  font-size: 0.95rem;
}
.heart-divider::before, .heart-divider::after {
  content: ""; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, var(--lavender), transparent);
}
.heart-divider.center { margin-inline: auto; }

/* ---------- HERO ---------- */
.home-hero { position: relative; overflow: hidden; background: var(--cream); isolation: isolate; }
.home-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; z-index: 0; }
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 26%; }
.home-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--cream) 2%, rgba(243,238,229,0.62) 22%, rgba(243,238,229,0) 46%),
    linear-gradient(0deg, rgba(243,238,229,0.30), transparent 16%);
}
.home-hero__inner {
  position: relative; z-index: 1;
  min-height: 82vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 72px;
}
.home-hero__text { max-width: 560px; }
.home-hero h1 { margin: 0 0 2px; }
.home-hero h1 .serif {
  display: block; font-family: var(--font-script); color: var(--aubergine-deep); font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.15;
}
.home-hero h1 .script {
  display: block; color: var(--aubergine);
  font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1; margin-top: 2px;
}
.home-hero .lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 460px; }

.hero-feats { list-style: none; margin: 24px 0 30px; padding: 0; display: flex; max-width: 520px; }
.hero-feats li {
  flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 0 16px; font-size: 0.82rem; color: var(--ink-soft);
  border-left: 1px solid rgba(130,111,163,0.22); line-height: 1.35;
}
.hero-feats li:first-child { border-left: 0; padding-left: 0; }
.hero-feats .ic { width: 30px; height: 30px; }
.hero-feats .ic svg { width: 100%; height: 100%; }
.ic-purple { color: var(--aubergine); }
.ic-sage { color: var(--sage); }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-quote {
  position: absolute; right: 5%; bottom: 32px; z-index: 1;
  color: var(--aubergine-deep);
  font-size: clamp(1.2rem, 2.3vw, 1.85rem);
  transform: rotate(-4deg); opacity: 0.92;
  text-shadow: 0 1px 12px rgba(255,255,255,0.7);
  max-width: 38%; text-align: center; pointer-events: none;
}

/* ---------- Szolgáltatás-csempék ---------- */
.home-services { padding-top: 62px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.svc-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  color: inherit; padding: 10px 14px; position: relative;
}
.svc-tile + .svc-tile::before {
  content: ""; position: absolute; left: -13px; top: 16%; bottom: 16%;
  width: 1px; background: rgba(130,111,163,0.16);
}
.svc-badge {
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 6px;
  box-shadow: inset 0 3px 10px rgba(255,255,255,0.55), 0 6px 16px rgba(108,90,138,0.14);
  transition: transform 0.35s var(--ease);
}
.svc-badge svg { width: 34px; height: 34px; }
.svc-badge--lg { width: 128px; height: 128px; }
.svc-badge--lg svg { width: 58px; height: 58px; }
.hero-badge { display: inline-block; margin-bottom: 12px; }
.hero-icons-row { display: inline-flex; gap: 20px; margin-bottom: 14px; }
.hero-icons-row .hi { width: 34px; height: 34px; color: rgba(255, 255, 255, 0.9); }
.hero-icons-row .hi svg { width: 100%; height: 100%; }
.t-gyasz-h, .t-regr-h { color: var(--aubergine); }
.t-krizis-h { color: var(--sage); }
.t-metamorf-h { color: var(--terracotta); }
.nav-ic { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-right: 9px; flex: 0 0 auto; }
.nav-ic svg { width: 100%; height: 100%; }
.ni-purple { color: var(--aubergine); }
.ni-sage { color: var(--sage); }
.ni-terra { color: var(--terracotta); }

/* Jogi nyilatkozat doboz (szolgáltatások alja) */
.disclaimer {
  background: var(--cream-soft);
  border: 1px solid rgba(130, 111, 163, 0.25);
  border-left: 4px solid var(--lavender);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
}
.disclaimer h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--aubergine-deep); }
.disclaimer p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 10px; }
.disclaimer p:last-child { margin-bottom: 0; }

/* Adatlista (adatkezelési oldal 1. pont) */
.info-def { list-style: none; margin: 0; padding: 0; }
.info-def li::before { display: none; }
.info-def li { padding: 9px 0; border-bottom: 1px dashed rgba(130, 111, 163, 0.22); display: flex; flex-wrap: wrap; gap: 2px 12px; }
.info-def li:last-child { border-bottom: 0; }
.info-def li span { min-width: 150px; font-weight: 700; color: var(--aubergine-deep); }
.svc-tile:hover .svc-badge { transform: translateY(-5px) scale(1.05); }
.svc-tile h3 { font-size: 1rem; letter-spacing: 0.09em; text-transform: uppercase; margin: 2px 0; }
.svc-tile p { font-size: 0.92rem; color: var(--ink-soft); max-width: 250px; margin: 0; }

.t-gyasz .svc-badge { background: radial-gradient(circle at 34% 30%, #EBE0F6, #CBB6E4); color: #7A64A0; }
.t-krizis .svc-badge { background: radial-gradient(circle at 34% 30%, #DEEAD0, #ADC998); color: #5E7B4C; }
.t-metamorf .svc-badge { background: radial-gradient(circle at 34% 30%, #F4DFD0, #E2BCA4); color: #B07A5F; }
.t-regr .svc-badge { background: radial-gradient(circle at 34% 30%, #E7DAF4, #C4B2DE); color: #7A64A0; }
.t-gyasz h3, .t-regr h3 { color: var(--aubergine); }
.t-krizis h3 { color: var(--sage); }
.t-metamorf h3 { color: var(--terracotta); }

/* ---------- Reszponzív ---------- */
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .svc-tile + .svc-tile::before { display: none; }
}
@media (max-width: 860px) {
  .home-hero__media { position: relative; width: 100%; height: 44vh; }
  .home-hero__media img { object-position: 60% 20%; }
  .home-hero__media::after { background: linear-gradient(0deg, var(--cream) 4%, rgba(243,238,229,0.2) 40%, transparent 72%); }
  .home-hero__inner { min-height: auto; padding-block: 26px 52px; }
  .home-hero__text { max-width: 100%; text-align: center; }
  .heart-divider, .home-hero .lead, .hero-feats { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-quote { display: none; }
}
@media (max-width: 560px) {
  .home-hero h1 .serif { font-size: 1.75rem; }
  .home-hero h1 .script { font-size: 2.35rem; }
  .home-hero .lead { font-size: 1rem; }
  .hero-feats { flex-direction: column; gap: 14px; max-width: 320px; }
  .hero-feats li { flex-direction: row; align-items: center; border-left: 0; padding: 0; gap: 12px; text-align: left; }
  .hero-feats .ic { flex: 0 0 auto; }
  .svc-grid { grid-template-columns: 1fr; }
}
