/* ==========================================================================
   Vision Cyprus — clean rebuild stylesheet (style2.css)
   Companion to index2.html. Semantic, dependency-free.
   ========================================================================== */

:root {
  --teal:        #0b475b;
  --teal-dark:   #062d3a;
  --teal-deep:   #08394a;
  --accent:      #1b7e9c;
  --text:        #666;
  --heading:     #333;
  --muted:       #9aa3a7;
  --line:        #e6e6e6;
  --white:       #fff;
  --maxw:        1180px;
  --radius:      6px;
  --shadow:      0 8px 30px rgba(0,0,0,.10);
  --ff:          "Roboto", Helvetica, Arial, sans-serif;
}

/* ----- Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--heading); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: 12px;
  font-weight: 500; color: var(--accent); margin: 0 0 14px;
}

/* Pill buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 11px 26px; border-radius: 50px; border: 1px solid transparent;
  font-size: 13px; font-weight: 500; letter-spacing: .03em; line-height: 1;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--teal   { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); color: #fff; }
.btn--dark   { background: #111; color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost  { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; color: var(--teal); }
.btn--outline{ background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: #fff; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  background: var(--teal-dark); color: rgba(255,255,255,.85);
  font-size: 13px;
}
.topbar .container { display: flex; align-items: center; gap: 18px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar__phone { display: inline-flex; align-items: center; gap: 8px; }
.topbar__phone img { width: 16px; height: 16px; }
.topbar__spacer { margin-left: auto; }
.topbar__icons { display: inline-flex; gap: 14px; font-size: 15px; }
.topbar__sep { opacity: .4; }

/* Language dropdown */
.lang { position: relative; }
.lang__btn { background: none; border: none; color: rgba(255,255,255,.85); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; padding: 0; }
.lang__menu {
  position: absolute; right: 0; top: 130%; background: #fff; color: var(--text);
  box-shadow: var(--shadow); border-radius: var(--radius); padding: 6px 0; min-width: 150px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 60;
}
.lang:hover .lang__menu, .lang--open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu a { display: block; padding: 7px 18px; font-size: 13px; color: var(--heading); }
.lang__menu a:hover { background: #f4f6f7; color: var(--teal); }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6,45,58,.92); backdrop-filter: blur(8px);
}
.header .container { display: flex; align-items: center; min-height: 78px; gap: 28px; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 26px; }
.nav__list a {
  color: #fff; font-size: 14px; font-weight: 400; letter-spacing: .02em;
  position: relative; padding: 6px 0;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width .25s;
}
.nav__list a:hover { color: #fff; }
.nav__list a:hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 26px; line-height: 1; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; color: #fff; text-align: center;
  min-height: 100svh; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(rgba(6,45,58,.40), rgba(6,45,58,.55)),
              url("/wp-content/uploads/admin/2023/03/vision-hero.webp") center/cover no-repeat;
}
.hero__inner { width: 100%; max-width: 900px; margin: 0 auto; padding: 24px 24px 150px; }
.hero h1 {
  color: #fff; font-weight: 100; font-size: clamp(40px, 6vw, 82px);
  line-height: 1.05; margin-bottom: 24px;
}
.hero__sub { font-size: 19px; font-weight: 300; min-height: 1.6em; opacity: .95; }

/* ==========================================================================
   Finder — floating search bar that slides away on scroll, leaving a corner icon
   ========================================================================== */
.finder {
  position: fixed; z-index: 60;
  left: 50%; bottom: 40px;
  width: min(980px, calc(100vw - 40px));
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-radius: 16px; box-shadow: 0 20px 60px rgba(6,45,58,.28);
  transform: translateX(-50%) translateY(0);
  opacity: 1; visibility: visible;
  transition: transform .5s cubic-bezier(.45,0,.15,1), opacity .4s ease, visibility .5s;
  overflow: hidden;
}
/* slid down out of the viewport */
.finder.is-hidden {
  transform: translateX(-50%) translateY(calc(100% + 60px));
  opacity: 0; visibility: hidden;
}
.finder__panel { opacity: 1; }

/* round icon that pops out of the bottom-right corner */
.finder-fab {
  position: fixed; z-index: 60;
  right: 28px; bottom: 28px; width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal); color: #fff; border: none; border-radius: 50%;
  box-shadow: 0 12px 30px rgba(6,45,58,.35); cursor: pointer;
  transform: scale(0); opacity: 0; visibility: hidden;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s ease, visibility .4s, background .2s;
}
.finder-fab.is-visible { transform: scale(1); opacity: 1; visibility: visible; }
.finder-fab:hover { background: var(--teal-dark); }

/* Tabs */
.finder__tabs { display: flex; gap: 6px; padding: 14px 16px 0; }
.finder__tab {
  background: transparent; border: none; padding: 9px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 500; letter-spacing: .03em; color: var(--muted);
  transition: background .2s, color .2s;
}
.finder__tab:hover { color: var(--teal); }
.finder__tab.is-active { background: var(--teal); color: #fff; }

/* Forms — single-row grid so both tabs keep the exact same height (no jump) */
.finder__form { display: none; gap: 12px; padding: 16px; align-items: end; }
.finder__form.is-active { display: grid; }
.finder__form[data-form="property"] { grid-template-columns: 1.2fr 1fr 1.5fr .85fr 1fr auto; }
.finder__form[data-form="project"]  { grid-template-columns: 1.5fr 1fr 1fr auto; }
.field { display: flex; flex-direction: column; gap: 7px; text-align: left; min-width: 0; }
.field > label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.field input, .field select {
  width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 13px;
  font-size: 14px; font-family: inherit; color: var(--heading); background: #f7f9fa;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder { color: #9aa7ab; }
.field input:hover, .field select:hover { border-color: #c4d0d4; }
.field input:focus, .field select:focus {
  outline: none; background: #fff; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11,71,91,.12);
}
.field__range { display: flex; align-items: center; gap: 8px; }
.field__range input { text-align: center; }
.field__dash { color: var(--muted); }
.finder__submit { height: 46px; padding: 0 22px; gap: 8px; justify-content: center; border-radius: 10px; white-space: nowrap; }

@media (max-width: 720px) {
  .finder__form.is-active { grid-template-columns: 1fr 1fr; }
  .finder__form[data-form="property"], .finder__form[data-form="project"] { grid-template-columns: 1fr 1fr; }
  .field--price, .finder__submit { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .finder { bottom: 18px; }
  .finder-fab { right: 18px; bottom: 18px; }
  .finder__form.is-active,
  .finder__form[data-form="property"], .finder__form[data-form="project"] { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Section scaffold
   ========================================================================== */
.section { padding: 96px 0; }
.section--tight { padding: 70px 0; }
.section__head { margin-bottom: 38px; }
.section__head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 300; }

/* ==========================================================================
   Featured properties carousel
   ========================================================================== */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 12px; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__nav {
  position: absolute; top: 38%; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  color: var(--teal); font-size: 18px; display: flex; align-items: center; justify-content: center;
  z-index: 5;
}
.carousel__nav--prev { left: -14px; }
.carousel__nav--next { right: -14px; }

.pcard {
  scroll-snap-align: start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__badge {
  position: absolute; left: 14px; top: 14px; background: var(--teal); color: #fff;
  font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 3px;
}
.pcard__fav {
  position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 14px;
}
.pcard__body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.pcard__type { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pcard__title { font-size: 16px; font-weight: 500; color: var(--heading); margin: 6px 0 10px; line-height: 1.35; }
.pcard__title a:hover { color: var(--accent); }
.pcard__price { font-size: 20px; font-weight: 700; color: var(--teal); margin-bottom: 14px; }
.pcard__meta {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; gap: 20px; font-size: 13px; color: var(--text);
}
.pcard__meta span { display: inline-flex; align-items: center; gap: 7px; }
.pcard__meta img { width: 18px; height: 18px; opacity: .7; }

/* ==========================================================================
   Projects banner
   ========================================================================== */
.projects {
  position: relative; min-height: 460px; color: #fff; display: flex; align-items: center;
  overflow: hidden; user-select: none; touch-action: pan-y; outline: none;
}
.projects.is-dragging { cursor: grabbing; }
/* stacked, crossfading background layers */
.projects__bgs { position: absolute; inset: 0; z-index: 0; }
.projects__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06); transition: opacity .8s ease, transform 6s ease;
}
.projects__bg.is-active { opacity: 1; transform: scale(1); }
.projects__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(6,45,58,.88), rgba(6,45,58,.45) 60%, rgba(6,45,58,.30));
}
.projects .container { position: relative; z-index: 2; }
.projects__slide {
  max-width: 560px;
  transition: opacity .3s ease, transform .3s ease;
}
.projects__slide.is-fading { opacity: 0; }
.projects__status {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255,255,255,.15); padding: 5px 14px; border-radius: 3px; display: inline-block;
}
.projects__title { color: #fff; font-weight: 300; font-size: clamp(34px, 5vw, 56px); margin: 18px 0 6px; }
.projects__loc { opacity: .85; margin-bottom: 4px; }
.projects__tag { font-size: 18px; font-weight: 300; opacity: .95; margin-bottom: 26px; }
.projects__dots { display: flex; gap: 10px; margin-top: 30px; }
.projects__dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.4);
  padding: 0; cursor: pointer; transition: background .2s, transform .2s;
}
.projects__dots button:hover { background: rgba(255,255,255,.7); }
.projects__dots button.is-active { background: #fff; transform: scale(1.25); }
/* navigation arrows */
.projects__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.12); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background .2s, border-color .2s;
}
.projects__nav:hover { background: rgba(255,255,255,.3); border-color: rgba(255,255,255,.8); }
.projects__nav--prev { left: 24px; }
.projects__nav--next { right: 24px; }
@media (max-width: 640px) {
  .projects__nav { width: 38px; height: 38px; }
  .projects__nav--prev { left: 10px; }
  .projects__nav--next { right: 10px; }
}

/* ==========================================================================
   Welcome
   ========================================================================== */
.welcome .container { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.welcome h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 300; }
.welcome__butterfly { width: 64px; margin-top: 18px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0) 30%, rgba(6,45,58,.85)); z-index: -1; }
.tile:hover img { transform: scale(1.06); }
.tile__label { padding: 20px; font-size: 22px; font-weight: 400; }
.tile__label small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; font-weight: 300; }

/* ==========================================================================
   Explore (teal)
   ========================================================================== */
.explore { background: var(--teal); color: rgba(255,255,255,.85); }
.explore .container { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.explore h2 { color: #fff; font-weight: 300; font-size: clamp(30px, 4vw, 46px); }
.explore .eyebrow { color: rgba(255,255,255,.7); }
/* Horizontal hover-accordion: 3 equal panels, the hovered one expands */
.explore__cards { display: flex; gap: 14px; height: 440px; }
.ecard {
  position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate; cursor: pointer;
  transition: flex-grow .55s cubic-bezier(.6,.05,.2,1);
}
.ecard:hover { flex-grow: 2.6; }
.ecard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.ecard:hover img { transform: scale(1.05); }
.ecard::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(0,0,0,0) 30%, rgba(0,0,0,.8));
  opacity: .5; transition: opacity .4s;
}
.ecard:hover::after { opacity: 1; }
/* title + text are hidden until the panel expands */
.ecard__body {
  padding: 22px; opacity: 0; transform: translateY(14px);
  transition: opacity .4s ease .12s, transform .4s ease .12s;
}
.ecard:hover .ecard__body { opacity: 1; transform: translateY(0); }
.ecard__body h3 { color: #fff; font-size: 21px; margin-bottom: 8px; white-space: nowrap; }
.ecard__body p { font-size: 13px; line-height: 1.55; margin: 0; opacity: .92; }

/* ==========================================================================
   Our Vision
   ========================================================================== */
.vision { position: relative; overflow: hidden; }
.vision__bg {
  position: absolute; right: -5%; bottom: -10%; width: 480px; opacity: .5; z-index: 0; pointer-events: none;
}
.vision .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.vision h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 300; }
.vision__media { position: relative; min-height: 420px; }
.vision__media img { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow); }
.vision__media img:first-child { width: 78%; top: 0; right: 0; }
.vision__media img:last-child { width: 46%; bottom: 0; left: 0; border: 6px solid #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--teal-dark); color: rgba(255,255,255,.75); padding: 70px 0 0; font-size: 14px; }
.footer a { color: rgba(255,255,255,.75); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__logo { height: 54px; width: auto; margin-bottom: 18px; }
.footer__social { display: flex; gap: 14px; font-size: 18px; margin-top: 14px; }
.footer h4 { color: #fff; font-size: 15px; letter-spacing: .03em; margin-bottom: 18px; font-weight: 500; }
.footer__links li { margin-bottom: 10px; }
.footer__news input {
  width: 100%; padding: 11px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 4px;
  background: rgba(255,255,255,.06); color: #fff; margin-bottom: 10px; font-family: inherit; font-size: 14px;
}
.footer__news input::placeholder { color: rgba(255,255,255,.5); }
.footer__bottom {
  margin-top: 56px; border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.55);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .welcome .container, .explore .container, .vision .container { grid-template-columns: 1fr; }
  .vision__media { min-height: 320px; }
  .carousel__track { grid-auto-columns: calc((100% - 24px) / 2); }
  /* no hover on touch: stack the panels and always show their text */
  .explore__cards { flex-direction: column; height: auto; }
  .ecard { flex: none; height: 240px; }
  .ecard__body { opacity: 1; transform: none; }
  .ecard::after { opacity: 1; }
}
@media (max-width: 820px) {
  .nav { position: fixed; inset: 78px 0 auto 0; background: var(--teal-dark); margin: 0;
         transform: translateY(-120%); transition: transform .3s; }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; gap: 0; padding: 10px 24px 20px; }
  .nav__list a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-toggle { display: block; margin-left: auto; }
}
@media (max-width: 600px) {
  .carousel__track { grid-auto-columns: calc(100% - 8px); }
  .tiles { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .topbar__icons { display: none; }
}

/* ===== Shared page banner (title + breadcrumb) — used by all interior pages =====
   Kept here so every page renders an identical hero band. Detail pages override
   their own light-background breadcrumb via the more specific .pd-crumb/.pj-crumb. */
.page-banner{
  position:relative;
  padding:120px 0 56px;
  background:#0d2b2b url("/wp-content/uploads/admin/2023/03/vision-hero.webp") center/cover no-repeat;
  color:#fff;
  isolation:isolate;
}
.page-banner::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(7,28,28,.55) 0%,rgba(7,28,28,.78) 100%);
}
.page-banner__title{
  color:#fff;
  font-size:clamp(28px,4vw,42px);
  font-weight:800;letter-spacing:-.02em;margin:0 0 10px;
}
.page-banner .breadcrumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px;color:rgba(255,255,255,.8)}
.page-banner .breadcrumb a{color:rgba(255,255,255,.8)}
.page-banner .breadcrumb a:hover{color:#fff}
.page-banner .breadcrumb span{opacity:.6}
