/* A nemzetközi kapu weboldala (aquahistory.com; lib/aquahistory.php, nezetek/aquahistory/). Az AquaLog-bemutató szekcióira és mozgására épül
   (aqualog-bemutato.css, aquaplan-bemutato.css), a fejléc és a lábléc a fő oldaléra (alap.css); itt a kapu saját blokkjai, a Showcase, az /app és a
   csomagoldal igazításai, a hullámok és a háttérjelenetek vannak. Színek a közös tokenekből; a publikus weboldal világos (§28). Hangsúlycsík nincs (§27). */

.ah-oldal { margin: 0; background: var(--t-hatter, #F5F3EC); }

/* ---------- Az appok indító gombjai ---------- */
.ah-app__gombok { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.ah-app__gombok .ah-app__gomb { margin-top: 0; }
.ah-gomb--masod { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 15px; background: transparent; color: var(--aql-zold, #22605C);
  font-weight: 800; box-shadow: inset 0 0 0 2px var(--aql-zold, #22605C); }
.ah-gomb--masod:hover { background: var(--aql-teal-halvany, #E3F1EE); color: var(--aql-mely, #0F3038); }

/* A szekció végi hullám a szekció aljáig ér (különben alatta a szekció alsó térköze a saját színében sávot hagy). */
.ah .aql-szekcio > .aql-hullam:last-child { margin-bottom: calc(-1 * clamp(56px, 7vw, 96px)); }
.ah .aql-szekcio > .aql-hullam:last-child:not(:first-child) { margin-top: clamp(40px, 5vw, 72px); }

/* A tervezőképernyők alján a fő oldal vízjele van: a kijelző 16:9-es kivágása a kép tetejét mutatja. */
.ah .aql-monitor__kijelzo img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; object-position: top center; }

/* ---------- Telefon egyetlen képernyőképpel (fej- és lábsáv nélkül) ---------- */
.ah-tel .aql-tel__kepernyo { border-radius: 0 0 12.5cqw 12.5cqw; background: #fff; }


/* ---------- Főoldal: a két app ---------- */
.ah-appok { padding-top: clamp(24px, 4vw, 48px); }
.ah-appok__racs { display: grid; gap: 24px; margin-top: 30px; }
.ah-app { display: flex; flex-direction: column; padding: 22px 22px 26px; border: 1px solid var(--aql-keret); border-radius: 28px; background: var(--aql-papir); }
.ah-app__kep { margin: 0 0 22px; }
.ah-app__kep .aql-monitor { width: 100%; }
.ah-app__nev { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem) !important; letter-spacing: -.03em; }
.ah-app__ikon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--aql-zold); color: #fff; }
.ah-app__ikon .ikon { width: 22px; height: 22px; }
.ah-app__al { margin: 0 0 18px; color: var(--aql-halk); font-size: 1.06rem; }
.ah-app .aql-pontok { margin-bottom: 24px; }
.ah-app__gomb { align-self: flex-start; min-height: 52px; margin-top: auto; padding: 0 24px; border-radius: 15px; background: var(--aql-zold); color: #fff; font-weight: 800; }
.ah-app__gomb:hover { background: var(--aql-mely); color: #fff; }
@media (min-width: 900px) { .ah-appok__racs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ah-app { padding: 28px 30px 32px; } }

/* ---------- Főoldal: kezdőknek / haladóknak (sötét szekció) ---------- */
.ah-szintek__racs { display: grid; gap: 20px; margin-top: 30px; }
.ah-szint { padding: 26px 26px 28px; border-radius: 26px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(159, 211, 201, .18); }
.ah-szint h3 { margin: 0 0 8px; color: #fff; font-size: 1.5rem; }
.ah-szint > p { margin: 0 0 18px; color: rgba(255, 255, 255, .82); }
.ah-szint .aql-pontok li { color: #fff; }
.ah-szint .aql-pontok .ikon { background: rgba(159, 211, 201, .2); color: var(--aql-menta); }
@media (min-width: 860px) { .ah-szintek__racs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Free és Plus (csomag_blokk.php): egy előfizetés, két app ---------- */
.ah-csomag .aql-fej { text-align: center; }
.ah-csomag .aql-fej__felcim { margin-left: auto; margin-right: auto; }
.ah-kozos { max-width: 860px; margin: 8px auto 26px; }
.ah-csomag .aql-periodus { margin-left: auto; margin-right: auto; }
.ah-arak .aql-ar { gap: 0; }
.ah-csoport { margin: 6px 0 14px; padding: 14px 16px 6px; border-radius: 18px; background: var(--aql-papir); }
.aql-ar--plus .ah-csoport { background: rgba(255, 255, 255, .1); }
.ah-csoport__nev { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 1.02rem; font-weight: 800; }
.ah-csoport__ikon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--aq-accent-sotet, #2B7570); color: #fff; }
.aql-ar--plus .ah-csoport__ikon { background: var(--aql-menta, #9FD3C9); color: #0F3038; }
.ah-csoport__ikon .ikon { width: 17px; height: 17px; }
.ah-csoport .aql-ar__lista { margin: 0 0 8px; }
.ah-csomag__tovabb { margin: 26px 0 0; text-align: center; }
.ah-csomag__tovabb .gomb { display: inline-flex; align-items: center; gap: 8px; }
.ah-garanciak { display: grid; gap: 16px; margin-top: 26px; }
@media (min-width: 900px) { .ah-garanciak { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Csomagoldal bevezetője ---------- */
.ah-hos--rovid { padding-bottom: 0; text-align: center; }
.ah-hos__kozep { position: relative; z-index: 1; padding-bottom: clamp(24px, 4vw, 44px); }
.ah-hos__kozep .aql-hos__felcim { justify-content: center; }
.ah-hos__kozep .aql-hos__lead { margin-left: auto; margin-right: auto; }
.ah-hos__appok { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.ah-app-jel { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 18px; background: rgba(255, 255, 255, .12); font-size: 1.15rem; font-weight: 800; }
.ah-app-jel__ikon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #fff; color: #22605C; }
.ah-app-jel__ikon .ikon { width: 22px; height: 22px; }
.ah-app-jel__plusz .ikon { width: 22px; height: 22px; color: var(--aql-menta, #9FD3C9); }

/* ---------- Záró felhívás ---------- */
.ah-zaro { padding-top: clamp(40px, 6vw, 72px); text-align: center; }
.ah-zaro__belso h2 { margin: 0 0 14px; color: #fff; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.ah-zaro__belso p { max-width: 58ch; margin: 0 auto 26px; color: rgba(255, 255, 255, .86); font-size: 1.1rem; }
.ah-zaro .aql-cta { justify-content: center; }
.ah-zaro .aql-kiemel { background-image: linear-gradient(transparent 62%, rgba(159, 211, 201, .38) 62%, rgba(159, 211, 201, .38) 92%, transparent 92%); }

/* ---------- AquaLog: további funkciók csempéi ---------- */
.ah-tobb { padding-top: 0; }
.ah-csempek { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; margin: 30px 0 0; padding: 0; list-style: none; }
.ah-csempe { position: relative; display: flex; flex-direction: column; padding: 0 0 22px; border: 1px solid var(--aql-keret); border-radius: 24px; background: var(--aql-feher); overflow: hidden; }
.ah-csempe__kep { height: 190px; overflow: hidden; background: var(--aql-teal-halvany); }
.ah-csempe__kep img { display: block; width: 100%; height: auto; }
.ah-csempe__ikon { display: grid; place-items: center; width: 48px; height: 48px; margin: -24px 0 10px 20px; border: 4px solid var(--aql-feher); border-radius: 15px; background: var(--aq-accent-sotet, #2B7570); color: #fff; position: relative; z-index: 1; }
.ah-csempe__ikon .ikon { width: 22px; height: 22px; }
.ah-csempe h3, .ah-csempe p { padding: 0 22px; }
.ah-csempe p { margin: 0; color: var(--aql-halk); font-size: .96rem; }

/* ---------- Nem található ---------- */
.ah-hiba__belso { min-height: 52vh; padding: clamp(24px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); }

/* ---------- Tájékoztató euró-összeg (az EKB napi referencia-árfolyamán) ---------- */
.ah-eur { margin: -4px 0 10px; color: rgba(255, 255, 255, .78); font-size: .92rem; font-weight: 600; }
.ah-eur__megj { margin-top: 8px; }

/* ---------- Telepítés (/app) ---------- */
.ah-hos__gombok { justify-content: center; }
.ah-telepites { padding-top: clamp(24px, 4vw, 48px); }
.ah-telepites__racs { display: grid; gap: 20px; }
@media (min-width: 960px) { .ah-telepites__racs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ah-telepites__kartya { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--aql-keret); border-radius: 24px; background: var(--aql-feher); scroll-margin-top: 110px; }
.ah-telepites__kartya.ah-kiemelt { box-shadow: 0 0 0 3px var(--t-teal-halvany, #E3F1EE), 0 18px 40px rgba(13, 26, 23, .1); }
.ah-telepites__kartya h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.35rem; }
.ah-telepites__kartya .gomb { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; }
.ah-lepeslista { display: grid; gap: 10px; margin: 0; padding-left: 22px; line-height: 1.55; }
.ah-qr { display: flex; align-items: center; gap: 16px; margin-top: auto; }
.ah-qr svg { flex: none; width: 112px; height: 112px; border-radius: 12px; background: #fff; }
.ah-qr p { margin: 0; color: var(--aql-halk); font-size: .95rem; }

/* ---------- Akvárium-mustra a kapun: kártyás eszköztár, szegmenses gyorsszűrők, emelkedő kártyák ---------- */
.ah-oldal .am-eszkoztar { gap: 18px; padding: 20px 22px 22px; border: 1px solid var(--t-elvalaszto, #E3EAE5); border-radius: 26px; background: var(--t-felulet, #fff);
  box-shadow: 0 1px 2px rgba(13, 26, 23, .04), 0 18px 44px rgba(13, 26, 23, .07); }
.ah-oldal .am-fulek { padding: 4px; border-radius: 15px; background: var(--t-felulet-2, #F1F5F2); }
.ah-oldal .am-fulek > a { min-height: 42px; border-radius: 11px; font-weight: 700; transition: background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.ah-oldal .am-fulek > a:hover { color: var(--t-szoveg, #17211D); }
.ah-oldal .am-fulek > a[aria-current] { box-shadow: 0 2px 10px rgba(13, 26, 23, .1); }
.ah-oldal .am-fulek > a[aria-current] .ikon { color: var(--aq-accent-sotet, #2B7570); }
.ah-oldal .am-szurok__gomb, .ah-oldal .am-rendezes select { min-height: 46px; border: 1px solid var(--t-keret, #DCE4DF); border-radius: 13px; background-color: var(--t-felulet, #fff);
  font-size: .9rem; font-weight: 700; transition: border-color .18s ease, box-shadow .18s ease; }
.ah-oldal .am-szurok__gomb { padding: 0 16px; }
.ah-oldal .am-rendezes select { max-width: 190px; padding-left: 14px; cursor: pointer; }
.ah-oldal .am-szurok__gomb:hover, .ah-oldal .am-rendezes select:hover { border-color: var(--aq-accent-sotet, #2B7570); box-shadow: 0 4px 14px rgba(13, 26, 23, .08); }

.ah-oldal .am-gyorsszurok { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 30px; padding-top: 18px; border-top: 1px solid var(--t-elvalaszto, #E3EAE5); }
.ah-oldal .am-gyorsszurok__csoport { display: grid; gap: 9px; flex: 0 1 auto; min-width: 0; }
.ah-oldal .am-gyorsszurok__cim { flex-basis: auto; color: var(--t-halk, #5B6962); font-size: .72rem; font-weight: 800; letter-spacing: .11em; }
.ah-oldal .am-gyorsszurok .am-chipsor { display: flex; flex-wrap: nowrap; gap: 4px; margin: 0; padding: 4px; overflow: visible; border-radius: 15px;
  background: var(--t-felulet-2, #F1F5F2); box-shadow: inset 0 0 0 1px rgba(13, 26, 23, .04); }
.ah-oldal .am-chip { justify-content: center; gap: 8px; min-height: 42px; padding: 0 17px; border: 0; border-radius: 11px; background: transparent;
  color: var(--t-szoveg-2, #33403A); font-size: .92rem; font-weight: 700; letter-spacing: -.005em;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
.ah-oldal .am-chip:hover { background: var(--t-felulet, #fff); color: var(--t-szoveg, #17211D); box-shadow: 0 2px 10px rgba(13, 26, 23, .09); }
.ah-oldal .am-chip:active { transform: scale(.97); }
.ah-oldal .am-chip[aria-current] { background: linear-gradient(150deg, #0F3038, #22605C); color: #fff; box-shadow: 0 6px 18px rgba(15, 48, 56, .28); }
.ah-oldal .am-chip:focus-visible { outline: 3px solid var(--t-fokusz, rgba(60, 148, 141, .45)); outline-offset: 2px; }
.ah-oldal .am-chip .ikon { width: 15px; height: 15px; color: currentColor; }
/* Technikai szint jelölése: egy, kettő vagy három telt oszlop (Low / Mid / High). */
.ah-oldal .am-gyorsszurok__csoport--tech .am-chip::before { --halvany: color-mix(in srgb, currentColor 28%, transparent); content: ""; flex: none; width: 14px; height: 12px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 3px 5px no-repeat, linear-gradient(var(--halvany), var(--halvany)) 5px 100% / 3px 8px no-repeat,
    linear-gradient(var(--halvany), var(--halvany)) 10px 100% / 3px 12px no-repeat; }
.ah-oldal .am-gyorsszurok__csoport--tech .am-chip:nth-child(2)::before { background: linear-gradient(currentColor, currentColor) 0 100% / 3px 5px no-repeat,
  linear-gradient(currentColor, currentColor) 5px 100% / 3px 8px no-repeat, linear-gradient(var(--halvany), var(--halvany)) 10px 100% / 3px 12px no-repeat; }
.ah-oldal .am-gyorsszurok__csoport--tech .am-chip:nth-child(3)::before { background: linear-gradient(currentColor, currentColor) 0 100% / 3px 5px no-repeat,
  linear-gradient(currentColor, currentColor) 5px 100% / 3px 8px no-repeat, linear-gradient(currentColor, currentColor) 10px 100% / 3px 12px no-repeat; }

/* Ranglista: a kategóriák egy sorban, ugyanabban a szegmenses tálcában, csoportonként halk elválasztóval. */
.ah-oldal .am-rang-kat { flex-wrap: wrap; gap: 4px; margin: 0; padding: 4px; overflow: visible; border-top: 0; border-radius: 15px; background: var(--t-felulet-2, #F1F5F2);
  box-shadow: inset 0 0 0 1px rgba(13, 26, 23, .04); }
.ah-oldal .akv-mustra-web .am-rang-kat, .ah-oldal.akv-mustra-web .am-rang-kat { padding-top: 4px; border-top: 0; }
.ah-oldal .am-rang-kat .am-chipsor__valaszto { display: block; margin: 10px 4px; }
.ah-oldal .am-idoszak { padding: 4px; border-radius: 15px; background: var(--t-felulet-2, #F1F5F2); }
.ah-oldal .am-idoszak > a { min-height: 42px; border-radius: 11px; font-weight: 700; }
.ah-oldal .am-idoszak > a[aria-current] { box-shadow: 0 2px 10px rgba(13, 26, 23, .1); }
@media (max-width: 759px) {
  .ah-oldal .am-rang-kat { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ah-oldal .am-rang-kat::-webkit-scrollbar { display: none; }
}
.ah-oldal .am-listafej { margin: 6px 2px 16px; }
.ah-oldal .am-listafej__db strong { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.ah-oldal .am-listafej__torles { padding: 0 14px; border-radius: 12px; background: var(--t-felulet-2, #F1F5F2); }
.ah-oldal .am-racs { gap: 22px; }
.ah-oldal .am-kartya__link { border-radius: 20px; box-shadow: 0 1px 2px rgba(13, 26, 23, .05), 0 10px 26px rgba(13, 26, 23, .06); transition: transform .25s ease, box-shadow .25s ease; }
.ah-oldal .am-kartya__link:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(13, 26, 23, .05), 0 22px 44px rgba(13, 26, 23, .14); }
.ah-oldal .am-kartya__szoveg { padding: 14px 16px 16px; }
.ah-oldal .am-sajat-cta { padding: 18px 22px; border-radius: 22px; background: linear-gradient(150deg, #0F3038, #22605C); }
@media (max-width: 759px) {
  .ah-oldal .am-eszkoztar { padding: 14px 14px 16px; border-radius: 22px; }
  .ah-oldal .am-gyorsszurok { gap: 14px; padding-top: 14px; }
  .ah-oldal .am-gyorsszurok__csoport { flex: 1 1 100%; }
  .ah-oldal .am-gyorsszurok .am-chipsor { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; }
  .ah-oldal .am-chip { gap: 6px; padding: 0 6px; font-size: .84rem; }
  .ah-oldal .am-rendezes select { max-width: none; }
  .ah-oldal .am-racs { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ah-oldal .am-chip, .ah-oldal .am-kartya__link { transition: none; }
  .ah-oldal .am-kartya__link:hover, .ah-oldal .am-chip:active { transform: none; }
}

/* ---------- Az app letöltése (projektgazdai kérés, 2026-11-26): felső sáv minden oldalon, menüpont, Android / iPhone / Windows gombsor ---------- */
.ah-appsav[hidden], .ah-boltok[hidden], .ah-bolt[hidden] { display: none !important; }
.ah-appsav { background: linear-gradient(90deg, #0F3038, #1A4D4B 55%, #22605C); color: #fff; }
.ah-appsav__belso { display: flex; align-items: center; justify-content: center; gap: 16px; width: min(1180px, calc(100% - 32px)); min-height: 50px; margin: 0 auto;
  padding: 7px 0; color: inherit; text-decoration: none; }
.ah-appsav__logok { display: inline-flex; flex: none; align-items: center; gap: 9px; color: #9FD3C9; }
.ah-appsav__logok .ikon { width: 21px; height: 21px; }
.ah-appsav__szoveg { min-width: 0; font-size: .95rem; line-height: 1.3; }
.ah-appsav__szoveg b { font-weight: 800; }
.ah-appsav__szoveg > span { color: rgba(255, 255, 255, .8); }
.ah-appsav__rovid { display: none; }
.ah-appsav__gomb { display: inline-flex; flex: none; align-items: center; gap: 7px; min-height: 36px; padding: 0 16px; border-radius: 11px; background: #E0A43A; color: #2B1B05;
  font-size: .9rem; font-weight: 900; white-space: nowrap; box-shadow: 0 6px 16px rgba(224, 164, 58, .35); transition: transform .18s ease, background-color .18s ease; }
.ah-appsav__gomb .ikon { width: 17px; height: 17px; }
.ah-appsav__belso:hover .ah-appsav__gomb { background: #ECB555; transform: translateY(-1px); }
.ah-appsav__belso:focus-visible { outline: 3px solid #F3C969; outline-offset: 2px; }
@media (max-width: 760px) {
  .ah-appsav__belso { justify-content: space-between; gap: 10px; min-height: 48px; }
  .ah-appsav__szoveg { display: none; }
  .ah-appsav__rovid { display: inline !important; min-width: 0; font-size: .9rem; font-weight: 800; }
  .ah-appsav__gomb { padding: 0 12px; font-size: .84rem; }
}
@media (max-width: 400px) { .ah-appsav__logok .ikon:last-child { display: none; } }

/* Gombsor: saját „bolti” jelvények (nem az alkalmazásboltoké), logóval; a saját eszköz gombja kiemelve. */
.ah-boltok { display: grid; gap: 12px; margin-top: 26px; }
.ah-boltok__cim { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--aql-mely, #0F3038); font-size: .95rem; font-weight: 800; }
.ah-boltok__cim .ikon { flex: none; width: 19px; height: 19px; color: #22605C; }
.ah-boltok__gombok { display: flex; flex-wrap: wrap; gap: 10px; }
.ah-boltok--gep-elol .ah-bolt--windows, .ah-boltok--gep-elol .ah-bolt--mac { order: -1; }
.ah-bolt { display: inline-flex; align-items: center; gap: 11px; min-height: 58px; padding: 8px 20px 8px 14px; border-radius: 15px; background: #0B1714; color: #fff;
  text-decoration: none; box-shadow: 0 10px 24px rgba(11, 23, 20, .22), inset 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .18s ease, box-shadow .18s ease; }
.ah-bolt:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(11, 23, 20, .3), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.ah-bolt:focus-visible { outline: 3px solid #F3C969; outline-offset: 3px; }
.ah-bolt__logo { display: grid; flex: none; place-items: center; width: 30px; height: 30px; }
.ah-bolt__logo .ikon { width: 28px; height: 28px; }
.ah-bolt--android .ah-bolt__logo { color: #7BD88F; }
.ah-bolt--windows .ah-bolt__logo .ikon { width: 25px; height: 25px; color: #5BB4F0; }
.ah-bolt__szoveg { display: grid; line-height: 1.1; text-align: left; }
.ah-bolt__szoveg small { color: rgba(255, 255, 255, .72); font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.ah-bolt__szoveg b { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; }
.ah-boltok__megj { margin: 0; color: var(--aql-halk, #5B6962); font-size: .88rem; }
/* Sötét nyitóképen */
.ah-boltok--vilagos .ah-boltok__cim { color: #fff; }
.ah-boltok--vilagos .ah-boltok__cim .ikon { color: #E0A43A; }
.ah-boltok--vilagos .ah-bolt { background: rgba(5, 14, 12, .72); box-shadow: 0 10px 24px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .22); }
.ah-boltok--vilagos .ah-boltok__megj { color: rgba(255, 255, 255, .72); }
.ah-bolt--sajat, .ah-boltok--vilagos .ah-bolt--sajat { box-shadow: 0 0 0 3px #E0A43A, 0 14px 30px rgba(224, 164, 58, .32); }
.ah-hos__kozep .ah-boltok, .ah-hos__kozep .ah-boltok__gombok { justify-content: center; justify-items: center; }
@media (max-width: 520px) {
  .ah-boltok__gombok { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah-bolt { padding: 8px 12px 8px 10px; gap: 9px; }
  .ah-bolt__szoveg b { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .ah-bolt, .ah-appsav__gomb { transition: none; } .ah-bolt:hover, .ah-appsav__belso:hover .ah-appsav__gomb { transform: none; } }
/* A csomagkártyák gombjai a kártya alján, egy vonalban (Free: regisztráció, Plus: előfizetés). */
.ah-arak .aql-ar { display: flex; flex-direction: column; }
.ah-ar__gombok { display: grid; gap: 10px; margin-top: auto; padding-top: 22px; }
.ah-ar__gombok .gomb { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.ah-ar__gombok .ikon { width: 19px; height: 19px; }

/* „And there's more” (AquaLog-oldal): telefonkeretes kártyák valódi képernyővel, világos / sötét váltóval. */
.ah-tobb__tema { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.ah-tobb__tema p { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--aql-halk, #5B6962); font-weight: 700; }
.ah-tobb__tema p .ikon { width: 20px; height: 20px; color: #22605C; }
.ah-tema-valto { display: inline-flex; gap: 4px; padding: 4px; border-radius: 15px; background: var(--t-felulet-2, #ECF1EE); box-shadow: inset 0 0 0 1px rgba(13, 26, 23, .05); }
.ah-tema-valto button { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 18px; border: 0; border-radius: 11px; background: transparent;
  color: var(--t-szoveg-2, #33403A); font: inherit; font-weight: 800; cursor: pointer; transition: background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.ah-tema-valto button .ikon { width: 17px; height: 17px; }
.ah-tema-valto button:hover { background: #fff; }
.ah-tema-valto button[aria-pressed="true"] { background: linear-gradient(150deg, #0F3038, #22605C); color: #fff; box-shadow: 0 6px 16px rgba(15, 48, 56, .25); }
.ah-tema-valto button:focus-visible { outline: 3px solid var(--t-fokusz, rgba(60, 148, 141, .45)); outline-offset: 2px; }
.ah-csempek--telefon { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }
.ah-csempek--telefon .ah-csempe { padding-bottom: 26px; transition: box-shadow .3s ease; }
.ah-csempek--telefon .ah-csempe:hover { box-shadow: 0 22px 46px rgba(13, 26, 23, .1); }
.ah-csempek--telefon .ah-csempe__kep { position: relative; display: flex; justify-content: center; height: 420px; padding-top: 30px;
  background: radial-gradient(120% 90% at 50% 0%, #DDEFEA, #F1F6F3 62%, #FBFCFB); transition: background .3s ease; overflow: hidden; }
.ah-csempek--telefon[data-ah-tema-kepek="sotet"] .ah-csempe__kep { background: radial-gradient(120% 90% at 50% 0%, #245854, #12312F 62%, #0B1F1E); }
.ah-mini-tel { flex: none; width: 240px; height: fit-content; padding: 7px; border-radius: 32px; background: #0B1513;
  box-shadow: 0 26px 50px rgba(11, 23, 20, .3), inset 0 0 0 1.5px rgba(255, 255, 255, .1); transition: transform .35s ease; }
.ah-mini-tel img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 760; border-radius: 25px; }
.ah-csempe:hover .ah-mini-tel { transform: translateY(-8px); }
.ah-csempek--telefon[data-ah-tema-kepek="sotet"] .ah-mini-tel__vilagos, .ah-csempek--telefon[data-ah-tema-kepek="vilagos"] .ah-mini-tel__sotet { display: none; }
.ah-csempek--telefon .ah-csempe__ikon { margin-top: -24px; }
.ah-csempek--telefon h3 { margin: 4px 0 8px; font-size: 1.2rem; }
@media (max-width: 1000px) { .ah-csempek--telefon { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .ah-csempek--telefon { display: flex; gap: 14px; margin-inline: -16px; padding: 0 16px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ah-csempek--telefon::-webkit-scrollbar { display: none; }
  .ah-csempek--telefon .ah-csempe { flex: 0 0 82%; scroll-snap-align: center; }
  .ah-csempek--telefon .ah-csempe__kep { height: 360px; }
  .ah-mini-tel { width: 200px; }
}
@media (prefers-reduced-motion: reduce) { .ah-mini-tel, .ah-csempek--telefon .ah-csempe__kep { transition: none; } .ah-csempe:hover .ah-mini-tel { transform: none; } }

/* ---------- Főoldal, letöltésre építve (2026-11-26): gondok, füzet → app, Tervező AI, valódi számok, Showcase ---------- */
.ah2 .aql-hos__jelek { flex-wrap: wrap; }

.ah-gondok .aql-fej { text-align: center; }
.ah-gondok__racs { display: grid; gap: 16px; max-width: 1120px; margin: 34px auto 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .ah-gondok__racs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .ah-gondok__racs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.ah-gond { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 18px; border-radius: 26px; background: var(--aql-feher);
  box-shadow: 0 1px 0 var(--aql-keret), 0 14px 34px rgba(13, 26, 23, .07); transition: transform .25s ease, box-shadow .25s ease; }
.ah-gond:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--aql-keret), 0 22px 44px rgba(13, 26, 23, .11); }
.ah-gond__idezet { display: flex; align-items: flex-start; gap: 12px; margin: 0; color: var(--aql-szoveg); font-size: 1.14rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.ah-gond__ikon { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--aql-teal-halvany); color: var(--aql-teal); }
.ah-gond__ikon .ikon { width: 21px; height: 21px; }
.ah-gond__valasz { margin: 0; color: var(--aql-halk); line-height: 1.5; }
.ah-gond__app { margin: auto 0 0; padding-top: 6px; color: var(--aql-teal); font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ah-gond__app b { margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: #F3C969; color: #3A2C05; font-size: .72rem; letter-spacing: .02em; }

/* Füzet → AquaLog: a füzetlap mögött, a telefon elöl, kicsit ráfekszik (rétegzett, kilógó elrendezés). */
.ah-fuzet__racs { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .ah-fuzet__racs { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.ah-fuzet__szinpad { position: relative; min-height: 520px; }
.ah-fuzet__lap { position: absolute; left: 2%; top: 30px; width: min(60%, 410px); padding: 28px 18px 40px 58px; border-radius: 6px 18px 18px 6px; transform: rotate(-4deg);
  background: linear-gradient(90deg, transparent 44px, rgba(214, 92, 92, .55) 44px, rgba(214, 92, 92, .55) 46px, transparent 46px),
    repeating-linear-gradient(180deg, #FFFDF6 0 33px, #D8E4EA 33px 34px);
  box-shadow: 0 24px 50px rgba(13, 26, 23, .16), 0 2px 6px rgba(13, 26, 23, .08); color: #2A3A66;
  font-family: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", cursive; }
.ah-fuzet__fej { margin: 0 0 6px; font-size: 1.15rem; font-weight: 700; line-height: 34px; text-decoration: underline; text-decoration-thickness: 1px; }
.ah-fuzet__lap ul { margin: 0; padding: 0; list-style: none; }
.ah-fuzet__lap li { font-size: 1.02rem; line-height: 34px; }
.ah-fuzet__kerdo { position: absolute; right: 26px; bottom: 18px; color: rgba(196, 60, 60, .75); font-size: 3.4rem; line-height: 1; transform: rotate(12deg); }
.ah-fuzet__tel { position: absolute; right: 0; top: 0; z-index: 2; }
.ah-fuzet__tel .aql-tel { width: min(56vw, 270px); }
.ah-fuzet__jelzes { left: 8%; bottom: 18px; }
@media (min-width: 960px) and (max-width: 1180px) { .ah-fuzet__lap li { font-size: .92rem; } .ah-fuzet__tel .aql-tel { width: 240px; } }
@media (max-width: 600px) {
  .ah-fuzet__szinpad { display: flex; flex-direction: column; align-items: center; min-height: 0; padding-bottom: 10px; }
  .ah-fuzet__lap { position: relative; left: auto; top: auto; width: 100%; transform: rotate(-2deg); }
  .ah-fuzet__tel { position: relative; right: auto; margin-top: -26px; }
  .ah-fuzet__jelzes { left: 0; bottom: 34px; }
  .ah-fuzet__lap { padding: 22px 18px 34px 50px; background: linear-gradient(90deg, transparent 40px, rgba(214, 92, 92, .55) 40px, rgba(214, 92, 92, .55) 42px, transparent 42px),
    repeating-linear-gradient(180deg, #FFFDF6 0 29px, #D8E4EA 29px 30px); }
  .ah-fuzet__fej, .ah-fuzet__lap li { font-size: .88rem; line-height: 30px; }
  .ah-fuzet__tel .aql-tel { width: min(46vw, 200px); }
}

/* Tervező AI: leírás → 3D → fotó. A két kép a valódi képernyőképek kivágása (a vászon és a fotó, a felület nélkül). */
.ah-ai .aql-fej { text-align: center; }
.ah-ai__lepesek { display: grid; gap: 22px; max-width: 1180px; margin: 38px auto 0; padding: 0; list-style: none; }
@media (min-width: 860px) {
  .ah-ai__lepesek { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; align-items: start; }
  .ah-ai__lepes:first-child { grid-column: 1 / -1; }
  .ah-ai__lepes:first-child .ah-ai__chat { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 18px; }
  .ah-ai__lepes:first-child .ah-ai__buborek { order: 2; flex: 1 1 50%; max-width: 560px; }
  .ah-ai__lepes:first-child .ah-ai__valasz { order: 1; flex: 1 1 50%; max-width: 560px; align-self: flex-end; }
}
.ah-ai__lepes { display: flex; flex-direction: column; gap: 12px; }
.ah-ai__szam { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--aql-menta); font-weight: 800; }
.ah-ai__szam span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--aql-menta); color: var(--aql-mely); }
.ah-ai__chat { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: 14px; padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(159, 211, 201, .22); }
.ah-ai__buborek { align-self: flex-end; max-width: 92%; min-height: 4.4em; margin: 0; padding: 14px 16px; border-radius: 18px 18px 4px 18px; background: #3CC3B3; color: #06231F;
  font-weight: 700; line-height: 1.45; }
.ah-ai__buborek.ah-gepel::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: currentColor; animation: ah-kurzor 1s steps(1) infinite; }
@keyframes ah-kurzor { 50% { opacity: 0; } }
.ah-ai__valasz { display: flex; gap: 10px; max-width: 92%; margin: 0; padding: 12px 14px; border-radius: 18px 18px 18px 4px; background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .9); line-height: 1.45; transition: opacity .5s ease, transform .5s ease; }
.ah-ai__valasz .ikon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #F3C969; }
.ah-ai__chat.ah-var .ah-ai__valasz { opacity: 0; transform: translateY(10px); }
.ah-ai__kivag { position: relative; margin: 0; overflow: hidden; border-radius: 24px; background: #0B1A1D;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(159, 211, 201, .18); }
.ah-ai__kivag img { position: absolute; max-width: none; height: auto; }
/* ai.webp: a vászon (x 64–770, y 330–740 a 1600 × 1000-es képen); foto.webp: maga a fotó (x 162–1086, y 178–720), a logó nélkül. */
.ah-ai__kivag--terv { aspect-ratio: 706 / 410; }
.ah-ai__kivag--terv img { width: 226.6%; left: -9.07%; top: -80.5%; }
.ah-ai__kivag--foto { aspect-ratio: 924 / 542; }
.ah-ai__kivag--foto img { width: 173.2%; left: -17.5%; top: -32.8%; }
.ah-ai__megj { max-width: 62ch; margin: 26px auto 0; color: rgba(255, 255, 255, .78); text-align: center; }
.ah-ai__cta { justify-content: center; margin-top: 18px; }
.ah-ai__link { margin: 14px 0 0; text-align: center; }
.ah-ai__link a { color: var(--aql-menta); font-weight: 800; text-underline-offset: 3px; }

/* Valódi számok és Showcase */
.ah-valodi .aql-fej { text-align: center; }
.ah-szamok { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 1040px; margin: 30px auto 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .ah-szamok { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.ah-szamok li { display: grid; gap: 4px; padding: 20px 18px; border-radius: 22px; background: var(--aql-feher); text-align: center; box-shadow: 0 1px 0 var(--aql-keret), 0 12px 30px rgba(13, 26, 23, .06); }
.ah-szamok b { color: var(--aql-mely); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ah-szamok span { color: var(--aql-halk); font-weight: 700; }
.ah-mustra { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; margin: 30px -16px 0; padding: 6px 16px 18px; overflow-x: auto;
  list-style: none; scroll-snap-type: x mandatory; scrollbar-width: thin; }
@media (min-width: 1100px) { .ah-mustra { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 30px 0 0; padding: 6px 0 0; overflow: visible; } }
.ah-mustra li { scroll-snap-align: start; }
.ah-mustra__kartya { display: block; overflow: hidden; border-radius: 22px; background: var(--aql-feher); color: var(--aql-szoveg); text-decoration: none;
  box-shadow: 0 1px 0 var(--aql-keret), 0 14px 34px rgba(13, 26, 23, .08); transition: transform .25s ease, box-shadow .25s ease; }
.ah-mustra__kartya:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--aql-keret), 0 22px 44px rgba(13, 26, 23, .14); }
.ah-mustra__kartya:focus-visible { outline: 3px solid var(--t-fokusz, rgba(60, 148, 141, .45)); outline-offset: 3px; }
.ah-mustra__kartya img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--aql-teal-halvany); }
.ah-mustra__nev { display: grid; gap: 2px; padding: 12px 16px 14px; }
.ah-mustra__nev b { overflow: hidden; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.ah-mustra__nev small { color: var(--aql-halk); font-weight: 600; }
.ah-valodi__tovabb { margin: 22px 0 0; text-align: center; }

.ah-zaro .ah-boltok { margin-top: 22px; }
.ah-zaro .ah-boltok__gombok, .ah-zaro .ah-boltok__cim { justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  .ah-gond, .ah-mustra__kartya { transition: none; }
  .ah-gond:hover, .ah-mustra__kartya:hover { transform: none; }
  .ah-ai__buborek.ah-gepel::after { animation: none; }
}

/* Interaktív füzet (2026-11-27): a jegyzet egy gomb; az aktív sort kiemelő jelöli, a telefon az AquaLog hozzá tartozó képernyőjére vált. */
.ah-fuzet__lap li { position: relative; }
.ah-fuzet__sor { display: block; width: 100%; margin: 0; padding: 0 6px; border: 0; border-radius: 6px; background: none; color: inherit; font: inherit;
  line-height: inherit; text-align: left; cursor: pointer; transition: background-color .3s ease; }
.ah-fuzet__sor span { display: inline-block; transition: clip-path .5s ease-out, text-decoration-color .4s ease .15s, color .4s ease; }
.ah-fuzet__sor:hover { background: rgba(243, 201, 105, .22); }
.ah-fuzet__sor[aria-pressed="true"] { background: linear-gradient(transparent 52%, rgba(243, 201, 105, .6) 52%, rgba(243, 201, 105, .6) 92%, transparent 92%); }
.ah-fuzet__sor:focus-visible { outline: 3px solid var(--t-fokusz, rgba(60, 148, 141, .45)); outline-offset: 1px; }

.ah-fuzet__athuzott .ah-fuzet__sor span { text-decoration: line-through; text-decoration-color: rgba(196, 60, 60, .8); text-decoration-thickness: 2px; color: rgba(42, 58, 102, .6); }
/* Mozgás közben: a még meg nem írt sor rejtve, megíráskor balról jobbra előtűnik; az áthúzás utána kerül rá. */
.ah-fuzet--mozog .ah-fuzet__sor:not(.is-irva) span { clip-path: inset(0 100% 0 0); }
.ah-fuzet--mozog .ah-fuzet__sor.is-irva span { clip-path: inset(0 0 0 0); }
.ah-fuzet--mozog .ah-fuzet__athuzott .ah-fuzet__sor:not(.is-athuzva) span { text-decoration-color: transparent; color: #2A3A66; }
.ah-fuzet__kepek { position: relative; }
.ah-fuzet__kep { position: absolute; top: 0; left: 0; display: block; width: 100%; height: auto; opacity: 0; transform: scale(1.03); transition: opacity .5s ease, transform .7s ease; }
.ah-fuzet__kep.is-aktiv { opacity: 1; transform: none; }
.ah-fuzet__jelzes span { transition: opacity .3s ease; }
.ah-fuzet__jelzes.is-valt span { opacity: 0; }
.ah-fuzet__tipp { display: flex; align-items: center; gap: 8px; margin: 20px 0 28px; color: var(--aql-teal); font-weight: 700; }
.ah-fuzet__tipp .ikon { flex: none; width: 18px; height: 18px; }
/* Csak weboldalas nyelven (olasz, T-426): az appok hamarosan ezen a nyelven is. A gombsor alatt saját sorban, a háttér színéhez igazodva. */
.ah-app-nyelv { order: 99; flex: 1 1 100%; display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 0; font-size: .95rem; font-weight: 600; line-height: 1.45; color: inherit; opacity: .9; }
.ah-app-nyelv .ikon { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.ah-hos__kozep .ah-app-nyelv { justify-content: center; text-align: left; max-width: 640px; margin: 16px auto 0; }
@media (prefers-reduced-motion: reduce) {
  .ah-fuzet__sor span, .ah-fuzet__kep, .ah-fuzet__jelzes span { transition: none; }
}

/* Térközök a főoldalon (2026-11-27): a hullám után induló szakasz is kap felső levegőt, a blokkok között egységes távolság. */
.ah2 .ah-gondok, .ah2 .ah-fuzet, .ah2 .ah-valodi, .ah2 .ah-csomag, .ah2 .aql-gyik { padding-top: clamp(32px, 4vw, 56px); }
.ah2 .aql-gyik { padding-bottom: clamp(56px, 7vw, 96px); }
.ah2 .ah-fuzet__szoveg .aql-bevezeto { margin-bottom: 0; }
.ah2 .ah-fuzet__szoveg .aql-pontok { margin-top: 20px; }
.ah2 .ah-app__al { margin-top: 10px; }
.ah2 .ah-szint h3 + p { margin-top: 10px; }
.ah2 .ah-ai__link { margin-top: 18px; }
.ah2 .ah-kozos h3 + p { margin-top: 8px; }
.ah2 .ah-appok { padding-top: clamp(32px, 4vw, 56px); }
.ah2 .ah-hos .aql-hos__szoveg { padding-bottom: clamp(28px, 3vw, 44px); }
@media (max-width: 600px) { .ah2 .ah-hos .aql-hely--hos1 { left: 2%; } }
/* A főoldal telefonjai állnak: a folyamatosan mozgatott kép a Chrome-ban néha nem rajzolódott ki (fehér képernyő). */
.ah2 .aql-tel__tartalom { will-change: auto; }

/* Élő adatok az AquaLogból (2026-11-27): sötét panel, kártyánként ikon, szám, 30 napos növekedés és a napi állás kis grafikonja (valódi adat). */
.ah-elo { position: relative; max-width: 1160px; margin: 32px auto 0; padding: clamp(20px, 3vw, 34px); overflow: hidden; border-radius: 32px;
  background: radial-gradient(70% 120% at 88% -10%, rgba(159, 211, 201, .24), transparent 60%), radial-gradient(50% 90% at 0% 110%, rgba(60, 195, 179, .18), transparent 60%), linear-gradient(150deg, #0F3038, #17494B);
  color: #fff; box-shadow: 0 30px 70px rgba(15, 48, 56, .28); }
.ah-elo__fej { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 20px; color: var(--aql-menta); font-weight: 800; letter-spacing: .02em; }
.ah-elo__fej small { color: rgba(255, 255, 255, .62); font-size: .88rem; font-weight: 600; letter-spacing: 0; }
.ah-elo__pont { width: 10px; height: 10px; border-radius: 50%; background: #5BE3A8; animation: ah-pulzus 2.2s ease-out infinite; }
@keyframes ah-pulzus { 0% { box-shadow: 0 0 0 0 rgba(91, 227, 168, .55); } 70% { box-shadow: 0 0 0 11px rgba(91, 227, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 227, 168, 0); } }
.ah-elo .ah-szamok { max-width: none; margin: 0; gap: 14px; }
@media (min-width: 980px) { .ah-elo .ah-szamok { gap: 16px; } }
.ah-elo .ah-szamok li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 210px; padding: 18px 18px 0; overflow: hidden;
  border-radius: 22px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(159, 211, 201, .18); text-align: left; }
.ah-elo .ah-szamok__ikon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: rgba(159, 211, 201, .16); color: var(--aql-menta); }
.ah-elo .ah-szamok__ikon .ikon { width: 21px; height: 21px; }
.ah-elo .ah-szamok b { margin-top: 4px; color: #fff; font-size: clamp(2.2rem, 1.5rem + 2vw, 3.3rem); }
.ah-elo .ah-szamok__felirat { color: rgba(255, 255, 255, .8); font-weight: 700; line-height: 1.3; }
.ah-elo .ah-szamok__uj { display: inline-flex; margin-bottom: 14px; padding: 4px 11px; border-radius: 999px; background: rgba(91, 227, 168, .16); color: #82EBC0; font-size: .82rem; font-weight: 800; }
.ah-szamok__grafikon { display: block; width: calc(100% + 36px); height: 74px; margin: auto -18px 0; }
.aql--mozgas .ah-elo .ah-szamok__grafikon { transform: scaleY(0); transform-origin: bottom; transition: transform 1.3s cubic-bezier(.2, .8, .2, 1) .35s; }
.aql--mozgas .ah-elo.aql-lat .ah-szamok__grafikon { transform: none; }
.ah-szamok__fotok { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; width: calc(100% + 36px); height: 74px; margin: auto -18px 0; }
.ah-szamok__fotok img { display: block; width: 100%; height: 100%; object-fit: cover; background: #23565A; }
@media (max-width: 600px) {
  .ah-elo { border-radius: 26px; }
  .ah-elo .ah-szamok li { min-height: 0; padding: 14px 14px 0; }
  .ah-szamok__grafikon, .ah-szamok__fotok { width: calc(100% + 28px); margin: auto -14px 0; }
  .ah-elo .ah-szamok__uj { font-size: .76rem; padding: 3px 9px; }
}
@media (prefers-reduced-motion: reduce) { .ah-elo__pont { animation: none; } }
.ah-zaro__mellek { margin: 22px 0 0; }
.ah-zaro__mellek a { color: #fff; font-weight: 800; text-underline-offset: 3px; }
.ah-zaro__belso .ah-zaro__mellek { margin: 26px auto 0; }
.ah2 .ah-valodi + .aql-funkcio, .ah2 .ah-ai + .aql-funkcio { padding-top: clamp(32px, 4vw, 56px); }
.ah2 .aql-kerdesek { padding-bottom: clamp(40px, 5vw, 72px); }

/* „Ki áll mögötte?” (2026-11-27): az akváriumsor egy ferdén vágott keretben, előtte a kivágott portré, amely felül kilóg a keretből. */
.ah-keszito { padding-top: clamp(24px, 3vw, 40px); }
.ah-keszito__racs { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .ah-keszito__racs { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.ah-keszito__szinpad { position: relative; margin: 0; padding-top: 14%; }
.ah-keszito__keret { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 30px 30px 30px 6px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 0 88%); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.ah-keszito__hatter { position: absolute; inset: -10% -3%; translate: 0 var(--par, 0px); }
.ah-keszito__hatter picture, .ah-keszito__hatter img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ah-keszito__keret::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 48, 56, 0) 40%, rgba(15, 48, 56, .55)); }
.ah-keszito__portre { position: absolute; right: 5%; bottom: 0; z-index: 2; height: 92%; pointer-events: none; translate: 0 var(--par, 0px); }
.ah-keszito__portre picture, .ah-keszito__portre img { display: block; width: auto; height: 100%; }
.ah-keszito__portre img { filter: drop-shadow(-16px 0 34px rgba(0, 0, 0, .5)); }
.ah-keszito__nev { position: absolute; left: 6%; bottom: 7%; z-index: 3; display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .95); color: #0D1A17; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.ah-keszito__nev b { font-size: 1.05rem; font-weight: 900; }
.ah-keszito__nev span { color: #4C5B55; font-size: .86rem; font-weight: 700; }
.ah-keszito__szoveg .aql-bevezeto { margin: 0 0 14px; }
.ah-keszito__idezet { position: relative; margin: 22px 0 0; padding: 18px 20px 18px 54px; border-radius: 20px; background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(159, 211, 201, .2); }
.ah-keszito__idezet::before { content: "“"; position: absolute; left: 16px; top: 4px; color: var(--aql-menta); font-size: 3.4rem; font-weight: 900; line-height: 1; }
.ah-keszito__idezet p { margin: 0; color: rgba(255, 255, 255, .92); font-size: 1.06rem; font-style: italic; line-height: 1.55; }
.ah-keszito__adatok { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.ah-keszito__adatok li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(159, 211, 201, .14); color: #fff; font-weight: 800; }
.ah-keszito__adatok .ikon { width: 18px; height: 18px; color: var(--aql-menta); }
.ah-keszito__link { margin: 26px 0 0; }
.ah-keszito__link .ikon { width: 20px; height: 20px; }
@media (max-width: 600px) {
  .ah-keszito__szinpad { padding-top: 18%; }
  .ah-keszito__nev { left: 4%; bottom: 5%; padding: 9px 12px; }
  .ah-keszito__nev b { font-size: .95rem; }
  .ah-keszito__idezet { padding: 16px 16px 16px 46px; }
}
/* Széles képernyőn a füzet és a telefon együtt marad (ne nyíljon közéjük nagy rés). */
@media (min-width: 960px) { .ah-fuzet__szinpad { width: 100%; max-width: 660px; justify-self: center; } }
/* A kapu fejléce a fő oldal menürendszere (alap.css .fejlec, .fomenu, .mobilmenu; projektgazdai döntés, 2026-11-27). A logó két sora: AquaLog / AquaPlan. */
.ah-fejlec2 .logo__sor2 { letter-spacing: .12em; }
/* A kapu menüje rövidebb a fő oldalénál: a logó felirata és a „Sign in” szöveg mindenhol elfér (a fő oldal szűkítései itt nem kellenek). */
.fejlec.ah-fejlec2 .fejlec__belso .logo__szoveg { display: flex; }
.fejlec.ah-fejlec2 .fejlec__belso .fejlec__profil-szoveg { display: inline; }
@media (max-width: 380px) { .fejlec.ah-fejlec2 .fejlec__belso .fejlec__profil-szoveg { display: none; } }
/* A kapu lábléce a fő oldal láblécének felépítése (alap.css .lablec; projektgazdai döntés, 2026-11-27); csak az app-gomb és a jogi megjegyzés saját. */
.ah-lablec2__app-gomb { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 16px; padding: 0 20px 0 16px; border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px; color: #fff; font-weight: 700; text-decoration: none; transition: background .2s, border-color .2s; }
.ah-lablec2__app-gomb:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); }
.ah-lablec2__app-gomb:focus-visible { outline: 3px solid var(--aq-accent-vilagos); outline-offset: 2px; }
.ah-lablec2__logok { display: inline-flex; gap: 6px; color: var(--aq-accent-vilagos); }
.ah-lablec2__logok .ikon { width: 18px; height: 18px; }
.ah-fejlec2 .fejlec__profil, .ah-lablec2 .lablec__fiok-gomb { text-decoration: none; }
/* Belépett állapot (projektgazdai döntés, 2026-12-03): a fejlécben csak a kerek profilkép vagy monogram, mint a fő oldalon, rajta az olvasatlan
   értesítések száma; a mobilmenüben „Bejelentkezve: …” sor. */
.ah-fejlec2 .ah-fiok { padding: 0 7px; }
.ah-fiok__kep.fiok-avatar { width: 28px; height: 28px; font-size: .875rem; }
.ah-fiok-sor { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; color: rgba(238, 241, 234, .86); font-weight: 700; }
/* Nyelvválasztó (KAPU_NYELVI_UTVONALAK; 2026-11-30): a fiókgomb mellett lenyíló lista (a közös data-lenyilo, navigacio.js) — a gombon a mostani
   nyelv kódja, a listában minden nyelv a saját nevén, a mostani pipával. A mobilmenüben ugyanez a lista, sorban. */
.ah-nyelv { position: relative; }
.ah-fejlec2 .ah-nyelvvalto { gap: 6px; padding: 0 10px 0 12px; letter-spacing: .06em; font-size: .85rem; font: inherit; font-weight: 700; cursor: pointer; }
.ah-fejlec2 .ah-nyelvvalto .ikon { width: 18px; height: 18px; color: var(--aq-accent-vilagos); }
.ah-fejlec2 .ah-nyelvvalto .fomenu__jel { width: 14px; height: 14px; transition: transform .2s ease; }
.ah-fejlec2 .ah-nyelvvalto:focus-visible { outline: 3px solid var(--aq-accent-vilagos); outline-offset: 2px; }
.ah-nyelv__panel { left: auto; right: 0; top: calc(100% + 10px); width: 220px; padding: 8px; }
.ah-nyelv__panel::before { top: -12px; height: 12px; }
html:not(.js) .ah-nyelv:hover > .ah-nyelv__panel, html:not(.js) .ah-nyelv:focus-within > .ah-nyelv__panel { display: block; }
.ah-nyelv__lista { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ah-nyelv__link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--aq-vilagos); font-weight: 600; text-decoration: none; }
.ah-nyelv__link:hover, .ah-nyelv__link:focus-visible { background: rgba(255, 255, 255, .07); outline: none; }
.ah-nyelv__link[aria-current="true"] { background: rgba(159, 211, 201, .12); color: #fff; }
.ah-nyelv__kod { min-width: 2.2em; color: var(--aq-accent-vilagos); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.ah-nyelv__nev { flex: 1; }
.ah-nyelv__pipa { width: 18px; height: 18px; color: var(--aq-accent-vilagos); }
.ah-nyelvvalto--mobil { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--aq-accent-vilagos); }

.ah-nyelv__lista--mobil { display: grid; gap: 6px; width: min(100%, 240px); }
.ah-nyelv__lista--mobil .ah-nyelv__link { border: 1px solid rgba(255, 255, 255, .14); }
@media (max-width: 1199px) { .ah-fejlec2 .fejlec__belso .ah-nyelv { display: none; } }
@media (prefers-reduced-motion: reduce) { .ah-lablec2__app-gomb { transition: none; } }

/* Hullámok a kapun (aqualog_hullam kapu-ága): a két halvány türkiz réteg a fő hullámmal párhuzamos, együtt mozognak, így sosem metszik egymást. */
.ah .ah-hullam .ah-hullam__r1, .ah .ah-hullam .ah-hullam__r2 { fill: var(--aq-accent); }
.ah .ah-hullam .ah-hullam__r1 { opacity: .22; }
.ah .ah-hullam .ah-hullam__r2 { opacity: .11; }
.ah.aql--mozgas .ah-hullam svg { animation: ah-hullam-sodor 16s ease-in-out infinite alternate; }
@keyframes ah-hullam-sodor { from { transform: translateX(-2%); } to { transform: translateX(2%); } }

@media (prefers-reduced-motion: reduce) { .ah.aql--mozgas .ah-hullam svg { animation: none; } }

/* Háttérjelenetek a blokkokban (aquahistory/hatter.php): a fejlécek mozgó jelenetei, világos blokkon a blokk sötét türkiz tónusával. */
.ah .aql-szekcio { isolation: isolate; }
/* Illesztés a hullámokhoz (projektgazdai kérés, 2026-11-27): minden hullám az előző blokk aljára fut rá (a blokk alja kitolódik alá), így az alul álló
   elemek (növények, oszlopok, garnélák) töve a hullám mögött van; a hullám után következő blokk jelenete a hullám íve alatt kezdődik (hullám alakú maszk),
   így a felülről lógó elemek (fénysugár, érmék) a hullámból indulnak. Hullám nélküli határon az elemek a határvonalon állnak. */
.ah { --ah-hullam-m: clamp(44px, 6vw, 92px); }
.ah .aql-szekcio { display: flow-root; }
.ah .aql-szekcio > .hj { --padlo: 0px; }
.ah .aql-szekcio > .hj > * { zoom: var(--ah-hj-zoom, 1); }
.ah .aql-szekcio > .hj .hj-talaj { display: none; }
.ah > .aql-hullam { margin-top: calc(-1 * var(--ah-hullam-m)); }
.ah .aql-hullam[class*="aql-hullam-alap--"] { background: transparent; }
.ah .aql-szekcio:has(+ .aql-hullam) { padding-bottom: calc(clamp(56px, 7vw, 96px) + var(--ah-hullam-m)); }
.ah .ah-hullam--fej + .aql-szekcio { padding-top: clamp(12px, 2vw, 28px); }
.ah :is(.aql-hullam, .aql-hos:has(> .aql-hullam:last-child), .aql-szekcio:has(> .aql-hullam:last-child)) + .aql-szekcio > .hj {
  top: calc(-1 * var(--ah-hullam-m));
  -webkit-mask: url("../img/aquahistory/hullam-maszk.svg") 0 0 / 100% var(--ah-hullam-m) no-repeat, linear-gradient(#000, #000) 0 var(--ah-hullam-m) / 100% 100% no-repeat;
  mask: url("../img/aquahistory/hullam-maszk.svg") 0 0 / 100% var(--ah-hullam-m) no-repeat, linear-gradient(#000, #000) 0 var(--ah-hullam-m) / 100% 100% no-repeat; }
/* Világos blokkon a halvány rétegek kicsit erősebbek, hogy a rajz kivehető legyen (sötét blokkon a fejlécek értékei). */
.ah .aql-szekcio--papir > .hj .hj-o1, .ah .aql-szekcio--feher > .hj .hj-o1 { opacity: .1; }
.ah .aql-szekcio--papir > .hj .hj-o2, .ah .aql-szekcio--feher > .hj .hj-o2 { opacity: .14; }
.ah .aql-szekcio--papir > .hj .hj-o3, .ah .aql-szekcio--feher > .hj .hj-o3 { opacity: .18; }
.ah .aql-szekcio--papir > .hj .hj-o4, .ah .aql-szekcio--feher > .hj .hj-o4 { opacity: .22; }
.ah .aql-szekcio--papir > .hj .hj-o5, .ah .aql-szekcio--feher > .hj .hj-o5 { opacity: .28; }
@media (min-width: 760px) and (max-width: 1199px) { .ah .aql-szekcio > .hj { --ah-hj-zoom: 1.15; } }
@media (min-width: 1200px) { .ah .aql-szekcio > .hj { --ah-hj-zoom: 1.35; } }
/* A sötét blokkok fénye a blokk közepén: a felső és az alsó szélen a szín pontosan a hullám színe, így nincs illesztési csík. */
.ah .aql-szekcio--mely { background: radial-gradient(60% 70% at 78% 50%, rgba(159, 211, 201, .14), transparent 60%), var(--aql-mely); }
.ah .aql-szekcio--zold { background: radial-gradient(60% 70% at 18% 50%, rgba(159, 211, 201, .2), transparent 60%), var(--aql-zold); }
.ah .aql-szekcio--papir > .hj, .ah .aql-szekcio--feher > .hj { color: #2B7570; }
.ah .aql-szekcio--papir > .hj .hj-feny, .ah .aql-szekcio--feher > .hj .hj-feny { display: none; }

/* Mérési adatok jelenete: kirajzolódó vonaldiagram célzónával, lélegző oszlopok, kilengő mérőóra, buborékok. */
.hj--meres svg { position: absolute; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.ah-grafikon { right: 2%; top: 50%; width: min(13vw, 280px); height: auto; }
.ah-oszlopok { left: 3%; bottom: 0; width: min(20vw, 260px); height: auto; }
.ah-mero { left: 6%; top: 14%; width: min(11vw, 150px); height: auto; }
.ah-grafikon__racs { stroke-width: 1.5; stroke-dasharray: 4 8; }
.ah-grafikon__zona { fill: currentColor; stroke: none; opacity: .35; }
.ah-grafikon__vonal { stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ah-graf-rajzol 9s ease-in-out infinite; }
.ah-grafikon__pont { fill: currentColor; stroke: none; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ah-graf-pont 9s ease-out infinite; }
.ah-oszlop { fill: currentColor; stroke: none; transform-box: fill-box; transform-origin: 50% 100%; animation: ah-oszlop 3.4s ease-in-out infinite alternate; }
.ah-mero__iv { stroke-width: 6; }
.ah-mero__mutato { stroke-width: 3; animation: ah-mero 5s ease-in-out infinite alternate; transform-origin: 0 0; }
.ah-mero__mutato circle { fill: currentColor; }
.ah-bubik { position: absolute; right: 42%; bottom: 0; width: 60px; height: 260px; }
.ah-bubik i { position: absolute; bottom: 0; width: 12px; height: 12px; border: 2px solid currentColor; border-radius: 50%; animation: ah-bubi-fel 7s linear infinite; }
.ah-bubik i:nth-child(2) { left: 18px; width: 8px; height: 8px; animation-delay: -1.4s; }
.ah-bubik i:nth-child(3) { left: 34px; width: 14px; height: 14px; animation-delay: -2.9s; }
.ah-bubik i:nth-child(4) { left: 8px; width: 7px; height: 7px; animation-delay: -4.3s; }
.ah-bubik i:nth-child(5) { left: 44px; width: 10px; height: 10px; animation-delay: -5.6s; }
.ah-grafikon__pont.ah-i1 { animation-delay: 0.42s; }
.ah-grafikon__pont.ah-i2 { animation-delay: 0.84s; }
.ah-grafikon__pont.ah-i3 { animation-delay: 1.26s; }
.ah-grafikon__pont.ah-i4 { animation-delay: 1.68s; }
.ah-grafikon__pont.ah-i5 { animation-delay: 2.1s; }
.ah-grafikon__pont.ah-i6 { animation-delay: 2.52s; }
.ah-grafikon__pont.ah-i7 { animation-delay: 2.94s; }
.ah-grafikon__pont.ah-i8 { animation-delay: 3.36s; }
.ah-grafikon__pont.ah-i9 { animation-delay: 3.78s; }
.ah-grafikon__pont.ah-i10 { animation-delay: 4.2s; }
.ah-oszlop.ah-i1 { animation-delay: -0.6s; }
.ah-oszlop.ah-i2 { animation-delay: -1.2s; }
.ah-oszlop.ah-i3 { animation-delay: -1.8s; }
.ah-oszlop.ah-i4 { animation-delay: -2.4s; }
.ah-oszlop.ah-i5 { animation-delay: -3.0s; }
@keyframes ah-graf-rajzol { 0% { stroke-dashoffset: 1; opacity: 1; } 55% { stroke-dashoffset: 0; opacity: 1; } 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ah-graf-pont { 0%, 4% { opacity: 0; transform: scale(.2); } 9% { opacity: 1; transform: scale(1.5); } 14%, 84% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@keyframes ah-oszlop { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
@keyframes ah-mero { from { transform: rotate(-62deg); } to { transform: rotate(48deg); } }
@keyframes ah-bubi-fel { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 100% { transform: translateY(-250px); opacity: 0; } }
@media (max-width: 899px) { .ah-mero, .ah-bubik { display: none; } .ah-grafikon { width: 56vw; top: 6%; } .ah-oszlopok { width: 38vw; } }
@media (prefers-reduced-motion: reduce) {
  .ah-grafikon__vonal { animation: none; stroke-dashoffset: 0; }
  .ah-grafikon__pont { animation: none; opacity: 1; }
  .ah-oszlop, .ah-mero__mutato, .ah-bubik i { animation: none; }
}

/* A nyitókép telepítőgombjai egymás után felvillannak (aquahistory.js): a gomb körül kifelé táguló arany keret, maga a gomb nem változik. */
.ah-bolt { position: relative; }
.ah-bolt::after { content: ""; position: absolute; inset: -5px; border-radius: 19px; border: 2px solid #F3C969; opacity: 0; pointer-events: none; }
.ah-boltok--villan .ah-bolt::after { animation: ah-bolt-villan 1.2s ease-out both; animation-delay: calc(var(--n, 0) * .3s); }
@keyframes ah-bolt-villan { 0% { opacity: 0; transform: scale(.97); } 25% { opacity: .95; transform: scale(1); } 100% { opacity: 0; transform: scale(1.09); } }
@media (prefers-reduced-motion: reduce) { .ah-boltok--villan .ah-bolt::after { animation: none; } }

/* A Kezdő útmutató lenyíló menüjében az áttekintő oldal linkje (/guide, 2026-12-02) a bevezető alatt; mobilon a harmonika első sora. */
.ah-fejlec2 .ah-lenyilo__attekinto { align-items: center; gap: 10px; margin-top: 20px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.ah-fejlec2 .ah-lenyilo__attekinto:hover { padding-left: 6px; }
