/* =============================================
   CONTACT / ORDER PAGE
   ============================================= */

.contact-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 140px 48px 80px;
  overflow: hidden;
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.9;
  margin: 20px 0 24px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--grey-400);
  max-width: 520px;
  line-height: 1.75;
}

/* =============================================
   CONTENT GRID
   ============================================= */

.contact-content {
  border-top: 1px solid var(--grey-200);
  padding: 80px 0 120px;
}

.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: start;
}

/* =============================================
   ORDER FORM
   ============================================= */

.contact-form-wrap {
  max-width: 680px;
}

.form-header {
  margin-bottom: 48px;
}

.form-header h2 {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 0.02em;
  margin: 12px 0 16px;
}

.form-header p {
  font-size: 15px;
  font-weight: 300;
  color: var(--grey-400);
  line-height: 1.7;
  max-width: 480px;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(200, 255, 0, 0.02);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey-400);
}

.form-group select {
  cursor: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: #1a1a1a;
}

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

/* File upload */
.file-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed var(--grey-300);
  border-radius: 6px;
  padding: 28px 20px;
  cursor: none;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  font-size: 14px;
  color: var(--grey-400);
}

.file-upload-zone:hover {
  border-color: var(--accent);
  background: rgba(200, 255, 0, 0.03);
  color: var(--white);
}

.file-upload-zone .upload-icon {
  font-size: 28px;
  color: var(--accent);
}

.file-upload-zone .upload-sub {
  font-size: 12px;
  color: var(--grey-400);
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--grey-200);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--grey-400);
}

.file-item span {
  color: var(--white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Checkbox */
.checkbox-group {
  flex-direction: row !important;
  align-items: flex-start;
}

.checkbox-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--grey-400);
  line-height: 1.6;
  cursor: none;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: none;
  margin-top: 1px;
  background: var(--grey-200);
  border: 1px solid var(--grey-300);
  border-radius: 2px;
  outline: none;
  padding: 0;
}

.checkbox-label a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  font-size: 14px;
}

.form-note {
  font-size: 12px;
  color: var(--grey-400);
  line-height: 1.6;
  text-align: center;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 80px 40px;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--accent);
  color: var(--black);
  border-radius: 50%;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 40px;
  margin-bottom: 12px;
}

.form-success p {
  font-size: 15px;
  color: var(--grey-400);
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto;
}

/* =============================================
   SIDEBAR
   ============================================= */

.contact-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-block {
  padding: 32px 0;
  border-bottom: 1px solid var(--grey-200);
}

.sidebar-block:first-child {
  padding-top: 0;
}

.sidebar-block h3 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 20px;
}

.price-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--grey-400);
}

.price-row .price {
  color: var(--white);
  font-weight: 500;
}

.price-row.price-total {
  padding-top: 14px;
  border-top: 1px solid var(--grey-200);
  font-size: 16px;
  color: var(--white);
  font-weight: 600;
}

.price-row.price-total .price {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.price-note {
  font-size: 12px;
  color: var(--grey-400);
  line-height: 1.6;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tl-num {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--accent);
  min-width: 48px;
  padding-top: 2px;
}

.timeline-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.timeline-item p {
  font-size: 12px;
  color: var(--grey-400);
  line-height: 1.5;
}

/* Contact links */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--grey-400);
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--white);
}

.contact-link span {
  color: var(--accent);
  font-size: 16px;
}

/* =============================================
   FAQ
   ============================================= */

.faq-section {
  padding: 100px 0;
  border-top: 1px solid var(--grey-200);
  background: var(--grey-100);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.faq-item {
  padding: 40px;
  background: var(--grey-200);
  transition: background 0.3s;
}

.faq-item:hover {
  background: var(--grey-300);
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  color: var(--white);
  line-height: 1.2;
}

.faq-item p {
  font-size: 14px;
  font-weight: 300;
  color: var(--grey-400);
  line-height: 1.75;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .sidebar-block {
    padding: 24px;
    border-right: 1px solid var(--grey-200);
  }
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 120px 24px 60px;
  }
  .contact-title { font-size: clamp(44px, 12vw, 64px); }
  .contact-grid {
    padding: 0 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-sidebar {
    grid-template-columns: 1fr;
  }
  .sidebar-block {
    border-right: none;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
