.contact {
  background: var(--bg-dark);
  border-top: 3px solid var(--accent);
  padding: 80px 0 100px;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  margin-top: 48px;
}

.contact-info {
  color: var(--text-light);
  text-align: center;
}

.contact-info p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.7);
}

.contact-info p svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-info .phone-number {
  font-family: var(--font-mono);
  color: var(--text-light);
}

.contact-info .phone-links {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  justify-content: center;
}

.contact-info .phone-links a {
  color: var(--accent);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.contact-info .phone-links a:hover {
  border-bottom-color: var(--accent);
}

.contact-interactive {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.switch-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.switch-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.contact-form-wrapper {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0s;
  margin-top: 0;
}

.contact-form-wrapper.form-visible {
  max-height: 600px;
  opacity: 1;
  margin-top: 24px;
}

.contact-form {
  background: #252B35;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 32px;
  width: 90%;
  max-width: 760px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-mono);
}

.form-group input, .form-group textarea, .country-code-select {
  width: 100%;
  background: #1A1F27;
  border: 1px solid var(--border);
  color: var(--text-light);
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  border-radius: 2px;
  transition: border-color 0.2s;
  outline: none;
}

.phone-input-group {
  display: flex;
  width: 100%;
}

.iti {
  width: 100%;
}

.iti__country-list {
  background-color: #252B35;
  border: 1px solid var(--border);
  color: var(--text-light);
  font-family: var(--font-body);
  border-radius: 2px;
}

.iti__country-list .iti__country.iti__highlight {
  background-color: rgba(255, 255, 255, 0.1);
}

.iti__country-list .iti__country.iti__standard:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.iti__country-name {
  color: var(--text-light);
}

.iti__dial-code {
  color: var(--text-muted);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  background: var(--accent);
  color: var(--text-light);
  border: none;
  padding: 10px 28px;
  font-size: 1.1rem;
  font-weight: 400;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.2s;
  font-family: var(--font-heading);
}

.form-submit:hover {
  background: var(--accent-dark);
}

.form-success {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 20px 0;
  text-align: center;
}

.form-success.hidden {
  display: none;
}

@media (max-width: 768px) {
  .contact-grid {
    gap: 40px;
  }
}
