/* ===== Színek a CsodaÉrzék logóból + a három program színei ===== */
:root {
  --brown: #8a6a48;
  --brown-dark: #5e4630;
  --ink: #3f3226;
  --muted: #7a6b5d;
  --cream: #fbf7f1;
  --tint: #f5eee4;
  --card: #ffffff;
  --line: #eadfce;
  --peach: #f2a063;
  --peach-soft: #fde8d6;
  --sage: #8db89a;
  --sage-soft: #e3f0e6;
  --sky: #2fa6d9;
  --sky-soft: #dff1fa;
  --zoo: #4ea83a;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(94, 70, 48, .08);
  --font-head: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.2; color: var(--brown-dark); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--brown); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .82rem;
  color: var(--peach);
  font-weight: 600;
  margin-bottom: .6em;
}

/* ===== Gombok ===== */
.btn {
  display: inline-block;
  background: var(--peach);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.05rem;
  padding: .8em 1.6em;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid var(--peach);
  cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s;
  box-shadow: 0 6px 16px rgba(242, 160, 99, .35);
}
.btn:hover { transform: translateY(-2px); background: #e98f4e; border-color: #e98f4e; }
.btn-ghost { background: transparent; color: var(--brown-dark); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: #fff; border-color: var(--brown); }
.btn-small { padding: .5em 1.2em; font-size: .95rem; }

/* ===== Fejléc ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 241, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 500; color: var(--brown-dark); margin: 0; }
.brand-sub { font-size: .8rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--peach); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--brown-dark); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ===== Hero ===== */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 36px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; gap: 32px; flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--font-head); font-size: 1.4rem; font-weight: 500; color: var(--brown-dark); }
.hero-facts span { font-size: .88rem; color: var(--muted); }
.hero-media { position: relative; }
.hero-media > img { position: relative; border-radius: 32px; box-shadow: var(--shadow); width: 100%; height: auto; }
.blob {
  position: absolute; inset: -6% -8% -4% 6%;
  background: radial-gradient(circle at 30% 30%, var(--peach-soft), transparent 60%),
              radial-gradient(circle at 80% 70%, var(--sage-soft), transparent 60%),
              radial-gradient(circle at 70% 10%, var(--sky-soft), transparent 55%);
  border-radius: 50%;
}
.hero-badge {
  position: absolute; right: 24px; bottom: -26px;
  display: flex; align-items: center; gap: 10px;
  background: #fff; padding: 10px 18px 10px 10px; border-radius: 999px;
  box-shadow: var(--shadow); font-family: var(--font-head); font-size: .95rem; line-height: 1.15; color: var(--brown-dark);
}
.hero-badge img { width: 56px; height: 56px; object-fit: contain; }

/* ===== Pillérek ===== */
.pillars { padding: 24px 0 48px; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.pillar p { color: var(--muted); margin: 0; }
.pillar-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; }
.pillar-icon svg { width: 28px; height: 28px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar-icon.peach { background: var(--peach-soft); } .pillar-icon.peach svg { stroke: var(--peach); fill: var(--peach); }
.pillar-icon.sage { background: var(--sage-soft); } .pillar-icon.sage svg { stroke: #5e9a6f; }
.pillar-icon.sage circle { fill: #5e9a6f; }
.pillar-icon.sky { background: var(--sky-soft); } .pillar-icon.sky svg { stroke: var(--sky); fill: var(--sky); }

/* ===== Szekciók ===== */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); }

/* Rólam */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; object-position: 25% center; width: 100%; }
blockquote {
  margin: 1.4em 0; padding: 18px 24px;
  background: var(--sage-soft); border-left: 4px solid var(--sage);
  border-radius: 0 16px 16px 0;
  font-family: var(--font-head); font-size: 1.2rem; color: var(--brown-dark);
}
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .9rem; font-weight: 600; color: var(--brown); }

/* Programok */
.program {
  display: grid; grid-template-columns: 240px 1fr; gap: 40px;
  background: var(--card); border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow); margin-bottom: 28px;
  position: relative; overflow: hidden;
}
.program::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--bar, var(--c)); }
.program-kanga { --c: var(--sky); --c-soft: var(--sky-soft); --bar: linear-gradient(90deg, #93328e, #e6007e, #f7a600, #ffd500, #56aa3c, #2fb0e5, #1d6fb8); }
.program-zoo { --c: var(--zoo); --c-soft: #e6f4e1; }
.program-csoda { --c: var(--peach); --c-soft: var(--peach-soft); }
.program-side { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.program-logo { width: 180px; object-fit: contain; }
.program-logo.wide { width: 220px; }
.program-zoo .program-logo { border-radius: 14px; }
.age { font-family: var(--font-head); font-size: 1.15rem; font-weight: 500; background: var(--c-soft); color: var(--brown-dark); padding: 6px 18px; border-radius: 999px; }
.program-tagline { font-family: var(--font-head); color: var(--c); font-size: 1.15rem; margin-top: -.3em; }
.program-zoo .program-tagline { color: #3a8a2a; }
.program-kanga .program-tagline { color: #1d8ec0; }
.program-csoda .program-tagline { color: #d9803f; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.check { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.check li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--peach-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e98f4e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat;
}
.check-sage li::before {
  background-color: var(--sage-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e9a6f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}
.where { list-style: none; padding: 16px 20px; margin: 8px 0 0; background: var(--cream); border-radius: 14px; }
.where li { padding: 4px 0 4px 26px; position: relative; }
.where li::before { content: "📍"; position: absolute; left: 0; font-size: .9rem; top: 5px; }
.where em { font-style: normal; font-weight: 700; color: var(--brown); }

/* Órarend */
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.day { background: var(--card); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.day h4 { text-align: center; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 12px; }
.slot { border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; display: flex; flex-direction: column; line-height: 1.3; border-left: 4px solid; }
.slot time { font-family: var(--font-head); font-size: 1.1rem; color: var(--brown-dark); }
.slot b { font-size: .92rem; }
.slot span { font-size: .85rem; color: var(--muted); }
.slot.kanga { background: var(--sky-soft); border-color: var(--sky); }
.slot.zoo { background: #e6f4e1; border-color: var(--zoo); }
.slot.empty { border: 0; text-align: center; color: var(--line); }
.note { margin-top: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.dot.csoda { background: var(--peach); }
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.place { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.place a { font-weight: 700; text-decoration: none; }
.place .muted { font-size: .92rem; }

/* Idézet sáv */
.quote-band {
  position: relative; padding: 120px 0; text-align: center; color: #fff;
  background: linear-gradient(rgba(62, 48, 34, .55), rgba(62, 48, 34, .55)), url("img/fa.jpg") center 20%/cover no-repeat;
}
.quote-band p { font-family: var(--font-head); font-size: clamp(1.5rem, 3.4vw, 2.4rem); max-width: 22em; margin: 0 auto; line-height: 1.35; text-shadow: 0 2px 12px rgba(0,0,0,.25); }

/* Lépések */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.steps li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--peach-soft); color: #d9803f; font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 14px; }
.steps li:nth-child(2) > span { background: var(--sage-soft); color: #5e9a6f; }
.steps li:nth-child(3) > span { background: var(--sky-soft); color: #1d8ec0; }
.steps li:nth-child(4) > span { background: #f3e6f3; color: #93328e; }
.steps p { color: var(--muted); margin: 0; }

/* Hamarosan */
.soon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.soon { background: var(--card); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); border: 2px dashed var(--line); }
.badge { display: inline-block; background: var(--tint); color: var(--brown); font-weight: 700; font-size: .82rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.disclaimer { font-size: .9rem; color: var(--muted); background: var(--cream); padding: 12px 16px; border-radius: 12px; margin: 0; }

/* Galéria */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.gallery-grid img { border-radius: var(--radius); box-shadow: var(--shadow); max-height: 720px; width: auto; margin-inline: auto; }
.gallery-grid p { color: var(--muted); margin-bottom: 1.6em; }

/* GYIK */
details { background: var(--card); border-radius: 16px; margin-bottom: 12px; box-shadow: var(--shadow); }
summary { cursor: pointer; padding: 20px 56px 20px 24px; font-family: var(--font-head); font-size: 1.12rem; color: var(--brown-dark); list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--peach); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* Kapcsolat */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); font-size: .92rem; }
.contact-list a { font-weight: 700; text-decoration: none; }
.contact-list .fb-links { display: flex; flex-direction: column; color: inherit; font-size: inherit; }
.contact-form { background: var(--card); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; margin-bottom: 16px; flex: 1; }
.field-row { display: flex; gap: 16px; }
label { font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream);
  width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--peach); background: #fff; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 6px 0 20px; font-size: .92rem; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; }
.form-hint { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }

/* Lábléc */
.site-footer { background: var(--brown-dark); color: #eadfce; padding: 56px 0 24px; }
.site-footer .brand-name { color: #fff; }
.site-footer .muted { color: #c5b39e; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; align-items: start; }
.footer-contact a { color: #eadfce; text-decoration: none; }
.footer-contact a:hover { color: var(--peach); }
.footer-nav { display: flex; flex-direction: column; gap: 6px; }
.footer-nav a { color: #eadfce; text-decoration: none; }
.footer-nav a:hover { color: var(--peach); }
.footer-logos { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.footer-logos img { height: 70px; width: auto; background: #fff; border-radius: 12px; padding: 6px; }
.footer-bottom { border-top: 1px solid rgba(234, 223, 206, .2); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* Megjelenési animáció */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Reszponzív ===== */
@media (max-width: 1000px) {
  .week { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .program { grid-template-columns: 1fr; gap: 20px; }
  .program-side { flex-direction: row; justify-content: space-between; }
  .program-logo, .program-logo.wide { width: 150px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding-top: 36px; }
  .hero-grid, .about-grid, .gallery-grid, .contact-grid, .soon-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 440px; margin-inline: auto; order: -1; }
  .hero-media { margin-bottom: 16px; }
  .pillar-grid, .places { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .week { grid-template-columns: 1fr 1fr; }
  .steps, .two-col { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; gap: 0; }
  .program, .soon, .contact-form { padding: 24px; }
  .hero-facts { gap: 20px; }
  .contact-list li { grid-template-columns: 1fr; }
  .quote-band { padding: 80px 0; }
}
