/* ============================================
   HeightZero Real Estate — Redesign Prototype
   Color Scheme: Original HeightZero Identity
   Navy #2C4464, Steel Blue #BFD3E3, White
   ============================================ */

:root {
  --navy: #2c4464;
  --navy-dark: #1e3050;
  --navy-deeper: #162540;
  --steel-blue: #bfd3e3;
  --steel-blue-mid: #a8c0d6;
  --steel-blue-light: #d8e8f2;
  --white: #ffffff;
  --off-white: #f7f7f7;
  --light-grey: #f0f0f0;
  --text-dark: #2c4464;
  --text-mid: #4a6080;
  --text-light: #e8eef5;
  --border-light: rgba(44, 68, 100, 0.15);
  --border-navy: rgba(44, 68, 100, 0.3);
  --font-heading: 'Forum', 'Georgia', serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
  --font-label: 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); color: var(--navy); }
h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); color: var(--navy); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); color: var(--navy); }
h4 {
  font-size: 0.75rem;
  color: var(--navy);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-label);
  font-weight: 600;
}

/* Headings on dark backgrounds */
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark h4 { color: var(--steel-blue-light); }
.on-dark p { color: var(--text-light); }

p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 680px;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--navy-dark); }

/* ---- LAYOUT ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

section {
  padding: 90px 0;
}

.section-label {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
  display: block;
}

.on-dark .section-label {
  color: var(--steel-blue-light);
}

.divider {
  width: 50px;
  height: 2px;
  background: var(--navy);
  margin: 20px 0;
}

.on-dark .divider {
  background: var(--steel-blue-light);
  opacity: 0.5;
}

/* ---- NAVIGATION ---- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 0 48px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-cta {
  border: 1.5px solid var(--navy) !important;
  color: var(--navy) !important;
  padding: 9px 22px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--navy);
  color: var(--white) !important;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 14px 34px;
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid var(--navy);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 14px 34px;
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('HZREcoverphoto.png');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 48, 80, 0.45) 0%,
    rgba(22, 37, 64, 0.55) 60%,
    rgba(22, 37, 64, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 80px 0 100px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.hero h1 em {
  font-style: italic;
  color: var(--steel-blue-light);
}

.hero .lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 44px;
  max-width: 580px;
  line-height: 1.8;
}

/* ---- DARK NAVY SECTION (matches original "The Future is Now") ---- */
.section-navy {
  background: var(--navy);
}

.section-navy h1,
.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-navy p {
  color: var(--text-light);
  max-width: 100%;
}

.section-navy .section-label {
  color: var(--steel-blue-light);
}

.section-navy .divider {
  background: rgba(255,255,255,0.3);
}

/* ---- LIGHT STEEL BLUE SECTION (matches original "4 Step Process") ---- */
.section-steel {
  background: var(--steel-blue);
}

.section-steel h1,
.section-steel h2,
.section-steel h3 {
  color: var(--navy);
}

.section-steel p {
  color: var(--text-dark);
}

/* ---- WHITE SECTION ---- */
.section-white {
  background: var(--white);
}

/* ---- LIGHT GREY SECTION ---- */
.section-grey {
  background: var(--light-grey);
}

/* ---- SPLIT CARDS (Home Page) ---- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 48px;
}

.split-card {
  background: var(--white);
  padding: 60px 52px;
  border-top: 3px solid var(--navy);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--navy);
  transition: box-shadow 0.3s ease;
}

.split-card:hover {
  box-shadow: 0 8px 32px rgba(44, 68, 100, 0.12);
}

.split-card .card-icon {
  font-size: 2rem;
  margin-bottom: 24px;
  display: block;
  color: var(--navy);
  opacity: 0.4;
}

.split-card h3 {
  margin-bottom: 18px;
  font-size: 1.6rem;
}

.split-card p {
  margin-bottom: 32px;
  font-size: 0.95rem;
  max-width: 100%;
}

/* ---- ABOUT SECTION ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.about-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-content h4 {
  margin-bottom: 14px;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 18px;
  max-width: 100%;
}

.role-badges {
  display: flex;
  gap: 10px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.role-badge {
  background: var(--steel-blue-light);
  border: 1px solid var(--steel-blue-mid);
  color: var(--navy);
  padding: 7px 16px;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- PROCESS STEPS ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.process-step {
  text-align: center;
  padding: 40px 28px;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--navy);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 18px;
  display: block;
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.process-step p {
  font-size: 0.86rem;
  max-width: 100%;
  text-align: center;
  color: var(--text-dark);
}

/* ---- BENEFITS LIST ---- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.benefit-item {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.benefit-check {
  color: var(--navy);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
  font-weight: 700;
}

.benefit-item p {
  font-size: 0.92rem;
  max-width: 100%;
  margin: 0;
}

/* ---- PHOTO CALLOUT (matches original "HeightZero" section with building photo) ---- */
.photo-callout {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.photo-callout-bg {
  position: absolute;
  inset: 0;
  background-image: url('HZREcoverphoto.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.photo-callout-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 44, 72, 0.78);
}

.photo-callout-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.photo-callout blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  color: var(--white);
  max-width: 820px;
  margin: 0 auto 28px;
  line-height: 1.45;
  font-style: italic;
}

.photo-callout cite {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-blue-light);
  font-style: normal;
}

/* ---- PLATFORM PILLARS ---- */
.platform-pillars {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pillar {
  background: var(--steel-blue-light);
  padding: 26px 30px;
  border-left: 3px solid var(--navy);
}

.pillar h4 {
  font-size: 0.75rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.pillar p {
  font-size: 0.88rem;
  max-width: 100%;
  color: var(--text-dark);
}

/* ---- PAGE HERO ---- */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('HZREcoverphoto.png');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 44, 72, 0.6) 0%,
    rgba(22, 37, 64, 0.82) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-content h1 {
  color: var(--white);
  max-width: 800px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.25;
}

.page-hero-content .section-label {
  color: var(--steel-blue-light);
}

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h4 { margin-bottom: 14px; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info p { margin-bottom: 18px; max-width: 100%; }

.contact-details {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.contact-detail .label {
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  min-width: 80px;
  padding-top: 2px;
}

.contact-detail .value {
  color: var(--text-mid);
  font-size: 0.95rem;
}

.contact-form-area {
  background: var(--steel-blue-light);
  padding: 48px;
  border: 1px solid var(--steel-blue-mid);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--steel-blue-mid);
  color: var(--text-dark);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-group select option {
  background: var(--white);
}

/* ---- FOOTER ---- */
footer {
  background: var(--light-grey);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 44px;
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.84rem;
  max-width: 300px;
  color: var(--text-mid);
}

.footer-col h4 {
  font-size: 0.7rem;
  margin-bottom: 18px;
  color: var(--navy);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.86rem;
  color: var(--text-mid);
  transition: color 0.2s ease;
}

.footer-col ul a:hover { color: var(--navy); }

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-mid);
  max-width: 100%;
  text-align: center;
  margin: 0 auto;
}

.footer-disclaimer {
  font-size: 0.74rem !important;
  color: var(--text-mid);
  max-width: 860px !important;
  margin: 16px auto 0 !important;
  line-height: 1.6;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-navy);
  border-radius: 50%;
  color: var(--text-mid);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.footer-social a:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ---- BRIDGE / EAI360 SECTION ---- */
.bridge-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.bridge-content h4 { margin-bottom: 14px; }
.bridge-content h2 { margin-bottom: 20px; }
.bridge-content p { margin-bottom: 18px; max-width: 100%; }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .split-grid,
  .about-grid,
  .bridge-inner,
  .contact-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  nav { padding: 0 24px; }
  .container { padding: 0 24px; }
  section { padding: 64px 0; }
}

@media (max-width: 600px) {
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-links { display: none; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .contact-form-area { padding: 28px 20px; }
}
