/* Zenit Language Journey — landing site
   Brand: navy #11194D · red #E31E24 (accent) · lightened red #FF6B6E on dark
   Type: Baloo 2 (display) · Jost (body) */

:root {
  --navy: #11194D;
  --navy-deep: #0B1140;
  --red: #E31E24;
  --red-dark: #C4161B;
  --red-soft: #FF6B6E;
  --cream: #FBF7F0;
  --sky-hi: #D6E5F8;
  --sky-mid: #EAF2FC;
  --sky-deep: #9FBEEA;
  --ice: #F2F7FE;
  --ink-80: rgba(17, 25, 77, .8);
  --ink-60: rgba(17, 25, 77, .6);
  --ink-50: rgba(17, 25, 77, .5);
  --display: 'Baloo 2', cursive;
  --body: 'Jost', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section, header, footer { scroll-margin-top: 70px; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
img { max-width: 100%; }
input, textarea, select, button { font-family: var(--body); }
::selection { background: #FFD9DA; }

h1, h2, h3 { font-family: var(--display); }

.wrap { max-width: 1100px; margin: 0 auto; }
.wrap-wide { max-width: 1200px; margin: 0 auto; }

/* ---- print-brand double rule (from the prospektus) ---- */
.hrule { display: flex; gap: 8px; align-items: center; margin: 0 0 22px; }
.hrule span:first-child { width: 34px; height: 5px; background: var(--navy); }
.hrule span:last-child { width: 92px; height: 5px; background: var(--red); }
.hrule.on-dark span:first-child { background: #fff; }
.hrule.on-dark span:last-child { background: var(--red-soft); }

.eyebrow {
  margin: 0 0 14px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
}

/* ---- nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  background: rgba(251, 247, 240, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 25, 77, .08);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 28px;
  display: flex; align-items: center; gap: 28px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-logo img { height: 38px; display: block; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--navy); }
.nav-links a:hover { color: var(--red); }
.nav-ctas { display: flex; gap: 10px; flex: none; margin-left: auto; }
.nav-spacer { height: 63px; }

/* ---- buttons ---- */
.btn-red {
  display: inline-block; background: var(--red); color: #fff;
  padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
}
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-outline {
  display: inline-block; border: 1.5px solid var(--navy); color: var(--navy);
  padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-navy {
  display: inline-block; background: var(--navy); color: #fff;
  padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
}
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-lg { padding: 15px 30px; font-weight: 700; font-size: 17px; }
.btn-lg.btn-red { box-shadow: 0 8px 24px rgba(227, 30, 36, .3); }
.btn-lg.btn-outline { border-width: 2px; padding: 13px 30px; }

/* ---- hero ---- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-hi) 0%, var(--sky-mid) 46%, var(--cream) 100%);
}
.cloud { position: absolute; background: #fff; border-radius: 999px; }
.hero-grid {
  max-width: 1200px; margin: 0 auto; padding: 64px 28px 0;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px;
  align-items: center; position: relative;
}
.hero-copy { padding: 40px 0 90px; }
.hero h1 {
  margin: 0 0 22px; font-weight: 800;
  font-size: clamp(42px, 5vw, 72px); line-height: 1.04; text-wrap: balance;
}
.hero-sub { margin: 0 0 34px; font-size: 19px; line-height: 1.6; max-width: 54ch; color: var(--ink-80); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin: 30px 0 0; font-size: 15px; color: var(--ink-60); }
.hero-art { align-self: end; display: flex; justify-content: center; }
.hero-art img { width: min(380px, 32vw); display: block; filter: drop-shadow(0 24px 40px rgba(17, 25, 77, .18)); }
.hero-scrollcue {
  position: relative; text-align: center; padding: 0 0 26px;
  font-size: 14px; font-weight: 600; letter-spacing: .12em; color: rgba(17, 25, 77, .55);
}

/* ---- sections ---- */
.section { padding: 100px 28px; }
.section-head { max-width: 720px; }
.section-head h2 {
  margin: 0 0 18px; font-weight: 800;
  font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; text-wrap: balance;
}
.section-lead { margin: 0; font-size: 18px; line-height: 1.65; color: var(--ink-80); }
.aside-note { margin: 14px 0 0; font-size: 15.5px; font-style: italic; color: var(--ink-60); }

.bg-white { background: #fff; }
.bg-ice { background: var(--ice); }

/* method cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.mcard { background: var(--cream); border-radius: 20px; padding: 30px 28px; }
.mcard .num { font-family: var(--display); font-weight: 800; font-size: 44px; color: var(--red); line-height: 1; }
.mcard h3 { margin: 12px 0 10px; font-weight: 700; font-size: 23px; }
.mcard p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(17, 25, 77, .78); }

/* movement band — navy slogan block (print signature) */
.band {
  margin-top: 64px; background: var(--navy); border-radius: 24px; color: #fff;
  display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden;
}
.band-copy { padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.band-copy h3 { margin: 0 0 14px; font-weight: 800; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; color: #fff; }
.band-copy p { margin: 0 0 22px; font-size: 16.5px; line-height: 1.65; color: rgba(255, 255, 255, .85); }
.band-slogan { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--red-soft); }
.band-photo { min-height: 300px; background-size: cover; background-position: center; }

.more-row { margin-top: 40px; font-size: 16.5px; }
.more-row a { font-weight: 600; }
.more-row .dim { color: var(--ink-50); }

/* ---- journey ---- */
.journey {
  background: linear-gradient(180deg, var(--sky-mid) 0%, #C9DCF5 55%, var(--sky-deep) 100%);
  padding: 100px 28px 140px; position: relative;
}
.chip {
  margin: 18px 0 0; display: inline-block; background: rgba(255, 255, 255, .75);
  padding: 9px 18px; border-radius: 999px; font-size: 15px; font-weight: 600;
}
.journey-grid { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.timeline {
  display: flex; flex-direction: column; gap: 44px;
  border-left: 3px dashed rgba(17, 25, 77, .35); padding-left: 36px;
}
.tcard { background: rgba(255, 255, 255, .9); border-radius: 20px; padding: 26px 28px; position: relative; }
.tcard::before {
  content: ''; position: absolute; left: -49px; top: 28px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--red); border: 4px solid var(--sky-mid);
}
.tcard-meta { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tcard-grade {
  background: var(--navy); color: #fff; font-weight: 700; font-size: 13px;
  padding: 4px 12px; border-radius: 999px;
}
.tcard-alt { font-size: 13px; font-weight: 600; color: var(--ink-50); letter-spacing: .08em; }
.tcard-stage {
  margin: 14px 0 0; font-size: 13.5px; font-weight: 700;
  letter-spacing: .16em; color: var(--red);
}
.tcard h3 { margin: 6px 0 8px; font-weight: 700; font-size: 24px; }
.tcard p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(17, 25, 77, .78); }
.tcard-cam {
  margin: 14px 0 0; display: inline-block; background: var(--ice);
  border: 1px solid rgba(17, 25, 77, .15); border-radius: 999px;
  padding: 5px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-80);
}
.journey-balloon { align-self: stretch; }
.journey-balloon > div { position: sticky; top: 110px; display: flex; justify-content: center; padding-top: 20px; }
.journey-balloon img {
  width: 280px; display: block;
  animation: zbob 5.5s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(17, 25, 77, .25));
}

/* ---- results ---- */
.findings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.fcard { background: var(--cream); border-radius: 20px; padding: 28px 26px; }
.fcard h3 { margin: 0 0 10px; font-weight: 700; font-size: 21px; }
.fcard p { margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(17, 25, 77, .78); }
.fcard .fnum { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--red); letter-spacing: .1em; margin-bottom: 8px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.stat {
  border: 2px dashed rgba(227, 30, 36, .45); border-radius: 20px;
  padding: 30px 26px; text-align: center;
}
.stat .big { font-family: var(--display); font-weight: 800; font-size: 52px; color: var(--red); line-height: 1; }
.stat .lbl { margin: 10px 0 6px; font-weight: 600; font-size: 17px; }
.stat .src { margin: 0; font-size: 13px; color: var(--ink-50); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.quote { margin: 0; background: var(--cream); border-radius: 20px; padding: 28px 30px; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.6; font-style: italic; color: rgba(17, 25, 77, .85); }
.quote figcaption { margin-top: 16px; font-weight: 600; font-size: 15px; }
.quote .who { color: var(--ink-50); font-weight: 400; }

/* certificates photo + slogan overlay */
.proof-photo { position: relative; margin-top: 64px; }
.proof-photo img { display: block; width: 100%; max-height: 520px; object-fit: cover; object-position: center 30%; border-radius: 24px; }
.proof-slogan {
  position: absolute; right: -8px; bottom: 34px;
  background: var(--navy); color: #fff; border-radius: 4px;
  padding: 22px 30px; max-width: 380px;
  font-family: var(--display); font-weight: 700; font-size: 21px;
  line-height: 1.4; letter-spacing: .04em; box-shadow: 0 20px 40px rgba(17, 25, 77, .3);
}
.proof-slogan .accent { color: var(--red-soft); }
.proof-caption { margin: 14px 0 0; font-size: 14px; color: var(--ink-50); }

/* ---- app ---- */
.app-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.applist { display: flex; flex-direction: column; gap: 18px; }
.applist .row { display: flex; gap: 14px; align-items: flex-start; }
.applist .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--red); margin-top: 8px; }
.applist .dot.navy { background: var(--navy); }
.applist p { margin: 0; font-size: 16.5px; line-height: 1.55; }
.phones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.phone {
  width: 230px; flex: none; background: var(--navy); border-radius: 32px; padding: 10px;
  box-shadow: 0 24px 48px rgba(17, 25, 77, .25);
}
.phone-1 { transform: rotate(-3deg); }
.phone-2 { transform: rotate(2.5deg); margin-top: 44px; }
.phone .screen {
  background: #fff; border-radius: 24px; width: 210px; height: 436px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.phone .screen .ph { font-size: 13px; color: var(--ink-50); text-align: center; padding: 0 18px; }

/* ---- audiences ---- */
.aud-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.aud { border-radius: 24px; padding: 40px 38px; display: flex; flex-direction: column; }
.aud-parent { background: var(--cream); }
.aud-school { background: var(--navy); color: #fff; }
.aud h3 { margin: 0 0 14px; font-weight: 800; font-size: 30px; line-height: 1.15; }
.aud-school h3 { color: #fff; }
.aud-school .eyebrow { color: var(--red-soft); }
.aud > p { margin: 0 0 20px; font-size: 16.5px; line-height: 1.6; color: var(--ink-80); }
.aud-school > p { color: rgba(255, 255, 255, .85); }
.aud ul { margin: 0 0 28px; padding-left: 20px; font-size: 16px; line-height: 1.75; color: rgba(17, 25, 77, .85); }
.aud ul li { margin-bottom: 8px; }
.aud-school ul { color: rgba(255, 255, 255, .9); }
.aud .cta-row { margin-top: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.aud-school .btn-white { background: #fff; color: var(--navy); padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 16px; }
.aud-school .btn-white:hover { background: var(--red-soft); color: var(--navy); }
.aud-school .link-soft { color: rgba(255, 255, 255, .85); font-weight: 600; font-size: 15px; }
.aud-school .link-soft:hover { color: var(--red-soft); }

/* ---- contact ---- */
.contact {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 110px 28px 70px; position: relative; overflow: hidden;
}
.star { position: absolute; border-radius: 50%; background: #fff; animation: ztwinkle 3.5s ease-in-out infinite; }
.contact-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative;
}
.contact .eyebrow { color: var(--red-soft); }
.contact h2 { margin: 0 0 18px; font-weight: 800; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; color: #fff; }
.contact-lead { margin: 0 0 26px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.contact-details { margin: 0 0 30px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: rgba(255, 255, 255, .85); }
.contact-details a { color: #fff; font-weight: 600; }
.contact-details a:hover { color: var(--red-soft); }
.contact-balloon { width: 180px; display: block; opacity: .9; animation: zbob 6s ease-in-out infinite; filter: brightness(0) invert(1) opacity(.85); }
.cform {
  background: #fff; border-radius: 24px; padding: 36px 34px;
  display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.rolerow { display: flex; gap: 10px; }
.rolerow label {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 10px; font-weight: 600; font-size: 15px; cursor: pointer;
}
.role-parent { border: 2px solid var(--red); color: var(--red); }
.role-parent input { accent-color: var(--red); }
.role-school { border: 2px solid var(--navy); color: var(--navy); }
.role-school input { accent-color: var(--navy); }
.cform input[type="text"], .cform input[type="email"], .cform textarea {
  border: 1.5px solid rgba(17, 25, 77, .25); border-radius: 12px;
  padding: 13px 16px; font-size: 16px; color: var(--navy);
}
.cform textarea { resize: vertical; }
.cform button {
  background: var(--red); color: #fff; border: none; border-radius: 999px;
  padding: 15px; font-weight: 700; font-size: 17px; cursor: pointer;
}
.cform button:hover { background: var(--red-dark); }
.cform .note { margin: 0; font-size: 13px; text-align: center; color: var(--ink-50); }

/* ---- footer ---- */
.footer {
  background: var(--navy-deep); color: rgba(255, 255, 255, .75);
  padding: 40px 28px 46px; border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer-row { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-mark { font-family: var(--display); font-weight: 800; font-size: 22px; color: #fff; }
.footer-mark .e { color: var(--red-soft); }
.footer-mark .sub {
  font-family: var(--body); font-weight: 400; font-size: 13px;
  letter-spacing: .3em; color: rgba(255, 255, 255, .6);
}
.footer-links { display: flex; gap: 22px; font-size: 14.5px; margin-left: auto; flex-wrap: wrap; }
.footer-links a { color: rgba(255, 255, 255, .75); }
.footer-links a:hover { color: var(--red-soft); }
.footer-motto {
  max-width: 1100px; margin: 26px auto 0; font-size: 15px; font-style: italic;
  color: rgba(255, 255, 255, .55); letter-spacing: .04em;
}
.footer-fine { max-width: 1100px; margin: 12px auto 0; font-size: 13px; color: rgba(255, 255, 255, .4); }

/* ---- altitude widget ---- */
#zalt {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  background: rgba(17, 25, 77, .9); color: #fff; font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; letter-spacing: .06em; backdrop-filter: blur(4px);
}

/* ---- bemutatkozó (subpage) ---- */
.doc-hero {
  background: linear-gradient(180deg, var(--sky-hi) 0%, var(--sky-mid) 60%, #fff 100%);
  padding: 90px 28px 60px; position: relative; overflow: hidden;
}
.doc-hero .wrap { position: relative; }
.doc-hero h1 { margin: 0 0 16px; font-weight: 800; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.06; }
.doc-hero .lead { font-size: 19px; line-height: 1.6; max-width: 60ch; color: var(--ink-80); margin: 0; }
.doc-section { padding: 72px 28px; position: relative; }
.doc-section .wrap { max-width: 860px; }
.doc-section h2 {
  margin: 0 0 16px; font-weight: 800; font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15; text-transform: uppercase; letter-spacing: .01em;
}
.doc-section p, .doc-section li { font-size: 17px; line-height: 1.7; color: var(--ink-80); }
.doc-section ul { padding-left: 22px; }
.doc-section ul li { margin-bottom: 14px; }
.doc-section li strong { color: var(--navy); }
.edge-bar { position: absolute; top: 60px; bottom: 60px; right: 0; width: 10px; background: var(--red); border-radius: 4px 0 0 4px; }

.stage-list { display: flex; flex-direction: column; gap: 34px; margin-top: 40px; }
.stage { display: grid; grid-template-columns: 84px 1fr; gap: 22px; }
.stage .snum { font-family: var(--display); font-weight: 800; font-size: 46px; color: var(--red); line-height: 1; }
.stage h3 { margin: 4px 0 8px; font-weight: 700; font-size: 22px; }
.stage p { margin: 0; }
.stage .cam { margin-top: 10px; display: inline-block; background: var(--ice); border: 1px solid rgba(17,25,77,.15); border-radius: 999px; padding: 5px 14px; font-size: 13.5px; font-weight: 600; }

.slogan-band {
  background: var(--navy); color: #fff; padding: 46px 28px;
}
.slogan-band .wrap { max-width: 860px; }
.slogan-band p {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; letter-spacing: .04em;
}
.slogan-band .accent { color: var(--red-soft); }

.doc-photo { margin: 40px 0 0; }
.doc-photo img { width: 100%; border-radius: 20px; display: block; }
.doc-photo figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-50); }

.doc-cta { background: var(--ice); }
.doc-cta .cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ---- animations ---- */
@keyframes zbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes ztwinkle { 0%, 100% { opacity: .9; } 50% { opacity: .25; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .journey-balloon img, .contact-balloon { animation: none; }
  .star { animation: none; opacity: .5; }
}

/* keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--red-soft); outline-offset: 2px;
}

/* ---- responsive ---- */
@media (max-width: 1023px) {
  .journey-grid { grid-template-columns: 1fr; }
  .journey-balloon { display: none; }
}
@media (max-width: 880px) {
  .hero-grid, .grid3, .findings, .stats, .grid2, .app-grid, .aud-grid, .contact-grid, .band {
    grid-template-columns: 1fr; gap: 36px;
  }
  .band { gap: 0; }
  .band-photo { min-height: 240px; order: -1; }
  .nav-links { display: none; }
  .nav-inner { gap: 10px; padding: 10px 14px; }
  .nav-logo img { height: 30px; }
  .nav-ctas a { padding: 7px 12px; font-size: 13px; }
  .phones { flex-wrap: wrap; }
  .phone-2 { margin-top: 0; }
  .hero-art img { width: min(300px, 72vw); }
  .hero-art { padding-bottom: 30px; }
  .hero-grid { padding: 32px 20px 0; gap: 20px; }
  .hero h1 { font-size: 40px; }
  .section, .journey, .contact { padding-left: 20px; padding-right: 20px; }
  .cform { padding: 26px 20px; }
  .proof-slogan { position: static; margin: -40px 16px 0 auto; max-width: 90%; }
  .stage { grid-template-columns: 56px 1fr; gap: 14px; }
  .stage .snum { font-size: 36px; }
  .edge-bar { display: none; }
}
@media (max-width: 480px) {
  .rolerow { flex-direction: column; }
}
