/* Nyitóoldal – „magazin” arculat (Anton + Archivo, tinta / borostyán / narancs) */
:root {
  --ink: #0B1F2A;
  --ink-2: #3E5561;
  --line: #0B1F2A;
  --paper: #FFFFFF;
  --mist: #F1F5F7;
  --amber: #FFB020;
  --orange: #FF5A2C;
  --big: "Anton", Impact, "Arial Narrow", sans-serif;
  --txt: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(18px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body.mag { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--txt); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
.mag a { color: var(--ink); }
.mag a:hover { color: var(--orange); }
.mag img { max-width: 100%; display: block; }
.mag h1, .mag h2, .mag h3 { font-family: var(--big); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; margin: 0; }
.mag button, .mag input, .mag select { font-family: var(--txt); }
.mag :focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Fejléc */
.m-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 2px solid var(--line); }
.m-head .in { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding: 16px var(--pad); }
.m-logo { font-family: var(--big); font-size: 26px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--ink) !important; }
.m-logo span { color: var(--orange); }
.m-head nav { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; font-weight: 600; font-size: 15px; }
.m-head nav a { text-decoration: none; }
.m-head nav a.cta { padding: 10px 18px; border-radius: 99px; background: var(--ink); color: #fff; }
.m-head nav a.cta:hover { background: var(--orange); color: #fff; }

/* Óriás fotós felirat */
.m-hero { padding: 22px var(--pad) 0; }
.m-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.m-giant { margin-top: 6px !important; font-size: clamp(96px, 21.5vw, 340px) !important; line-height: .84; text-align: center; color: var(--ink);
  background: var(--ink) center 60% / cover no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Osztott sáv: szöveg + kereső | kép */
.m-split { display: flex; flex-wrap: wrap; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); margin-top: 26px; }
.m-split > div { flex: 1 1 520px; min-width: 0; }
.m-left { padding: clamp(28px, 4vw, 64px) var(--pad); display: flex; flex-direction: column; justify-content: space-between; gap: 36px; border-right: 2px solid var(--line); }
.m-left h2 { font-size: clamp(48px, 6vw, 96px); line-height: .95; }
.m-left h2 em { font-style: normal; color: var(--orange); }
.m-left p.lead { margin: 0; max-width: 480px; font-size: 20px; }

.m-search { display: flex; flex-wrap: wrap; background: var(--ink); border-radius: 16px; overflow: hidden; }
.m-search label { flex: 1 1 150px; display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; margin: 0; color: #A8BCC6; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; min-width: 0; border-right: 1px solid #23404F; }
.m-search label.n { flex: 0 1 100px; }
.m-search input, .m-search select { border: 0; padding: 0; background: transparent; color: #fff; font-size: 17px; font-weight: 600; color-scheme: dark; width: 100%; min-width: 0; }
.m-search select option { color: var(--ink); }
.m-search input:focus, .m-search select:focus { outline: none; }
.m-search label:focus-within { background: #12303F; }
.m-search button { flex: 1 1 180px; min-height: 60px; border: 0; background: var(--amber); color: var(--ink); font: 400 24px var(--big); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.m-search button:hover { background: var(--orange); color: #fff; }
.m-note { margin: 0; min-height: 1.4em; font-weight: 600; color: var(--ink-2); }

.m-right { position: relative; min-height: 600px; overflow: hidden; background: var(--ink); }
.m-right .slide { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity 1.4s ease; }
.m-right .slide.on { opacity: 1; animation: m-zoom 9s ease-out both; }
@keyframes m-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.m-chips { position: absolute; z-index: 2; top: 20px; left: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.m-chips span { padding: 7px 14px; border-radius: 99px; background: rgba(11,31,42,.55); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: background .4s, color .4s; }
.m-chips span.on { background: var(--amber); color: var(--ink); }
.m-badge { position: absolute; z-index: 2; left: 28px; bottom: 28px; width: 164px; height: 164px; border-radius: 50%; background: var(--amber); color: var(--ink); display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(-12deg); font: 400 21px/1.05 var(--big); text-transform: uppercase; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.m-credit { position: absolute; z-index: 2; right: 14px; bottom: 10px; font-size: 12px; color: #fff; opacity: .8; }
.m-credit a { color: #fff; }

/* Futószalag */
.m-tape { background: var(--orange); color: var(--ink); overflow: hidden; white-space: nowrap; border-bottom: 2px solid var(--line); }
.m-tape .track { display: inline-flex; animation: m-tape 38s linear infinite; }
.m-tape span { font: 400 40px/1 var(--big); text-transform: uppercase; padding: 16px 0; }
.m-tape b { font-weight: 400; margin: 0 .55em; }
@keyframes m-tape { to { transform: translateX(-50%); } }

/* Szekciók */
.m-sec { padding: clamp(64px, 8vw, 104px) var(--pad); }
.m-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.m-sec-head h2 { font-size: clamp(56px, 8vw, 128px); line-height: .9; }
.m-sec-head p { margin: 0; max-width: 420px; color: var(--ink-2); }

/* Listasáv */
.m-bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 14px 0; border-top: 2px solid var(--line); margin-bottom: 26px; }
.m-filters { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 420px; }
.m-filters button, .m-view button { min-height: 40px; padding: 0 16px; border-radius: 99px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font-weight: 700; font-size: 14px; cursor: pointer; }
.m-filters button[aria-pressed="true"], .m-view button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.m-filters button:hover { border-color: var(--orange); }
.m-bar .count { font-weight: 700; color: var(--ink-2); }
.m-bar select { min-height: 40px; border: 2px solid var(--ink); border-radius: 99px; padding: 0 14px; background: #fff; font-weight: 600; font-size: 14px; color: var(--ink); }
.m-view { display: flex; gap: 4px; }

/* Csempék */
.m-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 28px 22px; }
.m-tile { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink) !important; }
.m-tile .ph { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--mist); }
.m-tile .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.m-tile:hover .ph img { transform: scale(1.05); }
.m-tile .town { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-top: 8px; }
.m-tile h3 { font-size: 30px; line-height: 1.02; }
.m-tile .fx { color: var(--ink-2); font-size: 15px; }
.m-tile .pr { font: 400 22px var(--big); }
.m-tile .pr small { font: 600 14px var(--txt); }
.tag-on { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-on span { padding: 6px 11px; border-radius: 99px; background: rgba(11,31,42,.7); backdrop-filter: blur(6px); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.st { position: absolute; right: 12px; top: 12px; padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 800; }
.st.free { background: var(--amber); color: var(--ink); }
.st.busy { background: #fff; color: var(--ink-2); }

/* Részletes (szerkesztőségi) sorok */
.m-row { display: grid; grid-template-columns: 90px minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .8fr); gap: 28px; align-items: center; padding: 28px 0; border-top: 2px solid var(--line); }
.m-row:last-child { border-bottom: 2px solid var(--line); }
.m-row .no { font: 400 64px/1 var(--big); color: var(--orange); }
.m-row h3 { font-size: clamp(36px, 4vw, 54px); line-height: 1; }
.m-row h3 a { text-decoration: none; }
.m-row .where { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.m-row .tagl { margin: 10px 0 0; color: var(--ink-2); }
.m-row .amen { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.m-row .amen li { padding: 4px 10px; border-radius: 99px; background: var(--mist); font-size: 13px; font-weight: 600; }
.m-row .pic img { width: 100%; height: 240px; object-fit: cover; border-radius: 18px; }
.m-row .buy { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.m-row .price { font: 400 36px/1 var(--big); }
.m-row .price small { font: 600 15px var(--txt); }
.m-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 99px; background: var(--ink); color: #fff !important; text-decoration: none; font-weight: 700; border: 0; cursor: pointer; font-size: 15px; }
.m-btn:hover { background: var(--orange); }
.m-btn.ghost { background: transparent; color: var(--ink) !important; border: 2px solid var(--ink); }
.m-btn.ghost:hover { background: var(--ink); color: #fff !important; }
.state { font-weight: 700; font-size: 14px; }
.state.free { color: #0B6B3A; }
.state.busy { color: var(--ink-2); }
.m-more { display: flex; justify-content: center; margin-top: 40px; }

/* Helyszínek */
.m-places { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.m-place { position: relative; height: 380px; border-radius: 22px; overflow: hidden; display: block; color: #fff !important; text-decoration: none; background: var(--ink); }
.m-place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.m-place:hover img { transform: scale(1.05); }
.m-place::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,31,42,.85), rgba(11,31,42,0) 55%); }
.m-place div { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 20px; }
.m-place b { display: block; font: 400 clamp(36px, 3.6vw, 52px)/1 var(--big); text-transform: uppercase; }
.m-place span { font-weight: 600; opacity: .85; }
.m-place.owner { background: var(--amber); color: var(--ink) !important; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.m-place.owner::after { display: none; }
.m-place.owner small { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.m-place.owner b { position: static; }

/* Okosház */
.m-smart { background: var(--ink); color: #fff; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.m-smart h2 { flex: 1 1 480px; font-size: clamp(54px, 7vw, 112px); line-height: .92; }
.m-smart h2 em { font-style: normal; color: var(--amber); }
.m-cells { flex: 1 1 420px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: #2A4250; border-radius: 20px; overflow: hidden; }
.m-cells div { background: var(--ink); padding: 26px; }
.m-cells b { display: block; font: 400 30px/1.05 var(--big); text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.m-cells p { margin: 0; color: #C6D6DD; font-size: 15px; }

/* Lábléc */
.m-foot { padding: 56px var(--pad) 28px; }
.m-foot .giant2 { font-family: var(--big); text-transform: uppercase; text-align: center; font-size: clamp(96px, 22vw, 340px); line-height: .82;
  background: var(--ink) center / cover no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.m-foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 24px; font-size: 14px; font-weight: 600; }
.m-foot .credits { margin-top: 14px; font-size: 12px; color: var(--ink-2); }

/* Mobil */
@media (max-width: 760px) {
  .m-left { border-right: 0; border-bottom: 2px solid var(--line); }
  .m-right { min-height: 440px; }
  .m-badge { width: 120px; height: 120px; font-size: 16px; left: 18px; bottom: 18px; }
  .m-search label { flex: 1 1 45%; border-bottom: 1px solid #23404F; }
  .m-search label:nth-child(2n) { border-right: 0; }
  .m-search label.n { flex: 1 1 45%; }
  .m-search button { flex: 1 1 100%; }
  .m-row { grid-template-columns: 1fr; gap: 14px; }
  .m-row .no { font-size: 44px; }
  .m-head nav .hide-m { display: none; }
  .m-tape span { font-size: 30px; padding: 12px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .m-tape .track, .m-right .slide.on { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== B3: teljes képes nyitó, alul kilógó óriásbetűvel ===== */
.b3-hero { position: relative; height: min(100svh, 920px); min-height: 600px; overflow: hidden; background: var(--ink); color: #fff; }
.b3-slides, .b3-slides .slide { position: absolute; inset: 0; }
.b3-slides .slide { background: center / cover no-repeat; opacity: 0; transition: opacity 1.4s ease; }
.b3-slides .slide.on { opacity: 1; animation: m-zoom 9s ease-out both; }
.b3-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,31,42,.6) 0%, rgba(11,31,42,0) 28%, rgba(11,31,42,0) 58%, rgba(11,31,42,.45) 100%); }
.b3-head { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding: 22px var(--pad); }
.b3-head .m-logo { color: #fff !important; }
.b3-head .m-logo span { color: var(--amber); }
.b3-head nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-weight: 600; font-size: 15px; }
.b3-head nav a { color: #fff; text-decoration: none; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.b3-head nav a:hover { color: var(--amber); }
.b3-copy { position: relative; z-index: 3; padding: 28px var(--pad); max-width: 620px; display: flex; flex-direction: column; gap: 16px; }
.b3-copy .m-chips { position: static; }
.b3-copy p { margin: 0; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; font-weight: 500; text-shadow: 0 2px 20px rgba(0,0,0,.45); }
.b3-hero .m-credit { bottom: auto; top: 50%; right: 12px; writing-mode: vertical-rl; transform: rotate(180deg); }
.b3-giant { position: absolute; z-index: 3; left: 0; right: 0; bottom: -.15em; margin: 0; text-align: center; color: #fff;
  font-size: clamp(110px, 23vw, 370px) !important; line-height: 1; letter-spacing: -.01em; text-shadow: 0 10px 60px rgba(0,0,0,.25); }

.b3-search { border-radius: 0; }
.b3-search label:first-child { padding-left: var(--pad); }
.b3-search label { padding-top: 22px; padding-bottom: 22px; }
.b3-search input, .b3-search select { font-size: 19px; }
.b3-search button { min-height: 88px; font-size: 30px; }
.b3-note { padding: 12px var(--pad) 0; }

.b3-words { padding: clamp(64px, 9vw, 120px) var(--pad); display: flex; flex-direction: column; gap: 8px; font: 400 clamp(46px, 9vw, 140px)/1.04 var(--big); text-transform: uppercase; }
.b3-words div { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .25em; }
.b3-words img { display: inline-block; width: 2.4em; height: .82em; object-fit: cover; border-radius: 999px; background: var(--mist); }
.b3-words .dim { color: #6F8794; }
.b3-words em { font-style: normal; color: var(--orange); }

#nyaralok { background: var(--mist); }
#nyaralok .m-tile .ph { background: #fff; }
.b3-foot { background: var(--ink); color: #fff; overflow: hidden; }
.b3-foot a { color: #fff; }
.b3-foot .credits { color: #9DB3BE; }
.b3-foot .credits a { color: #fff; }
.b3-foot-giant { font: 400 clamp(90px, 19vw, 290px)/.82 var(--big); text-transform: uppercase; text-align: center; }
.b3-foot-giant span { color: var(--amber); }

@media (max-width: 760px) {
  .b3-hero { height: 88svh; min-height: 560px; }
  .b3-head nav .hide-m { display: none; }
  .b3-search label:first-child { padding-left: 18px; }
  .b3-search button { min-height: 64px; font-size: 24px; }
  .b3-words img { width: 1.9em; }
  .b3-giant { font-size: 21vw !important; }
}
@media (prefers-reduced-motion: reduce) { .b3-slides .slide.on { animation: none; } }
