/* ══════════════════════════════════════════════════════
   HUBOX — Premium Real Estate | Cyprus
   Design: Dark Charcoal + Champagne Gold + Ivory
   ══════════════════════════════════════════════════════ */

/* ─── VARIABLES ──────────────────────────────────────── */
:root {
  --dark:       #0c0c0c;
  --dark2:      #141414;
  --dark3:      #1e1e1e;
  --dark4:      #2a2a2a;
  --gold:       #c9a462;
  --gold-light: #dfc07a;
  --gold-dim:   rgba(201, 164, 98, 0.15);
  --gold-dim2:  rgba(201, 164, 98, 0.08);
  --ivory:      #f8f4ee;
  --ivory2:     #f0ebe2;
  --white:      #ffffff;
  --gray:       #6b6b6b;
  --gray-light: #9a9a9a;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Inter', system-ui, sans-serif;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:      80px;
  --max:        1280px;
  --radius:     3px;
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea, select {
  font-family: var(--sans);
  font-size: 0.9rem;
  outline: none;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

/* ─── UTILITIES ──────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.section { padding: 100px 0; }
.dark-section { background: var(--dark); }

/* Section headers */
.sec-head { text-align: center; margin-bottom: 60px; }
.sec-head-gap { margin-top: 80px; }
.sec-head.light h2, .sec-head.light p { color: var(--ivory); }
.sec-head.light .sec-label { color: var(--gold); }
.sec-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.sec-head h2 { margin-bottom: 16px; }
.sec-head p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 580px;
  margin: 0 auto;
  font-weight: 300;
}
.sec-head.light p { color: var(--gray-light); }

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), transform 0.2s;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: border-color 0.25s, background 0.25s;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  border: 1.5px solid var(--dark);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.25s, color 0.25s;
  margin-top: 32px;
}
.btn-outline-dark:hover { background: var(--dark); color: var(--ivory); }
/* Remove top margin when btn-outline-dark is inside a flex row (e.g. process-cta) */
div[style*="display:flex"] > .btn-outline-dark,
div[style*="display: flex"] > .btn-outline-dark { margin-top: 0; }

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.15s; }

/* ─── NAVBAR ─────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s;
}
#navbar.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 40px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon { width: 38px; height: 38px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white);
  line-height: 1;
}
.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0 auto;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-cta {
  padding: 8px 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius);
  transition: background 0.25s, color 0.25s;
}
.nav-links .nav-cta:hover { background: var(--gold); color: var(--dark); }
.nav-links .nav-cta::after { display: none; }

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: border-color 0.2s, color 0.2s;
}
.lang-current:hover { border-color: var(--gold); color: var(--gold); }
.lang-flag { font-size: 0.9rem; }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--dark2);
  border: 1px solid var(--dark4);
  border-radius: 8px;
  overflow: hidden;
  min-width: 160px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  z-index: 100;
}
.lang-dropdown.open { display: block; }
.lang-opt {
  display: block;
  width: 100%;
  padding: 11px 18px;
  text-align: left;
  color: var(--gray-light);
  font-size: 0.82rem;
  transition: background 0.15s, color 0.15s;
}
.lang-opt:hover, .lang-opt.active {
  background: var(--gold-dim);
  color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--dark2);
  border-top: 1px solid var(--dark4);
  padding: 2rem;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { margin-bottom: 2rem; }
.mobile-menu li { border-bottom: 1px solid var(--dark4); }
.mob-link {
  display: block;
  padding: 14px 0;
  color: var(--ivory);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.mob-link:hover { color: var(--gold); }
.mob-langs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mob-lang {
  padding: 6px 14px;
  border: 1px solid var(--dark4);
  border-radius: 20px;
  color: var(--gray-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: border-color 0.2s, color 0.2s;
}
.mob-lang.active, .mob-lang:hover { border-color: var(--gold); color: var(--gold); }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

/* Slider */
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s var(--ease), transform 8s linear;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Overlay: gradient from bottom-left dark */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.25) 100%
  );
  z-index: 1;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 1060px;
  padding: 0 2rem;
}
.hero-overline {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  margin-bottom: 42px;
  letter-spacing: 0.02em;
}
.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Reveal animation for hero text */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.9s var(--ease) forwards;
}
.hero-overline.reveal { animation-delay: 0.3s; }
.hero-title.reveal    { animation-delay: 0.55s; }
.hero-sub.reveal      { animation-delay: 0.75s; }
.hero-btns.reveal     { animation-delay: 0.95s; }
@keyframes heroReveal {
  to { opacity: 1; transform: none; }
}

/* Slide dots */
.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.dot.active { background: var(--gold); transform: scale(1.4); }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 38px;
  right: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.hero-scroll-hint:hover { color: var(--gold); }

/* ─── STATS STRIP ────────────────────────────────────── */
.stats-strip {
  background: var(--dark2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  gap: 8px;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-lbl {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.stat-sep {
  width: 1px;
  height: 50px;
  background: var(--dark4);
  flex-shrink: 0;
}

/* ─── PROJECTS ───────────────────────────────────────── */
.projects-section { background: var(--ivory); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.proj-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.proj-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.13);
}

.proj-img {
  position: relative;
  height: 260px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}
.proj-card:hover .proj-img { transform: scale(1.04); }

.proj-status {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

.proj-body { padding: 28px; }
.proj-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 10px;
}
.proj-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.proj-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 22px;
}
.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.2s;
}
.proj-link:hover { gap: 14px; }

/* 2-card ongoing grid — centred pair */
.projects-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* 5th card spans full row center on desktop */
.proj-card:last-child:nth-child(3n+2) {
  grid-column: 2 / 3;
}

/* ─── WHY HUBOX ──────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.pillar {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--dark4);
  border-radius: 4px;
  transition: border-color 0.3s, background 0.3s;
}
.pillar:hover {
  border-color: var(--gold-dim);
  background: var(--gold-dim2);
}
.pillar-icon {
  width: 56px; height: 56px;
  margin: 0 auto 24px;
}
.pillar-icon svg { width: 100%; height: 100%; }
.pillar h3 {
  font-size: 1.2rem;
  color: var(--ivory);
  margin-bottom: 14px;
  font-weight: 500;
}
.pillar p {
  font-size: 0.87rem;
  color: var(--gray-light);
  line-height: 1.7;
}

/* ─── SUSTAINABILITY ─────────────────────────────────── */
.sustain-section { background: var(--ivory2); }
.sustain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.sustain-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: 4px;
  text-align: center;
  border: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.sustain-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(201,164,98,0.1);
  transform: translateY(-4px);
}
.sus-icon {
  width: 52px; height: 52px;
  margin: 0 auto 22px;
}
.sus-icon svg { width: 100%; height: 100%; }
.sustain-card h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 12px;
}
.sustain-card p {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ─── WHY CYPRUS ─────────────────────────────────────── */
.cyprus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cyp-card {
  padding: 36px 28px;
  border: 1px solid var(--dark4);
  border-radius: 4px;
  transition: border-color 0.3s, background 0.3s;
  text-align: center;
}
.cyp-card:hover {
  border-color: rgba(201,164,98,0.3);
  background: var(--gold-dim2);
}
.cyp-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.cyp-icon img {
  width: 64px;
  height: 64px;
  display: block;
}
.cyp-card h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ivory);
  margin-bottom: 12px;
  font-weight: 500;
}
.cyp-card p {
  font-size: 0.86rem;
  color: var(--gray-light);
  line-height: 1.7;
}

/* ─── INVEST CTA ─────────────────────────────────────── */
.invest-cta {
  background: var(--gold);
  padding: 80px 2rem;
  text-align: center;
}
.invest-inner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--dark);
  font-weight: 400;
  margin-bottom: 36px;
  line-height: 1.25;
}
.invest-cta .btn-gold {
  background: var(--dark);
  color: var(--gold);
}
.invest-cta .btn-gold:hover { background: var(--dark2); color: var(--white); }

/* ─── ABOUT ──────────────────────────────────────────── */
.about-section { background: var(--ivory); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-vision { border-right: 1px solid var(--ivory2); padding-right: 80px; }
.about-vision blockquote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.55;
  font-style: italic;
  margin-top: 20px;
  position: relative;
  padding-left: 28px;
}
.about-vision blockquote::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.about-text h2 { margin-bottom: 20px; margin-top: 16px; }
.about-text p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ─── CONTACT ────────────────────────────────────────── */
.contact-section { background: var(--dark); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info .sec-label { margin-bottom: 16px; }
.contact-info h2 {
  color: var(--ivory);
  margin-bottom: 20px;
}
.contact-info > p {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 40px;
}

.contact-details { display: flex; flex-direction: column; gap: 24px; }
.con-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.con-item svg { flex-shrink: 0; margin-top: 3px; }
.con-item strong {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.con-item span, .con-item a {
  font-size: 0.9rem;
  color: var(--gray-light);
  transition: color 0.2s;
}
.con-item a:hover { color: var(--gold); }

/* Contact form */
.contact-form-wrap {
  background: var(--dark2);
  padding: 48px;
  border-radius: 4px;
  border: 1px solid var(--dark4);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark3);
  border: 1px solid var(--dark4);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--ivory);
  font-size: 0.9rem;
  transition: border-color 0.25s, background 0.25s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--dark4);
}
.form-group select option { background: var(--dark2); }

.submit-btn {
  align-self: flex-start;
  padding: 15px 36px;
  margin-top: 8px;
}
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--gold-dim);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold);
  font-size: 0.88rem;
}
.form-success.show { display: flex; }

/* ─── FOOTER ─────────────────────────────────────────── */
.footer { background: var(--dark); border-top: 1px solid var(--dark4); }
.footer-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 2rem 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-tagline {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: 28px;
}
.social-links { display: flex; gap: 16px; }
.social-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--dark4);
  border-radius: 50%;
  transition: border-color 0.2s, background 0.2s;
}
.social-icon:hover { border-color: var(--gold); background: var(--gold-dim); }
.social-icon svg { width: 18px; height: 18px; }

.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--gray);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--ivory); }
.footer-contact li {
  font-size: 0.88rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 2rem;
  border-top: 1px solid var(--dark4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom span {
  font-size: 0.78rem;
  color: var(--gray);
}
.footer-built { color: var(--dark4); }
.footer-legal-links { display: flex; align-items: center; gap: 12px; }
.footer-company-info {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 2rem 0;
  font-size: 0.72rem;
  color: var(--gray);
  text-align: center;
  line-height: 1.7;
}

/* ─── RTL SUPPORT (Hebrew) ───────────────────────────── */
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .about-vision { border-right: none; border-left: 1px solid var(--ivory2); padding-right: 0; padding-left: 80px; }
[dir="rtl"] .about-vision blockquote { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .about-vision blockquote::before { left: auto; right: 0; }
[dir="rtl"] .con-item { flex-direction: row; }
[dir="rtl"] .proj-loc { flex-direction: row-reverse; }
[dir="rtl"] .proj-link { flex-direction: row-reverse; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .lang-opt { text-align: right; }
[dir="rtl"] .hero-scroll-hint { right: auto; left: 40px; }

/* ─── VIDEO HERO ─────────────────────────────────────── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Rotating text messages */
.hero-text-wrap {
  position: relative;
  height: clamp(220px, 30vw, 300px);
  margin-bottom: 42px;
}
.hero-msg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(18px);
  /* Fade OUT fast (0.35s) — no delay */
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}
.hero-msg.active {
  opacity: 1;
  transform: none;
  /* Fade IN slower (0.65s) AFTER previous message has faded out (0.35s delay) */
  transition: opacity 0.65s 0.35s var(--ease), transform 0.65s 0.35s var(--ease);
  pointer-events: auto;
}
/* Remove double-spacing: flex gap handles the space, margin-bottom is redundant */
.hero-msg .hero-title { margin-bottom: 0; }
.hero-text-wrap .hero-sub { margin-bottom: 0; }

/* Mute / Unmute button */
.sound-btn {
  position: absolute;
  bottom: 36px;
  left: 40px;
  z-index: 3;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.2s, color 0.2s;
}
.sound-btn:hover { border-color: var(--gold); color: var(--gold); }
.sound-btn svg { width: 18px; height: 18px; }

/* ─── PROJECTS — ONGOING + COMING SOON ───────────────── */
.projects-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.proj-status.ongoing {
  background: var(--gold);
  color: var(--dark);
}
.proj-status.coming-soon {
  background: var(--dark4);
  color: var(--gray-light);
}
.sec-label-soon { color: var(--gray); }

/* ─── SUSTAINABILITY NOTE ────────────────────────────── */
.sustain-note {
  text-align: center;
  margin-top: 48px;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--gray);
}

/* ─── CUSTOMER CARE ──────────────────────────────────── */
.care-section { background: var(--dark); }
.care-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.care-card {
  padding: 36px 24px;
  border: 1px solid var(--dark4);
  border-radius: 4px;
  transition: border-color 0.3s, background 0.3s;
}
.care-card:hover {
  border-color: rgba(201,164,98,0.3);
  background: var(--gold-dim2);
}
.care-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: rgba(201,164,98,0.2);
  line-height: 1;
  margin-bottom: 12px;
}
.care-icon { width: 40px; height: 40px; margin-bottom: 16px; color: var(--gold); }
.care-icon svg { width: 100%; height: 100%; }
.care-card h4 {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.care-card p { font-size: 0.85rem; color: var(--gray-light); line-height: 1.7; }

/* ─── OUR PROCESS ────────────────────────────────────── */
.process-section { background: var(--ivory2); }
.process-timeline {
  position: relative;
  padding-left: 64px;
  margin-bottom: 60px;
}
.process-line {
  position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,164,98,0.1));
  border-radius: 2px;
}
.proc-step {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  position: relative;
}
.proc-step:last-child { border-bottom: none; }
.proc-num {
  position: absolute;
  left: -64px;
  top: 36px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--ivory2);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
  flex-shrink: 0;
}
.proc-dot { display: none; }
.proc-body h4 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--dark);
  font-weight: 500;
  margin-bottom: 10px;
}
.proc-body p { font-size: 0.88rem; color: var(--gray); line-height: 1.75; }
.process-cta { text-align: center; padding-top: 16px; }
.process-cta p {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray);
  margin-bottom: 28px;
}

/* ─── QUALITY ASSURANCE ──────────────────────────────── */
.qa-section { background: var(--dark); }
.qa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.qa-card {
  padding: 40px 28px;
  border: 1px solid var(--dark4);
  border-radius: 4px;
  text-align: center;
  transition: border-color 0.3s, background 0.3s;
}
.qa-card:hover {
  border-color: rgba(201,164,98,0.3);
  background: var(--gold-dim2);
}
.qa-icon { width: 52px; height: 52px; margin: 0 auto 20px; }
.qa-icon svg { width: 100%; height: 100%; }
.qa-card h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ivory);
  font-weight: 500;
  margin-bottom: 12px;
}
.qa-card p { font-size: 0.85rem; color: var(--gray-light); line-height: 1.7; }

/* ─── INVESTMENT VALUE ───────────────────────────────── */
.invest-value-section { background: var(--ivory); }
.invest-val-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.inv-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: 4px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  text-align: center;
}
.inv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.inv-icon { display: block; width: 64px; height: 64px; margin: 0 auto 20px; color: var(--gold); flex-shrink: 0; }
.inv-card h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 500;
  margin-bottom: 12px;
}
.inv-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; }

/* ─── PROJECT DETAIL PAGES ──────────────────────────── */
.proj-hero-section {
  position: relative;
  height: 72vh;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.proj-hero-vid {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.proj-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.35) 55%,
    rgba(0,0,0,0.1) 100%
  );
}
.proj-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem 64px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--gold); }
.proj-hero-content .proj-status {
  position: static;
  display: inline-block;
  margin-bottom: 16px;
}
.proj-hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 12px;
}
.proj-hero-meta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* Project overview */
.proj-overview-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: start;
}
.proj-overview-text .sec-label { margin-bottom: 16px; }
.proj-overview-text h2 { margin-bottom: 20px; }
.proj-overview-text p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* Specs box */
.proj-specs-box {
  background: var(--white);
  border: 1px solid var(--ivory2);
  border-radius: 4px;
  padding: 36px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.proj-specs-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--ivory2);
}
.spec-item:last-child { border-bottom: none; }
.spec-key {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gray);
  text-transform: uppercase;
}
.spec-val {
  font-family: var(--serif);
  font-size: 1.13rem;
  color: var(--dark);
  font-weight: 500;
}
.proj-enquire {
  display: block;
  text-align: center;
  margin-top: 24px;
  padding: 15px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), transform 0.2s;
}
.proj-enquire:hover { background: var(--gold-light); transform: translateY(-2px); }

/* Features */
.proj-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feat-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--dark4);
  border-radius: 4px;
  transition: border-color 0.3s, background 0.3s;
}
.feat-item:hover { border-color: rgba(201,164,98,0.3); background: var(--gold-dim2); }
.feat-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}
.feat-icon svg { width: 100%; height: 100%; }
.feat-item h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ivory);
  margin-bottom: 6px;
  font-weight: 500;
}
.feat-item p { font-size: 0.84rem; color: var(--gray-light); line-height: 1.7; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 12px;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.gallery-img:hover { transform: scale(1.02); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
.gallery-wide { grid-column: span 2; }

/* Location */
.location-card {
  display: flex;
  gap: 48px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--dark4);
  border-radius: 4px;
  background: var(--dark2);
}
.location-icon-box {
  width: 180px; height: 140px;
  background: var(--dark3);
  border-radius: 3px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.location-info h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ivory);
  margin-bottom: 14px;
  font-weight: 400;
}
.location-info p { color: var(--gray-light); font-size: 0.9rem; line-height: 1.75; margin-bottom: 20px; }
.location-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.loc-tag {
  padding: 6px 14px;
  border: 1px solid var(--dark4);
  border-radius: 20px;
  font-size: 0.7rem;
  color: var(--gray-light);
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* Responsive project pages */
@media (max-width: 1024px) {
  .proj-overview-grid { grid-template-columns: 1fr; gap: 48px; }
  .proj-specs-box { position: static; max-width: 480px; }
}
@media (max-width: 900px) {
  .proj-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .proj-hero-section { height: 60vh; min-height: 440px; }
  .proj-hero-content { padding: 0 1.5rem 48px; }
  .proj-features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-wide { grid-column: span 1; }
  .location-card { flex-direction: column; gap: 24px; padding: 28px 20px; }
  .location-icon-box { width: 100%; }
}

/* ─── PROJECT PAGE — EXTENDED SECTIONS ──────────────────── */

/* Availability alert strip */
.avail-alert {
  background: var(--gold);
  color: var(--dark);
  text-align: center;
  padding: 13px 24px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.avail-alert .alert-sep { opacity: 0.4; }

/* Typology model comparison cards */
.typology-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
}
.typol-card {
  border: 1px solid rgba(201,164,98,0.22);
  border-radius: 4px;
  overflow: hidden;
}
.typol-header {
  background: var(--dark);
  padding: 24px 28px 20px;
}
.typol-model-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.typol-header h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--ivory);
  margin: 0 0 4px;
  line-height: 1.2;
}
.typol-header-sub {
  font-size: 0.78rem;
  color: var(--gray);
}
.typol-body { padding: 24px 28px 28px; }
.typol-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--ivory2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 22px;
}
.typol-spec {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ivory2);
}
.typol-spec:nth-child(odd) { border-right: 1px solid var(--ivory2); }
.typol-spec:nth-last-child(-n+2) { border-bottom: none; }
.typol-spec-k {
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 3px;
}
.typol-spec-v {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
}
.typol-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--ivory2);
  gap: 12px;
}
.typol-price-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 3px;
}
.typol-price-val {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}
.typol-price-note {
  font-size: 0.63rem;
  color: var(--gray);
  margin-top: 3px;
}
.typol-enquire {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.typol-enquire:hover { background: var(--gold); color: var(--dark); }

/* Availability table */
.avail-wrap { overflow-x: auto; margin-top: 36px; }
.avail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  min-width: 560px;
}
.avail-table th {
  background: var(--dark);
  color: var(--gold);
  padding: 12px 16px;
  text-align: left;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.avail-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ivory2);
  color: var(--dark);
  vertical-align: middle;
}
.avail-table tr:last-child td { border-bottom: none; }
.avail-table tr.row-sold td { opacity: 0.5; }
.badge-sold {
  display: inline-block;
  background: rgba(0,0,0,0.07);
  color: #999;
  padding: 3px 11px;
  border-radius: 20px;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.badge-avail {
  display: inline-block;
  background: rgba(201,164,98,0.12);
  color: var(--gold);
  padding: 3px 11px;
  border-radius: 20px;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(201,164,98,0.28);
}

/* Optional extras */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.extra-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,164,98,0.14);
  border-radius: 4px;
  padding: 28px 20px 24px;
  text-align: center;
}
.extra-icon { font-size: 1.5rem; margin-bottom: 14px; line-height: 1; }
.extra-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.extra-price {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 400;
}
.extra-included {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #82c791;
  font-weight: 600;
}

/* Distance table in location section */
.dist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  margin-top: 28px;
}
.dist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.87rem;
}
.dist-row:last-child { border-bottom: none; }
.dist-place { color: var(--gray); }
.dist-val { color: var(--ivory); font-weight: 500; }
.dist-time { color: var(--gold); font-size: 0.78rem; margin-left: 8px; }

/* WhatsApp CTA button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 13px 28px;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-whatsapp:hover { background: #1ebe5d; }

/* Responsive — new project sections */
@media (max-width: 900px) {
  .typology-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .extras-grid { grid-template-columns: repeat(2, 1fr); }
  .dist-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 640px) {
  .avail-alert { gap: 8px; font-size: 0.72rem; }
  .extras-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .typol-spec-grid { grid-template-columns: 1fr; }
  .typol-spec:nth-child(odd) { border-right: none; }
  .typol-spec:nth-last-child(-n+2) { border-bottom: 1px solid var(--ivory2); }
  .typol-spec:last-child { border-bottom: none; }
  .typol-price-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ─── RTL ADDITIONS ──────────────────────────────────── */
[dir="rtl"] .sound-btn { left: auto; right: 40px; }
[dir="rtl"] .process-timeline { padding-left: 0; padding-right: 64px; }
[dir="rtl"] .process-line { left: auto; right: 20px; }
[dir="rtl"] .proc-num { left: auto; right: -64px; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE — Mobile & Tablet
   Breakpoints: 1100 · 1024 · 900 · 768 · 640 · 480 · 380
   ══════════════════════════════════════════════════════ */

/* ─── 1100px — Large tablet / narrow desktop ─────── */
@media (max-width: 1100px) {
  .pillars-grid      { grid-template-columns: repeat(2, 1fr); }
  .sustain-grid      { grid-template-columns: repeat(2, 1fr); }
  .care-grid         { grid-template-columns: repeat(2, 1fr); }
  .qa-grid           { grid-template-columns: repeat(2, 1fr); }
  .invest-val-grid   { grid-template-columns: repeat(2, 1fr); }
  /* Footer: brand spans full row, then nav / contact / legal in 3 cols */
  .footer-main       { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
  .footer-brand      { grid-column: 1 / -1; }
  .footer-tagline    { max-width: 520px; }
  .extras-grid       { grid-template-columns: repeat(3, 1fr); }
}

/* ─── 1024px — Tablet landscape ─────────────────── */
@media (max-width: 1024px) {
  .projects-grid   { grid-template-columns: repeat(2, 1fr); }
  .projects-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .proj-card:last-child:nth-child(3n+2) { grid-column: auto; }

  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .about-vision  {
    border-right: none;
    border-bottom: 1px solid var(--ivory2);
    padding-right: 0;
    padding-bottom: 40px;
  }
  [dir="rtl"] .about-vision { border-left: none; padding-left: 0; }

  .contact-grid  { grid-template-columns: 1fr; gap: 48px; }
  .footer-main   { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand  { grid-column: 1 / -1; }

  /* Project detail pages */
  .proj-overview-grid { grid-template-columns: 1fr; gap: 48px; }
  .proj-specs-box     { position: static; max-width: 500px; }
}

/* ─── 900px — Tablet portrait / hamburger ────────── */
@media (max-width: 900px) {
  .nav-links          { display: none; }
  .hamburger          { display: flex; }
  .lang-switcher      { display: none; } /* shown in mobile menu */

  .cyprus-grid        { grid-template-columns: repeat(2, 1fr); }
  .projects-grid-3    { grid-template-columns: repeat(2, 1fr); }

  /* Project pages */
  .typology-grid      { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .extras-grid        { grid-template-columns: repeat(2, 1fr); }
  .dist-grid          { grid-template-columns: 1fr; gap: 0; }
  .proj-features-grid { grid-template-columns: repeat(2, 1fr); }

  /* Process page */
  .process-timeline   { padding-left: 52px; }
  .process-line       { left: 16px; }
  .proc-num           { left: -52px; }
  [dir="rtl"] .process-timeline { padding-right: 52px; padding-left: 0; }
  [dir="rtl"] .process-line     { right: 16px; }
  [dir="rtl"] .proc-num         { right: -52px; left: auto; }
}

/* ─── 768px — Mid-tablet ─────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 68px; }

  .section              { padding: 80px 0; }
  .sec-head             { margin-bottom: 44px; }

  /* Hero */
  .hero-text-wrap       { height: clamp(220px, 48vw, 300px); }
  .hero-btns            { flex-direction: column; align-items: center; gap: 12px; }
  .btn-gold,
  .btn-ghost            { width: 100%; max-width: 300px; justify-content: center; }

  /* Stats */
  .stats-strip          { gap: 0; }
  .stat-item            { padding: 30px 16px; min-width: 140px; }

  /* Projects grid */
  .projects-grid        { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .proj-img             { height: 220px; }

  /* About */
  .about-grid           { gap: 32px; }

  /* Contact */
  .contact-form-wrap    { padding: 36px 28px; }

  /* Footer */
  .footer-main          { grid-template-columns: 1fr 1fr; gap: 32px; padding: 52px 1.5rem 36px; }
  .footer-brand         { grid-column: 1 / -1; }
  .footer-bottom        { flex-wrap: wrap; gap: 12px; padding: 20px 1.5rem; }
  .footer-legal-links   { flex-wrap: wrap; justify-content: center; }
  .footer-company-info  { font-size: 0.68rem; padding: 8px 1.5rem 0; }

  /* Project pages */
  .proj-hero-section    { height: 65vh; min-height: 420px; }
  .proj-hero-content    { padding: 0 1.5rem 48px; }
  .location-card        { flex-direction: column; gap: 24px; padding: 28px 20px; }
  .location-icon-box    { width: 100%; }
  .gallery-grid         { grid-auto-rows: 220px; }
}

/* ─── 640px — Mobile ─────────────────────────────── */
@media (max-width: 640px) {
  .section              { padding: 60px 0; }
  .container            { padding: 0 1.25rem; }
  .sec-head             { margin-bottom: 36px; }

  /* Grids → 1 col */
  .projects-grid        { grid-template-columns: 1fr; max-width: 100%; }
  .projects-grid-2      { grid-template-columns: 1fr; max-width: 100%; }
  .projects-grid-3      { grid-template-columns: 1fr; }
  .pillars-grid         { grid-template-columns: 1fr; }
  .sustain-grid         { grid-template-columns: 1fr; }
  .care-grid            { grid-template-columns: 1fr; }
  .qa-grid              { grid-template-columns: 1fr; }
  .invest-val-grid      { grid-template-columns: 1fr; }
  .cyprus-grid          { grid-template-columns: 1fr; }

  /* Stats */
  .stats-strip          { flex-direction: column; }
  .stat-sep             { width: 50px; height: 1px; }
  .stat-item            { width: 100%; }

  /* Hero */
  .hero-scroll-hint     { display: none; }
  .hero-dots            { bottom: 20px; }
  .hero-text-wrap       { height: clamp(240px, 58vw, 340px); }
  .sound-btn            { left: 16px; bottom: 72px; }
  [dir="rtl"] .sound-btn { right: 16px; left: auto; }

  /* Contact form */
  .form-row             { grid-template-columns: 1fr; }
  .contact-form-wrap    { padding: 24px 18px; }
  .submit-btn           { width: 100%; justify-content: center; }

  /* Footer */
  .footer-main          { grid-template-columns: 1fr 1fr; gap: 28px; padding: 44px 1.25rem 32px; }
  .footer-brand         { grid-column: 1 / -1; }
  .footer-tagline       { max-width: 100%; }
  .footer-bottom        {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 18px 1.25rem;
  }
  .footer-company-info  {
    font-size: 0.66rem;
    padding: 8px 1.25rem 0;
    line-height: 1.7;
    text-align: center;
  }

  /* Project pages */
  .proj-hero-section    { height: 58vh; min-height: 380px; }
  .proj-hero-content    { padding: 0 1.25rem 40px; }
  .proj-features-grid   { grid-template-columns: 1fr; }
  .gallery-grid         { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-wide         { grid-column: span 1; }
  .extras-grid          { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Typology cards */
  .typol-spec-grid      { grid-template-columns: 1fr; }
  .typol-spec:nth-child(odd) { border-right: none; }
  .typol-spec:nth-last-child(-n+2) { border-bottom: 1px solid var(--ivory2); }
  .typol-spec:last-child { border-bottom: none; }
  .typol-price-row      { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Alert strip */
  .avail-alert          { gap: 8px; font-size: 0.72rem; padding: 12px 16px; flex-direction: column; text-align: center; }

  /* Process timeline — proc-num centred over the line (line at left:12px, num 30px wide → left:-43px centres it) */
  .process-timeline     { padding-left: 44px; }
  .process-line         { left: 12px; }
  .proc-num             { left: -43px; width: 30px; height: 30px; font-size: 0.62rem; }
  [dir="rtl"] .process-timeline { padding-right: 44px; padding-left: 0; }
  [dir="rtl"] .process-line     { right: 12px; left: auto; }
  [dir="rtl"] .proc-num         { right: -43px; left: auto; }

  /* Coming Soon header gap reduction on mobile */
  .sec-head-gap         { margin-top: 48px; }
}

/* ─── 480px — Small mobile ───────────────────────── */
@media (max-width: 480px) {
  :root { --nav-h: 62px; }

  .container            { padding: 0 1rem; }
  .section              { padding: 52px 0; }

  /* Nav */
  .nav-inner            { padding: 0 1rem; }
  .logo-name            { font-size: 1.2rem; }

  /* Hero */
  .hero-text-wrap       { height: clamp(260px, 64vw, 360px); }
  .hero-btns            { gap: 10px; }
  .btn-gold,
  .btn-ghost            { padding: 13px 24px; font-size: 0.75rem; max-width: 100%; }

  /* Stats strip */
  .stat-item            { padding: 24px 16px; }
  .stat-num             { font-size: 2.2rem; }

  /* Project cards */
  .proj-img             { height: 200px; }
  .proj-body            { padding: 22px 18px; }
  .proj-name            { font-size: 1.35rem; }

  /* Pillars */
  .pillar               { padding: 28px 18px; }

  /* Contact */
  .contact-form-wrap    { padding: 20px 16px; }

  /* Footer */
  .footer-main          { grid-template-columns: 1fr; }
  .footer-brand         { grid-column: auto; }
  .footer-bottom        { gap: 8px; }
  .footer-company-info  { font-size: 0.62rem; }

  /* Project hero */
  .proj-hero-section    { height: 55vh; min-height: 340px; }
  .proj-hero-content h1 { font-size: clamp(1.8rem, 8vw, 2.8rem); }

  /* Location card */
  .location-card        { padding: 22px 16px; }

  /* Process */
  .proc-body h4         { font-size: 1.2rem; }
}

/* ─── 380px — Very small mobile ─────────────────── */
@media (max-width: 380px) {
  .container            { padding: 0 0.875rem; }
  .hero-text-wrap       { height: clamp(280px, 72vw, 380px); }
  .proj-hero-section    { min-height: 300px; }
  .extras-grid          { grid-template-columns: 1fr; }
  .hcb-inner            { padding: 14px 1rem; }

  /* Footer company info: abbreviate display */
  .footer-company-info  { font-size: 0.6rem; line-height: 1.8; }
}

/* ─── Touch target minimum (accessibility) ──────── */
@media (hover: none) and (pointer: coarse) {
  .btn-gold,
  .btn-ghost,
  .btn-outline-dark,
  .nav-cta,
  .mob-lang,
  .hcb-btn-primary,
  .hcb-btn-secondary {
    min-height: 44px;
    min-width: 44px;
  }
  .hamburger        { padding: 8px; }
  .lang-current     { min-height: 44px; }
  .dot              { width: 12px; height: 12px; }
  .dot.active       { transform: scale(1.2); }
  .social-icon      { width: 44px; height: 44px; }

  /* Disable hover transforms on touch — prevent sticky states */
  .proj-card:hover  { transform: none; box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
  .sustain-card:hover { transform: none; }
  .inv-card:hover   { transform: none; }
}
