/* ==========================================================================
   CONTACT US (contact.css)
   MARS TechSol - Direct, Focused Contact Page
   Brand Palette:
     Primary Gold Accent: #FFC600
     Dark Canvas:         #000000 (Pure Black)
     Light Surfaces:      #ffffff (White Card), #f8fafc (Subtle Slate Canvas)
     Borders:             #e2e8f0, #f1f5f9
     Typography:          'Plus Jakarta Sans', system-ui, -apple-system, sans-serif
   ========================================================================== */

/* --- Base Scoped Resets --- */
.contact-page {
  font-family: var(--font-main, 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif);
  color: #111827;
  line-height: 1.6;
  background-color: #f8fafc;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.contact-page * {
  box-sizing: border-box;
}

.ct-gold {
  color: #FFC600 !important;
  font-weight: 800;
}

/* 1280px Grid Container */
.ct-container-1200 {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

@media (min-width: 640px) {
  .ct-container-1200 {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 1024px) {
  .ct-container-1200 {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* Standard Brand Eyebrow (Clean Text-Only, No Pills, No Tacky Borders) */
.ct-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
  margin-bottom: 12px;
}

.ct-heading {
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0;
}

/* ==========================================================================
   SECTION 1: HERO HEADER (Pure #000000 Canvas)
   ========================================================================== */
.ct-hero-section {
  position: relative;
  background-color: #000000;
  color: #ffffff;
  padding-top: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ct-hero-header {
  max-width: 760px;
}

.ct-hero-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 12px 0;
}

@media (min-width: 640px) {
  .ct-hero-title {
    font-size: 44px;
  }
}

@media (min-width: 1024px) {
  .ct-hero-title {
    font-size: 48px;
  }
}

.ct-hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #9ca3af;
  margin: 0;
  max-width: 680px;
}

/* ==========================================================================
   SECTION 2: CONTACT FORM & DIRECT DETAILS (Split Stage)
   ========================================================================== */
.ct-stage-section {
  padding: 48px 0 80px 0;
  background: #f8fafc;
}

.ct-stage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .ct-stage-grid {
    grid-template-columns: 1.35fr 1fr;
    gap: 40px;
  }
}

/* Left Column: Form Card */
.ct-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

@media (min-width: 640px) {
  .ct-form-card {
    padding: 38px 34px;
  }
}

.ct-form-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.ct-form-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
}

.ct-form-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Form Controls */
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .ct-form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ct-field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ct-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #475569;
}

.ct-req {
  color: #d97706;
}

.ct-input,
.ct-select,
.ct-textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: #0f172a;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
}

.ct-input::placeholder,
.ct-textarea::placeholder {
  color: #94a3b8;
}

.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus {
  background: #ffffff;
  border-color: #FFC600;
  box-shadow: 0 0 0 3px rgba(255, 198, 0, 0.18);
}

.ct-select-wrap {
  position: relative;
}

.ct-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 36px;
}

.ct-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
  font-size: 11px;
}

.ct-textarea {
  resize: vertical;
  min-height: 96px;
}

.ct-char-counter {
  text-align: right;
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

/* Submit Action Button (Standard 8px Rounded Rect) */
.ct-btn-submit {
  width: 100%;
  background: #FFC600;
  color: #121212 !important;
  border: 1px solid #FFC600;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(255, 198, 0, 0.24);
  margin-top: 4px;
}

.ct-btn-submit:hover:not(:disabled) {
  background-color: #ffd633;
  border-color: #ffd633;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 198, 0, 0.32);
}

.ct-btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.ct-btn-arrow {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.ct-btn-submit:hover:not(:disabled) .ct-btn-arrow {
  transform: translateX(3px);
}

.ct-form-privacy-note {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.5;
  text-align: center;
  margin: 10px 0 0 0;
}

/* Embedded Feedback Alert */
.ct-form-feedback {
  display: none;
  padding: 24px 20px;
  border-radius: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  text-align: center;
  margin-bottom: 20px;
}

.ct-feedback-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
  font-size: 18px;
  font-weight: 900;
}

.ct-feedback-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.ct-feedback-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  max-width: 440px;
  margin: 0 auto 14px auto;
}

.ct-feedback-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ct-feedback-reset-btn:hover {
  background: #f8fafc;
  border-color: #FFC600;
}

/* Right Column: Direct Info & Offices */
.ct-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ct-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

@media (min-width: 640px) {
  .ct-info-card {
    padding: 32px 28px;
  }
}

.ct-info-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.ct-info-card-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.015em;
}

.ct-info-badge {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 6px;
}

/* Contact Rows */
.ct-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
}

.ct-contact-item:not(:last-child) {
  border-bottom: 1px solid #f8fafc;
}

.ct-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
}

.ct-contact-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ct-contact-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.ct-contact-value {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ct-contact-value:hover {
  color: #d97706;
}

/* Office Rows */
.ct-office-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
}

.ct-office-item:not(:last-child) {
  border-bottom: 1px solid #f1f5f9;
}

.ct-office-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ct-office-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ct-office-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.ct-flag-svg {
  display: block;
  width: 22px;
  height: 15px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.ct-office-name {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.ct-office-city {
  font-size: 11.5px;
  font-weight: 700;
  background: #fef3c7;
  color: #92400e;
  padding: 2px 7px;
  border-radius: 4px;
}

.ct-office-address {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
  padding-left: 27px;
}
