/* Katalin Babulják – közös stílus (minden nyelvhez és aloldalhoz) */

/* ---------- Betűk (saját tárhelyről) ---------- */
@font-face {
  font-family: "Special Elite";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/special-elite-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Special Elite";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/special-elite-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/caveat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/caveat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* A Work Sans változó betű: egy fájl adja a 400–700 vastagságot */
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/work-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/work-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Színek és alapok ---------- */
:root {
  --krem: #F7F1EA;
  --eszpresszo: #28221E;
  --barna: #5C3317;
  --cser: #E9A23B;
  --korall: #E4572E;

  --iro: "Special Elite", "Courier New", monospace;
  --kez: "Caveat", cursive;
  --szoveg: "Work Sans", system-ui, sans-serif;

  /* Szakasz belső margó: 64/20 px telefonon → 100/80 px laptopon */
  --pad-y: clamp(64px, 38.29px + 6.857vw, 100px);
  --pad-x: clamp(20px, 11.43vw - 22.86px, 80px);
  --menu-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--krem);
  color: var(--eszpresszo);
  font-family: var(--szoveg);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }
:focus-visible {
  outline: 3px solid var(--korall);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--barna);
  color: var(--krem);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

[id] { scroll-margin-top: var(--menu-h); }

/* ---------- Szakaszok ---------- */
.section {
  padding: var(--pad-y) var(--pad-x);
  text-align: center;
}
.section--krem { background: var(--krem); color: var(--eszpresszo); }
.section--barna { background: var(--barna); color: var(--krem); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
}

/* Írógépes szakaszcím: 36 px telefonon → 50 px laptopon */
.cim {
  font-family: var(--iro);
  font-weight: 400;
  font-size: clamp(36px, 26px + 2.667vw, 50px);
  line-height: 1.2;
}
.section--krem .cim { color: var(--barna); }
.section--barna .cim { color: var(--krem); }

/* Kis korall csík a kártyák, dobozok tetején */
.csik {
  display: block;
  width: 48px; height: 4px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--korall);
}

/* ---------- Gomb ---------- */
.gomb {
  display: inline-block;
  padding: 16px 36px;
  border: 0;
  border-radius: 12px;
  background: var(--korall);
  color: var(--krem);
  font-family: var(--szoveg);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease;
}
.gomb:hover { transform: translateY(-2px); }
.gomb:active { transform: translateY(0); }
.gomb:focus-visible { outline-color: var(--cser); }
.section--krem .gomb:focus-visible,
.urlap .gomb:focus-visible { outline-color: var(--barna); }

/* Közösségi ikon (kör alakú keret) */
.ikon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 46px; height: 46px;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--barna);
  transition: transform .15s ease;
}
.ikon:hover { transform: translateY(-2px); }
.ikon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Menü ---------- */
.menu {
  position: relative;
  z-index: 20;
  background: var(--krem);
  border-bottom: 1px solid rgba(92, 51, 23, .15);
}
.menu__sor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--menu-h);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  box-sizing: content-box;
}
.menu__nev {
  font-family: var(--iro);
  font-size: clamp(22px, 19.14px + .762vw, 26px);
  color: var(--barna);
  text-decoration: none;
  white-space: nowrap;
}
.menu__pontok {
  display: flex;
  gap: 36px;
}
.menu__pontok a {
  font-weight: 500;
  font-size: 17px;
  color: var(--eszpresszo);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.menu__pontok a:hover { border-bottom-color: var(--cser); }

/* Nyelvválasztó helye – később (de, en) */
.nyelv[hidden] { display: none; }

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hamburger__vonalak,
.hamburger__vonalak::before,
.hamburger__vonalak::after {
  display: block;
  width: 28px; height: 3px;
  border-radius: 2px;
  background: var(--barna);
}
.hamburger__vonalak { position: relative; }
.hamburger__vonalak::before,
.hamburger__vonalak::after {
  content: "";
  position: absolute;
  left: 0;
}
.hamburger__vonalak::before { top: -9px; }
.hamburger__vonalak::after { top: 9px; }

@media (max-width: 900px) {
  .js .hamburger { display: inline-flex; }
  .js .menu__pontok {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--pad-x) 16px;
    background: var(--krem);
    border-bottom: 1px solid rgba(92, 51, 23, .15);
  }
  .js .menu--nyitva .menu__pontok { display: flex; }
  .js .menu__pontok a {
    display: block;
    padding: 13px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(92, 51, 23, .15);
  }
  .js .menu__pontok li:last-child a { border-bottom: 0; }

  /* JavaScript nélkül a menüpontok a név alá törnek */
  html:not(.js) .menu__sor { flex-wrap: wrap; padding-block: 14px; }
  html:not(.js) .menu__pontok { flex-wrap: wrap; gap: 4px 20px; }
}

/* ---------- 1. Nyitó ---------- */
.nyito {
  padding: clamp(44px, 24px + 5.333vw, 72px) var(--pad-x);
  text-align: left;
}
.nyito__racs {
  display: grid;
  gap: 44px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: center;
}
.nyito__felso {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--eszpresszo);
  line-height: 1.5;
}
.nyito__felso .potty { color: var(--korall); }
.nyito__cim {
  margin-top: 22px;
  font-family: var(--iro);
  font-weight: 400;
  font-size: clamp(40px, 20px + 5.333vw, 68px);
  line-height: 1.1;
  color: var(--barna);
}
.nyito__alcim {
  margin-top: 14px;
  font-family: var(--kez);
  font-feature-settings: "calt" 0, "liga" 0; /* a Caveat összekötött alakjai torzítják az o-d párt */
  font-weight: 600;
  font-size: clamp(36px, 28.86px + 1.905vw, 46px);
  line-height: 1.15;
  color: var(--korall);
}
.nyito__gombok {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.nyito__gombok .gomb { margin-right: 6px; }

/* Grafika: négyzet, minden százalékban, hogy skálázódjon */
.grafika {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.grafika > * { position: absolute; }
.gyuru {
  border-radius: 50%;
  border: 3px solid;
}
.gyuru--barna {
  width: 87%; height: 87%;
  left: 6.5%; top: 6.5%;
  border-color: var(--barna);
}
.gyuru--cser {
  width: 74%; height: 74%;
  left: 1%; top: 14%;
  border-color: var(--cser);
}
.pont {
  width: 2.4%; height: 2.4%;
  border-radius: 50%;
}
.pont--cser { background: var(--cser); }
.pont--barna { background: var(--barna); }
.pont--korall { background: var(--korall); }

.iranytu {
  width: 59%; height: 59%;
  left: 20.5%; top: 20.5%;
}
.iranytu img {
  width: 100%; height: 100%;
  object-fit: contain;
}

/* „Keresi az irányt, majd beáll” – egyszer leng, egyre kisebb kilengéssel.
   A main.js akkor teszi rá az „indul” osztályt, amikor az iránytű látszik
   (telefonon a szöveg alatt van, betöltéskor még nem mindig látható). */
@keyframes iranykereses {
  0%   { transform: rotate(0deg);   animation-timing-function: ease-out; }
  14%  { transform: rotate(-25deg); animation-timing-function: ease-in-out; }
  38%  { transform: rotate(16deg);  animation-timing-function: ease-in-out; }
  60%  { transform: rotate(-8deg);  animation-timing-function: ease-in-out; }
  80%  { transform: rotate(3deg);   animation-timing-function: ease-out; }
  100% { transform: rotate(0deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .iranytu img { transform-origin: 50% 50%; }
  .iranytu.indul img { animation: iranykereses 2.6s both; }
}

@media (min-width: 901px) {
  .nyito__racs {
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    gap: 60px;
  }
}

/* ---------- 2. Rólam ---------- */
.rolam .cim { font-size: clamp(38px, 29.43px + 2.286vw, 50px); }
.rolam__racs {
  display: grid;
  gap: 40px;
  justify-items: center;
  align-items: center;
  margin-top: 40px;
}
.rolam__szoveg {
  max-width: 540px;
  text-align: left;
  font-size: clamp(18px, 16.57px + .381vw, 20px);
  line-height: 1.65;
  color: var(--krem);
}
.rolam__szoveg p + p { margin-top: 1em; }

.foto {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
}
.foto > img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
@media (min-width: 901px) {
  .rolam__racs {
    grid-template-columns: minmax(0, 540px) minmax(0, 320px);
    justify-content: center;
    gap: 72px;
    margin-top: 48px;
  }
  /* Laptopon kisebb a fotó, hogy ne nyomja el a mellette lévő rövid szöveget */
  .rolam .foto { max-width: 320px; }
}

/* ---------- 3. Idézet ---------- */
.idezet__jel {
  display: block;
  height: .55em;
  font-family: var(--iro);
  font-size: clamp(72px, 52px + 5.333vw, 100px);
  line-height: 0;
  color: var(--korall);
}
.idezet__szoveg {
  max-width: 780px;
  margin: 0 auto;
  font-family: var(--iro);
  font-size: clamp(28px, 16.57px + 3.048vw, 44px);
  line-height: 1.5;
  color: var(--barna);
}
.idezet__zaro {
  font-size: 2.3em;
  line-height: 0;
  vertical-align: -.36em;
  color: var(--korall);
}
/* Az „egyszerűbbé” szó Kata ecsetes oválja mögött */
.ovalis {
  position: relative;
  display: inline-block;
  margin: 0 30px;
}
.ovalis__kep {
  position: absolute;
  left: -26px; right: -26px;
  top: -10px; bottom: -10px;
  width: calc(100% + 52px);
  height: calc(100% + 20px);
  max-width: none;
  pointer-events: none;
}
.homokora {
  height: clamp(150px, 135.71px + 3.81vw, 170px);
  width: auto;
  margin: 44px auto 0;
}

/* ---------- 4. Neked szól + Miben tudok segíteni? ---------- */
.doboz {
  max-width: 760px;
  margin: 38px auto 0;
  padding: 26px clamp(18px, 8px + 2.667vw, 32px) 8px;
  border-radius: 18px;
  background: var(--krem);
  color: var(--eszpresszo);
}
.doboz ul { margin-top: 8px; }
.doboz li {
  padding: 18px 0;
  font-size: clamp(19px, 17.57px + .381vw, 21px);
  line-height: 1.5;
}
.doboz li + li { border-top: 2px solid var(--cser); }

.elvalaszto {
  display: block;
  width: 120px; height: 2px;
  margin: 56px auto 44px;
  background: var(--cser);
}

.kartyak {
  display: grid;
  gap: 20px;
  margin-top: 46px;
}
.kartya {
  padding: 38px clamp(22px, 15px + 1.9vw, 32px) 40px;
  border-radius: 18px;
  background: var(--krem);
  color: var(--eszpresszo);
}
.kartya h3 {
  margin-top: 18px;
  font-family: var(--iro);
  font-weight: 400;
  font-size: clamp(30px, 27.14px + .762vw, 34px);
  line-height: 1.2;
  color: var(--barna);
}
.kartya__kerdes {
  margin-top: 16px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
}
/* Szolgáltatások címkékként: halvány mustár „cetlik”, középre rendezve */
.kartya__lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.kartya__lista li {
  padding: 8px 14px;
  border: 1px solid rgba(233, 162, 59, .55);
  border-radius: 14px;
  background: rgba(233, 162, 59, .16);
  font-size: 15.5px;
  line-height: 1.4;
}
.gomb-sor { margin-top: 52px; }

@media (min-width: 901px) {
  .kartyak {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 28px;
  }
  /* A három kártya sorai (csík, cím, szöveg) egymáshoz igazodnak:
     ha egy cím két sorba törik, a többi kártyában is ugyanott kezdődik a kérdés. */
  @supports (grid-template-rows: subgrid) {
    .kartya {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
      align-content: start;
    }
  }
}

/* ---------- 5. Közös munka ---------- */
.lepesek {
  display: grid;
  margin-top: 46px;
}
.lepes__fej {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lepes__vonal {
  display: none;
  flex: 1;
  height: 2px;
  background: var(--cser);
}
.lepes__szam {
  padding: 0 20px;
  font-family: var(--iro);
  font-size: clamp(60px, 37.14px + 6.095vw, 92px);
  line-height: 1.1;
  color: var(--barna);
}
.lepes h3 {
  margin-top: 8px;
  font-weight: 700;
  font-size: 23px;
  line-height: 1.3;
}
.lepes p {
  max-width: 340px;
  margin: 10px auto 0;
  padding: 0 24px;
  font-size: 18px;
  line-height: 1.6;
}
/* Telefonon függőleges vonal vezet a következő számhoz */
.lepes:not(:last-child)::after {
  content: "";
  display: block;
  width: 2px; height: 28px;
  margin: 22px auto 14px;
  background: var(--cser);
}

@media (min-width: 901px) {
  .lepesek { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .lepes__vonal { display: block; }
  .lepes:first-child .lepes__vonal:first-child,
  .lepes:last-child .lepes__vonal:last-child { visibility: hidden; }
  .lepes:not(:last-child)::after { display: none; }
}

/* ---------- 6. Kapcsolat ---------- */
.kapcsolat { padding-block: clamp(64px, 45.43px + 4.952vw, 90px); }

.urlap {
  max-width: 560px;
  margin: 40px auto 0;
  padding: clamp(24px, 15.43px + 2.286vw, 36px);
  border-radius: 18px;
  background: var(--krem);
  color: var(--eszpresszo);
  text-align: left;
}
.urlap .csik { margin-bottom: 22px; }
.mezo + .mezo { margin-top: 20px; }
.mezo label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 17px;
}
.mezo input[type="text"],
.mezo input[type="email"],
.mezo textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 2px solid rgba(92, 51, 23, .4);
  border-radius: 10px;
  background: var(--krem);
  color: var(--eszpresszo);
  font-family: var(--szoveg);
  font-size: 18px;
  line-height: 1.5;
}
.mezo textarea { resize: vertical; min-height: calc(5 * 1.5em + 24px); }
.mezo input:focus,
.mezo textarea:focus {
  outline: none;
  border-color: var(--korall);
}
.mezo--jelolo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.mezo--jelolo input {
  flex: none;
  width: 24px; height: 24px;
  margin: 2px 0 0;
  accent-color: var(--korall);
}
.mezo--jelolo label {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-weight: 400;
  font-size: 17px;
}
.mezo--jelolo .hiba { flex-basis: 100%; }
.mezo--jelolo { flex-wrap: wrap; }
.hiba {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--eszpresszo);
}
.hiba:empty { display: none; }
.hiba::before { content: "! "; color: var(--korall); }
[aria-invalid="true"] { border-color: var(--korall) !important; }
.csapda {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.urlap__kuld { margin-top: 28px; text-align: center; }
.urlap__kuld .gomb:disabled { opacity: .7; cursor: wait; }
.urlap__allapot {
  font-family: var(--iro);
  font-size: 26px;
  line-height: 1.4;
  color: var(--barna);
  text-align: center;
}
.urlap__allapot a { color: var(--barna); }
.urlap__hibasor {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}

.kapcsolat__email { margin-top: 36px; }
.kapcsolat__email p { font-size: 19px; }
.kapcsolat__email a {
  display: inline-block;
  margin-top: 6px;
  font-size: clamp(22px, 16.29px + 1.524vw, 30px);
  font-weight: 500;
  color: var(--krem);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}
/* Középre tett blokk, benne balra igazítva, hogy az ikonok egymás alá essenek */
.kozossegi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin: 30px auto 0;
}
.kozossegi a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  color: var(--krem);
  text-align: left;
  text-decoration: none;
}
.kozossegi a:hover span:last-child { text-decoration: underline; }
.kozossegi .ikon {
  width: 42px; height: 42px;
  color: var(--krem);
}
.kozossegi .ikon svg { width: 20px; height: 20px; }

/* ---------- 7. Lábléc ---------- */
.lablec {
  padding: 32px var(--pad-x);
  border-top: 2px solid var(--cser);
  background: var(--eszpresszo);
  color: var(--krem);
  font-size: 15px;
  text-align: center;
}
/* Hírlevél-feliratkozás a lábléc tetején (MailerLite) */
.hirlevel {
  max-width: 760px;
  margin: 8px auto 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(233, 162, 59, .45);
}
/* Maya kávéval: telefonon a cím fölött, laptopon a form mellett */
.hirlevel__maya {
  display: block;
  width: 80px;
  height: auto;
  margin: 0 auto 12px;
}
@media (min-width: 701px) {
  .hirlevel {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    gap: 32px;
    max-width: 880px;
  }
  .hirlevel__maya { width: 110px; margin: 0; }
}
.hirlevel__cim {
  font-family: var(--iro);
  font-weight: 400;
  font-size: clamp(26px, 23.14px + .762vw, 30px);
  line-height: 1.2;
  color: var(--krem);
}
.hirlevel__szoveg {
  max-width: 560px;
  margin: 10px auto 0;
  font-size: 16px;
  line-height: 1.55;
}
.hirlevel__urlap { margin-top: 22px; text-align: left; }
.hirlevel__mezok {
  display: grid;
  gap: 14px;
}
.hirlevel__mezo label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 15px;
}
.hirlevel__mezo input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--krem);
  color: var(--eszpresszo);
  font-family: var(--szoveg);
  font-size: 17px;
  line-height: 1.5;
}
.hirlevel__mezo input:focus {
  outline: none;
  border-color: var(--korall);
}
.hirlevel__kuld .gomb {
  width: 100%;
  min-height: 48px;
  padding: 12px 22px;
  font-size: 18px;
}
.hirlevel__kuld .gomb:focus-visible { outline-color: var(--cser); }
.hirlevel__kuld .loading { opacity: .7; cursor: wait; }
.hirlevel__jelolo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
}
.hirlevel__jelolo input {
  flex: none;
  width: 20px; height: 20px;
  margin: 2px 0 0;
  accent-color: var(--korall);
}
.hirlevel__jelolo label {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  line-height: 1.5;
}
.hirlevel__jelolo { flex-wrap: wrap; }
.hirlevel__jelolo .hiba { flex-basis: 100%; margin-top: 0; }
.hirlevel .hiba { color: var(--krem); font-size: 15px; }
.hirlevel__jelolo input[aria-invalid="true"] { outline: 2px solid var(--korall); outline-offset: 2px; }
.hirlevel .urlap__hibasor { font-size: 15px; }
.hirlevel__cim:focus { outline: none; }

@media (min-width: 701px) {
  .hirlevel__mezok {
    grid-template-columns: 1fr 1.4fr auto;
    align-items: end;
  }
  .hirlevel__kuld .gomb { width: auto; }
}

.lablec ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.lablec a { color: var(--krem); }
.lablec__pont { display: none; }

/* Kis kacsintás a végén: Maya „jóváhagyja” az oldalt */
.lablec__fonok {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 0;
}
.lablec__fonok img { width: 64px; }
.lablec__fonok figcaption {
  font-family: var(--kez);
  font-feature-settings: "calt" 0, "liga" 0; /* a Caveat összekötött alakjai torzítják az o-d párt */
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--krem);
}

@media (min-width: 901px) {
  .lablec ul { flex-direction: row; justify-content: center; gap: 12px; }
  .lablec__pont { display: inline; }
}

/* ---------- Aloldalak (impresszum, adatkezelés, köszönöm) ---------- */
.aloldal {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
}
.aloldal .cim { color: var(--barna); text-align: center; margin-bottom: 36px; }
.aloldal h2 {
  margin: 36px 0 10px;
  font-family: var(--iro);
  font-weight: 400;
  font-size: 26px;
  color: var(--barna);
}
.aloldal p, .aloldal li { font-size: 18px; line-height: 1.65; }
.aloldal p + p,
.aloldal ul + p { margin-top: .8em; }
.aloldal ul { list-style: disc; padding-left: 1.3em; margin-top: .6em; }
.aloldal li + li { margin-top: .3em; }
.aloldal dl { margin: 0; }
.aloldal dt { margin-top: 14px; font-weight: 600; }
.aloldal dd { margin: 2px 0 0; }
.aloldal .vissza { margin-top: 44px; text-align: center; }

/* ---------- Mozgás ----------
   Csak akkor fut, ha a <html> elemen ott a „mozgas” osztály (van JavaScript,
   és a látogató nem kért csökkentett mozgást). Nélküle minden azonnal teljes. */

/* Írógépes nyitócím: a betűk egyenként jelennek meg (main.js bontja betűkre).
   A hely végig foglalt, mert a betűk csak átlátszók, nem hiányoznak. */
.mozgas .nyito__cim:not(.gepel) {
  visibility: hidden;
  animation: biztonsag 0s 2s forwards; /* ha a main.js nem futna le, 2 mp után akkor is látszik */
}
@keyframes biztonsag { to { visibility: visible; } }
.nyito__cim .szo { white-space: nowrap; }
.mozgas .nyito__cim .betu {
  opacity: 0;
  animation: betu 0s var(--d, 0s) forwards;
}
@keyframes betu { to { opacity: 1; } }

.mozgas .nyito__alcim {
  opacity: 0;
  animation: feltunik .8s 1.75s ease-out forwards;
}
@keyframes feltunik {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Kártyák: görgetésre egymás után úsznak be */
.mozgas .kartyak--var .kartya {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease-out, transform .7s ease-out;
  transition-delay: calc(var(--i, 0) * .18s);
}
.mozgas .kartyak--var .kartya.beuszott {
  opacity: 1;
  transform: none;
}
@media (min-width: 901px) {
  .mozgas .kartyak--var .kartya { transform: translateX(-48px); }
}

/* Ovál: Kata ecsetvonása maszk mögül rajzolódik ki (main.js teszi be a maszkot) */
.ovalis__kep .maszkvonal {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.ovalis__kep.rajzol .maszkvonal {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.4s cubic-bezier(.45, .05, .35, 1) .2s;
}
/* Ha nem fér ki egy sorba, a „Jóváhagyta:” után törjön, ne a név közepén */
.lablec__fonok .egyben { white-space: nowrap; }
/* Telefonon Maya a felirat fölött áll, hogy a felirat egy sorban kiférjen */
@media (max-width: 480px) {
  .lablec__fonok { flex-direction: column; gap: 4px; }
}
