/* ==========================================================================
   contact.css — Contact page styles
   --------------------------------------------------------------------------
   Uses tokens defined in style.css (--bg, --amber, --card, --radius-xl, etc).
   ========================================================================== */

.contact-section {
  padding: 120px 0 0;
}

/* ================= SECTION 1: HEADER ================= */

.contact-heading {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 64px;
  max-width: 20ch;
}

/* ================= SECTION 2: INFO + MAP ================= */

.contact-info-map {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* Left: Contact Info Card */
.contact-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.contact-availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  width: fit-content;
}

.contact-avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.contact-info-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  max-width: 52ch;
}

.contact-local-time {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  margin-top: auto;
}

.contact-clock-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.contact-time-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.contact-time-value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* Right: Map Card */
.contact-map-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.contact-map-visual {
  flex: 1;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.contact-map-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 60% 65%, rgba(34, 197, 94, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%),
    var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map-grid {
  width: 100%;
  height: 100%;
}

.contact-map-info {
  padding: 18px 22px;
  border-top: 1px solid var(--border);
}
.about-eyebrow-row{
  margin-bottom: 16px;
}
.contact-map-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-map-location {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.contact-map-country {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 2px;
}

.contact-map-code {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}

/* ================= SECTION 3: CONTACT DETAIL CARDS ================= */

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.contact-detail-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: relative;
  overflow: hidden;
  min-height: 140px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.contact-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.contact-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-copy-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.contact-copy-btn.copied {
  border-color: var(--green);
  color: var(--green);
}

.contact-detail-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

a.contact-detail-value:hover {
  color: var(--accent);
}

.contact-detail-masked {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.contact-detail-decoration {
  position: absolute;
  bottom: 12px;
  right: 16px;
  pointer-events: none;
}

/* Social icons in Network card */
.contact-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.contact-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.contact-social-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.contact-social-more {
  border-style: dashed;
}

/* ================= SECTION 2: FORM + FAQs =================
   The form leads the page, so it's an elevated, accent-lit hero card while the
   FAQ rides alongside as a lighter supporting column. */

.contact-form-faq {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 44px;
  align-items: start;
  margin-bottom: 72px;
}

/* Form hero card — filled + glowing so the eye lands here first. */
.contact-form-block {
  position: relative;
  padding: 40px 36px;
  background:
    radial-gradient(130% 110% at 0% 0%, var(--accent-soft) 0%, transparent 55%),
    var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card), 0 0 34px -18px var(--accent);
  overflow: hidden;
}

/* Gradient accent bar pinned to the top edge of the card. */
.contact-form-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-script);
}

.contact-faq-block {
  padding-top: 8px;
}

/* Availability chip repeated inside the form: reassurance at the point of action. */
.contact-form-avail {
  margin-bottom: 24px;
}

/* Interest Pills */
.contact-interest-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.contact-pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-pill:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.contact-pill.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.contact-form-optional {
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.6;
}

/* Honeypot: kept in the DOM (bots fill it) but removed from view and the
   accessibility tree for real users. Not display:none — some bots skip that. */
.contact-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.contact-input::placeholder {
  color: var(--text-faint);
}

.contact-input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 999px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  margin-top: 4px;
  box-shadow: 0 10px 30px -12px var(--accent);
}

.contact-submit-btn:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -12px var(--accent);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

.contact-submit-arrow {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.contact-submit-btn:hover .contact-submit-arrow {
  transform: translateX(3px);
}

.contact-form-feedback {
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
}

.contact-form-feedback.success {
  color: var(--green);
}

.contact-form-feedback.error {
  color: #ef4444;
}

/* FAQs */
.contact-faq-list {
  display: flex;
  flex-direction: column;
}

.contact-faq-item {
  border-bottom: 1px solid var(--border);
}

.contact-faq-item:last-child {
  border-bottom: none;
}

.contact-faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  gap: 16px;
  transition: color 0.2s ease;
}

.contact-faq-toggle:hover {
  color: var(--accent);
}

.contact-faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.contact-faq-item.open .contact-faq-chevron {
  transform: rotate(180deg);
}

.contact-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.contact-faq-item.open .contact-faq-answer {
  max-height: 300px;
}

.contact-faq-answer p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  padding: 0 0 18px;
}

/* ================= LIGHT THEME OVERRIDES ================= */

[data-theme="light"] .contact-input {
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .contact-input:focus {
  background: rgba(0, 0, 0, 0.035);
}

[data-theme="light"] .contact-map-placeholder {
  background:
    radial-gradient(circle at 60% 65%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0,0,0,0.02) 0%, transparent 100%),
    var(--bg);
}

[data-theme="light"] .contact-local-time {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .contact-copy-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .contact-social-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 860px) {
  .contact-section {
    padding: 80px 0 0;
  }

  .contact-heading {
    margin-bottom: 48px;
  }

  .contact-info-map {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .contact-info-card,
  .contact-map-card {
    min-width: 0;
  }

  .contact-details-grid {
    grid-template-columns: 1fr;
    margin-bottom: 56px;
  }

  .contact-form-faq {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .contact-form-block {
    padding: 32px 24px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    padding: 28px 24px;
  }

  .contact-local-time {
    flex-wrap: wrap;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 64px 0 0;
  }

  .contact-heading {
    font-size: 28px;
    margin-bottom: 36px;
  }

  .contact-info-card {
    padding: 24px 20px;
  }

  .contact-form-block {
    padding: 24px 20px;
  }

  .contact-map-info {
    padding: 14px 18px;
  }

  .contact-detail-card {
    padding: 20px;
  }

  .contact-social-icons {
    gap: 10px;
  }

  .contact-social-btn {
    width: 44px;
    height: 44px;
  }

  .contact-interest-pills {
    gap: 8px;
  }

  .contact-pill {
    padding: 7px 14px;
    font-size: 12px;
    min-height: 36px;
  }

  .contact-submit-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .contact-input {
    font-size: 16px;
    padding: 12px 14px;
  }

  .contact-textarea {
    font-size: 16px;
  }

  .contact-faq-toggle {
    font-size: 14px;
    min-height: 48px;
  }

  .contact-map-location {
    font-size: 20px;
  }

  .contact-info-title {
    font-size: 22px;
  }
}

@media (max-width: 360px) {
  .contact-heading {
    font-size: 24px;
  }

  .contact-availability-badge {
    font-size: 12px;
    padding: 5px 12px;
  }
}
