/* ==========================================
   KENSTACK — Modern Enquiry Form Redesign
   ========================================== */

.eq-section {
  padding: 120px 0;
  background: #f8f9fa;
  /* Subtle contrast to separate from white sections */
  position: relative;
  font-family: var(--font-body);
}

/* Reveal Animations */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

.eq-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.eq-header {
  text-align: center;
  margin-bottom: 60px;
}

.eq-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 16px;
}

.eq-title .gold {
  color: var(--gold);
}

.eq-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Modern Card Layout ── */
.eq-modern-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06), 0 10px 20px rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: 340px 1fr;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Side Panel */
.eq-side-info {
  background: #fafafa;
  padding: 48px 40px;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.eq-side-brand {
  margin-bottom: 48px;
}

.eq-side-brand img {
  height: 40px;
  margin-bottom: 12px;
}

.eq-side-brand h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.02em;
}

.eq-contact-items {
  margin-bottom: 48px;
}

.eq-contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.eq-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

.eq-item-text label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.eq-item-text a,
.eq-item-text span {
  font-size: 0.88rem;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

.eq-trust-badges {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.eq-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

.eq-badge i {
  color: #10b981;
}

.eq-social-footer {
  margin-top: 32px;
  display: flex;
  gap: 12px;
}

.eq-social-footer a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #333;
  transition: all 0.3s ease;
}

.eq-social-footer a:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Form Panel */
.eq-form-panel {
  padding: 48px 56px;
}

.ef-header {
  margin-bottom: 32px;
}

.ef-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.ef-header p {
  font-size: 0.9rem;
  color: #666;
}

.ef-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 20px;
}

.ef-field.full-width {
  grid-column: span 2;
}

.ef-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ef-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
}

.ef-field input,
.ef-field select,
.ef-field textarea {
  background: #fdfdfd;
  border: 1.5px solid #eee;
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #000;
  transition: all 0.2s ease;
  outline: none;
}

.ef-field input:focus,
.ef-field select:focus,
.ef-field textarea:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08);
}

.ef-field input::placeholder,
.ef-field textarea::placeholder {
  color: #ccc;
}

/* Error States */
.ef-field.field-error label {
  color: #ef4444;
}

.ef-field.field-error input,
.ef-field.field-error select,
.ef-field.field-error textarea {
  border-color: #ef4444;
  background: #fffafa;
}

/* Status Message */
.ef-status {
  margin-top: 20px;
}

.success-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #ecfdf5;
  border: 1px solid #10b981;
  border-radius: 10px;
  color: #065f46;
  font-size: 0.9rem;
  font-weight: 500;
  animation: slide-in-top 0.4s ease both;
}

@keyframes slide-in-top {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Submit Button */
.ef-submit-modern {
  margin-top: 32px;
  width: 100%;
  padding: 16px 32px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.ef-submit-modern:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.ef-submit-modern i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.ef-submit-modern:hover i {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 992px) {
  .eq-modern-card {
    grid-template-columns: 1fr;
  }

  .eq-side-info {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px;
  }
}

@media (max-width: 600px) {
  .ef-grid {
    grid-template-columns: 1fr;
  }

  .ef-field.full-width {
    grid-column: span 1;
  }

  .eq-form-panel {
    padding: 32px 24px;
  }

  .eq-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .eq-title {
    font-size: 1.8rem;
  }
}

/* ── Checkbox Styling ── */
.checkbox-field {
  margin-top: 10px;
}

.checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
  user-select: none;
  line-height: 1.4;
}

/* Hide default checkbox */
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Custom checkmark */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  background-color: #fdfdfd;
  border: 1.5px solid #eee;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.checkbox-container:hover input~.checkmark {
  background-color: #f0f0f0;
}

.checkbox-container input:checked~.checkmark {
  background-color: var(--gold);
  border-color: var(--gold);
}

/* Checkmark indicator */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked~.checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-field.field-error .checkmark {
  border-color: #ef4444;
  background-color: #fffafa;
}