/**
 * Quotation Page Styles (Enhanced)
 * PT Sugi Harti Indonesia
 * Version: 2026.25
 */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background: #ffffff;
  color: #263238;
}

/* ==============================================================
   QUOTATION SECTION & BACKGROUND
   ============================================================== */
.shi-quotation-section {
  position: relative;
  overflow: hidden;
  padding: 70px 0 85px;
  background:
    radial-gradient(circle at top left, rgba(0, 47, 108, 0.05), transparent 38%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.04), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.shi-quotation-section .container {
  position: relative;
  z-index: 2;
}

.bubble-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -120px;
  width: 90px;
  height: 90px;
  background: rgba(0, 47, 108, 0.035);
  border-radius: 50%;
  animation: quoteBubble 18s infinite ease-in;
}

.bubble:nth-child(1) { left: 8%; animation-delay: 0s; }
.bubble:nth-child(2) { left: 22%; width: 48px; height: 48px; animation-delay: 4s; }
.bubble:nth-child(3) { left: 46%; width: 72px; height: 72px; animation-delay: 2s; }
.bubble:nth-child(4) { left: 66%; width: 58px; height: 58px; animation-delay: 7s; }
.bubble:nth-child(5) { left: 81%; width: 110px; height: 110px; animation-delay: 3s; }
.bubble:nth-child(6) { left: 92%; width: 40px; height: 40px; animation-delay: 9s; }

@keyframes quoteBubble {
  from {
    transform: translateY(0) scale(1);
    opacity: 0.45;
  }
  to {
    transform: translateY(-100vh) scale(1.25);
    opacity: 0;
  }
}

.shi-quotation-section .section-title {
  text-align: center;
  padding-bottom: 26px;
  margin-bottom: 20px;
}

.shi-quotation-section .section-title h2 {
  font-size: 13px;
  line-height: 1;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 12px;
}

.shi-quotation-section .section-title h2::after {
  display: none !important;
}

.shi-quotation-section .section-title p {
  margin: 0;
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.2;
  font-weight: 700;
  color: #1e293b;
}

.shi-quotation-section .section-title .description-title {
  color: #002F6C;
}

/* ==============================================================
   QUOTATION BOX CONTAINER
   ============================================================== */
.quotation-box {
  max-width: 1220px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* ==============================================================
   LEFT COLUMN: VISUAL & TRUST VALUES
   ============================================================== */
.quotation-visual {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 32px 28px;
  border-right: 1px solid #e2e8f0;
}

.quotation-visual-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.visual-poster-wrap {
  text-align: center;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  border: 1px solid #e2e8f0;
}

.visual-poster-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

.quotation-trust-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.trust-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #1e293b;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #f1f5f9;
  display: flex;
  align-items: center;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.trust-list li i {
  font-size: 16px;
  line-height: 1.2;
  margin-top: 1px;
  flex-shrink: 0;
}

.trust-list li strong {
  display: block;
  color: #0f172a;
  font-size: 12.5px;
  line-height: 1.3;
}

.trust-list li span {
  display: block;
  color: #64748b;
  font-size: 11.5px;
  line-height: 1.35;
  margin-top: 1px;
}

.direct-hotline-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 10px 14px;
}

.hotline-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.18);
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.hotline-label {
  font-size: 11px;
  color: #047857;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.hotline-link {
  font-size: 13.5px;
  font-weight: 700;
  color: #15803d;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}

.hotline-link:hover {
  color: #047857;
  text-decoration: underline;
}

/* ==============================================================
   RIGHT COLUMN: FORM CONTAINER
   ============================================================== */
.reservation-form-bg {
  background: #ffffff;
  padding: 38px 42px;
}

/* Section Step Headers */
.form-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1.5px dashed #e2e8f0;
}

.form-section-header:first-of-type {
  margin-top: 0;
}

.section-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #002F6C, #004d99);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 47, 108, 0.25);
}

.section-step-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.section-step-desc {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.2;
}

/* Form Controls & Inputs */
#quotationForm label {
  display: block;
  font-weight: 600;
  font-size: 13.5px;
  color: #334155;
  margin-bottom: 6px;
}

#quotationForm label i {
  color: #002F6C;
  font-size: 14px;
}

#quotationForm .form-control {
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  min-height: 44px;
  padding: 9px 14px;
  font-size: 13.5px;
  color: #1e293b;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#quotationForm select.form-control {
  appearance: auto;
  cursor: pointer;
}

#quotationForm textarea.form-control {
  min-height: 96px;
  resize: vertical;
}

#quotationForm .form-control:focus {
  border-color: #002F6C;
  box-shadow: 0 0 0 3.5px rgba(0, 47, 108, 0.12);
  outline: none;
}

#quotationForm .form-control::placeholder {
  color: #94a3b8;
}

/* Form Validation Feedback */
#quotationForm .form-control.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.14) !important;
}

#quotationForm .invalid-feedback {
  font-size: 11.5px;
  color: #dc3545;
  margin-top: 4px;
  font-weight: 500;
}

/* ==============================================================
   QUANTITY CHIPS
   ============================================================== */
.qty-chips-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.qty-chips-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-right: 2px;
}

.btn-qty-chip {
  border: 1px solid #cbd5e1;
  background: #f1f5f9;
  color: #334155;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.4;
}

.btn-qty-chip:hover {
  background: #002F6C;
  color: #ffffff;
  border-color: #002F6C;
  transform: translateY(-1px);
}

.btn-qty-chip.active {
  background: #002F6C;
  color: #ffffff;
  border-color: #002F6C;
  box-shadow: 0 2px 6px rgba(0, 47, 108, 0.25);
}

/* ==============================================================
   FILE DROPZONE & PREVIEW
   ============================================================== */
.file-dropzone-box {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  padding: 18px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-dropzone-box:hover,
.file-dropzone-box.dragover {
  border-color: #002F6C;
  background: #f0f7ff;
}

.file-dropzone-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-dropzone-content {
  pointer-events: none;
}

.dropzone-icon {
  font-size: 26px;
  color: #002F6C;
  line-height: 1;
  margin-bottom: 5px;
}

.dropzone-text {
  font-size: 13px;
  color: #334155;
  margin-bottom: 3px;
}

.dropzone-hint {
  font-size: 11px;
  color: #94a3b8;
}

.file-preview-card {
  position: relative;
  z-index: 3;
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.file-preview-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.file-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-preview-name {
  font-size: 13px;
  color: #0f172a;
}

.file-preview-size {
  font-size: 11px;
  color: #64748b;
}

.btn-remove-file {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.btn-remove-file:hover {
  background: #dc2626;
  color: #ffffff;
}

/* ==============================================================
   ACTION BUTTONS & DUAL CTA
   ============================================================== */
.form-actions-wrapper {
  margin-top: 24px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #002F6C, #004d99);
  color: #ffffff;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 47, 108, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 47, 108, 0.36);
  color: #ffffff;
}

.btn-submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

.btn-wa-consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  padding: 13px 24px;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn-wa-consult:hover {
  background: #1ebd59;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.36);
}

/* ==============================================================
   SUCCESS STATE CARD & FEEDBACK
   ============================================================== */
.form-success-card {
  border-radius: 18px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px solid #a7f3d0;
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.12);
}

.success-check-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.form-feedback {
  text-align: center;
  font-weight: 600;
  font-size: 13.5px;
  opacity: 0;
  min-height: 22px;
  transition: opacity 0.25s ease;
}

.form-feedback.success {
  color: #10b981;
  opacity: 1;
}

.form-feedback.error {
  color: #dc3545;
  opacity: 1;
}

/* 3D Box Designer Integration Notice */
#design3dNotice:not(.d-none) {
  display: block !important;
  animation: noticeSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes noticeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Failsafe Visibility */
.shi-quotation-section,
.quotation-box,
.quotation-visual,
.reservation-form-bg,
.fade-slide-up,
.scale-in,
.blur-reveal {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
}

/* ==============================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ============================================================== */
@media (max-width: 991px) {
  .shi-quotation-section {
    padding: 50px 0 65px;
  }

  .quotation-box {
    border-radius: 20px;
  }

  .quotation-visual {
    padding: 28px 22px 20px;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .visual-poster-wrap {
    max-width: 320px;
    margin: 0 auto;
  }

  .visual-poster-img {
    max-height: 320px;
  }

  .reservation-form-bg {
    padding: 30px 24px 34px;
  }
}

@media (max-width: 575px) {
  .shi-quotation-section .section-title p {
    font-size: 25px;
  }

  .reservation-form-bg {
    padding: 22px 16px 28px;
  }

  .quotation-visual {
    padding: 20px 16px;
  }

  .visual-poster-img {
    max-height: 260px;
  }

  .btn-submit,
  .btn-wa-consult {
    width: 100%;
    min-width: 0;
    padding: 12px 18px;
    font-size: 14px;
  }

  .qty-chips-wrapper {
    margin-top: 6px;
  }

  .form-section-header {
    margin-top: 14px;
  }

  .section-step-title {
    font-size: 14px;
  }
}
