/* -------------------------
   Contact Page Styling
-------------------------- */
body.contact-page {
  overflow: auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Background Video + Overlay */
.bg video {
  filter: blur(10px) brightness(0.15);
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: fixed;
  top: 0; left: 0;
  z-index: -2;
}
.bg-overlay {
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
}

/* Page Content */
.contact-page-content {
  flex: 1;
  padding: 5rem 2rem 3rem;
}

/* Hero */
.contact-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.contact-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.contact-sub {
  font-size: 1.1rem;
  opacity: 0.75;
}
.contact-desc {
  font-size: 1rem;
  opacity: 0.7;
  line-height: 1.6;
}
.contact-meta {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  opacity: 0.6;
  letter-spacing: 0.04em;
}

/* -------------------------
   Contact Cards
-------------------------- */
.contact-section {
  padding-top: 1.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(250px, 1fr));
  gap: 1.8rem;
  align-items: start; /* instead of stretch */
}


/* HQ styling */
.contact-card.hq {
  grid-column: span 2;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}
.hq-icon {
  width: 14px;
  height: 14px;
  fill: rgba(255,255,255,0.75);
  transform: translateY(-1px);
}
.hq-label {
  margin-left: 0.45rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* Glass-style contact cards */
.contact-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.6rem 1.4rem;
  border-radius: 14px;
  box-shadow: none;
}
.contact-card.tall {
  padding-bottom: 3rem;
}

.contact-card h2 {
  margin-bottom: 0.4rem;
}
.contact-card p {
  margin: 0.5rem 0;
  font-size: 1rem;
  word-break: break-word;
}
.contact-card a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Coming Soon */
.contact-card.coming-soon {
  opacity: 0.55;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.03);
}
.soon-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* Full-width card */
.contact-card.full {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.2);
  margin-top: 2.5rem; /* space from previous cards */
  padding: 2rem 1.8rem; /* optional: slightly taller for visual weight */
}
.contact-card.full h2 {
  margin-bottom: 0.6rem;
}

/* Language note */
.contact-lang {
  font-size: 0.85rem;
  opacity: 0.65;
  margin-top: 0.4rem;
}

/* City icons */
.city-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.globe-icon {
  width: 14px;
  height: 14px;
  fill: rgba(255, 255, 255, 0.6);
}

/* Social Links */
.contact-socials {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-socials a {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* -------------------------
   Responsive
-------------------------- */
@media (max-width: 1200px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------
   Footer Styling
-------------------------- */
.footer {
  position: static !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  text-align: center;
  padding: 1.5rem 2rem;
}
.footer-links a {
  color: #fff;
  text-decoration: underline;
}

/* Vancouver HQ card spans 2 grids */
.contact-card.hq {
  position: relative;
  grid-column: span 2;
}

/* Detailed building illustration */
.contact-card.hq .hq-illustration {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;            
  height: 100%;
  display: flex;
  align-items: flex-end;  
  justify-content: center;
  pointer-events: none;  
}

.contact-card.hq .hq-illustration svg {
  height: 90%;            
  width: auto;
  overflow: visible;
}

/* Windows animation */
@keyframes windowGlow {
  0%, 20%, 100% { fill: rgba(255,255,255,0.1); }
  10% { fill: rgba(255,255,255,0.7); }
}

.contact-card.hq .hq-illustration .windows rect {
  animation: windowGlow 2.5s infinite ease-in-out;
}

/* Randomize each window */
.contact-card.hq .hq-illustration .windows rect:nth-child(1) { animation-delay: 0s; }
.contact-card.hq .hq-illustration .windows rect:nth-child(2) { animation-delay: 0.3s; }
.contact-card.hq .hq-illustration .windows rect:nth-child(3) { animation-delay: 0.5s; }
.contact-card.hq .hq-illustration .windows rect:nth-child(4) { animation-delay: 0.7s; }
.contact-card.hq .hq-illustration .windows rect:nth-child(5) { animation-delay: 0.2s; }
.contact-card.hq .hq-illustration .windows rect:nth-child(6) { animation-delay: 0.4s; }
.contact-card.hq .hq-illustration .windows rect:nth-child(7) { animation-delay: 0.6s; }
.contact-card.hq .hq-illustration .windows rect:nth-child(8)
