/* Contact page styles with premium lowpoly design language. */

.contact-hero {
  padding: 24px 0 0;
}

.contact-hero-grid,
.contact-layout-grid,
.contact-highlight-grid,
.contact-form-grid,
.contact-social-grid,
.contact-support-grid {
  display: grid;
  gap: 24px;
}

.contact-hero-grid,
.contact-layout-grid,
.contact-map-card {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-hero-copy,
.contact-hero-visual,
.contact-info-card,
.contact-form-card,
.contact-map-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-soft) 0%, rgba(18, 18, 23, 0.6) 100%);
  box-shadow: var(--shadow);
}

.contact-hero-copy,
.contact-form-card,
.contact-info-card {
  padding: clamp(28px, 4vw, 42px);
}

.contact-hero-copy h1,
.contact-map-copy h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.contact-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-highlight-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.contact-highlight-card {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}

.contact-highlight-card span,
.contact-list-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.contact-highlight-card strong {
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--accent-strong);
}

.contact-hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 540px;
}

.contact-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.05);
}

.contact-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(9, 9, 11, 0.9) 100%);
}

.contact-hero-badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(9, 9, 11, 0.88);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.contact-hero-badge strong {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.contact-hero-badge span {
  color: var(--muted);
}

.contact-info-stack {
  display: grid;
  gap: 24px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.contact-list li {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  line-height: 1.7;
}

.contact-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-list a {
  transition: color 0.2s ease;
}

.contact-list a:hover,
.contact-social-card:hover {
  color: var(--accent-strong);
}

.contact-support-grid {
  gap: 14px;
}

.contact-support-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}

.contact-support-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.contact-support-card span {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.contact-social-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-social-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  text-align: center;
  transition: all 0.2s ease;
}

.contact-social-card:hover {
  background: rgba(226, 186, 67, 0.12);
  border-color: rgba(226, 186, 67, 0.4);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

.contact-input,
.contact-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  padding: 14px 16px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: rgba(226, 186, 67, 0.50);
  box-shadow: 0 0 0 4px rgba(226, 186, 67, 0.12);
}

.contact-textarea {
  resize: vertical;
}

.contact-validation {
  display: block;
  margin-top: 8px;
  color: #f87171;
  font-size: 0.88rem;
}

.contact-submit {
  width: 100%;
}

.contact-map-section {
  padding-top: 0;
}

.contact-map-card {
  display: grid;
  gap: 24px;
  padding: 24px;
  align-items: stretch;
}

.contact-map-copy {
  padding: clamp(24px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-map-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.75;
}

.contact-map-frame {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.contact-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1199.98px) {
  .contact-hero-grid,
  .contact-layout-grid,
  .contact-map-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .contact-hero-grid,
  .contact-layout-grid,
  .contact-highlight-grid,
  .contact-form-grid,
  .contact-social-grid,
  .contact-support-grid,
  .contact-map-card {
    grid-template-columns: 1fr;
  }

  .contact-hero-copy,
  .contact-info-card,
  .contact-form-card,
  .contact-map-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-hero-visual {
    min-height: 400px;
  }

  .contact-quick-actions {
    flex-direction: column;
  }

  .contact-map-frame {
    min-height: 340px;
  }
}
