/* ===== CONTACT PAGE STYLES ===== */

/* HERO */
.contact-hero {
  padding-top: 7rem;
  text-align: center;
  padding-bottom: 2rem;
}

.contact-hero-inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact-hero .section-subtitle { margin: 0 auto; }

/* MAIN LAYOUT */
.contact-main-section { padding-top: 2rem; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

/* FORM CARD */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
}

.form-card-header {
  margin-bottom: 2rem;
}

.form-card-header h2 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.form-card-header p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 1rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.input-wrap:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
  color: var(--green);
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  padding: 0.875rem 0;
  width: 100%;
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  color: var(--text-muted);
}

.input-wrap select {
  cursor: pointer;
  appearance: none;
}

.input-wrap select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.textarea-wrap {
  align-items: flex-start;
  padding: 0.875rem 1rem;
}

.textarea-wrap textarea {
  resize: vertical;
  min-height: 120px;
  padding: 0;
  line-height: 1.6;
}

.char-count {
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 0.25rem;
}

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
  margin-top: 0.5rem;
}

/* SUCCESS */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem 1rem;
  animation: fade-up 0.5s ease both;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-glow);
  border: 2px solid rgba(0,255,136,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  box-shadow: 0 0 30px var(--green-glow-strong);
  animation: success-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes success-pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.form-success h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-primary);
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* CONTACT INFO (Right Column) */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md) !important;
}

.channel-card:hover { transform: translateX(4px); }

.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--green-glow);
  border: 1px solid rgba(0,255,136,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.channel-text { flex: 1; }

.channel-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.channel-val {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.channel-arrow {
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}

.channel-card:hover .channel-arrow {
  color: var(--green);
  transform: translateX(3px);
}

/* RESPONSE PROMISE */
.response-promise { padding: 1.5rem; }

.promise-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
}

.promise-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s infinite;
}

.promise-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.promise-stat-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.promise-stat-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.promise-label {
  font-size: 0.6875rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.promise-heartbeat-wrap { margin-top: 0.5rem; }

/* FAQ */
.faq-teaser { padding: 1.5rem; }

.faq-teaser h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item[open] {
  border-color: rgba(0,255,136,0.2);
  background: rgba(0,255,136,0.02);
}

.faq-item summary {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--green);
  line-height: 1;
  transition: var(--transition);
  font-weight: 300;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item summary:hover { color: var(--text-primary); }

.faq-item p {
  padding: 0 1rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* LOCATION */
.location-section { background: var(--bg-secondary); }

.location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.location-text .section-label { margin-bottom: 1rem; }
.location-text .section-title { margin-bottom: 1rem; }

.location-text p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.location-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.location-badge {
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.location-badge:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

/* Globe Visual */
.globe-visual {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,255,136,0.15);
  animation: globe-spin 20s linear infinite;
}

.globe-ring        { width: 280px; height: 280px; }
.globe-ring.ring2  { width: 200px; height: 200px; border-color: rgba(0,255,136,0.1); animation-duration: 14s; animation-direction: reverse; }
.globe-ring.ring3  { width: 120px; height: 120px; border-color: rgba(0,255,136,0.2); animation-duration: 8s; }

@keyframes globe-spin {
  to { transform: rotate(360deg); }
}

.globe-center {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(0,255,136,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0,255,136,0.1);
}

.globe-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  z-index: 3;
}

.globe-node::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--green-glow);
  animation: pulse-node 2s ease-in-out infinite;
}

@keyframes pulse-node {
  0%,100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.8); opacity: 0; }
}

.n1 { top: 20px;  left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.n2 { bottom: 20px; right: 40px; animation-delay: 0.5s; }
.n3 { left: 20px; top: 50%; transform: translateY(-50%); animation-delay: 1s; }
.n4 { right: 20px; top: 50%; transform: translateY(-50%); animation-delay: 1.5s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .contact-layout   { grid-template-columns: 1fr; }
  .location-inner   { grid-template-columns: 1fr; gap: 3rem; }
  .globe-visual     { display: none; }
}

@media (max-width: 640px) {
  .form-row         { grid-template-columns: 1fr; }
  .promise-stats    { flex-direction: column; gap: 1rem; }
}
