/* ==========================================================================
   CONSULTATION & QUOTE SECTION (LEXCORP CLONE)
   Strictly adheres to Design System Tokens in tokens.css
   Container max-width: 1840px
   Theme: Midnight Navy Black (#0c0f17) & Surface (#101624) : Zero Green
   ========================================================================== */

.consultation-section {
  position: relative;
  width: 100%;
  background-color: var(--color-brand-pearl, #f5f4f0);
  background-image: none;
  color: var(--_colors---swatch--black, #0c0f17);
  padding: 88px 0 64px;
  overflow: hidden;
  box-sizing: border-box;
  border-top: 1px solid rgba(33, 46, 78, 0.12);
}

/* 1840px Container */
.consultation-container {
  width: 100%;
  max-width: var(--container-max, 1840px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

/* Outer Card Shell (Left & Right Columns Connected with Glass Effect) */
.consultation-shell {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  border: 1px solid rgba(33, 46, 78, 0.18);
  border-radius: var(--radius-card, 8px);
  overflow: hidden;
  background-color: #101624;
  box-shadow: 0 20px 50px rgba(12, 15, 23, 0.14);
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Left Column: Manifesto & Contacts
   -------------------------------------------------------------------------- */
.consultation-col-manifesto {
  flex: 0 0 35%;
  min-width: 360px;
  max-width: 480px;
  background-color: var(--_colors---swatch--black, #0c0f17);
  border-right: 1px solid rgba(189, 196, 212, 0.18);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  box-sizing: border-box;
}

.consultation-manifesto-top {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.consultation-manifesto-text {
  font-family: var(--_fonts---fonts--paragraph, -apple-system, sans-serif);
  font-size: 22px;
  font-weight: 350;
  line-height: 1.38;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.consultation-manifesto-cta {
  align-self: flex-start;
}

/* Contacts List */
.consultation-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.consultation-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--_fonts---fonts--paragraph, -apple-system, sans-serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.consultation-contact-item:hover {
  color: var(--color-brand-symbol, #bdc4d4);
}

.consultation-contact-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-brand-symbol, #bdc4d4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.consultation-contact-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(189, 196, 212, 0.18);
}

/* --------------------------------------------------------------------------
   Right Column: Quote & Consultation Form
   -------------------------------------------------------------------------- */
.consultation-col-form {
  flex: 1;
  background-color: #101624;
  padding: 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.consultation-form-title {
  font-family: var(--_fonts---fonts--alt-heading, "ivypresto-headline", Georgia, serif);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 40px 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

/* Form Structure */
.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
}

.consultation-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 36px;
  width: 100%;
}

/* Individual Input Group */
.consultation-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  width: 100%;
}

.consultation-label {
  font-family: var(--_fonts---fonts--paragraph, -apple-system, sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: rgba(228, 231, 238, 0.9);
  letter-spacing: 0.02em;
}

.consultation-input,
.consultation-select,
.consultation-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(189, 196, 212, 0.35);
  border-radius: 0;
  padding: 10px 0 12px;
  font-family: var(--_fonts---fonts--paragraph, -apple-system, sans-serif);
  font-size: 16px;
  color: #ffffff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.consultation-input::placeholder,
.consultation-textarea::placeholder {
  color: rgba(189, 196, 212, 0.45);
  font-weight: 300;
}

.consultation-input:focus,
.consultation-select:focus,
.consultation-textarea:focus {
  border-bottom-color: var(--color-brand-symbol, #bdc4d4);
  box-shadow: 0 1px 0 var(--color-brand-symbol, #bdc4d4);
}

/* Select specific styling */
.consultation-select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bdc4d4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 16px;
  padding-right: 24px;
}

.consultation-select option {
  background-color: var(--_colors---swatch--black-surface, #101624);
  color: #ffffff;
  padding: 10px;
}

/* Textarea specific */
.consultation-textarea {
  min-height: 80px;
  resize: vertical;
  line-height: 1.5;
}

/* Bottom Actions: Checkbox & Submit Button */
.consultation-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
}

.consultation-checkbox-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.consultation-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(189, 196, 212, 0.35);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-content: center;
  margin: 0;
  transition: all 0.2s ease;
}

.consultation-checkbox:checked {
  background-color: var(--color-brand-symbol, #bdc4d4);
  border-color: var(--color-brand-symbol, #bdc4d4);
}

.consultation-checkbox:checked::before {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--color-brand-navy, #212e4e);
  border-bottom: 2px solid var(--color-brand-navy, #212e4e);
  transform: rotate(-45deg) translate(1px, -1px);
}

.consultation-checkbox-label {
  font-family: var(--_fonts---fonts--paragraph, -apple-system, sans-serif);
  font-size: 14px;
  color: rgba(235, 236, 235, 0.8);
  letter-spacing: -0.01em;
}

.consultation-submit-wrap {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1100px) {
  .consultation-shell {
    flex-direction: column;
  }

  .consultation-col-manifesto {
    flex: none;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-divider, rgba(189, 196, 212, 0.15));
    padding: 44px 36px;
  }

  .consultation-col-form {
    padding: 44px 36px;
  }
}

@media screen and (max-width: 991px) {
  .consultation-section {
    padding: 72px 0 40px;
  }
}

@media screen and (max-width: 767px) {
  .consultation-section {
    padding: 56px 0 28px;
  }

  .consultation-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .consultation-col-manifesto,
  .consultation-col-form {
    padding: 28px 20px;
    gap: 28px;
  }

  .consultation-manifesto-text {
    font-size: 18px;
    line-height: 1.45;
  }

  .consultation-form-title {
    font-size: clamp(24px, 6.2vw, 30px);
    margin-bottom: 24px;
  }

  .consultation-form {
    gap: 24px;
  }

  .consultation-form-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .consultation-form-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .consultation-submit-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .consultation-submit-wrap .btn-animate-chars {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
    justify-content: center;
  }
}