/* =========================================================
   ALEX I BRUNA — CONTACTE
   ========================================================= */

.page-contacte {
  height: 100vh;
  overflow: hidden;
}

.contacte-shell {
  height: 100vh;
  overflow: hidden;
  background-color: #faf7f4;
}

.contacte-background {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;

  object-fit: cover;
  object-position: center center;
  transform: none;
  transform-origin: center center;

  z-index: 0;
  pointer-events: none;
}

.contacte-content {
  position: relative;
  z-index: 2;
  height: 100vh;
  overflow: hidden;
}

.contacte-nav {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 2rem;

  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  color: rgba(47, 42, 38, 0.72);
}

.contacte-main {
  position: absolute;
  left: 43%;
  top: 40%;
  transform: translate(-50%, -50%);

  width: min(700px, 82vw);
  text-align: right;
}

.contacte-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 350;
  line-height: 1.75;

  color: #28435e;
  text-shadow: 0 1px 5px rgba(255,255,255,.55);
}

.contacte-email {
  display: inline-block;
  margin-top: 48px;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: .01em;

  color: #28435e;
  text-decoration: none;

  transition: .25s;
}

.contacte-email:hover {
  color: #1f3650;
  text-decoration: underline;
}

.contacte-footer {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);

  display: flex;
  gap: 0.5rem;
  align-items: center;
  white-space: nowrap;

  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  color: rgba(47, 42, 38, 0.55);
}

.contacte-footer a:hover,
.contacte-nav a:hover {
  color: #35556f;
}
/* =========================================================
   CONTACTE — MÒBIL
========================================================= */

@media (max-width: 700px) {

  .page-contacte,
  .contacte-shell,
  .contacte-content {
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
  }

  .contacte-background {
    content: url("../img/fonsMOBILcontacteDEF.png");
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100svh;
    object-fit: cover;
    object-position: center top;
    transform: none;
    background-color: #faf7f4;
  }

  .contacte-nav {
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    gap: 1.45rem;
    font-size: 0.88rem;
  }

  .contacte-main {
    left: 50%;
    top: 38%;
    transform: translate(-50%, -50%);
    width: 84vw;
    text-align: center;
  }

  .contacte-text {
    font-size: 1.08rem;
    line-height: 1.55;
  }

  .contacte-email {
    margin-top: 42px;
    font-size: 1.35rem;
  }

  .contacte-footer {
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.72rem;
    max-width: 320px;
  }
}