/* ═══════════════════════════════════════
   immo.quick — Shared Styles
   ═══════════════════════════════════════ */
:root {
  --ink: #04090f;
  --ink2: #080e1a;
  --ink3: #0d1626;
  --ink4: #122030;
  --surface: #0a1220;
  --border: #162032;
  --border2: #1e3048;
  --border3: #2a4060;
  --steel: #b8ccd8;
  --steel2: #8aa4b8;
  --steel3: #607888;
  --steel4: #3a5268;
  --white: #f0f4f8;
  --cyan: #00d4ff;
  --cyan2: #40e8ff;
  --cyan-dim: rgba(0,212,255,0.08);
  --cyan-border: rgba(0,212,255,0.2);
  --gold: #c8a040;
  --gold2: #e8b850;
  --gold-dim: rgba(200,160,64,0.1);
  --green: #00e878;
  --green-dim: rgba(0,232,120,0.08);
  --purple: #8866ff;
  --f-display: 'Syne', sans-serif;
  --f-mono: 'Space Mono', monospace;
  --f-body: 'Instrument Sans', sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--steel); font-family: var(--f-body); overflow-x: hidden; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink2); }
::-webkit-scrollbar-thumb { background: var(--border3); border-radius: 2px; }

/* ── NAVBAR ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 64px; background: rgba(4,9,15,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 40px; gap: 20px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.nav-brand-img { height: 30px; width: auto; object-fit: contain; }
.nav-brand-name { font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; color: var(--white); }
.nav-brand-sub { font-family: var(--f-mono); font-size: 0.44rem; color: var(--cyan); letter-spacing: 0.18em; text-transform: uppercase; display: block; margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-link {
  font-family: var(--f-body); font-size: 0.78rem; font-weight: 500;
  color: var(--steel3); padding: 7px 14px; border-radius: 4px;
  border: none; background: none; cursor: pointer; transition: all 0.15s;
  text-decoration: none; white-space: nowrap; display: inline-block;
}
.nav-link:hover { color: var(--white); background: var(--ink3); }
.nav-link.active { color: var(--cyan); background: var(--cyan-dim); }

.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-switch { display: flex; background: var(--ink3); border: 1px solid var(--border2); border-radius: 4px; overflow: hidden; }
.lang-btn { background: none; border: none; color: var(--steel3); font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.1em; padding: 5px 10px; cursor: pointer; transition: all 0.15s; }
.lang-btn.active { background: var(--cyan-dim); color: var(--cyan); }

.nav-cta { background: var(--cyan); color: var(--ink); font-family: var(--f-display); font-size: 0.72rem; font-weight: 700; padding: 8px 20px; border: none; border-radius: 3px; cursor: pointer; transition: all 0.2s; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: var(--cyan2); }

/* ── UTILITIES ── */
.tag { display: inline-flex; align-items: center; font-family: var(--f-mono); font-size: 0.52rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; }
.tag-cyan { background: var(--cyan-dim); color: var(--cyan); border: 1px solid var(--cyan-border); }
.tag-gold { background: var(--gold-dim); color: var(--gold2); border: 1px solid rgba(200,160,64,0.25); }
.tag-green { background: var(--green-dim); color: var(--green); border: 1px solid rgba(0,232,120,0.2); }
.tag-steel { background: rgba(184,204,216,0.05); color: var(--steel3); border: 1px solid var(--border2); }

.section-tag { font-family: var(--f-mono); font-size: 0.52rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.section-tag::before { content:''; width:20px; height:1px; background:var(--cyan); }

.btn-primary { background: var(--cyan); color: var(--ink); font-family: var(--f-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; padding: 12px 26px; border: none; border-radius: 3px; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background: var(--cyan2); box-shadow: 0 0 28px rgba(0,212,255,0.2); }
.btn-ghost { background: none; color: var(--steel2); font-family: var(--f-display); font-size: 0.75rem; font-weight: 600; padding: 11px 22px; border: 1px solid var(--border2); border-radius: 3px; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-ghost:hover { border-color: var(--border3); color: var(--white); background: var(--ink3); }

.section-wrap { padding: 100px 40px; max-width: 1200px; margin: 0 auto; }
.section-full { padding: 100px 40px; border-top: 1px solid var(--border); }
.section-full .section-wrap { padding: 0; }

.h2 { font-family: var(--f-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--white); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; }
.h2 .hl { color: var(--cyan); }
.h2 .hl-gold { color: var(--gold2); }
.lead { font-size: 0.92rem; color: var(--steel3); line-height: 1.8; max-width: 600px; font-weight: 300; margin-bottom: 48px; }

.card { background: var(--ink2); border: 1px solid var(--border2); border-radius: 8px; padding: 28px; }
.card-sm { background: var(--ink2); border: 1px solid var(--border); border-radius: 6px; padding: 18px 20px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.grid-cell { background: var(--ink2); padding: 24px; transition: background 0.15s; }
.grid-cell:hover { background: var(--ink3); }

.metric-val { font-family: var(--f-display); font-size: 2rem; font-weight: 800; color: var(--cyan); line-height: 1; margin-bottom: 6px; }
.metric-label { font-family: var(--f-mono); font-size: 0.5rem; letter-spacing: 0.15em; color: var(--steel4); text-transform: uppercase; line-height: 1.6; }

.fade-up { opacity:0; transform:translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity:1; transform:translateY(0); }
.d1 { transition-delay:0.1s; } .d2 { transition-delay:0.2s; } .d3 { transition-delay:0.3s; }

/* ── FOOTER ── */
footer { background: var(--ink); border-top: 1px solid var(--border); padding: 52px 40px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { height: 26px; }
.footer-brand-name { font-family: var(--f-display); font-size: 0.9rem; font-weight: 700; color: var(--white); }
.footer-brand-sub { font-family: var(--f-mono); font-size: 0.44rem; color: var(--cyan); letter-spacing: 0.18em; text-transform: uppercase; }
.footer-desc { font-size: 0.68rem; color: var(--steel4); line-height: 1.7; }
.footer-col-title { font-family: var(--f-mono); font-size: 0.5rem; letter-spacing: 0.2em; color: var(--steel3); text-transform: uppercase; margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.7rem; color: var(--steel4); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-family: var(--f-mono); font-size: 0.5rem; color: var(--steel4); letter-spacing: 0.1em; }
.footer-social { display: flex; gap: 10px; align-items: center; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 4px;
  border: 1px solid var(--border2); background: var(--ink2);
  color: var(--steel3); text-decoration: none;
  font-size: .8rem; transition: all .15s;
}
.footer-social a:hover { border-color: var(--border3); color: var(--white); background: var(--ink3); }
.footer-social a.linkedin:hover { border-color: #0a66c2; color: #0a66c2; }
.footer-social a.instagram:hover { border-color: #e1306c; color: #e1306c; }
.footer-social a.x:hover { border-color: var(--steel2); color: var(--white); }

/* ── HAMBURGER BUTTON ── */
#hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border2);
  border-radius: 4px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  transition: border-color .15s;
}
#hamburger:hover { border-color: var(--border3); }
#hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--steel2);
  border-radius: 2px;
  transition: all .25s ease;
}
#hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE MENU OVERLAY ── */
#mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4,9,15,0.97);
  backdrop-filter: blur(16px);
  z-index: 999;
  flex-direction: column;
  padding: 32px 24px;
  gap: 4px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
#mobile-menu.open { display: flex; }
.mobile-nav-link {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--steel2);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color .15s;
}
.mobile-nav-link:hover { color: var(--white); }
.mobile-nav-link.active { color: var(--cyan); }
.mobile-nav-link::after { content: '→'; font-size: .9rem; color: var(--border3); }
.mobile-nav-link.active::after { color: var(--cyan); }
.mobile-nav-cta {
  margin-top: 24px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: .85rem;
  font-weight: 700;
  padding: 14px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: block;
}
.mobile-lang-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.mobile-lang-btn {
  flex: 1;
  padding: 10px;
  background: var(--ink3);
  border: 1px solid var(--border2);
  border-radius: 4px;
  color: var(--steel3);
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  cursor: pointer;
  transition: all .15s;
  text-align: center;
}
.mobile-lang-btn.active { background: var(--cyan-dim); color: var(--cyan); border-color: var(--cyan-border); }

/* ── FAVICON ── */
/* added via link tag */

/* ── FOUNDER MOBILE FIX ── */
@media(max-width:900px) {
  #nav { padding: 0 16px; gap: 10px; }
  .nav-links { display: none; }
  #hamburger { display: flex; }
  .nav-brand-name { font-size: .9rem; }
  .section-wrap, .section-full { padding: 52px 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .h2 { font-size: 1.6rem; }
  .founder-grid { grid-template-columns: 1fr !important; }
  .founder-img-wrap { height: 320px; overflow: hidden; }
  .founder-img { min-height: 320px !important; height: 320px; object-fit: cover; object-position: center top; }
  .founder-text { padding: 28px 20px !important; }
}
@media(max-width:600px) {
  #nav { padding: 0 14px; height: 56px; }
  #mobile-menu { top: 56px; }
  .nav-brand-sub { display: none; }
  .nav-cta { display: none; }
  .section-wrap, .section-full { padding: 44px 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .h2 { font-size: 1.4rem; }
  .lead { font-size: .78rem; }
  .btn-primary, .btn-ghost { font-size: .72rem; padding: 10px 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .tag { font-size: .46rem; padding: 3px 7px; }
  .founder-img-wrap { height: 280px; }
  .founder-img { min-height: 280px !important; height: 280px; }
}


/* Scroll to top */
#scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 40px; height: 40px; background: var(--ink2);
  border: 1px solid var(--border2); border-radius: 4px;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; color: var(--steel3);
  font-size: .7rem;
}
#scroll-top:hover { border-color: var(--cyan); color: var(--cyan); }
#scroll-top.visible { display: flex; }

/* Mobile sticky CTA */
#mobile-cta-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: var(--ink); border-top: 1px solid var(--border);
  padding: 12px 16px; gap: 10px;
}
@media(max-width:600px) {
  #mobile-cta-bar { display: flex; }
  body { padding-bottom: 64px; }
}
.mobile-cta-btn {
  flex: 1; background: var(--cyan); color: var(--ink);
  font-family: var(--f-display); font-size: .78rem; font-weight: 700;
  padding: 11px; border: none; border-radius: 4px; cursor: pointer;
  text-align: center; text-decoration: none;
}
