/* =====================================================================
   Tiszakécske Szállás — design system
   Identitás: „A Tisza kanyarulata"
   Paletta a folyó, a termálvíz, az alföldi napfény és a homokpart világából.
   Display: Bricolage Grotesque · Body: Manrope
   ===================================================================== */

:root {
    /* Színek */
    --sand:       #f5f1e8;   /* meleg homok háttér */
    --sand-deep:  #ece7db;   /* halvány elválasztó / kártya-perem */
    --paper:      #ffffff;
    --ink:        #14312d;   /* mély folyó-zöld szöveg */
    --ink-soft:   #55655a;   /* másodlagos szöveg */
    --deep:       #0f4c48;   /* mély Tisza-türkiz */
    --deep-2:     #0a3835;
    --water:      #2e9e92;   /* termál-aqua akcent */
    --water-dark: #227e74;
    --water-tint: #e2f0ed;
    --sun:        #e7a83e;   /* alföldi napfény-arany (CTA) */
    --sun-dark:   #cf9128;
    --reed:       #7c8c7a;   /* nád-zöld, halk */

    /* Tipográfia */
    --font-display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
    --font-body:    'Manrope', system-ui, -apple-system, sans-serif;

    /* Sugarak, árnyékok */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 30px;
    --shadow-sm: 0 2px 10px rgba(15, 76, 72, .06);
    --shadow-md: 0 10px 30px rgba(15, 76, 72, .10);
    --shadow-lg: 0 24px 60px rgba(15, 76, 72, .16);

    --container: 1400px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- Reset / alap --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
    font-family: var(--font-body);
    background: var(--sand);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 450;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* clip: megakadályozza a vízszintes görgetést, de nem töri a position:sticky-t */
    overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: var(--water-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--water); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: var(--ink);
}

/* overflow:visible → a lekerekített vonalvégek ne vágódjanak le a viewBox szélénél */
.icon { width: 1.15em; height: 1.15em; flex: none; stroke-width: 1.75; overflow: visible; vertical-align: middle; }

/* --- Elrendezés --- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
/* Szélesebb konténer a szálláskereső / listaoldalhoz (3 kártya férjen el) */
.container-wide { max-width: 1400px; }
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-body);
    font-size: 13px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--water-dark);
}
.eyebrow::before {
    content: ""; width: 26px; height: 2px; background: var(--sun); border-radius: 2px;
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 16px 0 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* --- Gombok --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--font-body);
    font-weight: 700; font-size: .98rem;
    padding: 13px 24px; border-radius: 999px;
    border: 1.5px solid transparent; cursor: pointer;
    transition: transform .25s var(--ease), background .25s var(--ease),
                box-shadow .25s var(--ease), color .2s var(--ease), border-color .2s;
    white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--sun); color: #3a2c07; box-shadow: 0 8px 20px rgba(231,168,62,.35); }
.btn-primary:hover { background: var(--sun-dark); color: #3a2c07; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(231,168,62,.42); }

.btn-water { background: var(--deep); color: #fff; }
.btn-water:hover { background: var(--deep-2); color: #fff; transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--deep); border-color: color-mix(in srgb, var(--deep) 22%, transparent); }
.btn-ghost:hover { background: var(--deep); color: #fff; border-color: var(--deep); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: #fff; color: var(--deep); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: .86rem; }

/* --- Fejléc / navigáció --- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--sand) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--sand-deep); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 1.24rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--deep); display: grid; place-items: center; color: var(--sun); flex: none; }
.brand-mark .icon { width: 22px; height: 22px; }
.brand span small { display: block; font-family: var(--font-body); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--reed); font-weight: 700; margin-top: -2px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 600; font-size: .96rem; padding: 9px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a .icon { width: 17px; height: 17px; color: var(--water); }
.nav-links a:hover { background: var(--sand-deep); color: var(--deep); }
.nav-links a:hover .icon { color: var(--water-dark); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
/* Desktopon a wrapper kiesik a layoutból → a linkek/gombok a .nav közvetlen
   flex-elemei maradnak. Mobilon ebből lesz a lenyíló menü. */
.nav-menu { display: contents; }

.nav-toggle { display: none; flex: none; background: none; border: none; color: var(--ink); padding: 8px; cursor: pointer; border-radius: 10px; }
.nav-toggle:hover { background: var(--sand-deep); }
.nav-toggle .icon { width: 26px; height: 26px; }

/* --- HERO (a Tisza-tézis) --- */
.hero {
    position: relative; overflow: hidden;
    /* Bal oldal: az eredeti türkiz háttér. A jobb oldali fotót a ::before hozza. */
    background: radial-gradient(120% 130% at 15% 0%, #12564f 0%, var(--deep) 42%, var(--deep-2) 100%);
    color: #fff; padding: 72px 0 130px;
}
/* Jobb oldali strandkép overlay-jel, balra elhalványulva a türkiz háttérbe.
   Csak a jobb ~52%-ot fedi le, így a kép nincs túlnagyítva → élesebb marad. */
.hero::before {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0;
    width: 52%; z-index: 0;
    background-image:
        linear-gradient(180deg, rgba(11, 59, 56, .26) 0%, rgba(10, 56, 53, .60) 100%),
        url('../img/hero.jpg');
    background-size: cover, cover;
    background-position: center, center right;
    background-repeat: no-repeat;
    /* A kép a saját bal szélén halványul a türkiz háttérbe */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 46%);
}
/* Mobilon a szöveg teljes szélességű, ezért a képet jobbra toljuk és erősebb
   overlay-t adunk, hogy a cím mindig olvasható maradjon. */
@media (max-width: 720px) {
    .hero::before {
        width: 62%;
        background-image:
            linear-gradient(180deg, rgba(11, 59, 56, .40) 0%, rgba(10, 56, 53, .70) 100%),
            url('../img/hero.jpg');
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 62%);
                mask-image: linear-gradient(90deg, transparent 0%, #000 62%);
    }
}
.hero-sun {
    position: absolute; top: -140px; right: -80px; width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(231,168,62,.42) 0%, rgba(231,168,62,0) 65%);
    pointer-events: none;
}
/* A signature meander-vonal */
.hero-meander { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .4; }
.hero-meander path { fill: none; stroke-linecap: round; }
.meander-main { stroke: var(--water); stroke-width: 2.5; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw-meander 3.2s var(--ease) .3s forwards; }
.meander-ghost { stroke: rgba(255,255,255,.10); stroke-width: 14; }
@keyframes draw-meander { to { stroke-dashoffset: 0; } }

.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero .eyebrow { color: var(--sun); }
.hero .eyebrow::before { background: var(--sun); }
.hero h1 {
    color: #fff; font-size: clamp(2.6rem, 6.4vw, 4.6rem);
    line-height: 1.02; margin: 20px 0 20px; letter-spacing: -.03em;
}
.hero h1 em { font-style: normal; color: var(--sun); position: relative; white-space: nowrap; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: rgba(255,255,255,.82); max-width: 560px; }

/* Kereső a hőben */
.hero-search { margin-top: 38px; background: var(--paper); border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: 8px; align-items: stretch; }
.hs-field { display: flex; flex-direction: column; padding: 8px 14px; border-radius: var(--r-md); transition: background .2s; }
.hs-field + .hs-field { border-left: 1px solid var(--sand-deep); }
.hs-field label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--reed); margin-bottom: 3px; }
.hs-field input, .hs-field select { border: none; background: none; font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--ink); padding: 2px 0; width: 100%; outline: none; }
.hs-field select { cursor: pointer; }
.hero-search .btn { border-radius: var(--r-md); }

.hero-stats { display: flex; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--sun); }
.hero-stat span { font-size: .86rem; color: rgba(255,255,255,.7); }

/* Szállásadói CTA sáv (sötét, arany glóriával) */
.cta-band { background: radial-gradient(120% 130% at 100% 0%, #12564f 0%, var(--deep) 100%); color: #fff; border-radius: var(--r-xl); padding: 56px 48px; position: relative; overflow: hidden; }
@media (max-width: 720px) { .cta-band { padding: 40px 26px; } }

/* Hullámos szekció-elválasztó */
.wave-divider { display: block; width: 100%; height: 60px; margin-top: -60px; position: relative; z-index: 3; color: var(--sand); }
.wave-divider svg { width: 100%; height: 100%; display: block; }

/* --- Típus-csempék --- */
.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.type-tile {
    display: flex; flex-direction: column; gap: 12px; padding: 22px 20px;
    background: var(--paper); border: 1px solid var(--sand-deep); border-radius: var(--r-md);
    color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.type-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; color: var(--ink); }
.type-tile .icon { width: 30px; height: 30px; color: var(--water); stroke-width: 1.6; }
.type-tile b { font-family: var(--font-display); font-size: 1.08rem; }
.type-tile small { color: var(--reed); font-weight: 600; font-size: .82rem; }

/* --- Szálláshely-kártyák --- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }

.property-card {
    background: var(--paper); border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--sand-deep);
    display: flex; flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pc-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--water-tint); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.property-card:hover .pc-media img { transform: scale(1.06); }
.pc-type { position: absolute; top: 14px; left: 14px; background: color-mix(in srgb, var(--deep) 90%, transparent); color: #fff; font-size: .76rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; letter-spacing: .02em; backdrop-filter: blur(4px); }
.pc-fav { position: absolute; top: 12px; right: 12px; }
.pc-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { font-size: 1.28rem; margin-bottom: 6px; }
.pc-loc { display: inline-flex; align-items: center; gap: 5px; color: var(--reed); font-size: .87rem; font-weight: 600; margin-bottom: 12px; }
.pc-loc .icon { width: 15px; height: 15px; }
.pc-desc { color: var(--ink-soft); font-size: .94rem; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-meta { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 14px; margin-top: auto; border-top: 1px solid var(--sand-deep); }
.pc-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.pc-meta .icon { width: 16px; height: 16px; color: var(--water); }
.pc-foot { display: flex; gap: 10px; align-items: center; margin-top: 16px; }
.pc-price { margin-right: auto; }
.pc-price b { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.pc-price small { display: block; color: var(--reed); font-size: .76rem; font-weight: 600; margin-top: -2px; }

/* --- Lista / szűrő oldal --- */
.list-layout { display: grid; grid-template-columns: 288px 1fr; gap: 34px; align-items: start; }
/* A listaoldal rácsa: 3 kártya férjen el egy sorban a szélesebb konténerben */
.list-layout .card-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.filter-panel { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--sand-deep); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.filter-panel h3 { font-size: 1.14rem; margin-bottom: 4px; }
.filter-group { padding: 20px 0; border-bottom: 1px solid var(--sand-deep); }
.filter-group:last-of-type { border-bottom: none; }
.filter-group > label { display: block; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 12px; }

.field { width: 100%; padding: 11px 14px; border: 1.5px solid var(--sand-deep); border-radius: var(--r-sm); font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--ink); background: var(--sand); transition: border-color .2s, box-shadow .2s, background .2s; }
.field:focus { outline: none; border-color: var(--water); background: #fff; box-shadow: 0 0 0 3px var(--water-tint); }
/* Egyedi legördülő-nyíl (a natív nyíl helyett), rendes jobb térközzel */
select.field {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355655a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
}

/* --- Egyedi legördülő (custom select) --- */
.cs { position: relative; display: block; width: 100%; }
.cs > select { display: none; }
.cs-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; text-align: left; font-family: var(--font-body); font-weight: 500; }
.cs-trigger .cs-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-arrow { width: 16px; height: 16px; flex: none; transition: transform .2s var(--ease);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355655a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat; }
.cs.open .cs-trigger { border-color: var(--water); box-shadow: 0 0 0 3px var(--water-tint); }
.cs.open .cs-arrow { transform: rotate(180deg); }
.cs-panel { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 100%;
    background: #fff; border: 1px solid var(--sand-deep); border-radius: 14px; box-shadow: var(--shadow-lg);
    padding: 6px; z-index: 70; max-height: 300px; overflow-y: auto; display: none; }
.cs.open .cs-panel { display: block; animation: cs-in .14s var(--ease); }
@keyframes cs-in { from { opacity: 0; transform: translateY(-5px); } }
.cs-option { padding: 10px 12px; border-radius: 9px; cursor: pointer; font-size: .92rem; font-weight: 600; color: var(--ink); white-space: nowrap; transition: background .12s, color .12s; }
.cs-option:hover { background: var(--water-tint); color: var(--water-dark); }
.cs-option.selected { background: var(--deep); color: #fff; }

/* Felszereltség / választható chipek */
.chip-check { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border: 1.5px solid var(--sand-deep); border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: all .2s var(--ease); background: var(--sand); }
.chip-check label:hover { border-color: var(--water); color: var(--water-dark); }
.chip-check label .icon { width: 15px; height: 15px; }
.chip-check input:checked + label { background: var(--deep); border-color: var(--deep); color: #fff; }

.list-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; flex-wrap: wrap; gap: 14px; }
.list-header .count { color: var(--ink-soft); font-weight: 600; }
.list-header .count b { color: var(--ink); font-family: var(--font-display); }

/* Élő (AJAX) szűrés töltő-állapota */
#list-results { transition: opacity .15s ease; }
#list-results.is-loading { opacity: .5; pointer-events: none; }

/* --- Profiloldal --- */
.profile-hero { position: relative; }
/* Fix, reszponzív magasság (nem aspect-ratio) → a cover minden böngészőben kitölt */
.ph-cover { height: clamp(300px, 44vw, 540px); overflow: hidden; border-radius: 0 0 var(--r-xl) var(--r-xl); background: var(--deep); position: relative; }
.ph-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ph-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,56,53,.72) 0%, rgba(10,56,53,0) 45%); }
.ph-head { position: relative; z-index: 2; margin-top: -108px; }
.ph-card { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 28px 32px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.ph-logo { width: 92px; height: 92px; border-radius: var(--r-md); object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-sm); background: var(--water-tint); flex: none; }
.ph-titles { flex: 1; min-width: 240px; }
.ph-titles .pc-type { position: static; display: inline-block; background: var(--water-tint); color: var(--water-dark); margin-bottom: 8px; }
.ph-titles h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 8px; }
.ph-titles .pc-loc { font-size: .95rem; }
/* Fő adatok a fejléc-blokkban (chipek) */
.ph-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ph-fact { display: inline-flex; align-items: center; gap: 6px; background: var(--water-tint); color: var(--water-dark); font-weight: 600; font-size: .86rem; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.ph-fact .icon { width: 16px; height: 16px; }
.ph-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--ink-soft); font-size: .88rem; }
.ph-note .icon { color: var(--water); width: 16px; height: 16px; flex: none; }
.ph-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.profile-body { display: grid; grid-template-columns: 1fr 360px; gap: 40px; margin-top: 48px; align-items: start; }
.prose p { margin-bottom: 16px; color: var(--ink-soft); }
.prose h2 { font-size: 1.6rem; margin: 8px 0 18px; }

.block { margin-bottom: 44px; }
.block > h2 { font-size: 1.5rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.block > h2 .icon { color: var(--water); width: 24px; height: 24px; }
/* Fehér kártyás blokk (egységes megjelenés a szöveges szekcióknak) */
.block.boxed { background: var(--paper); border: 1px solid var(--sand-deep); border-radius: var(--r-lg); padding: 28px 30px; box-shadow: var(--shadow-sm); }
.block.boxed > h2 { font-size: 1.35rem; margin-bottom: 16px; }
/* A térkép a boxon belül ne dupla keretes legyen */
.block.boxed .map-wrap { border: none; box-shadow: none; }
.block.boxed .map-wrap .map-bar { padding-inline: 0; }
@media (max-width: 720px) { .block.boxed { padding: 22px 20px; } }

/* Fő adatok (line-icon rács) */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.fact { background: var(--paper); border: 1px solid var(--sand-deep); border-radius: var(--r-md); padding: 18px; }
.fact .icon { color: var(--water); width: 24px; height: 24px; margin-bottom: 10px; }
.fact b { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.fact small { color: var(--reed); font-weight: 600; font-size: .82rem; }

/* Felszereltség lista */
.amenity-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 20px; }
.amenity-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; list-style: none; }
.amenity-list .icon { color: var(--water); width: 20px; height: 20px; flex: none; }

/* Galéria */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 150px; gap: 10px; border-radius: var(--r-lg); overflow: hidden; }
.gallery a { overflow: hidden; position: relative; background: var(--water-tint); }
.gallery a:first-child { grid-row: span 2; grid-column: span 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.gallery-more { position: absolute; inset: 0; background: rgba(10,56,53,.6); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.2rem; }

/* Szoba-kártyák */
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.room-card { background: var(--paper); border: 1px solid var(--sand-deep); border-radius: var(--r-md); overflow: hidden; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; text-align: left; padding: 0; font: inherit; color: inherit; }
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.room-card .rc-media { aspect-ratio: 4/3; background: var(--water-tint); overflow: hidden; }
.room-card .rc-media img { width: 100%; height: 100%; object-fit: cover; }
.rc-body { padding: 16px 18px 18px; }
.rc-body h3 { font-size: 1.14rem; margin-bottom: 4px; }
.rc-body .pc-meta { border: none; padding: 12px 0 0; margin: 0; }
.rc-price { font-family: var(--font-display); font-weight: 700; color: var(--water-dark); margin-top: 8px; }

/* Oldalsáv (kapcsolat / foglalás doboz) */
/* A kártyák NEM külön sticky-k (átfednének); az egész oldalsáv ragad együtt.
   top: a ragadós menüsáv (74px) alá, hogy ne fedjék egymást. */
.profile-body > aside { position: sticky; top: 92px; align-self: start; }
.side-card { background: var(--paper); border: 1px solid var(--sand-deep); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.side-card-head { background: var(--deep); color: #fff; padding: 22px 24px; }
.side-card-head .price { font-family: var(--font-display); font-size: 1.7rem; color: var(--sun); }
.side-card-head .price small { color: rgba(255,255,255,.75); font-size: .85rem; font-family: var(--font-body); font-weight: 600; }
.side-card-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.contact-row { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.contact-row .icon { color: var(--water); }

/* Távolságok blokk (profil oldalsáv) */
.distance-card { margin-top: 18px; }
.distance-card .side-card-head { background: var(--water); }
.distance-list { list-style: none; display: flex; flex-direction: column; margin: 0; padding: 0; }
.distance-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--sand-deep); }
.distance-list li:last-child { border-bottom: none; }
.dist-ico { width: 24px; flex: none; color: var(--water); display: inline-flex; align-items: center; justify-content: flex-start; }
.dist-ico .icon { width: 22px; height: 22px; }
.dist-label { flex: 1; min-width: 0; font-weight: 600; font-size: .93rem; color: var(--ink); line-height: 1.2; }
.dist-label small { display: block; color: var(--reed); font-weight: 500; font-size: .78rem; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dist-val { font-family: var(--font-display); font-weight: 700; color: var(--water-dark); white-space: nowrap; }
.dist-note { margin-top: 12px; font-size: .78rem; color: var(--reed); }

/* Térkép */
.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--sand-deep); box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 20px; background: var(--paper); flex-wrap: wrap; }
.map-bar .addr { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.map-bar .addr .icon { color: var(--water); }

/* --- Foglalási kérés űrlap --- */
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.booking-form > *, .form-stack > * { min-width: 0; }
.form-row { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-row.full { grid-column: 1 / -1; }
.form-row label { font-weight: 700; font-size: .84rem; color: var(--ink); }
.form-row .hint { font-size: .78rem; color: var(--reed); font-weight: 500; }
textarea.field { resize: vertical; min-height: 90px; }
.form-note { grid-column: 1/-1; font-size: .82rem; color: var(--ink-soft); background: var(--water-tint); border-radius: var(--r-sm); padding: 12px 14px; display: flex; gap: 8px; }
.form-note .icon { color: var(--water-dark); flex: none; }

/* --- Kapcsolat oldal --- */
/* minmax(0,…) → a rács-oszlopok tudnak a tartalom alá zsugorodni (nincs mobil-túlnyúlás) */
.contact-layout { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 30px; align-items: start; }
.card { min-width: 0; background: var(--paper); border: 1px solid var(--sand-deep); border-radius: var(--r-lg); padding: 32px 34px; box-shadow: var(--shadow-sm); }
.contact-row { overflow-wrap: anywhere; }
.card > h2 { font-size: 1.35rem; margin-bottom: 8px; }
.card > .sub { color: var(--ink-soft); margin-bottom: 22px; }
.info-card { background: var(--deep); color: rgba(255,255,255,.85); border: none; }
.info-card h2 { color: #fff; }
.info-card .contact-row { color: #fff; margin-bottom: 16px; }
.info-card .contact-row .icon { color: var(--sun); }
.info-card a.contact-row:hover { color: var(--sun); }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* Függőleges űrlap-elrendezés egyenletes térközzel (auth és egyszerű űrlapok) */
.form-stack { display: grid; gap: 16px; }
@media (max-width: 860px) {
    .contact-layout { grid-template-columns: minmax(0, 1fr); }
    .form-2col { grid-template-columns: 1fr; }
}

/* --- Modal (szoba részletek / lightbox) --- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,56,53,.78); backdrop-filter: blur(4px); }
.modal-dialog { position: relative; z-index: 2; background: var(--paper); border-radius: var(--r-lg); max-width: 720px; width: 100%; max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; background: rgba(255,255,255,.9); border: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); box-shadow: var(--shadow-sm); }
.modal-close:hover { background: #fff; }
.modal-media { aspect-ratio: 16/9; background: var(--water-tint); overflow: hidden; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 26px 30px 30px; }
.modal-thumbs { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.modal-thumbs img { width: 84px; height: 60px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .7; transition: opacity .2s; }
.modal-thumbs img:hover, .modal-thumbs img.active { opacity: 1; }

/* Lightbox (galéria nagyítás) */
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(8,40,38,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 86vh; border-radius: var(--r-md); }
.lightbox .modal-close { top: 22px; right: 22px; }

/* Lapozó gombok + számláló */
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.92); border: none; width: 54px; height: 54px; border-radius: 50%; display: none; place-items: center; cursor: pointer; color: var(--ink); box-shadow: var(--shadow-md); z-index: 3; transition: background .2s, transform .15s; }
.lightbox.has-nav .lb-nav { display: grid; }
.lb-nav:hover { background: #fff; }
.lb-nav:active { transform: translateY(-50%) scale(.93); }
.lb-nav .icon { width: 24px; height: 24px; }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 600; font-size: .9rem; background: rgba(8, 40, 38, .55); padding: 6px 15px; border-radius: 999px; }
@media (max-width: 640px) {
    .lb-nav { width: 44px; height: 44px; }
    .lb-prev { left: 10px; }
    .lb-next { right: 10px; }
    .lightbox img { max-width: 96vw; }
}

/* --- Flash üzenetek --- */
.flash-stack { position: fixed; top: 88px; right: 22px; z-index: 120; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.flash { padding: 14px 18px; border-radius: var(--r-md); box-shadow: var(--shadow-md); font-weight: 600; font-size: .93rem; display: flex; gap: 10px; align-items: flex-start; animation: flash-in .4s var(--ease); background: #fff; border-left: 4px solid var(--water); }
.flash.success { border-left-color: var(--water); }
.flash.error { border-left-color: #d9534f; }
.flash .icon { flex: none; margin-top: 2px; }
.flash.success .icon { color: var(--water); }
.flash.error .icon { color: #d9534f; }
@keyframes flash-in { from { opacity: 0; transform: translateX(24px); } }

/* --- Lábléc --- */
.site-footer { background: var(--deep); color: rgba(255,255,255,.72); padding: 66px 0 30px; margin-top: 40px; position: relative; overflow: hidden; }
.footer-meander { position: absolute; top: 0; left: 0; width: 100%; opacity: .12; pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; position: relative; z-index: 2; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand span small { color: var(--sun); }
.site-footer a { color: rgba(255,255,255,.72); display: block; padding: 4px 0; font-size: .94rem; }
.site-footer a:hover { color: var(--sun); }
.footer-about p { max-width: 340px; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .86rem; }

/* --- Üres állapotok --- */
.empty-state { text-align: center; padding: 70px 24px; background: var(--paper); border: 1px dashed var(--sand-deep); border-radius: var(--r-lg); }
.empty-state .icon { width: 48px; height: 48px; color: var(--reed); margin-bottom: 16px; }
.empty-state h3 { font-size: 1.4rem; margin-bottom: 8px; }
.empty-state p { color: var(--ink-soft); max-width: 420px; margin: 0 auto 20px; }

/* --- Görgetéskor felúszó elemek (progresszív fejlesztés) ---
   JS nélkül a tartalom alapból látszik; a .js kapcsoló csak akkor rejti el,
   ha a JavaScript fut és tudja animálni. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.in { opacity: 1; transform: none; }

/* --- Reszponzív --- */
@media (max-width: 980px) {
    .list-layout { grid-template-columns: 1fr; }
    .filter-panel { position: static; }
    .profile-body { grid-template-columns: 1fr; }
    .side-card { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-search { grid-template-columns: 1fr 1fr; }
    .hero-search .btn { grid-column: 1 / -1; }
    .hs-field + .hs-field { border-left: none; }
}
@media (max-width: 720px) {
    .section { padding: 60px 0; }
    /* A felső sávban csak a logó + hamburger fér el — a menü lenyílva jelenik meg,
       így a hosszú „Szállásadó regisztráció" gomb nem szorítja ki az ikont. */
    .nav-menu { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav.open .nav-menu {
        display: flex; flex-direction: column; align-items: stretch; gap: 12px;
        position: absolute; top: 74px; left: 0; right: 0;
        background: var(--sand); border-bottom: 1px solid var(--sand-deep);
        padding: 14px 22px; box-shadow: var(--shadow-md);
    }
    .nav.open .nav-links { flex-direction: column; align-items: stretch; gap: 4px; }
    .nav.open .nav-links a { padding: 12px 14px; }
    .nav.open .nav-actions { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 12px; border-top: 1px solid var(--sand-deep); }
    .nav.open .nav-actions .btn { width: 100%; justify-content: center; }
    .booking-form { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .gallery a:first-child { grid-column: span 2; }
    .ph-card { padding: 22px; }
    .ph-actions { width: 100%; }
    .ph-actions .btn { flex: 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-search { grid-template-columns: 1fr; }
    .hs-field + .hs-field { border-top: 1px solid var(--sand-deep); }
}

/* --- Kisegítő --- */
:focus-visible { outline: 3px solid var(--water); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--deep); color: #fff; padding: 10px 18px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; color: #fff; }

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal, .js .reveal.in { opacity: 1; transform: none; }
    .meander-main { stroke-dashoffset: 0; }
}
