/* CARLISM CONTACT */

.contact-page {
  position: relative;
  width: 100%;
  min-height: 680px;
  overflow: hidden;
  background: #090909;
  color: #fff;
}

.contact-bg {
  position: absolute;
  inset: 0;

  background-image:
    image-set(
      url("../assets/images/hero/thumbs/DSC00740.webp") type("image/webp"),
      url("../assets/images/hero/DSC00740.jpg") type("image/jpeg")
    );

  background-position: center 52%;
  background-size: cover;
  background-repeat: no-repeat;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.84) 0%,
    rgba(0, 0, 0, 0.72) 30%,
    rgba(0, 0, 0, 0.50) 58%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

.contact-container {
  position: relative;
  z-index: 2;
  min-height: 680px;
  padding-top: 32px;
  padding-bottom: 65px;
}


/* BREADCRUMB */

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 75px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 600;
}

.contact-breadcrumb > a:not(.contact-back) {
  color: #fff;
  transition: opacity 0.2s ease;
}

.contact-breadcrumb > a:not(.contact-back):hover {
  opacity: 0.55;
}

.contact-back {
  min-height: 36px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #111 !important;
  border: 1px solid #fff;
  font-size: 10px;
  font-weight: 800;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.contact-back:hover {
  background: transparent;
  color: #fff !important;
  transform: translateX(-2px);
}


/* CONTENT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.2fr);
  align-items: center;
  gap: clamp(45px, 7vw, 120px);
}

.contact-intro {
  max-width: 470px;
}

.contact-intro h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(60px, 6vw, 96px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -4px;
}

.contact-line {
  width: 68px;
  height: 2px;
  margin: 28px 0 42px;
  background: #fff;
}

.contact-intro h2 {
  margin: 0 0 13px;
  color: #fff;
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -1px;
}

.contact-intro p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.75;
}


/* CONTACT CARDS */

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  position: relative;
  min-width: 0;
  min-height: 120px;
  padding: 19px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.contact-card:hover {
  background: rgba(0, 0, 0, 0.72);
  border-color: #fff;
  transform: translateY(-3px);
}

.contact-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.25s ease;
}

.contact-card:hover::after {
  width: 100%;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 17px;
}

.contact-info {
  min-width: 0;
}

.contact-info span,
.contact-info small {
  display: block;
  color: rgba(255, 255, 255, 0.52);
}

.contact-info span {
  margin-bottom: 5px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.contact-info strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-info small {
  font-size: 8px;
  line-height: 1.4;
}

.contact-arrow {
  color: #fff;
  font-size: 10px;
  transition: transform 0.2s ease;
}

.contact-card:hover .contact-arrow {
  transform: translateX(4px);
}


/* TABLET */

@media (max-width: 1024px) {

  .contact-grid {
    grid-template-columns: minmax(250px, 0.8fr) minmax(400px, 1.2fr);
    gap: 35px;
  }

  .contact-card {
    min-height: 105px;
    padding: 15px;
  }

  .contact-icon {
    width: 43px;
    height: 43px;
    font-size: 15px;
  }

}


/* MOBILE */

@media (max-width: 820px) {

  .contact-breadcrumb {
    display: none;
  }

  .contact-page,
  .contact-container {
    min-height: auto;
  }

  .contact-container {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .contact-bg {
    background-position: 52% center;
  }

  .contact-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.58) 35%,
      rgba(0, 0, 0, 0.74) 70%,
      rgba(0, 0, 0, 0.84) 100%
    );
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-intro {
    max-width: 450px;
  }

  .contact-intro h1 {
    font-size: clamp(48px, 14vw, 65px);
    letter-spacing: -2px;
  }

  .contact-line {
    width: 55px;
    margin: 20px 0 28px;
  }

  .contact-intro h2 {
    font-size: 25px;
  }

  .contact-intro p {
    max-width: 370px;
    font-size: 10px;
    line-height: 1.7;
  }

  .contact-methods {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-card {
    min-height: 84px;
    padding: 13px 14px;
    gap: 13px;
    background: rgba(0, 0, 0, 0.54);
  }

  .contact-card:hover {
    background: rgba(0, 0, 0, 0.72);
  }

  .contact-icon {
    width: 41px;
    height: 41px;
    font-size: 15px;
  }

  .contact-info strong {
    font-size: 11px;
  }

}


/* SMALL MOBILE */

@media (max-width: 480px) {

  .contact-container {
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .contact-bg {
    background-position: 51% center;
  }

  .contact-intro h1 {
    font-size: 46px;
  }

  .contact-line {
    width: 52px;
    margin: 18px 0 25px;
  }

  .contact-intro h2 {
    font-size: 22px;
  }

  .contact-intro p {
    max-width: 310px;
    font-size: 9px;
  }

  .contact-grid {
    gap: 25px;
  }

  .contact-card {
    min-height: 80px;
    padding: 12px;
  }

  .contact-icon {
    width: 39px;
    height: 39px;
    font-size: 14px;
  }

  .contact-info span,
  .contact-info small {
    font-size: 7px;
  }

  .contact-info strong {
    font-size: 10px;
  }

  .contact-arrow {
    font-size: 8px;
  }

}