/* MoveOn Stúdió – arculat: Figma design library (Quicksand + Montserrat, sárga/türkiz/tengerészkék) */
:root {
  --yellow: #FFDE29;
  --amber: #FFB703;
  --orange: #FB8500;
  --sky: #8ECAE6;
  --teal: #219EBC;
  --teal-dark: #17809a;
  --navy: #023047;
  --cream: #F3F1E5;
  --peach: #FFEDC0;
  --grey: #DFDFE1;
  --text: #272727;
  --muted: #555555;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(2, 48, 71, .06), 0 8px 24px rgba(2, 48, 71, .07);
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 16px/1.7 "Montserrat", system-ui, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 { font-family: "Quicksand", system-ui, sans-serif; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-weight: 300; font-size: clamp(2.1rem, 5vw, 3.75rem); letter-spacing: -.01em; }
h2 { font-weight: 600; font-size: clamp(1.6rem, 3vw, 2rem); }
h3 { font-weight: 600; font-size: 1.25rem; }
p { margin: 0 0 1em; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 99; background: var(--white); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 780px; }
.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--muted); }
.muted { color: var(--muted); }

/* ---------- gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--teal); color: var(--white); text-decoration: none;
  font: 600 .95rem/1 "Montserrat", sans-serif; letter-spacing: .02em;
  padding: .95em 1.6em; border-radius: 999px; border: 2px solid var(--teal);
  cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--grey); }
.btn-ghost:hover { background: var(--white); border-color: var(--sky); }
.btn-soft { background: var(--white); color: var(--teal-dark); border-color: var(--teal); }
.btn-block { width: 100%; }

/* ---------- fejléc ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); }
.site-header .brand { color: var(--white); }
.site-header .brand-text small { color: rgba(255,255,255,.75); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-logo { flex: none; width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font: 700 1.2rem "Quicksand", sans-serif; }
.brand-text small { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { white-space: nowrap; color: var(--white); text-decoration: none; font-weight: 500; font-size: .92rem; padding: .5em .8em; border-radius: 999px; }
.main-nav a:hover { background: rgba(255,255,255,.12); }
.main-nav a[aria-current="page"] { background: var(--amber); color: var(--navy); }
.nav-phone { display: inline-flex; align-items: center; gap: .4em; margin-left: 8px; border: 2px solid var(--sky); color: var(--white) !important; font-weight: 600 !important; }
.nav-phone svg { width: 1em; height: 1em; fill: currentColor; }
.nav-toggle { display: none; }
@media (max-width: 1180px) {
  .nav-toggle { display: grid; gap: 5px; place-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.12); cursor: pointer; }
  .nav-toggle span:not(.sr) { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; background: var(--navy); border-top: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8em 1em; font-size: 1rem; }
  .nav-phone { margin: 8px 0 0; justify-content: center; }
}
@media (max-width: 420px) { .brand-text small { display: none; } }

/* ---------- szekciók ---------- */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section.tight { padding-top: 32px; }
.cream { background: var(--cream); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.page-head { background: var(--cream); padding: clamp(40px, 7vw, 80px) 0 clamp(28px, 5vw, 48px); }
.page-head h1 { margin-bottom: .25em; }
.page-head .lead { max-width: 720px; margin: 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: .6em; }
.crumbs a { color: var(--muted); }

/* ---------- hero: kék alapon fotórács (a Figma Hero arányaival), rajta áttetsző kék panel ---------- */
.hero { --g: clamp(12px, 2.7vw, 40px); position: relative; overflow: hidden; background: var(--navy); padding: calc(var(--g) * .5) var(--g); }
.hero-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); max-width: 1500px; margin: 0 auto; }
.hero-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8.4% / 11.2%; }
.hero-grid img:nth-child(n+9) { display: none; }
.hero-inner { position: absolute; inset: 0; display: flex; align-items: center; }
@media (min-width: 1500px) { .hero-inner { max-width: 1500px; left: 50%; transform: translateX(-50%); padding: 0 var(--g); } }
.hero-panel { max-width: 560px; background: rgba(2, 48, 71, .94); backdrop-filter: blur(3px); color: var(--white); border-radius: 24px; padding: clamp(24px, 4vw, 48px); }
.hero-panel h1 { color: var(--white); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-top: .4em; }
.hero-panel .lead { color: rgba(255, 255, 255, .9); }
.hero-panel .eyebrow { background: var(--yellow); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-panel .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .55); }
.hero-panel .btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: var(--peach); padding: .4em 1em; border-radius: 999px; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; background: var(--navy); border-radius: 28px; }
.mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.mosaic img:nth-child(1) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 520px) { .mosaic { grid-template-columns: repeat(3, 1fr); } .mosaic img:nth-child(n+11) { display: none; } }

/* ---------- illusztrációk (keret és háttér nélkül) ---------- */
[class*="blob-"] img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- folyamat: nagy illusztráció, ami kilóg a kártyából ---------- */
.steps { list-style: none; margin: 72px auto 0; display: grid; gap: 72px; }
.step { position: relative; display: grid; gap: 8px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 0 24px 26px; box-shadow: var(--shadow); }
.step-img { width: min(70%, 240px); aspect-ratio: 1.1; margin: -56px auto 0; }
@media (min-width: 760px) {
  .step { grid-template-columns: 260px 1fr; gap: 40px; padding: 32px 40px 32px 0; }
  .step:nth-child(even) { grid-template-columns: 1fr 260px; padding: 32px 0 32px 40px; }
  .step:nth-child(even) .step-img { order: 2; }
  .step-img { width: 300px; margin: -64px 0 -64px -60px; }
  .step:nth-child(even) .step-img { margin: -64px -60px -64px 0; }
}
@media (min-width: 760px) and (max-width: 1240px) {
  .step-img { margin-left: -20px; } .step:nth-child(even) .step-img { margin-right: -20px; }
}
.step-no { display: inline-block; font: 700 .85rem "Quicksand", sans-serif; color: var(--orange); letter-spacing: .1em; margin-bottom: .3em; }
.step-text p:last-child { margin-bottom: 0; }

/* ---------- CTA sáv ---------- */
.cta-band { background: var(--peach); padding: 40px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-inner p { margin: 0; font: 600 clamp(1.15rem, 2.4vw, 1.45rem)/1.35 "Quicksand", sans-serif; color: var(--navy); max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost { background: var(--white); border-color: var(--white); }

/* ---------- kártyák ---------- */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(2,48,71,.06), 0 16px 32px rgba(2,48,71,.12); }
.card[hidden] { display: none; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--cream); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.ph { height: 100%; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--teal); background: linear-gradient(135deg, var(--cream), var(--peach)); }
.ph svg { width: 64px; height: 64px; }
.ph span { font: 600 1.05rem "Quicksand", sans-serif; color: var(--navy); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card-body h3 { margin-bottom: .4em; }
.card-body p { font-size: .93rem; color: var(--muted); }
.card-place { display: flex; align-items: center; gap: .35em; font-size: .82rem !important; font-weight: 600; color: var(--teal-dark) !important; margin-bottom: .4em !important; }
.card-place svg { width: 1em; height: 1em; fill: currentColor; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; }
.facts span, .tags span { font-size: .78rem; font-weight: 600; background: var(--cream); color: var(--navy); padding: .3em .8em; border-radius: 999px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: .7em; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .9rem; color: var(--teal-dark); }
.more svg { width: 1.1em; height: 1.1em; transition: transform .2s; }
.card:hover .more svg { transform: translateX(3px); }
.badge { position: absolute; top: 12px; left: 12px; font-size: .75rem; font-weight: 600; padding: .35em .9em; border-radius: 999px; background: var(--white); color: var(--navy); }
.badge-foglalt { background: var(--amber); }
.badge-eladva { background: var(--navy); color: var(--white); }
.badge-kiado { background: var(--sky); }
.badge-kiadva { background: var(--navy); color: var(--white); }
.sold-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.card.sold { box-shadow: none; border: 1px solid var(--grey); }
.card.sold:hover { transform: none; box-shadow: none; }
.card.sold .card-media { aspect-ratio: 16 / 9; }
.card.sold .card-media img, .card.sold .ph { filter: saturate(.55); opacity: .85; }
.card.sold .card-body { padding: 16px 18px 18px; }
.card.sold h3 { font-size: 1.05rem; }
.card.sold .card-body p:last-child { font-size: .86rem; margin: 0; }
.sold-cards { margin-top: 24px; }
@media (min-width: 1100px) { .sold-cards { grid-template-columns: repeat(4, 1fr); } }
.sold-cta { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--peach); }
.sold-cta h3 { margin: 0; font-size: 1.25rem; }
.sold-cta p { margin: 0 0 4px; font-size: .92rem; color: var(--muted); }

/* ---------- szűrők ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { font: 500 .9rem "Montserrat", sans-serif; padding: .55em 1.2em; border-radius: 999px; border: 1.5px solid var(--grey); background: var(--white); color: var(--muted); cursor: pointer; }
.tab:hover { background: var(--peach); border-color: var(--peach); color: var(--navy); }
.tab[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--navy); font-weight: 600; }
.count { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.empty { padding: 28px; background: var(--cream); border-radius: var(--radius); text-align: center; }

/* ---------- osztott blokkok ---------- */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 5fr 7fr; gap: 64px; }
  .split.rev { grid-template-columns: 7fr 5fr; }
  .split.rev .split-img { order: 2; }
}
.split-img { width: min(100%, 480px); aspect-ratio: 1.08; margin: 0 auto; }
.split-img.portrait { aspect-ratio: 1; width: min(100%, 380px); }
.split-img.portrait img { object-fit: cover; border-radius: 24px; }
.split-text .btn { margin-top: 8px; }
.role { font-weight: 600; color: var(--teal-dark); margin-top: -.3em; }
.person-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.4rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; }

/* ---------- vélemények ---------- */
.carousel { position: relative; margin-top: 28px; }
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(100%, 360px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 18px; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; display: flex; flex-direction: column; text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 0; border: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.quote:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(2,48,71,.06), 0 16px 32px rgba(2,48,71,.12); }
.quote-media { display: block; aspect-ratio: 3 / 2; background: var(--cream); }
.quote-media img { width: 100%; height: 100%; object-fit: cover; }
.quote-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 22px; }
.quote-text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: .95rem; }
.quote-text::before { content: "„"; color: var(--orange); font-weight: 700; }
.quote-who { display: grid; font-size: .88rem; }
.quote-who strong { color: var(--navy); }
.quote-who span { color: var(--muted); }
.quote .more { margin-top: auto; }
.quote-dialog { border: 0; border-radius: 24px; padding: 0; width: min(92vw, 720px); max-height: 88vh; overflow: auto; box-shadow: 0 24px 60px rgba(2,48,71,.3); }
.quote-dialog::backdrop { background: rgba(2, 20, 30, .6); }
.qd-img { width: 100%; aspect-ratio: 3 / 2; max-height: 42vh; object-fit: cover; }
.qd-body { padding: clamp(20px, 4vw, 36px); }
.qd-body blockquote { margin: 0 0 1em; font-size: 1.05rem; }
.qd-name { font: 600 1.1rem "Quicksand", sans-serif; color: var(--navy); margin: 0; }
.qd-prop { color: var(--muted); margin: 0 0 1.2em; }
.qd-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.car-btn { position: absolute; top: 45%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); box-shadow: var(--shadow); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.car-btn:hover { background: var(--sky); }
.car-btn.prev { left: -10px; } .car-btn.next { right: -10px; }
@media (max-width: 700px) { .car-btn { display: none; } }

/* ---------- galéria ---------- */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); margin-top: 28px; }
.gallery a { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--cream); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(2, 20, 30, .88); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: calc(100vw - 32px); max-height: calc(100vh - 100px); object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }
.next-ref { margin-top: 40px; }
.next-ref a { display: inline-flex; align-items: center; gap: .4em; text-decoration: none; font-weight: 500; }
.next-ref svg { width: 1.1em; height: 1.1em; }

/* ---------- ingatlan részletek ---------- */
.detail { display: grid; gap: 32px; }
@media (min-width: 900px) { .detail { grid-template-columns: 1fr 320px; align-items: start; } .detail-side { position: sticky; top: 96px; } }
.detail-hero { width: 100%; border-radius: var(--radius); margin-bottom: 24px; }
.detail-side { background: var(--cream); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
.facts-list { margin: 0 0 8px; display: grid; gap: 10px; }
.facts-list div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--grey); padding-bottom: 8px; }
.facts-list dt { color: var(--muted); font-size: .9rem; }
.facts-list dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.side-link { display: inline-flex; align-items: center; gap: .4em; font-size: .9rem; justify-content: center; }
.side-link svg { width: 1em; height: 1em; }

/* ---------- kapcsolat ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.contact-card { background: var(--cream); border-radius: 28px; padding: clamp(22px, 4vw, 40px); border-top: 6px solid var(--amber); }
.contact-form { display: grid; gap: 16px; }
.row2 { display: grid; gap: 16px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: 400 1rem "Montserrat", sans-serif; color: var(--text); background: var(--white); border: 1.5px solid var(--grey); border-radius: 12px; padding: .8em 1em; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(33, 158, 188, .18); }
.field input[aria-invalid="true"] { border-color: var(--orange); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.check input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-weight: 600; color: var(--navy); }
.form-msg.err { color: #b54708; }
.contact-info { display: grid; gap: 14px; }
.contact-info h2 { font-size: 1.4rem; }
.pc { display: grid; gap: 4px; padding: 18px 20px; border: 1.5px solid var(--grey); border-radius: var(--radius); }
.pc strong { color: var(--navy); font-family: "Quicksand", sans-serif; font-size: 1.08rem; }
.pc span { color: var(--muted); font-size: .9rem; display: flex; gap: .4em; align-items: center; }
.pc a { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; font-weight: 500; }
.pc svg { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- lábléc ---------- */
.site-footer { background: var(--cream); color: var(--text); padding-top: 56px; border-top: 1px solid var(--grey); }
.footer-grid { display: grid; gap: 32px; padding-bottom: 36px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-slogan { margin-top: 16px; color: var(--muted); max-width: 340px; font-size: .92rem; }
.footer-h { font-size: 1.05rem; margin-bottom: .8em; }
.contact-list, .footer-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .93rem; }
.contact-list li { display: flex; align-items: center; gap: .6em; }
.contact-list svg { width: 1.05em; height: 1.05em; fill: var(--teal); flex: none; }
.contact-list a, .footer-nav a { color: var(--text); text-decoration: none; }
.contact-list a:hover, .footer-nav a:hover { color: var(--teal-dark); text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); }
.social svg { width: 20px; height: 20px; fill: var(--navy); }
.social a:hover { background: var(--amber); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 18px 16px 28px; border-top: 1px solid var(--grey); font-size: .82rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

@media (max-width: 899px) {
  .hero { padding: var(--g) var(--g) 32px; }
  .hero-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid img:nth-child(n+7) { display: none; }
  .hero-inner { position: relative; padding: 0 16px; margin-top: -48px; }
  .hero-panel { max-width: none; }
}
/* kapcsolat */
.people { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.person { display: flex; gap: 22px; align-items: center; background: var(--cream); border-radius: var(--radius); padding: 24px; }
.person-img { width: 120px; height: 120px; flex: none; object-fit: cover; border-radius: 50%; background: var(--white); }
.person-body { display: grid; gap: 6px; min-width: 0; }
.person-body h2 { font-size: 1.4rem; margin: 0; }
.person-body .role { margin: 0 0 6px; }
.person-line { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.person-line svg { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }
.person-line.big { font: 600 1.3rem "Quicksand", sans-serif; color: var(--navy); }
@media (max-width: 480px) { .person { flex-direction: column; text-align: center; } .person-body { justify-items: center; } }
.contact-extra .pc { align-content: start; }
.contact-extra { display: grid; gap: 16px; margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.pc-social { display: flex; gap: 16px; flex-wrap: wrap; }
.pc-social a { display: inline-flex; align-items: center; gap: .4em; }

.quote-dialog:focus, .lightbox:focus { outline: none; }
