/* DIM LAZAR — Contact page content styles */

.contact-main {
  min-height: calc(100dvh - 5rem);
}

.contact-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-heading > div:first-child {
  min-width: 0;
}

.contact-kicker {
  margin-bottom: 0.72rem;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.68rem;
  font-weight: 390;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-heading h1 {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(2.8rem, 6.2vw, 5.4rem);
  font-weight: 250;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.language-switch {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.58rem;
  padding-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.20);
  font-size: 0.72rem;
  letter-spacing: 0.10em;
}

.language-button {
  appearance: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0.25rem 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  font: 420 0.72rem/1 var(--f-sans);
  letter-spacing: 0.10em;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.language-button:hover,
.language-button:focus-visible,
.language-button.is-active {
  color: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(200, 169, 126, 0.72);
  outline: none;
}

.contact-panel {
  max-width: 730px;
  padding-top: 4.25rem;
  animation: contactFade 0.42s var(--ease) both;
}

.contact-panel[hidden] {
  display: none;
}

.contact-lead {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.02rem, 1.38vw, 1.18rem);
  font-weight: 300;
  line-height: 1.78;
}

.contact-email {
  display: inline-block;
  max-width: 100%;
  margin-top: 2rem;
  border-bottom: 1px solid rgba(200, 169, 126, 0.48);
  color: rgba(239, 228, 210, 0.96);
  text-decoration: none;
  font-size: clamp(1.45rem, 3.4vw, 2.75rem);
  font-weight: 270;
  line-height: 1.25;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.contact-email:hover,
.contact-email:focus-visible {
  color: #fff;
  border-bottom-color: rgba(200, 169, 126, 0.95);
  outline: none;
}

.contact-location {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 660px;
  margin-top: 4.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.09);
}

.contact-links a {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.1rem;
  background: rgba(8, 12, 18, 0.84);
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.contact-links a:hover,
.contact-links a:focus-visible {
  background: rgba(18, 24, 33, 0.92);
  color: rgba(255, 255, 255, 0.96);
  outline: none;
}

.contact-links span {
  min-width: 0;
  font-size: 0.76rem;
  font-weight: 340;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-links strong {
  flex: 0 0 auto;
  color: rgba(226, 207, 179, 0.78);
  font-size: 0.72rem;
  font-weight: 480;
  letter-spacing: 0.08em;
}

@keyframes contactFade {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .contact-main {
    min-height: auto;
  }

  .contact-heading {
    display: block;
    padding-bottom: 22px;
  }

  .contact-kicker {
    margin-bottom: 0.62rem;
    font-size: 0.64rem;
    letter-spacing: 0.15em;
  }

  .contact-heading h1 {
    font-size: clamp(2.85rem, 14vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
  }

  .language-switch {
    margin-top: 1.35rem;
    gap: 0.36rem;
    padding: 0;
    font-size: 0.68rem;
  }

  .language-button {
    min-width: 36px;
    min-height: 40px;
    padding: 0.55rem 0.2rem 0.42rem;
    font-size: 0.70rem;
  }

  .contact-panel {
    max-width: none;
    padding-top: 34px;
  }

  .contact-lead {
    max-width: none;
    font-size: 1rem;
    line-height: 1.68;
  }

  .contact-email {
    margin-top: 1.65rem;
    font-size: clamp(1.35rem, 7vw, 2rem);
    line-height: 1.35;
  }

  .contact-location {
    margin-top: 0.85rem;
    font-size: 0.62rem;
  }

  .contact-links {
    grid-template-columns: 1fr;
    margin-top: 3.6rem;
  }

  .contact-links a {
    min-height: 58px;
    padding: 1.15rem 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-panel { animation: none; }
}
