/* =========================
   CONTACT PAGE
========================= */


/* =========================
   CONTACT HERO BACKGROUND
========================= */

body:has(.contact-hero) .hero-wrapper{
  min-height: 0;
}

.hero-bg.hero-bg--contact{
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg.hero-bg--contact::after{
  content:"";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.65) 55%,
    #000 100%
  );
  pointer-events: none;
}

.hero-bg.hero-bg--contact img{
  width: 100%;
  max-height: 100vh;
  object-fit: cover;
}

.site-header,
.contact-hero{
  position: relative;
}

.contact-hero{
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 60px;
}

.contact-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* =========================
   LAYOUT
========================= */

.contact-inner {
    max-width: 900px;
    margin-inline: auto;
    padding-bottom: 80px;
    text-align: center;
}

/* =========================
   DESCRIPTION
========================= */

.contact-description {
    margin: 40px auto 60px;
    max-width: 820px;
    font-size: 16px;
    line-height: 1.7;
    color: #FFFFFF;
}

/* =========================
   CONTACT INFO
========================= */

.contact-contacts {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 60px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 40px;
    height: 40px;
}

.contact-text {
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
}

.contact-text:hover {
    text-decoration: underline;
}

/* =========================
   MAP
========================= */

.contact-map {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 360px;
    border: none;
    filter: grayscale(100%) brightness(0.7);
}

.map-label {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);

    background: rgba(0,0,0,0.7);
    padding: 10px 18px;
    border-radius: 10px;

    font-size: 14px;
    color: #ffffff;
}


/* =========================
   CONTACT – RESPONSIVE
========================= */

/* ====== TABLET (<= 992) ====== */
@media (max-width: 992px){

  .contact-hero{
    min-height: 42vh;
    margin-bottom: 44px;
  }

  .contact-title{
    font-size: 46px;
  }

  .contact-inner{
    padding-bottom: 40px;
  }

  .contact-description{
    margin: 28px auto 44px;
    font-size: 15px;
    line-height: 1.65;
    max-width: 720px;
  }

  .contact-contacts{
    gap: 44px;
    margin-bottom: 44px;
  }

  .contact-map iframe{
    height: 320px;
  }

  .map-label{
    bottom: 16px;
    font-size: 13px;
    padding: 9px 14px;
    border-radius: 10px;
  }
}

/* ====== MOBILE (<= 768) ====== */
@media (max-width: 768px){

  body:has(.contact-hero) .hero-wrapper{
    min-height: auto;
  }

  .hero-wrapper{
    position: relative;
  }

  .hero-bg.hero-bg--contact{
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .hero-bg.hero-bg--contact img{
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
  }

  .site-header,
  .contact-hero{
    position: relative;
  }

  .contact-hero{
    min-height: 36vh;
    margin-bottom: 28px;
  }

  .contact-title{
    font-size: 34px;
  }

  .contact-inner{
    padding-bottom: 40px;
  }

  .contact-description{
    margin: 18px auto 28px;
    font-size: 14px;
    line-height: 1.7;
    padding-inline: 6px;
  }

  .contact-contacts{
    flex-direction: column;
    gap: 22px;
    margin-bottom: 28px;
  }

  .contact-icon{
    width: 34px;
    height: 34px;
  }

  .contact-text{
    font-size: 16px;
  }

  .contact-map{
    border-radius: 10px;
  }

  .contact-map iframe{
    height: 260px;
  }

  .map-label{
    left: 16px;
    right: 16px;
    bottom: 12px;
    transform: none;
    max-width: none;
    text-align: center;

    font-size: 12px;
    padding: 9px 12px;
    border-radius: 10px;
  }
}

/* ====== SMALL MOBILE (<= 420) ====== */
@media (max-width: 420px){
  .contact-title{ font-size: 30px; }
  .contact-map iframe{ height: 240px; }
}

