/* === CONTACT PAGE === */
.contact-page {
  /* Override global main { max-width / margin: 0 auto } */
  max-width: none;
  margin: 0;
  background: #080C12;
  min-height: 80vh;
  /* 8rem top clears the fixed header (position: fixed; top: 2rem + ~60px height) */
  padding: 11rem 2rem 8rem;
}

.contact-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

/* === Left: Info === */
.contact-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 232, 255, 0.2);
  color: var(--hyper-cyan);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}

.contact-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #ededed;
  line-height: 1.2;
  margin: 0 0 1.2rem;
}

.contact-sub {
  font-size: 1rem;
  color: #7a8b9a;
  line-height: 1.7;
  margin: 0 0 2.5rem;
}

/* Reasons list */
.contact-reasons {
  list-style: none;
  padding: 0;
  margin: 0 0 2.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-reasons li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: #b8c4cc;
  line-height: 1.4;
}

.contact-reasons li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 224, 162, 0.12);
  border: 1px solid rgba(0, 224, 162, 0.4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2300E0A2' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Direct contact */
.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-direct-label {
  font-size: 0.82rem;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-email {
  font-size: 1rem;
  font-weight: 600;
  color: var(--neon-mint);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-email:hover {
  color: var(--hyper-cyan);
}

/* === Right: Form === */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #7a8b9a;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-family: inherit;
  color: #ededed;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%237a8b9a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: #0f1520;
  color: #ededed;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--hyper-cyan);
  box-shadow: 0 0 0 3px rgba(0, 232, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(122, 139, 154, 0.5);
}

/* Submit */
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: #0A0E14;
  background: linear-gradient(90deg, var(--neon-mint), var(--hyper-cyan));
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin-top: 0.4rem;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0, 232, 255, 0.35);
}

.contact-submit .arrow {
  transition: transform 0.2s ease;
}

.contact-submit:hover .arrow {
  transform: translateX(4px);
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-captcha {
  min-height: 65px;
}

.contact-feedback {
  font-size: 0.82rem;
  margin-top: 0.2rem;
  color: #9aa8b6;
}

.contact-feedback.is-success {
  color: var(--neon-mint);
}

.contact-feedback.is-error {
  color: #ff8f8f;
}

/* Consent note */
.contact-consent {
  font-size: 0.74rem;
  color: #4a5568;
  line-height: 1.55;
  margin-top: 0.2rem;
}

.contact-consent a {
  color: #6b7280;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.contact-consent a:hover {
  color: var(--neon-mint);
}

/* === Office Section === */

.office-section {
  background: #080C12;
  padding: 3rem 2rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.office-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-mint), var(--hyper-cyan), transparent);
}

.office-section::after {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(0,224,162,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.office-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.office-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neon-mint);
  margin: 0 0 2.5rem;
  font-weight: 500;
}

.office-card--wide {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  height: 200px;
  transition: border-color 0.3s ease;
}

.office-card--wide:hover {
  border-color: rgba(0, 224, 162, 0.2);
}

.office-address-info {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 240px;
  flex-shrink: 0;
}

.office-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.office-card-icon {
  font-size: 1.3rem;
  color: var(--neon-mint);
  display: block;
  opacity: 0.9;
  flex-shrink: 0;
}

.office-card--wide h3 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4a5568;
  margin: 0;
}

.office-card--wide address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.9rem;
}

.office-card--wide address span {
  font-size: 0.95rem;
  color: #c4cdd6;
  line-height: 1.6;
}

.office-card--wide address span:first-child {
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.1rem;
}

.office-link {
  font-size: 0.82rem;
  color: var(--neon-mint);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  align-self: flex-start;
}

.office-link:hover {
  color: var(--hyper-cyan);
}

.office-map-wrap {
  flex: 1;
  height: 100%;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.office-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Pulse animation */
.map-pulse-ring {
  animation: mapPulse 2.4s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes mapPulse {
  0%   { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* === Responsive === */
@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .office-card--wide {
    flex-direction: column;
    height: auto;
  }

  .office-address-info {
    padding: 1.25rem 1.5rem;
    justify-content: flex-start;
  }

  .office-card-icon {
    margin-bottom: 0.5rem;
  }

  .office-card--wide h3 {
    margin-bottom: 0.35rem;
  }

  .office-card--wide address {
    margin-bottom: 0.75rem;
  }

  .office-map-wrap {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    height: 180px;
  }

  .office-section {
    padding: 2.5rem 1.5rem 3rem;
  }
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 1.8rem 1.4rem;
  }
}
