/* =========================================================
   FacadePortal — Coming Soon Page
   ========================================================= */

:root{
  --blue:        #005391;
  --orange:      #F37542;
  --text-dark:   #1a1a1a;
  --text-value:  #111111;
  --text-label:  #686868;
  --contact-line: rgba(0, 0, 0, 0.6);
  --card-bg:     #ffffff;

  --card-width:  670px;
  --card-pad-x:  64px;
  --card-pad-y:  60px;
}

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

html, body{
  height: 100%;
  width: 100%;
}

body{
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
  background: #cfe3f2; /* fallback colour behind everything */
}

/* ===================== BACKGROUND VIDEO ===================== */

.bg-wrap{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  background-color: #cfe3f2;
}

.bg-video{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* Fallback image — shows if the video source is missing/unsupported.
   It sits directly behind the video element, so once a real video
   source is added it will simply be covered and never seen. */
.bg-fallback{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/bg-poster.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

/* ===================== CARD ===================== */

.card{
  position: relative;
  width: 100%;
  max-width: var(--card-width);
  background: var(--card-bg);
  padding: var(--card-pad-y) var(--card-pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 32px;
  box-shadow: 0 2px 40px rgba(0,0,0,0.08);
}

/* ---------- Logo ---------- */

.logo{
  margin-bottom: 64px;
}

.logo img{
  display: block;
  width: 230px;
  height: auto;
}

/* ---------- Headline ---------- */

.headline{
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1;
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin-bottom: 40px;
}

.headline-light{
  font-weight: 300;
  color: var(--blue);
}

.headline-bold{
  font-weight: 700;
  color: var(--orange);
}

/* ---------- Contact row ---------- */

.contact{
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  margin-bottom: 46px;
}

/* Subtle fading top and bottom horizontal borders */
.contact::before,
.contact::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.05) 10%,
    rgba(0, 0, 0, 0.45) 28%,
    var(--contact-line) 50%,
    rgba(0, 0, 0, 0.45) 72%,
    rgba(0, 0, 0, 0.05) 90%,
    transparent 100%
  );
  pointer-events: none;
}

.contact::before{
  top: 0;
}

.contact::after{
  bottom: 0;
}

.contact-item{
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 0 15px;
}

.contact-email{
  align-items: flex-end;
  text-align: right;
  padding-right: 28px;
}

.contact-phone{
  align-items: flex-start;
  text-align: left;
  padding-left: 28px;
  border-left: 1px solid var(--contact-line);
}

.contact-label{
  font-size: 13px;
  font-weight: 400;
  color: var(--text-label);
  line-height: 1.2;
  margin-bottom: 4px;
}

.contact-value{
  font-size: 18px;
  font-weight: 500;
  color: var(--text-value);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.1px;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.contact-value:hover{
  color: var(--blue);
}

/* ---------- Footer ---------- */

.footer{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.copyright{
  font-size: 13px;
  font-weight: 400;
  color: #7a7a7a;
  margin-bottom: 14px;
}

.socials{
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4d4d4d;
  text-decoration: none;
  transition: color 0.2s ease;
}

.social-icon svg{
  width: 19px;
  height: 19px;
}

.social-icon:hover{
  color: var(--orange);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Laptop / small desktop */
@media (max-width: 1100px){
  :root{
    --card-pad-x: 52px;
    --card-pad-y: 48px;
  }
}

/* Tablet */
@media (max-width: 800px){
  :root{
    --card-pad-x: 40px;
    --card-pad-y: 40px;
  }

  .logo{ margin-bottom: 48px; }
  .headline{ margin-bottom: 32px; }
  .contact{ margin-bottom: 34px; }
  .contact-item{ padding: 18px 0; }
  .contact-email{ padding-right: 22px; }
  .contact-phone{ padding-left: 22px; }
  .contact-value{ font-size: 16px; }

  .logo img{ width: 200px; }
}

/* Mobile */
@media (max-width: 520px){
  :root{
    --card-pad-x: 20px;
    --card-pad-y: 32px;
  }

  .card{
    margin: 16px;
  }

  .logo{ margin-bottom: 36px; }
  .logo img{ width: 165px; }

  .headline{
    font-size: clamp(26px, 8vw, 36px);
    margin-bottom: 26px;
  }

  .contact{
    margin-bottom: 28px;
  }

  .contact-item{
    padding: 14px 0;
  }

  .contact-email{
    padding-right: 14px;
  }

  .contact-phone{
    padding-left: 14px;
  }

  .contact-label{
    font-size: 11px;
    margin-bottom: 3px;
  }

  .contact-value{
    font-size: clamp(11.5px, 3.2vw, 14px);
  }

  .copyright{ font-size: 11px; text-align: center; }

  .social-icon svg{ width: 17px; height: 17px; }
}

/* Very small phones */
@media (max-width: 360px){
  .contact-email{
    padding-right: 10px;
  }
  .contact-phone{
    padding-left: 10px;
  }
  .contact-value{
    font-size: 11px;
  }
}

/* Landscape / short-height screens: keep card from overflowing */
@media (max-height: 500px) and (orientation: landscape){
  .card{
    max-height: 92vh;
    overflow-y: auto;
  }

  .logo{ margin-bottom: 24px; }
  .headline{ margin-bottom: 18px; }
  .contact{ margin-bottom: 18px; padding: 12px 0; }
}
