/* ==========================================================================
   contact.css
   Scoped styles for the Contact page.
   Namespaced under .contact-page so it can never leak into or be
   overridden by styles.css, regardless of <link> order.
   ========================================================================== */

.contact-page {
  --red: #e60012;
  --ink: #08070a;
  --paper: #111013;
  --surface: #141317;
  background: var(--ink) !important;
  color: #fff !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.contact-page .red { color: var(--red); }

.contact-page .footer { margin-top: 0; }

/* ============ HERO ============ */
.contact-page .c-hero-wrap {
  position: relative;
  padding: 120px 24px 56px;
  background: var(--ink);
}

.contact-page .c-hero-sub {
  font-size: 16px;
  color: #fff;
  opacity: 0.78;
  max-width: 640px;
  margin-top: 28px;
  line-height: 1.65;
}

/* ============ TABS (overlaid on hero photo) ============ */
.contact-page .c-hero-wrap .c-tabs-section {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  z-index: 3;
  padding: 0 24px;
  background: transparent;
}

.contact-page .pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
}

.contact-page .pill {
  padding: 12px 20px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.contact-page .pill:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

.contact-page .pill.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.contact-page .c-tab-caption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
  margin-bottom: 56px;
  max-width: 560px;
}

/* ============ MAIN SPLIT ============ */
.contact-page .c-main {
  background: var(--ink);
  padding: 56px 24px 96px;
}

.contact-page .c-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 56px;
}

.contact-page .reveal-zoom {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1);
}

.contact-page .reveal-zoom.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-page .c-info-head {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.1;
}

.contact-page .c-info-copy {
  font-size: 15px;
  color: #fff;
  line-height: 1.65;
  max-width: none;
  white-space: nowrap;
  margin-top: 20px;
}

.contact-page .c-fact-row {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
}

.contact-page .c-fact {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  transition: padding-left 0.25s cubic-bezier(.16,1,.3,1), border-color 0.25s;
}

.contact-page .c-fact:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.contact-page .c-fact:hover {
  padding-left: 12px;
  border-color: var(--red);
}

.contact-page .c-fact-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
}

.contact-page .c-fact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
}

.contact-page .c-fact-value {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.contact-page .c-clocks {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.contact-page .c-clock {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
}

.contact-page .c-clock-city {
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0.55;
}

.contact-page .c-clock-time {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ============ FORM ============ */
.contact-page .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.15);
  border-bottom: none;
}

.contact-page .f-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 20px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: 100%;
  transition: background 0.25s;
}

.contact-page .f-input.f-col-left {
  border-right: 1px solid rgba(255,255,255,0.15);
}

.contact-page .f-input:focus {
  outline: none;
  background: #0d0c10;
}

.contact-page .f-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.contact-page .f-input.full {
  grid-column: 1 / -1;
}

.contact-page textarea.f-input {
  min-height: 150px;
  resize: vertical;
}

.contact-page .f-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0L5 6L10 0Z' fill='rgba(255,255,255,0.5)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.contact-page .f-select option {
  background: #111013;
  color: #fff;
}

.contact-page .form-send {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.contact-page .form-send .ff-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-left: 18px;
}

.contact-page .form-send .btn-red:hover {
  transform: none;
}

/* ============ LIGHT SECTION (white bg / black text) ============ */
.contact-page .light-section {
  background: #fff;
  color: #000;
}

.contact-page .light-section .c-info-copy,
.contact-page .light-section .c-fact-label,
.contact-page .light-section .c-fact-value,
.contact-page .light-section .c-info-head {
  color: #000;
}

.contact-page .light-section .c-split,
.contact-page .light-section .c-fact,
.contact-page .light-section .c-fact:last-child {
  border-color: rgba(0,0,0,0.12);
}

.contact-page .light-section .form-grid {
  border-color: rgba(0,0,0,0.15);
}

.contact-page .light-section .f-input {
  color: #000;
  border-bottom-color: rgba(0,0,0,0.15);
}

.contact-page .light-section .f-input.f-col-left {
  border-right-color: rgba(0,0,0,0.15);
}

.contact-page .light-section .f-input:focus {
  background: #f2f2f2;
}

.contact-page .light-section .f-input::placeholder {
  color: rgba(0,0,0,0.45);
}

.contact-page .light-section .f-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0L5 6L10 0Z' fill='rgba(0,0,0,0.5)'/%3E%3C/svg%3E");
}

.contact-page .light-section .f-select option {
  background: #fff;
  color: #000;
}

.contact-page .light-section .form-send {
  border-bottom-color: rgba(0,0,0,0.15);
}

@media (max-width: 900px) {
  .contact-page .c-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-page .c-fact {
    grid-template-columns: 24px 1fr;
  }

  .contact-page .c-fact-value {
    grid-column: 1 / -1;
    text-align: left;
    margin-top: 4px;
  }

  .contact-page .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .f-input.f-col-left {
    border-right: none;
  }

  .contact-page .form-send {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 0;
  }

  .contact-page .form-send .ff-note {
    padding-left: 0;
  }
}
