.contact-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(18, 49, 38, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.3s ease;
}

.contact-modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.contact-modal-box {
  position: relative;
  background: white;
  width: 100%;
  max-width: 680px;
  border-radius: 28px;
  padding: 50px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s ease;
}

.contact-modal-overlay.is-active .contact-modal-box {
  transform: translateY(0) scale(1);
}

.close-modal-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal-btn:hover {
  color: var(--text);
}

.contact-modal-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-modal-header h3 {
  font-size: 36px;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.contact-modal-header p {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.contact-method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid rgba(0,0,0,0.04);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}

.contact-method-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  border-color: var(--green);
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 24px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.contact-method-card strong {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 6px;
}

.contact-method-card span {
  font-size: 14px;
  color: var(--muted);
}

.floating-contact-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(54,170,66,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(54,170,66,0.45);
}

/* POISTETTU IKONI KÄYTTÄMÄLLÄ CONTENT: NONE */
.floating-contact-btn::before {
  content: none !important;
}

@media (max-width: 640px) {
  .contact-modal-box { padding: 40px 24px; }
  .contact-modal-header h3 { font-size: 28px; }
  .contact-methods-grid { grid-template-columns: 1fr; }
  .floating-contact-btn {
    bottom: 24px;
    right: 24px;
    padding: 14px 22px;
    font-size: 15px;
  }
}