/* =============================================================
   almarium-pro.hu – stíluslap
   Design: letisztult, Apple-közeli. Betű: DM Sans (saját tárhelyről).
   Színek a logóból: piros #c4141c, szürke #909498.
   Felépítés: 1. változók  2. alapok  3. komponensek  4. fejléc/lábléc
              5. szakaszok  6. oldalspecifikus  7. reszponzív
   ============================================================= */

/* 1. Betűk és változók ---------------------------------------- */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(../fonts/dm-sans-latin.woff2) format("woff2-variations");
  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: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-ext.woff2) format("woff2-variations");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --piros: #c4141c;
  --piros-sotet: #a50f16;
  --szurke: #909498;
  --szoveg: #1a1a1c;
  --szoveg-2: #6b6b70;
  --szoveg-sotet-hatteren: #a1a1a6;
  --hatter: #ffffff;
  --hatter-2: #f5f5f7;
  --hatter-3: #e9e9ec;
  --keret: #e5e5ea;
  --zold: #1e8e3e;
  --zold-hatter: #e6f4ea;
  --sotet: #1a1a1c;
  --tartalom: 1120px;
  --oldalso-tavolsag: 20px;
  --lekerekites: 20px;
  --fejlec-magassag: 64px;
}

/* 2. Alapok ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--szoveg);
  background: var(--hatter);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--piros); text-decoration: none; }
a:hover { color: var(--piros-sotet); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1 { font-size: 38px; line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 17px; line-height: 1.4; font-weight: 600; }
strong { font-weight: 600; }
.lead { font-size: 18px; line-height: 1.5; color: var(--szoveg-2); }
.muted { color: var(--szoveg-2); }
.small { font-size: 15px; line-height: 1.5; }
.tiny { font-size: 13px; line-height: 1.5; }
.wrap { width: 100%; max-width: var(--tartalom); margin: 0 auto; padding: 0 var(--oldalso-tavolsag); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.prose p, .prose ul, .prose ol { color: var(--szoveg); }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--piros); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--sotet); color: #fff; border-radius: 999px; }
.skip:focus { top: 12px; }

/* Horgonyok ne bújjanak a ragadós fejléc alá */
[id] { scroll-margin-top: calc(var(--fejlec-magassag) + 16px); }

/* 3. Komponensek ----------------------------------------------- */
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 44px; height: 44px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: inherit; font-size: 16px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--piros); color: #fff; }
.btn-primary:hover { background: var(--piros-sotet); color: #fff; }
.btn-secondary { background: var(--hatter-2); color: var(--szoveg); }
.btn-secondary:hover { background: var(--hatter-3); color: var(--szoveg); }
.btn-white { background: #fff; color: var(--szoveg); border: 1px solid var(--keret); }
.btn-white:hover { background: var(--hatter-2); color: var(--szoveg); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }

.more { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; color: var(--piros); }
.more:hover { gap: 9px; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--zold-hatter); color: var(--zold); font-size: 13px; font-weight: 600; white-space: nowrap; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.zarva { background: var(--hatter-3); color: var(--szoveg-2); }

.pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--hatter-2); color: var(--szoveg); font-size: 15px; font-weight: 600; white-space: nowrap; }
.pill:hover { background: var(--hatter-3); color: var(--szoveg); }
.pill.aktiv, .pill[aria-current="true"] { background: var(--sotet); color: #fff; }
.pill-outline { background: #fff; border: 1px solid var(--keret); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }

.card { border-radius: var(--lekerekites); padding: 24px; background: var(--hatter-2); display: flex; flex-direction: column; gap: 14px; }
.card.feher { background: #fff; }
.card.sotet { background: var(--sotet); color: #fff; }
.card.sotet .muted { color: var(--szoveg-sotet-hatteren); }
.card.sotet a { color: #fff; font-weight: 600; }
.card .icon { color: var(--szurke); }
a.card { color: inherit; transition: background-color .15s ease; }
a.card:hover { color: inherit; background: var(--hatter-3); }
a.card.feher:hover { background: #fff; outline: 1px solid var(--keret); }

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

/* Táblázatok */
table { border-collapse: collapse; width: 100%; }
.tabla th { text-align: left; font-size: 13px; font-weight: 600; color: var(--szoveg-2); text-transform: uppercase; letter-spacing: .04em; padding: 0 12px 12px 0; border-bottom: 1px solid var(--keret); }
.tabla td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--keret); font-size: 16px; vertical-align: top; }
.tabla tr:last-child td { border-bottom: 0; }
.tabla th.num, .tabla td.num { text-align: right; padding-right: 0; padding-left: 12px; white-space: nowrap; }
.tabla td.num { font-weight: 600; font-variant-numeric: tabular-nums; }
.tabla td.model { font-weight: 600; white-space: nowrap; }
.tabla-gorgethet { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabla-gorgethet table { min-width: 640px; }
.arlista-kartya .tabla td { white-space: nowrap; }
/* a hosszú modellnevek (pl. MacBook Pro …) törjenek sort, különben kitolják az Ár oszlopot a képből */
.arlista-kartya .tabla td.model { white-space: normal; min-width: 200px; }

/* Lista pipával */
.pipa-lista { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pipa-lista li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.pipa-lista .icon { width: 20px; height: 20px; color: var(--piros); margin-top: 3px; }

/* Checklist */
.check-lista { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-lista li { display: flex; gap: 12px; align-items: flex-start; }
.check-lista li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; border: 1.75px solid var(--szurke); }

/* Lenyíló GYIK */
.faq { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--keret); }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--szoveg-2); transition: transform .2s ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .valasz { padding: 0 0 20px; max-width: 640px; color: var(--szoveg-2); font-size: 16px; display: flex; flex-direction: column; gap: 10px; }

/* Lépések (számozott) */
.lepesek { display: grid; gap: 28px; grid-template-columns: 1fr; counter-reset: lepes; }
.lepes { display: flex; flex-direction: column; gap: 10px; }
.lepes .szam { font-size: 44px; line-height: 1; font-weight: 700; color: var(--piros); letter-spacing: -0.03em; }

/* Térkép – kattintásra töltődik, addig nem megy kérés a Google felé */
.terkep { position: relative; height: 220px; border-radius: 12px; overflow: hidden; background: var(--hatter-3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--szoveg-2); font-size: 14px; font-weight: 500; text-align: center; padding: 16px; }
.terkep iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.terkep.betoltve { background: none; }

/* Közlemény sáv – ha üres, nem látszik */
.kozlemeny { display: flex; align-items: flex-start; justify-content: center; gap: 8px; padding: 10px 20px; background: var(--hatter-2); border-bottom: 1px solid var(--keret); font-size: 14px; font-weight: 500; line-height: 1.4; }
.kozlemeny .icon { width: 18px; height: 18px; color: var(--szoveg-2); margin-top: 1px; }
.kozlemeny:has(.kozlemeny-szoveg:empty) { display: none; }

/* 4. Fejléc és lábléc ------------------------------------------ */
.fejlec { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--keret); }
.fejlec > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--fejlec-magassag); }
.logo img { height: 30px; width: auto; }
.nav { display: none; align-items: center; gap: 28px; }
.nav a { color: var(--szoveg); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--piros); }
.fejlec-jobb { display: flex; align-items: center; gap: 16px; }
.fejlec .btn-status { display: none; }
.nyelv { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.nyelv .elvalaszto { color: #c7c7cc; }
.nyelv a, .nyelv span.inaktiv { color: var(--szoveg-2); font-weight: 500; }
.nyelv .aktiv { color: var(--szoveg); font-weight: 600; }
.menu-gomb { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: -8px; border: 0; background: none; color: var(--szoveg); cursor: pointer; border-radius: 10px; }
.menu-gomb .icon { width: 26px; height: 26px; }
.menu-gomb .zar { display: none; }
.menu-nyitva .menu-gomb .nyit { display: none; }
.menu-nyitva .menu-gomb .zar { display: block; }
.mobil-menu { display: none; border-bottom: 1px solid var(--keret); background: #fff; }
.menu-nyitva .fejlec { background: #fff; }
.menu-nyitva .mobil-menu { display: block; }
.mobil-menu .wrap { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 16px; }
.mobil-menu a { display: block; padding: 14px 0; font-size: 18px; font-weight: 600; color: var(--szoveg); border-bottom: 1px solid var(--keret); }
.mobil-menu a:last-child { border-bottom: 0; }
.mobil-menu a[aria-current="page"] { color: var(--piros); }

.lablec { padding: 48px 0 40px; background: var(--hatter-2); border-top: 1px solid var(--keret); }
.lablec .wrap { display: flex; flex-direction: column; gap: 32px; }
.lablec-oszlopok { display: grid; gap: 24px; grid-template-columns: 1fr; }
.lablec-oszlop { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.lablec-oszlop a { color: var(--szoveg); font-weight: 500; }
.lablec-oszlop a:hover { color: var(--piros); }
.lablec .logo img { height: 22px; }
.lablec-linkek { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; font-weight: 500; }
.lablec-linkek a { color: var(--szoveg); }
.lablec-linkek a:hover { color: var(--piros); }

/* Mobil alsó sáv: Hívás · Javítás állapota */
.also-sav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--keret); }
.also-sav .btn { height: 48px; padding: 0 12px; font-size: 15px; }
body { padding-bottom: 80px; } /* hely az alsó sávnak mobilon */

/* 5. Szakaszok ------------------------------------------------- */
.szakasz { padding: 64px 0; }
.szakasz.szurke { background: var(--hatter-2); }
.szakasz.sotet { background: var(--sotet); color: #fff; }
.szakasz.sotet .muted { color: var(--szoveg-sotet-hatteren); }
.szakasz .wrap { display: flex; flex-direction: column; gap: 32px; }
.szakasz-fej { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }

/* Oldalcím blokk aloldalakon */
.oldalcim { padding: 48px 0 32px; }
.oldalcim .wrap { display: flex; flex-direction: column; gap: 20px; }
.oldalcim .lead { max-width: 820px; }

/* Kezdőlap: fejléc-blokk */
.hero { padding: 48px 0 56px; }
.hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.hero .lead { max-width: 760px; }
.hero-gombok { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.hero-fej { display: block; }
.hero-szoveg { display: flex; flex-direction: column; gap: 20px; }
.hero-kep { display: none; }
.uzlet-sor { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 12px; }

/* Apple termékképek és csatorna-aláírás (AASP Marketing Guide) – tiszta, zsúfolatlan háttéren */
.csalad-kep { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.csalad-kep .termekek { display: block; width: min(100%, 880px); height: auto; }
.aasp-alairas { display: block; height: 22px; width: auto; }
.uzlet-sor .uzlet { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--hatter-2); }
.uzlet .nev { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.uzlet .hivas-kor { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--piros); flex: none; }
.uzlet .hivas-kor .icon { width: 20px; height: 20px; }
.uzlet .telefon { display: none; font-size: 16px; font-weight: 600; white-space: nowrap; }

/* Árak kártya a kezdőlapon */
.ar-tabla td { padding: 14px 0; border-bottom: 1px solid var(--keret); font-size: 16px; }
.ar-tabla tr:last-child td { border-bottom: 0; }
.ar-tabla td.price { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 12px; }

/* Miért mi */
.miert .szam { font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.miert .icon { color: var(--piros); }

/* Üzletkártyák */
.uzlet-kartya { gap: 20px; }
.uzlet-kartya .adatok { display: flex; flex-direction: column; gap: 6px; }
.uzlet-kartya .adatok a { font-weight: 600; }

/* Rólunk fotó */
.foto { border-radius: var(--lekerekites); overflow: hidden; background: var(--hatter-3); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; color: var(--szoveg-2); font-size: 14px; }
.foto img { width: 100%; height: 100%; object-fit: cover; }

/* 6. Oldalspecifikus ------------------------------------------- */
/* Szolgáltatások: készülék-szakasz */
.keszulek-szakasz { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
.kereso { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--keret); color: var(--szoveg-2); width: 100%; max-width: 360px; }
.kereso input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--szoveg); outline: none; }
.kereso input::placeholder { color: var(--szoveg-2); }
.arlista-fej { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.csoport-cim td { padding-top: 22px; font-size: 13px; font-weight: 600; color: var(--szoveg-2); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--keret); }
.nincs-talalat { padding: 20px 0; color: var(--szoveg-2); }

/* Garancia / Javítás menete: két oszlopos szöveg + oldalsó kártya */
.ket-oszlop { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }

/* Idővonal a Javítás menete oldalon */
.idovonal { display: flex; flex-direction: column; gap: 0; }
.idovonal .lepes { position: relative; padding-left: 56px; padding-bottom: 32px; }
.idovonal .lepes::before { content: attr(data-szam); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--piros); color: #fff; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.idovonal .lepes::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--keret); }
.idovonal .lepes:last-child::after { display: none; }
.idovonal .lepes:last-child { padding-bottom: 0; }
.idovonal .lepes h3 { padding-top: 7px; }

/* Adattábla (impresszum) */
.adat-tabla td { padding: 12px 0; border-bottom: 1px solid var(--keret); vertical-align: top; }
.adat-tabla td:first-child { color: var(--szoveg-2); width: 40%; padding-right: 16px; }
.adat-tabla tr:last-child td { border-bottom: 0; }

/* Hibaoldal */
.hiba { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.hiba .wrap { align-items: center; }

/* 7. Reszponzív – tabletről fölfelé ---------------------------- */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-gombok { flex-direction: row; }
  .uzlet-sor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lablec-oszlopok { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lepesek { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ket-oszlop { grid-template-columns: minmax(0, 1fr) 320px; }
  .card { padding: 28px; }
}

@media (min-width: 900px) {
  :root { --oldalso-tavolsag: 32px; --fejlec-magassag: 72px; }
  body { padding-bottom: 0; }
  .also-sav { display: none; }
  .nav { display: flex; }
  .menu-gomb, .mobil-menu { display: none !important; }
  .fejlec .btn-status { display: inline-flex; }
  .nyelv { font-size: 14px; }
  .logo img { height: 36px; }
  h1 { font-size: 60px; line-height: 1.05; }
  h2 { font-size: 40px; }
  .lead { font-size: 21px; }
  .oldalcim h1 { font-size: 52px; }
  .szakasz { padding: 96px 0; }
  .szakasz .wrap { gap: 40px; }
  .hero { padding: 104px 0 72px; }
  .hero .wrap { gap: 28px; }
  .hero-fej { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 56px; align-items: center; }
  .hero-szoveg { gap: 28px; }
  .hero-kep { display: block; width: 100%; height: auto; }
  .aasp-alairas { height: 26px; }
  .uzlet-sor { gap: 16px; margin-top: 36px; }
  .uzlet-sor .uzlet { padding: 20px 24px; border-radius: 16px; }
  .uzlet .hivas-kor { display: none; }
  .uzlet .telefon { display: inline; }
  .oldalcim { padding: 80px 0 40px; }
  .grid { gap: 20px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lepesek { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .ketto-64 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
  .ketto-64.kozep { align-items: center; }
  .gyik-elrendezes { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; align-items: start; }
  .keszulek-szakasz { grid-template-columns: 400px minmax(0, 1fr); gap: 64px; }
  .faq summary { font-size: 19px; padding: 20px 0; }
  .lablec { padding: 56px 0 40px; }
  .lablec .wrap { gap: 40px; }
  .lablec-oszlopok { gap: 32px; }
  .ket-oszlop { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; }
}

@media print {
  .fejlec, .lablec, .also-sav, .kozlemeny, .terkep { display: none !important; }
  body { padding: 0; }
}
