/* ============================================================
   Paros Estate — site styles
   ============================================================ */

:root {
  --navy: #2f6fa8;          /* the dark blue: buttons, prices, footer */
  --navy-2: #265d8f;        /* hover of dark-blue buttons */
  --ink: #1b1f27;
  --muted: #667085;
  --line: #dfe5ec;
  --stone: #f2f6fa;
  --white: #fff;
  --blue: #589ad3;        /* logo blue: fills, large elements */
  --blue-dark: #2f6fa8;   /* readable on white: small text, links, hover */
  --ok: #2f7d4f;
  --err: #b3261e;
  --serif: 'Noto Serif Display', Georgia, 'Times New Roman', serif;
  --serif-text: 'Noto Serif', Georgia, 'Times New Roman', serif;   /* text cut: small headings, names, prices (the Display cut's hairlines vanish at small sizes) */
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --radius: 4px;
  --shadow: 0 18px 50px -18px rgba(18, 58, 96, .35);
  --header-h: 112px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.ic { flex-shrink: 0; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ── Type ─────────────────────────────────────────────────── */
.eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-dark); margin: 0 0 .9em; }
.page-head .eyebrow { color: #fff; opacity: .9; }
.cta-band:not(.cta-band-soft) .eyebrow { color: #b9d8f2; }
.h-display { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.12; letter-spacing: -.01em; }
.h-section { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.2; }
.h-sub { font-family: var(--serif-text); font-size: 1.32rem; line-height: 1.3; margin-bottom: .8em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.prose { max-width: 70ch; }
.prose-lg { font-size: 1.06rem; }
.prose h2, .prose h3 { font-family: var(--serif-text); margin: 1.4em 0 .5em; }
.prose h2 { font-size: 1.45rem; }
.prose h3 { font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose a { color: var(--blue-dark); }
.prose img { border-radius: var(--radius); margin: 1.2em 0; }
.prose h4 { font-family: var(--serif-text); font-size: 1.05rem; margin: 1.2em 0 .4em; }
.prose blockquote { margin: 1.2em 0; padding: .2em 0 .2em 1.1em; border-left: 3px solid var(--blue); color: var(--muted); }
/* Formatting from the admin editor (Quill) */
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.prose .ql-indent-1 { padding-left: 2em; }
.prose .ql-indent-2 { padding-left: 4em; }
.prose .ql-indent-3 { padding-left: 6em; }
.prose .ql-size-small { font-size: .85em; }
.prose .ql-size-large { font-size: 1.3em; }
.prose .ql-size-huge { font-size: 1.8em; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.6em; border: 1px solid transparent; border-radius: var(--radius);
       font-size: .86rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-accent { background: var(--blue); color: #fff; }
.btn-accent:hover { background: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--stone); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--navy); }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic, a:hover > .link-arrow .ic { transform: translateX(4px); }

.badge { display: inline-block; padding: .3em .7em; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.94); color: var(--navy); border-radius: 2px; }
.badge-sold, .badge-rented { background: var(--err); color: #fff; }
.badge-reserved { background: var(--blue); color: #fff; }
.eyebrow .badge { margin-left: .6em; vertical-align: 1px; }

/* ── Header ───────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }   /* same width as .container */
.site-header.is-scrolled, .site-header.is-open { box-shadow: 0 4px 20px rgba(18,58,96,.10); }
.site-header, .logo img { transition: background .25s, color .25s, box-shadow .25s, filter .25s; }

/* Home: no solid bar over the hero until the page is scrolled — a white fade keeps the normal logo and menu readable */
.is-home .site-header { position: fixed; left: 0; right: 0; }
.is-home .site-header:not(.is-scrolled):not(.is-open) { background: transparent; border-bottom-color: transparent; }
/* White fade behind the header; runs a little below it so the logo tagline stays on white */
.is-home .site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--header-h) + 44px); z-index: -1; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: linear-gradient(rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 45%, rgba(255,255,255,.72) 68%, rgba(255,255,255,0) 100%); }
.is-home .site-header:not(.is-scrolled):not(.is-open)::before { opacity: 1; }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 94px; width: auto; }
.logo-footer img { height: 84px; filter: brightness(0) invert(1); opacity: .95; }   /* white version on the dark footer */

/* The menu starts right after the logo; the CTA and language switch stay on the right */
.nav { display: flex; align-items: center; gap: 18px; flex: 1; margin-left: 16px; }
.nav-extra { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; }
.nav-link { display: flex; align-items: center; gap: 4px; padding: 10px 9px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; opacity: .92; white-space: nowrap; }
.nav-link:hover, .nav-link.is-active { opacity: 1; color: var(--navy); }
.sub { position: absolute; top: 100%; left: 0; min-width: 230px; margin: 0; padding: 10px 0; list-style: none; background: #fff; color: var(--ink); box-shadow: var(--shadow); border-top: 2px solid var(--blue);
       opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 20px; font-size: .92rem; text-decoration: none; }
.sub a:hover { background: var(--stone); color: var(--blue-dark); }
.nav-extra { display: flex; align-items: center; gap: 12px; }
.nav-cta { padding: .75em 1em; font-size: .72rem; letter-spacing: .04em; }
.lang-switch { display: flex; gap: 2px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.lang-switch a { padding: 6px 7px; text-decoration: none; opacity: .6; }
.lang-switch a.is-current, .lang-switch a:hover { opacity: 1; color: var(--blue-dark); }
.lang-switch a + a { border-left: 1px solid var(--line); }
.nav-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; color: #fff; background: var(--navy); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img-empty { background: linear-gradient(135deg, var(--navy), #2c5580); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,32,54,.62) 0%, rgba(9,32,54,.15) 55%, transparent), linear-gradient(0deg, rgba(9,32,54,.45), transparent 45%); }
.hero-inner { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: 170px; }
.hero-box { max-width: 520px; padding: 32px 34px; background: rgba(24, 70, 112, .70); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-left: 2px solid var(--blue); }
.hero-box .eyebrow { color: #b9d8f2; }
.hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.15; margin-bottom: .35em; }
.hero-title-solo { max-width: 16ch; }
.hero-loc { display: flex; align-items: center; gap: 6px; opacity: .9; margin-bottom: 1.3em; }
.hero-specs { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 1.5em; padding: 1.1em 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.hero-specs li { display: flex; flex-direction: column; }
.hero-specs span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.hero-specs strong { font-size: 1.05rem; font-weight: 600; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hero-price { font-family: var(--serif-text); font-size: 1.55rem; }
.hero-price small, .card-price small, .prop-price small { font-family: var(--sans); font-size: .55em; opacity: .75; }

/* ── Search panel (overlaps hero / page head by half) ─────── */
.search-wrap { position: relative; z-index: 5; margin-top: -120px; }
.search-panel { background: #fff; box-shadow: var(--shadow); padding: 26px 30px 28px; border-radius: var(--radius); }
.search-code { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.search-code-label { display: flex; align-items: center; gap: 8px; font-family: var(--serif-text); font-size: 1.16rem; color: var(--navy); }
.search-code-row { display: flex; flex: 1; min-width: 260px; max-width: 460px; }
.search-code-row input { flex: 1; min-width: 0; padding: .8em 1em; border: 1px solid var(--line); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); background: var(--stone); }
.search-code-row .btn { border-radius: 0 var(--radius) var(--radius) 0; }
.search-sep { display: flex; align-items: center; gap: 14px; margin: 20px 0 16px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.search-sep::before, .search-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.search-fields { display: grid; grid-template-columns: auto 1.1fr 1.3fr 1fr .7fr auto; gap: 14px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field select, .toolbar-sort select { width: 100%; padding: .8em 2.2em .8em .9em; border: 1px solid var(--line); border-radius: var(--radius); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23667085' stroke-width='2'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E") no-repeat right .8em center; appearance: none; cursor: pointer; }
.search-submit { height: 48px; }

.seg { display: inline-flex; margin: 0; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--stone); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: .72em 1.15em; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-radius: 3px; }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--blue); }
.seg-light { margin-bottom: 4px; }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section-tight { padding: 24px 0 88px; }
.section-top-0 { padding-top: 36px; }
.section-alt { background: var(--stone); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); margin-top: .6em; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; flex-wrap: wrap; }

/* Home: tighter gaps between search, welcome, services and categories.
   Welcome → services and services → categories are the same 28px. */
.section.welcome { padding: 60px 0 28px; }
.section-tight.services-strip { padding: 0; }
.section.categories { padding: 28px 0 80px; }

/* Welcome + agent card: the text runs full width up to a narrow gap before the card */
.welcome-grid { display: grid; grid-template-columns: 1.75fr 1fr; gap: 40px; align-items: start; }
.welcome-text .h-display { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }   /* fits one line, EL and EN */
.welcome-text .lead { margin: 1em 0 1.2em; max-width: none; }
.welcome-text .prose { max-width: none; }
.welcome-text .prose > :last-child { margin-bottom: 0; }
.agent-card { background: var(--stone); border-radius: var(--radius); overflow: hidden; }
.agent-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.agent-photo { width: 92px; height: 92px; flex-shrink: 0; border-radius: 50%; object-fit: cover; object-position: center 22%; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(18,58,96,.18); }
.agent-body { padding: 26px 26px 24px; }
.agent-name { font-family: var(--serif-text); font-size: 1.26rem; }
.agent-role { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-dark); margin: .5em 0 0; }
.agent-note { margin: 0 0 1em; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.agent-contact { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.agent-contact li { display: flex; align-items: center; gap: 10px; }
.agent-contact a { text-decoration: none; }
.agent-contact a:hover { color: var(--blue-dark); }

/* Three companies */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.service-box { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.service-box:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-box:hover .service-media img { transform: scale(1.04); }
.service-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-family: var(--serif-text); font-size: 1.3rem; margin-bottom: .45em; }
.service-body p { color: var(--muted); flex: 1; }

/* Categories mosaic: two large tiles, then a row of four */
.cat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.cat-tile { position: relative; grid-column: span 3; height: 250px; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; background: var(--navy-2); }
.cat-tile:nth-child(1), .cat-tile:nth-child(2) { grid-column: span 6; height: 320px; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,32,54,.7), rgba(9,32,54,.05) 60%); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-label { position: absolute; left: 24px; bottom: 20px; right: 24px; z-index: 1; display: flex; flex-direction: column; }
.cat-label strong { font-family: var(--serif-text); font-size: 1.45rem; font-weight: 400; }
.cat-label small { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

/* ── Property cards ───────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 26px; }
.card { background: #fff; }
.section-alt .card { background: #fff; }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); border-radius: var(--radius); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card-link:hover .card-media img { transform: scale(1.04); }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.card-body { padding: 18px 4px 6px; display: flex; flex-direction: column; flex: 1; }
.section-alt .card-body { padding: 18px 18px 18px; }
.card-meta { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 6px; }
.card-code { color: var(--muted); }
.card-title { font-family: var(--serif-text); font-size: 1.18rem; line-height: 1.3; margin-bottom: 6px; }
.card-link:hover .card-title { color: var(--navy-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card-loc { display: flex; align-items: center; gap: 5px; font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.card-specs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 14px; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: .88rem; }
.card-specs li { display: flex; align-items: center; gap: 6px; color: var(--ink); }
.card-specs .ic { color: var(--blue-dark); }
.card-price { margin-top: auto; font-family: var(--serif-text); font-size: 1.24rem; color: var(--navy); }

/* ── CTA band ─────────────────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--blue) 0%, #6ea9dc 55%, #8fc0e8 100%); color: #fff; padding: 76px 0; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band .h-section { text-shadow: 0 1px 12px rgba(20,60,100,.18); }
.cta-band p { opacity: .95; margin: .6em 0 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band-soft { background: var(--stone); color: var(--ink); padding: 70px 0; }
.cta-band-soft .h-section { text-shadow: none; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Page head (inner pages) ──────────────────────────────── */
.page-head { position: relative; background: linear-gradient(115deg, #3f86c6 0%, var(--blue) 50%, #7fb5e2 100%); color: #fff; padding: 72px 0 128px; overflow: hidden; }
/* Layered waves along the bottom edge, the last one in the page colour */
.page-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 110px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' fill-opacity='.16' d='M0 38c120-26 240-32 360-14s240 52 360 46 240-52 360-60 240 14 360 34v66H0z'/%3E%3Cpath fill='%23fff' fill-opacity='.28' d='M0 66c160-30 300-24 440-4s260 40 400 28 260-44 380-42 160 16 220 26v36H0z'/%3E%3Cpath fill='%23fff' d='M0 88c140-22 280-20 420-6s280 26 420 18 260-30 380-28 160 10 220 16v22H0z'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%; }
.page-head .lead { color: rgba(255,255,255,.95); margin-top: .8em; }
.page-head .h-display { text-shadow: 0 1px 12px rgba(20,60,100,.18); }
.page-head-img { background: #123a5e; padding: 150px 0 150px; }
.page-head-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-head .container { position: relative; z-index: 1; }
/* Listings: a short band so the search and the results start higher on screen */
.page-head-search { padding: 22px 0 112px; }
.page-head-search .eyebrow { margin-bottom: .4em; }
.page-head-search .h-display { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.page-head-search::after { height: 80px; }
.search-wrap-list { margin-top: -84px; }

/* ── Listing toolbar / pager ──────────────────────────────── */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.toolbar-count { margin: 0; font-weight: 600; }
.toolbar-sort { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.toolbar-sort select { width: auto; padding-top: .55em; padding-bottom: .55em; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty .ic { margin: 0 auto 14px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 56px; flex-wrap: wrap; }
.pager a, .pager-gap { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.pager a:hover { border-color: var(--navy); }
.pager a.is-current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager-gap { border: 0; }

/* ── Notices & forms ──────────────────────────────────────── */
.notice { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; border-left: 3px solid; }
.notice-ok { background: #eaf5ee; border-color: var(--ok); color: #1d5334; }
.notice-err { background: #fbeceb; border-color: var(--err); color: #7d1a14; }
.form { display: grid; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 5px; }
.form label > span { font-size: .78rem; font-weight: 700; letter-spacing: .05em; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; padding: .8em .95em; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23667085' stroke-width='2'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E") no-repeat right .8em center; }
.form input:focus, .form select:focus, .form textarea:focus, .search-code-row input:focus { outline: none; border-color: var(--navy); }
.form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card { background: var(--stone); padding: 34px; border-radius: var(--radius); }

/* ── Property page ────────────────────────────────────────── */
.prop-top { padding-top: 28px; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.prop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.prop-head > div:first-child { flex: 1 1 420px; min-width: 0; }
.prop-title { font-family: var(--serif-text); font-size: clamp(1.35rem, 2.1vw, 1.8rem); line-height: 1.25; }
.prop-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); margin: .7em 0 0; }
.prop-code { margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--line); font-weight: 600; }
.prop-price { font-family: var(--serif-text); font-size: 1.9rem; color: var(--navy); }

.gallery { display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; border-radius: var(--radius); overflow: hidden; }
.gallery-item { position: relative; overflow: hidden; background: var(--stone); }
.gallery-item:first-child { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-n1 { grid-template-columns: 1fr; grid-template-rows: 520px; }
.gallery-n1 .gallery-item:first-child { grid-row: auto; }
.gallery-n2 { grid-template-columns: 2fr 1fr; }
.gallery-n3 { grid-template-columns: 2fr 1fr; }
.gallery-n4 { grid-template-columns: 2fr 1fr 1fr; }
.gallery-n4 .gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-n2 .gallery-item:nth-child(2) { grid-row: span 2; }
.gallery-more { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; padding: 7px 12px; background: rgba(255,255,255,.95); color: var(--navy); font-size: .8rem; font-weight: 700; border-radius: var(--radius); }

.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; padding-top: 44px; padding-bottom: 88px; }
.keyspecs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin: 0 0 44px; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.keyspecs li { display: flex; flex-direction: column; gap: 4px; padding: 20px 20px 18px; background: #fff; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.keyspecs .ic { color: var(--blue-dark); margin-bottom: 6px; }
.keyspecs strong { font-family: var(--serif-text); font-size: 1.24rem; font-weight: 400; }
.keyspecs span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prop-section { padding: 36px 0; border-top: 1px solid var(--line); }
.prop-main .prose { max-width: none; }   /* description as wide as the key specs box */
.prop-section:first-of-type { border-top: 0; padding-top: 0; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0; }
.details div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 600; text-align: right; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.features li { display: flex; align-items: center; gap: 8px; }
.features .ic { color: var(--blue-dark); }
.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.files a { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, background .2s; }
.files a:hover { border-color: var(--blue); background: var(--stone); }
.files .ic { grid-row: span 2; color: var(--blue-dark); }
.files span { font-weight: 600; line-height: 1.3; }
.files small { font-size: .76rem; color: var(--muted); }
.video { aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video iframe { width: 100%; height: 100%; border: 0; }
.map { aspect-ratio: 16 / 9; background: var(--stone); border-radius: var(--radius); overflow: hidden; margin-bottom: 10px; }
.map iframe { width: 100%; height: 100%; border: 0; }

.prop-aside { position: relative; }
.enquiry { position: sticky; top: calc(var(--header-h) + 20px); padding: 30px; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); background: #fff; }
.enquiry .h-sub { margin-bottom: .3em; }
.enquiry-call { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; }
.enquiry-call a { display: flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--navy); }

/* ── Content pages ────────────────────────────────────────── */
.text-wide { max-width: 1120px; }
.text-wide .prose { max-width: none; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; }
.side-nav ul { margin: 0 0 24px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.side-nav a.is-current, .side-nav a:hover { color: var(--blue-dark); }
.side-nav { align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }

.subnav { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; }
.subnav a { padding: 16px 14px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { border-color: var(--blue); }
.region-section { padding-top: 64px; }
.region-section .h-section { margin-bottom: .7em; }
.region-img { width: 100%; aspect-ratio: 16 / 9; max-height: 520px; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.4em; }
.page-gallery { padding-top: 64px; }
.masonry { columns: 3 220px; column-gap: 10px; }
.masonry a { display: block; margin-bottom: 10px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; }
.masonry img { width: 100%; transition: transform .5s; }
.masonry a:hover img { transform: scale(1.03); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { color: var(--blue-dark); margin-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.empty-page { padding: 120px 0; }

/* ── Footer (contact details only) ────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); padding: 56px 0 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-contact { display: flex; gap: 48px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.footer-contact li { display: flex; flex-direction: column; gap: 3px; font-size: .95rem; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: #d6e8f7; }
.footer-label { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #d6e8f7; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: flex; padding: 9px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.footer-social a:hover { border-color: #d6e8f7; color: #d6e8f7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding: 18px var(--gutter); font-size: .78rem; opacity: .85; }

/* ── Cookie consent (Klaro): light theme in the site colours ── */
.klaro {
  --font-family: var(--sans); --title-font-family: var(--serif-text); --font-size: 14px; --border-radius: 4px;
  --dark1: #fff; --dark2: var(--stone); --dark3: var(--line);              /* backgrounds */
  --light1: var(--ink); --light2: var(--muted); --light3: var(--muted);    /* text */
  --white1: #fff; --white2: var(--stone); --white3: var(--line);
  --green1: var(--navy); --green2: var(--navy-2); --green3: var(--blue);   /* accept buttons, switches */
  --blue1: var(--blue); --blue2: var(--blue-dark);
  --button-text-color: #fff; --box-shadow-color: rgba(18, 58, 96, .25);
  --notice-max-width: 440px; --notice-bottom: 20px; --notice-right: 20px;
}
.klaro .cookie-notice .cn-body p, .klaro .cookie-modal p { color: var(--ink); }
/* Klaro focuses the box when it opens: no focus frame around the box itself (buttons keep theirs) */
.klaro .cookie-notice:focus, .klaro .cookie-notice:focus-visible,
.klaro .cookie-modal .cm-modal:focus, .klaro .cookie-modal .cm-modal:focus-visible { outline: none; }
.klaro .cm-btn.cm-btn-danger { background: var(--stone) !important; color: var(--ink) !important; border: 1px solid var(--line); }
.klaro a, .klaro .cm-link { color: var(--blue-dark) !important; }
.klaro .cookie-modal .cm-list-description { color: var(--muted) !important; }
.klaro .cookie-modal .cm-list-title { display: inline-block; }
.klaro .cookie-modal .cm-list-title::first-letter { text-transform: uppercase; }   /* purposes are lowercase for the banner sentence */
/* "Load the video?" box inside the video frame */
.video .cm-as-context-notice { height: 100%; }
.video .context-notice { height: 100%; margin: 0 !important; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  background: var(--stone) !important; color: var(--ink) !important; border: 0 !important; border-radius: 0 !important; }
.video .context-notice p { color: var(--ink) !important; }
.video:has(.context-notice) { background: var(--stone); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a, .footer-legal button { color: inherit; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer-legal a:hover, .footer-legal button:hover { color: #d6e8f7; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }

/* ── Lightbox ─────────────────────────────────────────────── */
.lb { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(6,12,22,.94); }
.lb[hidden] { display: none; }
.lb img { max-width: 92vw; max-height: 84vh; object-fit: contain; transition: opacity .2s; }
.lb.is-loading img { opacity: 0; transition: none; }
.lb-spinner { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; opacity: 0; pointer-events: none; }
.lb.is-loading .lb-spinner { opacity: 1; animation: lb-spin .8s linear infinite; }
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lb-cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #fff; font-size: .9rem; }
.lb button { position: absolute; background: none; border: 0; color: #fff; padding: 14px; cursor: pointer; opacity: .8; }
.lb button:hover { opacity: 1; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 22px; left: 24px; color: #fff; font-size: .85rem; opacity: .7; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1200px) {
  .search-fields { grid-template-columns: 1fr 1fr 1fr; }
  .search-fields .seg { grid-column: span 3; justify-self: start; }
}

/* Hamburger menu: from 1240px down, where the (longer, Greek) menu no longer fits on one line */
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px;
         background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .28s; }
  .nav.is-open { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list .nav-link { padding: 16px 0; font-size: .95rem; justify-content: space-between; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; color: var(--ink); padding: 0 0 10px 14px; display: none; }
  .has-sub.is-open > .sub { display: block; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.is-open:hover > .sub { display: block; }
  .sub a { padding: 9px 0; opacity: .85; }
  .sub a:hover { background: none; color: var(--blue-dark); }
  .nav { margin-left: 0; }
  .nav-extra { flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 24px; margin-left: 0; }
  body.nav-locked { overflow: hidden; }
}

@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .logo img { height: 58px; }

  .welcome-grid, .contact-grid, .with-aside, .prop-layout { grid-template-columns: 1fr; gap: 48px; }
  .side-nav, .enquiry { position: static; }
  .grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-tile, .cat-tile:nth-child(1), .cat-tile:nth-child(2) { grid-column: span 6; height: 240px; }
}

@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .section { padding: 64px 0; }
  .page-head { padding: 52px 0 96px; }
  .page-head::after { height: 60px; }
  .page-head-search { padding: 18px 0 100px; }
  .hero { min-height: 0; }
  .hero-inner { padding-bottom: 150px; }
  .hero-box { padding: 24px 22px; }
  .search-panel { padding: 20px 18px; }
  .search-code { flex-direction: column; align-items: stretch; gap: 10px; }
  .keyspecs { grid-template-columns: 1fr 1fr; }
  .search-code-row { min-width: 0; max-width: none; width: 100%; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields .seg { grid-column: span 2; }
  .search-fields .search-submit { grid-column: span 2; }
  .grid, .service-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-tile, .cat-tile:nth-child(n) { grid-column: auto; height: 200px; }
  .form-row, .details { grid-template-columns: 1fr; }
  .gallery, .gallery-n2, .gallery-n3, .gallery-n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
  .gallery-item:first-child { grid-column: span 2; grid-row: auto; }
  .gallery-item:nth-child(n+4) { display: none; }
  .gallery-n2 .gallery-item:nth-child(2) { grid-column: span 2; grid-row: auto; }
  .gallery-n1 { grid-template-columns: 1fr; grid-template-rows: 280px; }
  .gallery-n1 .gallery-item:first-child { grid-column: auto; }
  .form-card, .enquiry { padding: 22px; }
  .footer-contact { gap: 24px; flex-direction: column; }
}
