:root {
  --cream: #f8f8f6;
  --paper: #ffffff;
  --ink: #242424;
  --muted: #77736f;
  --green: #5f5b57;
  --green-deep: #252525;
  --green-soft: #efefec;
  --line: #e5e3df;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(25, 25, 25, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.hero {
  position: relative;
  min-height: 760px;
  height: min(860px, 92vh);
  overflow: hidden;
  color: var(--ink);
  background: #f8f8f6;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo {
  background-image: url("assets/karacsonyi-iskolafoto.jpg?v=2");
  background-position: center center;
  background-size: cover;
  transform: scale(1.015);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.14) 76%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, transparent 44%, rgba(255, 255, 255, 0.28) 100%);
}

.topbar,
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid rgba(36, 36, 36, 0.7);
  border-radius: 50%;
}

.brand-mark span {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(36, 36, 36, 0.55);
  border-radius: 50%;
}

.parent-link {
  padding: 10px 14px;
  border: 1px solid rgba(36, 36, 36, 0.28);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.top-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-links > a:not(.parent-link) {
  color: rgba(36, 36, 36, 0.72);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.hero-content {
  display: flex;
  min-height: calc(100% - 90px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 0 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #706b67;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 7vw, 90px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.99;
}

.hero h1 span {
  color: #6f6a66;
}

.lead {
  max-width: 610px;
  margin: 28px 0 30px;
  color: rgba(36, 36, 36, 0.72);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.58;
}

.primary-actions,
.secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.action:hover {
  transform: translateY(-2px);
}

.action-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 30px rgba(25, 25, 25, 0.14);
}

.hero .action-primary {
  color: var(--white);
  background: var(--ink);
}

.action-light {
  border-color: rgba(36, 36, 36, 0.32);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
}

.action-outline {
  border-color: var(--green);
  color: var(--green);
  background: transparent;
}

.action-icon {
  font-size: 18px;
}

.identity {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(1060px, calc(100% - 48px));
  margin: -58px auto 0;
  padding: 32px 36px;
  grid-template-columns: 1fr 1.15fr auto;
  gap: 32px;
  align-items: center;
  border: 1px solid rgba(222, 216, 205, 0.82);
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.identity .section-kicker,
.school-benefits .section-kicker,
.visual-proof .section-kicker,
.final-cta .section-kicker {
  color: var(--green);
}

.identity h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
}

.role {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.identity-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.identity-details a {
  width: fit-content;
  color: var(--ink);
  text-decoration-color: rgba(36, 36, 36, 0.25);
  text-underline-offset: 4px;
  font-size: 15px;
  font-weight: 650;
}

.secondary-actions {
  flex-direction: column;
}

.text-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  border: 0;
  color: var(--green);
  background: none;
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.share-status {
  display: none;
  margin: 0;
  color: var(--green);
  font-size: 13px;
  grid-column: 1 / -1;
}

.share-status:not(:empty) {
  display: block;
}

.school-benefits,
.process-section,
.season-section,
.spring-section,
.responsibility-section,
.about-section,
.final-cta {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
}

.process-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 80px;
  padding-top: 40px;
}

.process-intro {
  position: sticky;
  top: 40px;
  align-self: start;
}

.process-intro h2,
.responsibility-heading h2,
.privacy-section h2,
.about-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.7vw, 58px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.07;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.process-list li > span {
  display: block;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}

.process-list h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.compact-heading {
  align-items: center;
}

.compact-heading > div h2 {
  max-width: 680px;
}

.season-section {
  padding-bottom: 24px;
}

.season-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.season-card {
  position: relative;
  display: flex;
  min-height: 470px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.season-card-photo {
  display: block;
  width: 100%;
  height: clamp(500px, 52vw, 640px);
  object-fit: contain;
  object-position: center;
  background: #ece9e3;
}

.season-feature {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
}

.season-feature .season-card-photo {
  height: 100%;
  min-height: 650px;
}

.season-feature .season-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 84px);
}

.season-feature .season-card-copy h3 {
  font-size: clamp(44px, 5vw, 66px);
}

.season-feature .season-card-copy span {
  font-size: 17px;
  line-height: 1.72;
}

.season-christmas {
  color: var(--white);
  background: #292824;
}

.season-christmas .season-card-copy {
  flex: 1;
  background: #292824;
}

.season-spring {
  justify-content: flex-end;
  color: var(--ink);
  background: #efefec;
}

.season-spring .season-card-copy p,
.season-spring .season-card-copy span {
  color: #706b67;
}

.spring-section {
  padding: 96px 0 120px;
}

.spring-feature {
  min-height: 320px;
  justify-content: center;
  background: linear-gradient(135deg, #f6f5f1 0%, #e9e8e3 100%);
}

.spring-feature .season-card-copy {
  display: flex;
  width: 100%;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 7vw, 80px);
}

.spring-feature .season-card-copy h3 {
  font-size: clamp(38px, 5vw, 58px);
}

.spring-feature .season-card-copy span {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.72;
}

.season-card-copy {
  position: relative;
  z-index: 1;
  padding: 34px;
}

.season-card-copy p {
  margin: 0 0 9px;
  color: #efefec;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.season-card-copy h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
}

.season-card-copy span {
  display: block;
  max-width: 470px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.6;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading > .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -48px;
}

.section-heading h2,
.proof-copy h2,
.final-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.07;
}

.section-heading > p:last-child,
.proof-copy .proof-description,
.final-cta > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.benefit-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
}

.benefit-number {
  display: block;
  margin-bottom: 70px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.benefit-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.visual-proof {
  display: block;
  min-height: 0;
  background: #f5f5f2;
}

.proof-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 14px;
  padding: 20px;
  background: #ece9e3;
}

.proof-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  background: #ece9e3;
}

.proof-gallery .proof-wide {
  grid-column: 1 / -1;
}

.proof-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(36px, 7vw, 100px);
  color: var(--ink);
}

.proof-copy .section-kicker {
  color: #706b67;
}

.proof-copy .proof-description {
  margin-top: 24px;
  color: var(--muted);
}

.proof-action {
  align-self: flex-start;
  margin-top: 32px;
}

.responsibility-section {
  padding-bottom: 40px;
}

.responsibility-heading {
  max-width: 850px;
  margin-bottom: 48px;
}

.responsibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.responsibility-grid-single {
  grid-template-columns: 1fr;
}

.responsibility-grid article {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.responsibility-grid .responsibility-primary {
  border-color: #d9d7d2;
  color: var(--ink);
  background: #f1f1ee;
}

.responsibility-label {
  margin: 0 0 26px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.responsibility-primary .responsibility-label {
  color: #706b67;
}

.responsibility-grid ul {
  margin: 0;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.75;
}

.responsibility-grid li + li {
  margin-top: 8px;
}

.privacy-section {
  display: grid;
  grid-template-columns: 180px minmax(0, 720px);
  gap: 50px;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  color: var(--ink);
  background: #f3f3f0;
}

.privacy-mark {
  display: grid;
  width: 160px;
  height: 160px;
  place-items: center;
  border: 1px solid #d7d5d0;
  border-radius: 50%;
  color: #5f5b57;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
}

.privacy-section .section-kicker {
  color: #706b67;
}

.privacy-section p:last-child {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.about-section {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  grid-template-areas:
    "portrait heading"
    "portrait copy";
  column-gap: 70px;
  row-gap: 22px;
  align-items: start;
  justify-content: center;
}

.about-heading {
  grid-area: heading;
  align-self: end;
}

.about-portrait {
  grid-area: portrait;
  display: block;
  width: 220px;
  height: 330px;
  border: 1px solid var(--line);
  border-radius: 110px 110px 22px 22px;
  object-fit: cover;
  object-position: center center;
  box-shadow: 0 18px 46px rgba(25, 25, 25, 0.11);
}

.about-copy {
  grid-area: copy;
}

.about-copy > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.about-links a {
  color: var(--green);
  text-decoration-color: rgba(36, 36, 36, 0.25);
  text-underline-offset: 4px;
  font-size: 14px;
  font-weight: 800;
}

.final-cta {
  max-width: 850px;
  text-align: center;
}

.final-cta > p {
  max-width: 660px;
  margin: 24px auto 30px;
}

.centered {
  justify-content: center;
}

footer {
  padding: 28px 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  display: flex;
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
}

.footer-inner a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero {
    min-height: 740px;
    height: 88vh;
  }

  .hero-photo {
    background-position: 60% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 66%, rgba(255, 255, 255, 0.18) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, transparent 40%, rgba(255, 255, 255, 0.52) 100%);
  }

  .identity {
    grid-template-columns: 1fr 1fr;
  }

  .top-links > a:not(.parent-link) {
    display: none;
  }

  .process-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .process-intro {
    position: static;
  }

  .season-grid,
  .responsibility-grid {
    grid-template-columns: 1fr;
  }

  .privacy-section {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .privacy-mark {
    width: 120px;
    height: 120px;
    font-size: 30px;
  }

  .about-section {
    grid-template-columns: 180px minmax(0, 1fr);
    column-gap: 44px;
    row-gap: 18px;
  }

  .about-portrait {
    width: 170px;
    height: 255px;
  }

  .secondary-actions {
    flex-direction: row;
    grid-column: 1 / -1;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading > .section-kicker {
    grid-column: auto;
    margin-bottom: -8px;
  }

  .visual-proof {
    grid-template-columns: 1fr;
  }

  .proof-gallery {
    padding: 16px;
  }
}

@media (max-width: 660px) {
  .hero {
    min-height: 720px;
    height: 100svh;
  }

  .hero-photo {
    background-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.24) 28%, rgba(255, 255, 255, 0.92) 72%, rgba(255, 255, 255, 0.99) 100%);
  }

  .topbar,
  .hero-content,
  .identity,
  .school-benefits,
  .process-section,
  .season-section,
  .spring-section,
  .responsibility-section,
  .about-section,
  .final-cta {
    width: min(100% - 32px, 1180px);
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .season-card {
    min-height: 0;
  }

  .season-feature {
    display: flex;
    flex-direction: column;
  }

  .season-feature .season-card-photo {
    height: auto;
    min-height: 0;
  }

  .season-feature .season-card-copy {
    padding: 34px 26px 38px;
  }

  .season-spring {
    min-height: 300px;
  }

  .spring-section {
    padding: 72px 0 88px;
  }

  .season-card-copy {
    padding: 26px;
  }

  .responsibility-grid article {
    padding: 28px 24px;
  }

  .privacy-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 72px 24px;
  }

  .privacy-mark {
    width: 96px;
    height: 96px;
    font-size: 25px;
  }

  .about-section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "portrait"
      "copy";
    gap: 28px;
  }

  .about-heading,
  .about-copy {
    text-align: center;
  }

  .about-portrait {
    justify-self: center;
  }

  .about-links {
    justify-content: center;
  }

  .about-portrait {
    width: 160px;
    height: 240px;
    border-radius: 80px 80px 18px 18px;
  }

  .topbar {
    padding: max(18px, env(safe-area-inset-top)) 0 18px;
  }

  .brand {
    font-size: 13px;
  }

  .parent-link {
    padding: 8px 11px;
    font-size: 12px;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 92px;
  }

  .hero h1 {
    font-size: clamp(45px, 13vw, 66px);
  }

  .lead {
    margin: 22px 0 24px;
    font-size: 16px;
  }

  .primary-actions {
    width: 100%;
  }

  .hero .action {
    flex: 1;
  }

  .identity {
    margin-top: -54px;
    padding: 28px 24px;
    grid-template-columns: 1fr;
    gap: 22px;
    border-radius: 22px;
  }

  .secondary-actions {
    grid-column: auto;
    flex-direction: column;
    gap: 2px;
  }

  .school-benefits,
  .final-cta {
    padding: 88px 0;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: 0;
  }

  .proof-gallery {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
  }

  .proof-gallery img {
    height: auto;
  }

  .benefit-number {
    margin-bottom: 34px;
  }

  .proof-copy {
    padding: 64px 24px 72px;
  }

  .final-cta .action {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .action {
    transition: none;
  }
}

/* Jóváhagyott, egységes középre zárt szövegelrendezés. */
.hero-content,
.section-heading,
.benefit-card,
.process-section,
.season-card-copy,
.proof-copy,
.responsibility-heading,
.responsibility-grid article,
.privacy-section,
.about-heading,
.about-copy,
.final-cta,
.footer-inner {
  text-align: center;
}

.hero-content {
  align-items: center;
}

.hero h1,
.lead,
.compact-heading > div h2,
.season-card-copy span,
.spring-feature .season-card-copy span,
.responsibility-heading,
.privacy-section p:last-child {
  margin-left: auto;
  margin-right: auto;
}

.process-list li > span {
  text-align: center;
}

.responsibility-grid ul {
  padding-left: 0;
  list-style-position: inside;
  text-align: center;
}

.proof-action {
  align-self: center;
}

.privacy-mark {
  justify-self: center;
}

.about-links,
.footer-inner,
.footer-inner nav {
  justify-content: center;
}

@media (max-width: 660px) {
  .footer-inner {
    align-items: center;
  }
}
