/*
Theme Name:   Human Properties
Theme URI:    https://humanproperties.gr
Author:       Human Properties
Description:  Μεσιτικό theme με live αναζήτηση ακινήτων (φίλτρα σκοπού, τύπου, περιοχής, τιμής), καταχωρίσεις ακινήτων, φόρμες ανάθεσης & επικοινωνίας.
Version:      1.2.1
Requires at least: 6.2
Requires PHP: 7.4
License:      GPL-2.0-or-later
Text Domain:  human-properties
*/

/* ---------- Fonts (local, Manrope variable 200–800) ---------- */
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("assets/fonts/manrope-greek.woff2") format("woff2");
	unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
	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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("assets/fonts/manrope-latin.woff2") format("woff2");
	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;
}

/* Εφεδρική γραμματοσειρά με ίδιες αναλογίες με τη Manrope → σχεδόν μηδενικό «πήδημα» κειμένου (CLS) κατά τη φόρτωση. */
@font-face {
	font-family: "Manrope Fallback";
	src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
	size-adjust: 103%;
	ascent-override: 103.5%;
	descent-override: 29.1%;
	line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
	--ink: #0e1a2b;
	--navy: #13243b;
	--navy-2: #1b3150;
	--gold: #b8925a;
	--gold-dark: #9a7744;
	--gold-text: #7f5f30; /* χρυσό για κείμενο σε ανοιχτό φόντο (αντίθεση ≥ 4.5:1) */
	--cream: #f6f2ec;
	--sand: #ece5da;
	--text: #1d2532;
	--muted: #5d6675;
	--line: #e3dccf;
	--white: #ffffff;
	--sale: #13243b;
	--rent: #2f6b5a;
	--danger: #a33a32;
	--ok: #2f6b5a;

	--font-body: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 18px 50px -20px rgba(14, 26, 43, .35);
	--shadow-sm: 0 6px 20px -10px rgba(14, 26, 43, .25);
	--container: 1200px;
	--header-h: 78px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { overflow-x: clip; } /* δίχτυ ασφαλείας: ποτέ οριζόντιο scroll (το clip δεν χαλάει τα sticky στοιχεία) */
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.kicker {
	display: inline-block;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 14px;
}
.kicker { color: var(--gold-text); }
.section--dark .kicker, .page-hero .kicker { color: var(--gold); }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--navy); color: #d7dde6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section-head p { color: #b7c1cf; }
.section-head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-head--row > div { max-width: 680px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 26px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font: 600 .95rem/1.2 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
	white-space: nowrap;
	max-width: 100%;
}
/* Σε μικρές οθόνες τα μακριά κουμπιά αναδιπλώνονται αντί να «σπρώχνουν» τη σελίδα. */
@media (max-width: 600px) {
	.btn { white-space: normal; text-align: center; line-height: 1.3; }
	.company-cta .btn, .hero__actions .btn, .story__actions .btn { width: 100%; }
}
.company-cta > *, .split > *, .about > *, .footer-grid > *, .form-grid > * { min-width: 0; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #cba675; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--navy-2); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.link-arrow:hover { color: var(--gold-dark); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #b7c1cf; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 40px; padding: 0 clamp(20px, 3vw, 48px); }
.topbar__contact { display: flex; gap: 22px; align-items: center; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; white-space: nowrap; }
.topbar a:hover { color: var(--gold); }
.topbar svg { color: var(--gold); }
@media (max-width: 1180px) { .topbar { display: none; } }

/* ---------- Header (full width) ---------- */
.site-header {
	position: relative;
	background: rgba(255,255,255,.97);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -16px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); padding: 0 clamp(20px, 3vw, 48px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img, .custom-logo { max-height: 50px; width: auto; }
.brand__mark {
	width: 42px; height: 42px; border-radius: 10px; background: var(--ink); color: var(--gold);
	display: grid; place-items: center; font-weight: 800; font-size: 1.15rem;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.brand__tag { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.site-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 22px; min-width: 0; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.primary-nav a {
	display: block; padding: 10px 13px; border-radius: 8px; white-space: nowrap;
	font-size: .93rem; font-weight: 600; text-decoration: none; color: var(--text);
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--gold-dark); background: var(--cream); }
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-actions .btn { padding: 12px 20px; font-size: .88rem; }
.header-phone { display: none; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--ink); }
.header-phone svg { color: var(--gold); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Πιο συμπαγές μενού σε laptops ώστε να μη «σπάνε» ποτέ οι γραμμές. */
@media (max-width: 1480px) {
	.header-inner { gap: 18px; }
	.site-nav { gap: 14px; }
	.primary-nav a { padding: 9px 9px; font-size: .86rem; }
	.header-actions .btn { padding: 11px 16px; font-size: .84rem; }
}
@media (max-width: 1280px) {
	.brand__tag { display: none; }
	.primary-nav a { padding: 8px 7px; font-size: .82rem; }
}

/* Mobile / tablet: hamburger */
@media (max-width: 1180px) {
	.nav-toggle { display: block; }
	.site-nav { display: none; }
	.nav-open .site-nav {
		display: flex; flex-direction: column; align-items: stretch; gap: 0;
		position: absolute; top: 100%; left: 0; right: 0;
		background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow);
		padding: 8px clamp(20px, 3vw, 48px) 24px;
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
	}
	.nav-open .primary-nav ul { flex-direction: column; }
	.nav-open .primary-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; background: none; }
	.nav-open .header-actions { flex-direction: column; align-items: stretch; padding-top: 18px; }
	.nav-open .header-phone { display: inline-flex; }
	.nav-open .header-actions .btn { padding: 14px 20px; font-size: .95rem; }
}

/* ---------- Masthead (topbar + header) ---------- */
.masthead { position: sticky; top: 0; z-index: 100; }
.admin-bar .masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar .masthead { top: 46px; } }
.topbar { max-height: 40px; overflow: hidden; transition: max-height .35s ease, background .35s; }
.masthead.is-scrolled .topbar { max-height: 0; }
.site-header { transition: background .35s, border-color .35s, box-shadow .35s, backdrop-filter .35s; }
.brand__name, .brand__tag, .primary-nav a, .nav-toggle { transition: color .35s, background .2s; }

/* Αρχική: διάφανο μενού πάνω από το cinematic hero */
.hp-cine .masthead { position: fixed; left: 0; right: 0; }
.hp-cine .masthead:not(.is-solid) .topbar { background: linear-gradient(180deg, rgba(5,10,20,.55), transparent); }
.hp-cine .masthead:not(.is-solid) .site-header:not(.nav-open) {
	background: transparent; border-color: rgba(255,255,255,.14); box-shadow: none; backdrop-filter: none;
}
.hp-cine .masthead:not(.is-solid) .site-header:not(.nav-open) .brand__name,
.hp-cine .masthead:not(.is-solid) .site-header:not(.nav-open) .primary-nav a,
.hp-cine .masthead:not(.is-solid) .site-header:not(.nav-open) .nav-toggle { color: #fff; }
.hp-cine .masthead:not(.is-solid) .site-header:not(.nav-open) .brand__tag { color: rgba(255,255,255,.65); }
.hp-cine .masthead:not(.is-solid) .site-header:not(.nav-open) .brand__mark { background: rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.hp-cine .masthead:not(.is-solid) .site-header:not(.nav-open) .primary-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.hp-cine .masthead.is-solid .site-header { background: rgba(255,255,255,.97); }

/* ---------- Hero journey (story) ---------- */
/* Βασική (στατική) έκδοση: χωρίς JS ή με «μειωμένη κίνηση». Η live έκδοση ενεργοποιείται με .story--live */
.story { position: relative; background: #05080f; color: #fff; --dusk: 0; }
.story__sticky { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.story__cam { position: absolute; inset: 0; z-index: -3; }
.story__cam img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story .glow, .story__caps, .story__rail, .story__bar, .story__cue, .story__dusk, .story__grain { display: none; }
.story__shade {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(5,8,15,.78) 0%, rgba(5,8,15,.38) 42%, rgba(5,8,15,0) 70%),
		linear-gradient(0deg, rgba(5,8,15,.65) 0%, rgba(5,8,15,0) 38%),
		linear-gradient(180deg, rgba(5,8,15,.45) 0%, rgba(5,8,15,0) 22%);
}
.story__intro { padding-top: 150px; padding-bottom: 110px; }
.story__kicker { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.story__kicker::before { content: ""; width: 44px; height: 1px; background: currentColor; }
.story h1 {
	color: #fff; font-weight: 800; letter-spacing: -.045em; line-height: 1;
	font-size: clamp(2.5rem, 5.6vw, 5.4rem); margin: 0 0 20px; max-width: 13ch;
	text-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.story .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.story .w > span { display: inline-block; animation: hpWordUp 1s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.35s + var(--i) * 80ms); }
.story .w--accent > span { color: var(--gold); }
@keyframes hpWordUp { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }
.story__text { max-width: 540px; font-size: clamp(1rem, 1.3vw, 1.12rem); color: rgba(255,255,255,.88); margin: 0 0 32px; }
.story__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hp-fade { animation: hpFadeUp 1s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 1s); }
@keyframes hpFadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(10px); }
.btn--glass:hover { background: #fff; color: var(--ink); }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }

/* Τελική σκηνή: αναζήτηση */
.story__outro { position: relative; padding: 80px 0; background: linear-gradient(180deg, #0b1424, #05080f); text-align: center; }
.story__outro h2 { color: #fff; font-weight: 800; letter-spacing: -.04em; font-size: clamp(2rem, 4.6vw, 4rem); margin: 0 0 28px; }
.story__search {
	text-align: left; max-width: 1100px; margin: 0 auto;
	background: rgba(10,16,28,.55); border: 1px solid rgba(255,255,255,.16); border-radius: 22px;
	padding: clamp(18px, 2.4vw, 28px);
	backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
	box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
}
.story__search .field > label, .story__search .field > .field__label { color: rgba(255,255,255,.72); }
.story__search .segmented { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.story__search .segmented span { color: rgba(255,255,255,.8); }
.story__search .segmented input:checked + span { background: #fff; color: var(--ink); }
.story__search .field select, .story__search .field input { border-color: transparent; }
.story__search .field select:disabled { background-color: rgba(255,255,255,.85); }
.story__search .hp-search .btn--dark { background: var(--gold); }
.story__search .hp-search .btn--dark:hover { background: var(--gold-dark); }
.story-results .search-results { margin: 50px 0 10px; }
.story-results .search-results[hidden] { display: none; }

/* ---- Live: η κάμερα κινείται με το scroll ---- */
.story--live { height: 640vh; }
.story--live .story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.story--live .story__cam { inset: auto; left: 0; top: 0; width: var(--iw, 100%); height: var(--ih, 100%); transform-origin: 0 0; will-change: transform; }
.story--live .story__cam img { object-fit: fill; }
.story--live .glow, .story--live .story__caps, .story--live .story__rail, .story--live .story__bar, .story--live .story__cue, .story--live .story__dusk, .story--live .story__grain { display: block; }
.story--live .story__intro { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding-top: 120px; padding-bottom: 120px; will-change: opacity, transform; }

/* Φωτισμός: τα φώτα δυναμώνουν όσο «πέφτει» το σούρουπο (--dusk 0→1) */
.glow { position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; mix-blend-mode: screen; }
.glow--sun { background: radial-gradient(circle, rgba(255,214,150,.75) 0%, rgba(255,180,110,.25) 35%, transparent 65%); opacity: calc(.85 - var(--dusk) * .75); animation: hpBreath 6s ease-in-out infinite; }
.glow--room { background: radial-gradient(circle, rgba(255,196,120,.65) 0%, rgba(255,170,90,.2) 40%, transparent 68%); opacity: calc(.15 + var(--dusk) * .85); }
.glow--lamp { background: radial-gradient(circle, rgba(255,236,190,1) 0%, rgba(255,200,120,.5) 35%, transparent 70%); opacity: calc(.3 + var(--dusk) * .7); animation: hpFlicker 3.2s ease-in-out infinite; }
.glow--lamp:nth-of-type(odd) { animation-delay: -1.4s; }
.glow--water { aspect-ratio: 3 / 1; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,214,160,.45), transparent 70%); opacity: calc(.2 + var(--dusk) * .6); animation: hpShimmer 4s ease-in-out infinite; }
@keyframes hpBreath { 50% { transform: translate(-50%, -50%) scale(1.08); } }
@keyframes hpFlicker { 50% { opacity: calc(.2 + var(--dusk) * .55); } }
@keyframes hpShimmer { 50% { transform: translate(-48%, -50%) scaleX(1.12); opacity: calc(.1 + var(--dusk) * .4); } }
.story__dusk {
	position: absolute; inset: 0; z-index: -2; pointer-events: none; mix-blend-mode: multiply;
	background: linear-gradient(180deg, #2a3570 0%, #5b4a86 45%, #1a2240 100%);
	opacity: calc(var(--dusk) * .42);
}
.story__grain {
	position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: hpGrain 1.2s steps(6) infinite;
}
@keyframes hpGrain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(1%,3%)} }
.story__bar { position: absolute; left: 0; right: 0; height: calc(var(--bars, 0) * 8vh); background: #05080f; z-index: 3; }
.story__bar--top { top: 0; }
.story__bar--bottom { bottom: 0; }

/* Λεζάντες */
.story__caps { position: absolute; left: max(20px, calc((100vw - var(--container)) / 2 + 20px)); bottom: clamp(90px, 13vh, 140px); z-index: 4; width: min(420px, calc(100% - 40px)); min-height: 140px; pointer-events: none; }
.story__cap {
	position: absolute; left: 0; bottom: 0; width: 100%; padding: 22px 26px; border-radius: 18px;
	background: rgba(8,14,26,.5); border: 1px solid rgba(255,255,255,.16);
	backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
	opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.story__cap.is-active { opacity: 1; transform: none; }
.story__cap-n { font-size: .72rem; font-weight: 700; letter-spacing: .22em; color: var(--gold); }
.story__cap h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; margin: 6px 0; }
.story__cap p { margin: 0; color: rgba(255,255,255,.85); }
.story__note { position: absolute; left: 2px; bottom: -28px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.78); opacity: 0; transition: opacity .5s; }
.story.is-touring .story__note { opacity: 1; }

.story__rail { position: absolute; right: clamp(16px, 3vw, 44px); top: 50%; z-index: 5; transform: translateY(-50%); opacity: 0; pointer-events: none; transition: opacity .5s; }
.story__rail { display: none; }
.story--live .story__rail { display: flex; flex-direction: column; gap: 16px; }
.story.is-touring .story__rail { opacity: 1; pointer-events: auto; }
.story__rail button { position: relative; width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: transparent; cursor: pointer; transition: background .3s, transform .3s; }
.story__rail button.is-active { background: var(--gold); border-color: var(--gold); transform: scale(1.25); }
.story__rail button span { position: absolute; right: 24px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; font-size: .78rem; font-weight: 600; color: #fff; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.story__rail button:hover span, .story__rail button.is-active span { opacity: 1; transform: translate(0, -50%); }

.story__cue { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 5; padding: 0 clamp(20px, 5vw, 80px); }
.story--live .story__cue { display: flex; justify-content: space-between; align-items: center; }
.story__cue span { display: inline-flex; align-items: center; gap: 12px; font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.story__cue i { position: relative; width: 1px; height: 40px; background: rgba(255,255,255,.25); overflow: hidden; }
.story__cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: #fff; animation: hpCue 2s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes hpCue { to { top: 100%; } }
.story__cue a { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.85); text-decoration: none; padding: 8px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; backdrop-filter: blur(8px); }
.story__cue a:hover { color: #fff; border-color: #fff; }

/* Live outro: μεταφέρεται μέσα στη sticky σκηνή από το JS */
.story--live .story__outro {
	position: absolute; inset: 0; z-index: 6; padding: 100px 0 40px; overflow-y: auto;
	display: flex; flex-direction: column; justify-content: center;
	background: rgba(5,8,15,.55); opacity: 0; visibility: hidden;
}

@media (max-width: 760px) {
	.story--live { height: 560vh; }
	.story__intro, .story--live .story__intro { justify-content: flex-end; padding-bottom: 120px; }
	.story__caps { bottom: 90px; }
	.story__cap { padding: 18px 20px; }
	.story--live .story__rail, .story__cue a { display: none; }
	.story--live .story__outro { padding-top: 90px; justify-content: flex-start; }
}

/* Λειτουργία βίντεο: πλάνα που «τρέχουν» με το scroll */
.story__clips, .story__loader { display: none; }
.story--clips .story__clips { display: block; position: absolute; inset: 0; z-index: -3; background: #05080f; }
.story__clips video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.story--clips .story__cam, .story--clips .story__dusk { display: none; }
.story--clips .story__bar { display: block; }
.story--loading .story__loader {
	display: flex; align-items: center; gap: 12px;
	position: absolute; left: 50%; bottom: 24px; z-index: 30; transform: translateX(-50%);
	padding: 10px 16px; border-radius: 999px; background: rgba(5,8,15,.6); border: 1px solid rgba(255,255,255,.18);
	backdrop-filter: blur(10px); transition: opacity .6s ease, visibility .6s; pointer-events: none;
}
.story__loader.is-done { opacity: 0; visibility: hidden; }
.story__loader-brand { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.story__loader-pct { font-size: .8rem; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; min-width: 3ch; }
.story__loader i { display: block; width: 90px; height: 2px; background: rgba(255,255,255,.2); overflow: hidden; }
.story__loader b { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s ease; }

/* ---------- Search panel ---------- */
.search-wrap { position: relative; z-index: 5; margin-top: clamp(-120px, -11vw, -90px); }
.search-panel {
	background: #fff; border-radius: 20px; box-shadow: var(--shadow);
	padding: clamp(22px, 3vw, 34px);
	border: 1px solid var(--line);
}
.search-panel__title { font-size: 1.5rem; margin-bottom: 18px; }
.search-panel__note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.hp-search { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 14px; align-items: end; }
.hp-search--archive { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; }
.hp-search__keyword { grid-column: 1 / span 3; position: relative; }
.hp-search--archive .hp-search__keyword { grid-column: 1 / span 3; }
.hp-search__submit { grid-column: 4 / -1; }
.hp-search--archive .hp-search__submit { grid-column: 4 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field > .field__label { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field select, .field input, .field textarea {
	width: 100%; font: 500 .96rem/1.3 var(--font-body); color: var(--text);
	padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
	background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field select {
	appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d6675' stroke-width='1.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
.field select:disabled { background-color: #f6f4f0; color: #9aa1ab; cursor: not-allowed; }
.field textarea { min-height: 120px; resize: vertical; }
.field select:focus, .field input:focus, .field textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,146,90,.18); }

.segmented { display: flex; background: var(--cream); border-radius: var(--radius-sm); padding: 4px; border: 1.5px solid var(--line); }
.segmented label { flex: 1; position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span {
	display: block; text-align: center; padding: 9px 6px; border-radius: 6px;
	font-size: .9rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .15s, color .15s;
}
.segmented input:checked + span { background: var(--ink); color: #fff; }
.segmented input:focus-visible + span { outline: 2px solid var(--gold); }
.segmented input:disabled + span { opacity: .4; cursor: not-allowed; }

.hp-search .btn { height: 50px; }
.hp-search .count { opacity: .8; font-weight: 500; }
.is-loading .hp-search__submit .btn { opacity: .85; }
.is-loading [data-hp-grid] { opacity: .45; transition: opacity .2s; }

.suggest {
	position: absolute; top: 100%; left: 0; right: 0; z-index: 20; margin-top: 6px;
	background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
	list-style: none; padding: 6px; max-height: 360px; overflow: auto;
}
.suggest[hidden] { display: none; }
.suggest a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 8px; text-decoration: none; }
.suggest a:hover, .suggest a.is-active { background: var(--cream); }
.suggest img, .suggest .thumb-ph { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; background: var(--sand); flex-shrink: 0; }
.suggest strong { display: block; font-size: .92rem; color: var(--ink); line-height: 1.3; }
.suggest small { color: var(--muted); font-size: .8rem; }
.suggest .suggest__empty { padding: 12px; color: var(--muted); font-size: .9rem; }

@media (max-width: 900px) {
	.hp-search, .hp-search--archive { grid-template-columns: 1fr 1fr; }
	.hp-search__purpose { grid-column: 1 / -1; }
	.hp-search__keyword, .hp-search--archive .hp-search__keyword { grid-column: 1 / -1; }
	.hp-search__submit, .hp-search--archive .hp-search__submit { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.hp-search, .hp-search--archive { grid-template-columns: 1fr; }
}

/* ---------- Results ---------- */
.search-results { margin-top: 30px; }
.search-results[hidden] { display: none; }
.search-results__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.search-results__summary { margin: 0; font-weight: 600; color: var(--ink); }
.search-results__more { text-align: center; margin-top: 36px; }
.search-empty { text-align: center; padding: 50px 20px; background: var(--cream); border-radius: var(--radius); color: var(--muted); }
.search-empty p { margin-bottom: 16px; }

/* ---------- Property cards ---------- */
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .property-grid { grid-template-columns: 1fr; } }
.property-card {
	display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
	overflow: hidden; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s;
}
.property-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.property-card__media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--sand); overflow: hidden; }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.property-card:hover .property-card__media img { transform: scale(1.04); }
.property-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: #b9ad9a; }
.badge {
	position: absolute; top: 14px; left: 14px;
	padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	background: var(--sale); color: #fff;
}
.badge--rent { background: var(--rent); }
.badge-inline { position: static; display: inline-block; }
.property-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.property-card__meta { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 6px; }
.property-card__title { font-size: 1.18rem; margin: 0 0 10px; }
.property-card__title a { text-decoration: none; }
.property-card__price { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); margin: 0 0 14px; }
.property-card__price small { font-family: var(--font-body); font-size: .8rem; color: var(--muted); font-weight: 500; }
.facts { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; color: var(--muted); }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts svg { color: var(--gold); flex-shrink: 0; }
.property-card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.code { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1040px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }
.service {
	background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line);
	display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s;
}
.service:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.service__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--cream); color: var(--gold-dark); display: grid; place-items: center; margin-bottom: 20px; }
.service h3 { font-size: 1.22rem; }
.service p { color: var(--muted); font-size: .96rem; }
.service .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(150deg, var(--navy-2), var(--ink)); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
	position: absolute; right: 22px; bottom: 22px; background: #fff; border-radius: 14px; padding: 18px 22px; box-shadow: var(--shadow);
}
.about__badge strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--ink); line-height: 1; }
.about__badge span { font-size: .8rem; color: var(--muted); }
.about__text p { color: var(--muted); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__media { aspect-ratio: 16 / 10; } }

/* ---------- Split CTA / forms ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.form-card { background: #fff; color: var(--text); border-radius: 20px; padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }
.consent a { color: var(--ink); }
.hp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 500; font-size: .95rem; }
.notice--ok { background: #e6f1ed; color: var(--ok); }
.notice--error { background: #f8e8e6; color: var(--danger); }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 10px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

.company-cta {
	display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
	background: var(--cream); border-radius: 24px; padding: clamp(30px, 5vw, 60px); border: 1px solid var(--line);
}
.company-cta p { color: var(--muted); margin: 0; max-width: 640px; }
@media (max-width: 800px) { .company-cta { grid-template-columns: 1fr; } }

.contact-info { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-info li { display: flex; gap: 14px; align-items: center; }
.contact-info .ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(184,146,90,.15); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.contact-info a { text-decoration: none; color: #fff; font-weight: 600; }
.contact-info small { display: block; color: #9eabbc; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Archive & single ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 56px 0 120px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.page-hero p { color: #b7c1cf; margin: 10px 0 0; }
.archive-search { margin-top: -80px; position: relative; z-index: 3; }
.pagination { margin-top: 40px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.js .pagination { display: none; }

.breadcrumbs { font-size: .85rem; color: var(--muted); margin: 26px 0 18px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.gallery-main { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--sand); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 10px; }
.gallery-thumbs a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.gallery-thumbs a:hover img { opacity: .8; }
.gallery-thumbs a.is-active { box-shadow: 0 0 0 3px var(--gold); }
.property-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; margin: 36px 0 80px; align-items: start; }
@media (max-width: 980px) { .property-layout { grid-template-columns: 1fr; } }
.property-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.property-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 8px 0 6px; }
.property-head .loc { color: var(--muted); margin: 0; }
.property-head .price { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--ink); }
.spec-table { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0 0 34px; }
.spec-table div { background: #fff; padding: 16px 18px; }
.spec-table dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.spec-table dd { margin: 0; font-weight: 600; color: var(--ink); }
.feature-list { columns: 2; list-style: none; padding: 0; margin: 0 0 30px; }
.feature-list li { padding: 6px 0 6px 26px; position: relative; break-inside: avoid; }
.feature-list li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.entry-content { font-size: 1.03rem; }
.entry-content > * + * { margin-top: 1em; }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.aside-card h3 { font-size: 1.3rem; }
.aside-card .form-grid { grid-template-columns: 1fr; }
.aside-phone { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--ink); margin-bottom: 18px; }

.page-content { max-width: 820px; margin: 0 auto; padding: 60px 20px 90px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aab5c4; padding: 72px 0 0; font-size: .93rem; }
.site-footer a { color: #d5dce5; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__mark { background: var(--gold); color: var(--ink); }
.site-footer .brand__tag { color: #8a97a8; }
.footer-about { margin-top: 18px; max-width: 320px; }
.site-footer h4 { font-family: var(--font-body); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #a3afbf; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-credit { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-credit__logo { display: inline-flex; align-items: center; opacity: .85; transition: opacity .2s; }
.footer-credit__logo:hover { opacity: 1; }
.footer-credit__logo img { height: 22px; width: auto; display: block; }
.footer-credit__company { flex-basis: 100%; font-size: .78rem; color: #9aa6b8; }
