/* ── Contact — Minimalist ── */

#contact {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 6rem 0;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

/* ── Left Column ── */

.contact-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-heading {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  background: linear-gradient(135deg, #F8F8F4 30%, #00F5C4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}

/* ── Contact List ── */

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  /* GPU layer for GSAP entrance + hover slide */
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.contact-item.contact-hoverable:hover {
  transform: translateX(4px);
}

.contact-item-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-item-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
}

.contact-item-link {
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item-link:hover {
  color: var(--gold);
}

/* ── CTA Button ── */

.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
  padding: 0.85rem 2rem;
  background: rgba(0,245,196,0.08);
  color: var(--white);
  border: 1px solid rgba(0,245,196,0.15);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-cta:hover {
  background: rgba(0,245,196,0.15);
  border-color: rgba(0,245,196,0.3);
  transform: scale(0.97);
}

.contact-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Map ── */

.contact-map {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0,245,196,0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  filter: grayscale(80%) brightness(0.8);
  transition: filter 0.5s ease, box-shadow 0.5s ease;
  /* GPU layer prevents filter transition from repainting the page */
  will-change: filter, transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.contact-map:hover {
  filter: grayscale(0%) brightness(0.9);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* ── Mobile map circle (hidden on desktop) ── */
.contact-map-circle {
  display: none;
}

@media (max-width: 768px) {
  .contact-map iframe {
    display: none;
  }

  .contact-map {
    border: none;
    box-shadow: none;
    filter: none;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
  }

  .contact-map:hover {
    filter: none;
    box-shadow: none;
  }

  .contact-map-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #021B1A 0%, #021B1A 100%);
    border: 2px solid rgba(0,245,196,0.3);
    box-shadow:
      0 0 0 6px rgba(0,245,196,0.06),
      0 8px 24px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: mapPulse 2.5s ease-in-out infinite;
  }

  .contact-map-circle:active {
    transform: scale(0.93);
  }

  .contact-map-circle svg {
    width: 26px;
    height: 26px;
    stroke: var(--gold);
    flex-shrink: 0;
  }

  .contact-map-circle span {
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    font-weight: 600;
    color: rgba(248,248,244,0.7);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
  }

  @keyframes mapPulse {
    0%, 100% { box-shadow: 0 0 0 6px rgba(0,245,196,0.06), 0 8px 24px rgba(0,0,0,0.3); }
    50%      { box-shadow: 0 0 0 10px rgba(0,245,196,0.1), 0 12px 32px rgba(0,0,0,0.35); }
  }
}
