
.contact-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(95 8 7 / 86%);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  pointer-events: none;
}

.contact-modal-overlay.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.contact-modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 0;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 0, 0, 0.2);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  border: none;
}

.contact-modal-content::before {
  display: none;
}

.contact-modal-overlay.active .contact-modal-content {
  transform: translateY(0) scale(1);
  animation: contactBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes contactBounce {
  0% { transform: translateY(20px) scale(0.95); }
  50% { transform: translateY(-5px) scale(1.02); }
  100% { transform: translateY(0) scale(1); }
}

.contact-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.05);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  color: #333;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  line-height: 1;
}

.contact-close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
  transform: rotate(90deg) scale(1.15);
}

.contact-modal-inner {
  padding: 30px 24px 24px;
  position: relative;
  z-index: 1;
}

.contact-modal-title {
  color: #333;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  text-align: center;
}

.contact-form-group {
  margin-bottom: 15px;
}

.contact-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  font-size: 14px;
  color: #333;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact-select::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.contact-select:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.4);
  background: #fff;
}

.contact-select option {
  background: #fff;
  color: #333;
}

.contact-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  font-size: 14px;
  color: #333;
  background: #fff;
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact-input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.contact-input:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.4);
  background: #fff;
}

.contact-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  font-size: 14px;
  font-weight: normal;
  color: #333;
  background: #fff;
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.contact-textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.contact-textarea:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.4);
  background: #fff;
}

.contact-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.contact-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact-btn-email {
  background: #000;
  color: #fff;
  font-weight: 700;
}

.contact-btn-email:hover:not(:disabled) {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.contact-btn-email:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.contact-btn-email:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-btn-whatsapp {
  background: #1DB954;
  color: #000;
  font-weight: 700;
}

.contact-btn-whatsapp:hover:not(:disabled) {
  background: #1ed760;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.4);
}

.contact-btn-whatsapp:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(29, 185, 84, 0.3);
}

.contact-btn-whatsapp:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-success-message {
  margin-top: 15px;
  padding: 12px;
  background: rgba(29, 185, 84, 0.2);
  color: #1ed760;
  border: 1px solid rgba(29, 185, 84, 0.3);
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
  display: none;
}

.contact-success-message.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .contact-modal-content {
    max-width: calc(100% - 10px);
    margin: 0 5px;
    border-radius: 20px;
  }
  
  .contact-modal-overlay {
    align-items: center;
    padding: 5px;
  }
  
  .contact-modal-inner {
    padding: 25px 20px 20px;
  }
  
  .contact-modal-title {
    font-size: 18px;
  }
  
  .contact-buttons {
    flex-direction: column;
  }
  
  .contact-btn {
    width: 100%;
  }
}

