/* ============================================================
   GCI IMMOPRO — style.css  (v3 · American RE aesthetic)
   ============================================================ */

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── TOKENS ────────────────────────────────────────────────── */
:root {
  --navy:      #0a2444;
  --navy-deep: #06152a;
  --blue:      #1A4A8A;
  --off-white: #f8f8f6;
  --white:     #ffffff;
  --border:    #e8e8e4;
  --text:      #0a2444;
  --muted:     #6b7280;
  --nav-h:     118px;
  --radius:    3px;
  --trans:     0.25s ease;
}

/* ── BASE ───────────────────────────────────────────────────── */
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── UTILITIES ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-label.light { color: rgba(255,255,255,0.45); }

.section-h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.section-h2 strong { font-weight: 700; }

.section-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
  margin-top: 18px;
}

.section-intro { margin-bottom: 56px; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background var(--trans);
}
.btn-primary:hover { background: var(--navy); }

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius);
  transition: border-color var(--trans), background var(--trans);
}
.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.07);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  transition: background var(--trans), color var(--trans);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,36,68,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: var(--nav-h);
  transition: background var(--trans), box-shadow var(--trans);
}
.nav.scrolled {
  background: rgba(10,36,68,0.96);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo {
  height: 101px;
  width: auto;
  object-fit: contain;
}
.nav-brand-text {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.nav-brand-text strong { font-weight: 700; }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color var(--trans);
}
.nav-links a:hover { color: #ffffff; }

.nav-cta {
  display: inline-block;
  background: #ffffff;
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius);
  flex-shrink: 0;
  transition: background var(--trans);
}
.nav-cta:hover { background: rgba(255,255,255,0.85); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}
.nav-burger span {
  display: block;
  height: 1.5px;
  background: #ffffff;
  transition: transform var(--trans), opacity var(--trans);
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6,21,42,0.92) 0%,
    rgba(6,21,42,0.55) 45%,
    rgba(6,21,42,0.20) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 88px;
}
.hero-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.hero-brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 22px;
}
.hero-h1 {
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
}
.hero-h1 strong { font-weight: 700; }
.hero-lead {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── STATS BAR ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 0 48px;
}
.stats-inner {
  display: flex;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  height: 84px;
}
.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;
}
.stat-sep {
  width: 1px;
  background: rgba(255,255,255,0.1);
  margin: 18px 40px 18px 0;
  flex-shrink: 0;
}
.stat-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 5px;
}
.stat-value {
  font-size: 28px;
  font-weight: 300;
  color: #fff;
  line-height: 1;
}
.stat-value span {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-left: 2px;
}
.stat-value-sm {
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  line-height: 1;
}

/* ── STRATEGY ───────────────────────────────────────────────── */
.strategy {
  padding: 104px 0;
  background: var(--white);
}
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.strat-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px 32px;
  transition: transform var(--trans), border-color var(--trans);
}
.strat-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}
.strat-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.strat-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.strat-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── PORTFOLIO ──────────────────────────────────────────────── */
.portfolio {
  padding: 104px 0;
  background: var(--off-white);
}
.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prop-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--trans), transform var(--trans);
}
.prop-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.10);
  transform: translateY(-5px);
}

/* Property carousel */
.prop-carousel {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.prop-slides { width: 100%; height: 100%; }
.prop-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.prop-slide.active { opacity: 1; }
.prop-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prop-status {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius);
}
.prop-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.93);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--trans);
}
.prop-carousel:hover .prop-nav { opacity: 1; }
.prop-prev { left: 10px; }
.prop-next { right: 10px; }
.prop-nav svg { width: 13px; height: 13px; color: var(--navy); }
.prop-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 5px;
}
.prop-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background var(--trans);
}
.prop-dot.active { background: #fff; }

/* Property body */
.prop-body { padding: 24px; }
.prop-ref {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}
.prop-type {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.prop-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.prop-surface {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1;
}
.prop-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.prop-loc svg { flex-shrink: 0; color: var(--blue); }
.prop-specs {
  display: flex;
  gap: 28px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.spec-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.spec-val {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}
.prop-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--blue);
  transition: color var(--trans);
}
.prop-cta:hover { color: var(--navy); }

.portfolio-note {
  margin-top: 32px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

/* ── ACQUISITIONS ───────────────────────────────────────────── */
.acquisitions {
  padding: 104px 0;
  background: var(--white);
}
.acq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.acq-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin: 16px 0 28px;
}
.acq-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.acq-item:first-child { border-top: 1px solid var(--border); }
.acq-dash {
  width: 2px;
  min-height: 36px;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 4px;
}
.acq-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.acq-sub {
  font-size: 13px;
  color: var(--muted);
}

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-section { background: var(--navy); }
.contact-cta {
  max-width: 900px;
  margin: 0 auto;
  padding: 96px 48px;
  text-align: center;
}
.contact-cta .contact-lead {
  white-space: normal;
}
.contact-cta .btn-primary { margin-top: 32px; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-left {
  padding: 96px 64px 96px 48px;
}
.contact-h2 {
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 16px;
}
.contact-h2 strong { font-weight: 700; }
.contact-lead {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: 36px;
}
.contact-promises { display: flex; flex-direction: column; gap: 12px; }
.promise-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
.promise-check {
  width: 20px;
  height: 20px;
  background: rgba(26,74,138,0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: rgba(255,255,255,0.9);
  flex-shrink: 0;
}

.contact-right {
  background: var(--off-white);
  padding: 64px 48px 64px 64px;
}

/* ── PAGE CONTACT ───────────────────────────────────────────── */
.contact-page {
  padding-top: var(--nav-h);
  min-height: calc(100vh - var(--nav-h));
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 64px;
}
.contact-page-centered {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-page-title {
  font-size: 32px;
  font-weight: 300;
  color: #ffffff;
  text-align: center;
  margin-bottom: 32px;
  white-space: nowrap;
}
.contact-page-title strong { font-weight: 700; }
.contact-page-form {
  width: 100%;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 40px 40px 32px;
}
.contact-page-lead {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  text-align: center;
  letter-spacing: 0.01em;
}
.nav-active { color: #ffffff !important; }
.form-card-head {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

/* Form */
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: span 2; }
.field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.req { color: var(--blue); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 13px;
  font-family: inherit;
  font-size: 14px;
  color: var(--navy);
  transition: border-color var(--trans);
  outline: none;
  appearance: none;
}
.field input::placeholder,
.field textarea::placeholder { color: #bbb; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--blue); }
.field input.error,
.field select.error,
.field textarea.error { border-color: #c03030; }
.field textarea { resize: vertical; min-height: 80px; }

.btn-submit {
  display: block;
  width: 100%;
  margin-top: 20px;
  background: var(--navy);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--trans);
}
.btn-submit:hover:not(:disabled) { background: var(--blue); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-loading { display: none; }
.btn-submit.loading .btn-label { display: none; }
.btn-submit.loading .btn-loading { display: block; }

.form-msg {
  margin-top: 12px;
  font-size: 13px;
  padding: 11px 14px;
  border-radius: var(--radius);
  display: none;
}
.form-msg.success { display: block; background: #e8f4e8; color: #2a6a2a; }
.form-msg.error   { display: block; background: #fbe8e8; color: #a03030; }
.form-privacy {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  padding: 16px 0 12px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  gap: 12px;
}
.footer-middle {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-logo {
  height: 101px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}
.footer-group,
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
}
.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--trans);
}
.footer-link:hover { color: rgba(255,255,255,0.8); }
.footer-sep {
  color: rgba(255,255,255,0.15);
  font-size: 13px;
}
.footer-credit {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.04em;
  text-align: center;
}

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav-inner { padding: 0 32px; }
  .hero-content { padding: 0 32px 72px; }
  .stats-bar { padding: 0 32px; }
  .contact-left { padding: 72px 48px 72px 32px; }
  .contact-right { padding: 48px 32px 48px 48px; }
  .footer-row { padding: 0 32px; }
  .strategy-grid { gap: 16px; }
  .prop-grid { grid-template-columns: repeat(2, 1fr); }
  .acq-grid { gap: 48px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 84px; }

  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .hero-content { padding: 0 20px 52px; }
  .stats-bar { padding: 0 20px; }
  .nav-logo { height: 70px; }

  .nav-links,
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px 20px 24px;
    gap: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 99;
  }
  .nav-links.open a { font-size: 14px; color: rgba(255,255,255,0.8); }

  .hero-h1 { font-size: clamp(36px, 9vw, 54px); }

  .stats-inner { flex-wrap: wrap; height: auto; padding: 20px 0; gap: 14px 0; }
  .stat { padding-right: 24px; }
  .stat:last-child { padding-right: 0; }
  .stat-sep { display: none; }

  .strategy { padding: 72px 0; }
  .strategy-grid { grid-template-columns: 1fr; }

  .portfolio { padding: 72px 0; }
  .prop-grid { grid-template-columns: 1fr; }
  .prop-nav { opacity: 1; }

  .acquisitions { padding: 72px 0; }
  .acq-grid { grid-template-columns: 1fr; gap: 40px; }

  .contact-inner { grid-template-columns: 1fr; }
  .contact-left { padding: 52px 20px 36px; }
  .contact-right { padding: 36px 20px 52px; }
  .contact-cta { padding: 72px 20px; }

  .fields { grid-template-columns: 1fr; }
  .field.full { grid-column: span 1; }

  .footer { padding: 24px 0 16px; }
  .footer-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    gap: 10px;
  }
  .footer-middle { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; }
  .prop-grid { gap: 16px; }
}
