/* Скрытие стандартной обертки и шапки темы Битрикс */
.detail-page__header {
  display: none !important;
}
.detail-page,
.detail-page__container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 34px 0px 100px !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
@media screen and (max-width: 700px) {
  .detail-page__container {
    padding: 20px 0 50px;
  }
}
@media screen and (max-width: 500px) {
  .detail-page {
    padding-left: 50px !important;
  }
}
/* ==========================================================================
   QazTourism - Quality Mark Page Styles
   Designed for 1C-Bitrix integration into existing site layout
   ========================================================================== */
@media (max-width: 500px) {
  .demo-site-header {
    display: none !important;
  }
}
:root {
  --qm-navy: #122448;
  --qm-navy-light: #1c3362;
  --qm-blue-accent: #0072bc;
  --qm-gold: #f5a623;
  --qm-gold-hover: #e09419;
  --qm-gold-gradient: linear-gradient(135deg, #f7b731 0%, #f5a623 100%);
  --qm-bg-light: #f4f7fb;
  --qm-card-bg: #ffffff;
  --qm-text-main: #1e293b;
  --qm-text-muted: #4a5568;
  --qm-text-light: #8c9ba5;
  --qm-border-color: #e2e8f0;
  --qm-radius-sm: 8px;
  --qm-radius-md: 16px;
  --qm-radius-lg: 24px;
  --qm-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --qm-shadow-md: 0 10px 25px -5px rgba(18, 36, 72, 0.08);
  --qm-shadow-lg: 0 20px 35px -10px rgba(18, 36, 72, 0.14);
  --qm-font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.qm-page-wrapper * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.qm-page-wrapper {
  font-family: var(--qm-font);
  color: var(--qm-text-main);
  background-color: #fafbfc;
  width: 100%;
}

.qm-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 16px 60px 16px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Hero Section (Full Width Edge-to-Edge Background)
   -------------------------------------------------------------------------- */
.qm-hero-outer {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #ebf5fe 0%, #f5f9ff 50%, #eaf3fd 100%);
  overflow: hidden;
  margin-bottom: 40px;
}

/* Checkmark Pattern Overlay */
.qm-hero-outer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 20l5 5L28 12' stroke='%23d0e3f7' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round' opacity='0.45'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  opacity: 0.8;
}

.qm-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 400px;
}

.qm-hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 580px;
}

/* Hero Breadcrumbs */
.qm-hero-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #718096;
  margin-bottom: 20px;
}
.qm-hero-breadcrumbs a {
  color: #2b6cb0;
  text-decoration: none;
  font-weight: 700;
}
.qm-hero-breadcrumbs span.sep {
  color: #a0aec0;
  font-size: 12px;
}

/* Hero Pill Badge */
.qm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #4a5568;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}
.qm-hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5a623;
}

/* Hero Title */
.qm-hero-title {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.qm-hero-title .highlight {
  color: #f5a623;
}
.qm-hero-title .dark {
  color: #122448;
}

/* Hero Description */
.qm-hero-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 32px;
  max-width: 480px;
}

/* Hero Actions */
.qm-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
}

.qm-btn-primary {
  background: linear-gradient(135deg, #f7b731 0%, #f5a623 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
}
.qm-btn-primary:hover {
  background: linear-gradient(135deg, #f5a623 0%, #e09419 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 166, 35, 0.45);
}

.qm-btn-secondary {
  background: #122448;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(18, 36, 72, 0.2);
}
.qm-btn-secondary:hover {
  background: #1c3362;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(18, 36, 72, 0.3);
}

/* Hero Graphic Illustration Card */
.qm-hero-graphic {
  position: relative;
  z-index: 2;
  width: 340px;
  height: 250px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qm-cert-card {
  position: relative;
  width: 290px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 20px 40px rgba(18, 36, 72, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transform: rotate(-3deg);
}

.qm-stars-ribbon {
  display: flex;
  gap: 6px;
  justify-content: center;
  position: absolute;
  top: -12px;
  left: 30px;
  color: #f5a623;
  font-size: 16px;
}

.qm-cert-badge {
  position: absolute;
  top: 14px;
  right: -14px;
  background: linear-gradient(135deg, #f7b731 0%, #f5a623 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(245, 166, 35, 0.4);
  transform: rotate(4deg);
  text-transform: uppercase;
}

.qm-cert-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.qm-cert-line {
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
}
.qm-cert-line.line-1 {
  width: 85%;
  background: #cbd5e1;
}
.qm-cert-line.line-2 {
  width: 70%;
  background: #cbd5e1;
}
.qm-cert-line.line-3 {
  width: 90%;
  background: #fbd38d;
}
.qm-cert-line.line-4 {
  width: 60%;
  background: #fbd38d;
}
.qm-cert-line.line-5 {
  width: 75%;
  background: #cbd5e1;
}

.qm-gold-sphere {
  position: absolute;
  bottom: -15px;
  left: -20px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    #ffd066 0%,
    #f5a623 70%,
    #d4870f 100%
  );
  box-shadow: 0 12px 24px rgba(245, 166, 35, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #122448;
  font-size: 30px;
  font-weight: 900;
  z-index: 3;
}

/* --------------------------------------------------------------------------
   Quick Action Cards (4 Grid - Exact Match to Screenshot)
   -------------------------------------------------------------------------- */
.qm-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.qm-quick-card {
  border-radius: 24px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.qm-quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(18, 36, 72, 0.12);
}

.qm-quick-card-1 {
  background: linear-gradient(135deg, #009dbd 0%, #00b4d8 60%, #13c0df 100%);
  color: #ffffff;
}

.qm-quick-card-2 {
  background: linear-gradient(135deg, #0a1435 0%, #0d1e4c 100%);
  color: #ffffff;
}

.qm-quick-card-3 {
  background: linear-gradient(135deg, #ebf1f8 0%, #e1e9f4 100%);
  color: #0b1a3c;
}

.qm-quick-card-4 {
  background: linear-gradient(135deg, #e5a823 0%, #da9b18 100%);
  color: #0b1a3c;
}

.qm-quick-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qm-quick-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.qm-quick-icon-circle svg {
  width: 24px;
  height: 24px;
}

.qm-quick-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qm-quick-title-main {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.1;
}

.qm-quick-title-sub {
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
  opacity: 0.9;
}

.qm-btn-card-pill {
  align-self: flex-start;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    transform 0.2s,
    background 0.2s;
  border: none;
  cursor: pointer;
}

.qm-quick-card-1 .qm-btn-card-pill {
  background: #091736;
  color: #ffffff;
}

.qm-quick-card-2 .qm-btn-card-pill {
  background: linear-gradient(135deg, #f7b731 0%, #f5a623 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.qm-quick-card-3 .qm-btn-card-pill {
  background: linear-gradient(135deg, #f7b731 0%, #f5a623 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.qm-quick-card-4 .qm-btn-card-pill {
  background: #091736;
  color: #ffffff;
}

.qm-btn-card-pill:hover {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Steps Section ("Путь к Знаку качества" - Exact Match to Screenshot)
   -------------------------------------------------------------------------- */
.qm-steps-section {
  margin-bottom: 70px;
}

.qm-steps-header {
  margin-bottom: 40px;
}

.qm-steps-pretitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #122448;
  margin-bottom: 12px;
}

.qm-steps-pretitle-line {
  width: 24px;
  height: 2px;
  background: #f5a623;
}

.qm-steps-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
}
.qm-steps-title .dark {
  color: #122448;
}
.qm-steps-title .gold {
  color: #f5a623;
}

.qm-steps-subtitle {
  font-size: 15px;
  color: #4a5568;
}

.qm-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.qm-step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qm-step-num-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #f5a623;
  color: #122448;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.15);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

/* Step 5 Solid Gold Filled Circle */
.qm-step-card.step-5 .qm-step-num-circle {
  background: linear-gradient(135deg, #f7b731 0%, #f5a623 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 18px rgba(245, 166, 35, 0.4);
}

.qm-step-card:hover .qm-step-num-circle {
  transform: translateY(-3px);
}

.qm-step-name {
  font-size: 15px;
  font-weight: 700;
  color: #122448;
  margin-bottom: 6px;
  line-height: 1.3;
}

.qm-step-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
  max-width: 200px;
}

/* --------------------------------------------------------------------------
   Documents Section (Exact Match to Screenshot)
   -------------------------------------------------------------------------- */
.qm-docs-section {
  margin-bottom: 70px;
  margin-top: 120px;
}

.qm-docs-header {
  margin-bottom: 32px;
}

.qm-docs-pretitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #122448;
  margin-bottom: 12px;
}

.qm-docs-pretitle-line {
  width: 24px;
  height: 2px;
  background: #f5a623;
}

.qm-docs-title {
  font-size: 38px;
  font-weight: 700;
  color: #122448;
  line-height: 1.15;
  margin-bottom: 12px;
}

.qm-docs-subtitle {
  font-size: 15px;
  color: #4a5568;
}

.qm-docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.qm-doc-card {
  background: #f2f6fa;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border: none;
}
.qm-doc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(18, 36, 72, 0.06);
}

.qm-doc-icon-box {
  width: 48px;
  height: 54px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #e53e3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.qm-doc-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.qm-doc-title {
  font-size: 15px;
  font-weight: 700;
  color: #122448;
  margin-bottom: 6px;
  line-height: 1.35;
}

.qm-doc-meta {
  font-size: 12px;
  color: #718096;
  margin-bottom: 16px;
}

.qm-doc-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #122448;
  background: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.qm-doc-download-btn:hover {
  background: #122448;
  color: #ffffff;
  border-color: #122448;
}

.qm-alert-banner {
  background: #fdf5d3;
  border: 1px solid #fce8a6;
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #854d0e;
  font-weight: 500;
}
.qm-alert-icon {
  font-size: 16px;
  color: #b45309;
}

/* --------------------------------------------------------------------------
   Application Form Section (Exact Match to Screenshot)
   -------------------------------------------------------------------------- */
.qm-form-section {
  margin-bottom: 50px;
  padding: 50px 0;
}

.qm-form-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

.qm-form-info {
  background: transparent;
  padding: 0;
  border: none;
}

.qm-form-pretitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #122448;
  margin-bottom: 12px;
}

.qm-form-pretitle-line {
  width: 24px;
  height: 2px;
  background: #f5a623;
}

.qm-form-info-title {
  font-size: 34px;
  font-weight: 700;
  color: #122448;
  line-height: 1.15;
  margin-bottom: 12px;
}

.qm-form-info-sub {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 32px;
  line-height: 1.5;
}

.qm-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.qm-benefit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.qm-benefit-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fdf2d6;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.qm-benefit-name {
  font-size: 14px;
  font-weight: 700;
  color: #122448;
  margin-bottom: 2px;
}

.qm-benefit-desc {
  font-size: 12px;
  color: #718096;
  line-height: 1.4;
}

/* Form Card Container */
.qm-form-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(18, 36, 72, 0.04);
}

.qm-form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #122448;
  margin-bottom: 24px;
  margin-top: 10px;
}

.qm-form-section-title:first-child {
  margin-top: 0;
}

.qm-step-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f5a623;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qm-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
  margin-bottom: 32px;
}

.qm-form-grid.full {
  grid-template-columns: 1fr;
}

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

.qm-field-group.span-2 {
  grid-column: span 2;
}

.qm-label {
  font-size: 13px;
  font-weight: 700;
  color: #122448;
}

.qm-label .req {
  color: #e53e3e;
}

.qm-input,
.qm-select,
.qm-textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 14px;
  font-family: inherit;
  color: #122448;
  background: #f2f6fa;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  box-sizing: border-box;
}

.qm-input::placeholder,
.qm-textarea::placeholder {
  color: #a0aec0;
}

.qm-select {
  color: #718096;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23718096%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 10px auto;
  padding-right: 40px;
}

.qm-input:focus,
.qm-select:focus,
.qm-textarea:focus {
  border-color: #f5a623;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

.qm-textarea {
  min-height: 100px;
  resize: vertical;
}

/* Activity Type Pill Radio Buttons (Exact Match to Screenshot) */
.qm-activity-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qm-activity-pill {
  position: relative;
}

.qm-activity-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.qm-activity-pill label {
  display: inline-block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #122448;
  background: #f2f6fa;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qm-activity-pill input[type="radio"]:checked + label {
  background: #f5a623;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

/* File Upload Zone (Exact Match to Screenshot) */
.qm-upload-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  background: #f2f6fa;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  position: relative;
  margin-bottom: 16px;
}

.qm-upload-zone:hover,
.qm-upload-zone.dragover {
  border-color: #f5a623;
  background: #fef8ec;
}

.qm-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.qm-upload-icon-circle {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px auto;
  color: #122448;
  background: #e2ebf4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.qm-upload-title {
  font-size: 14px;
  font-weight: 700;
  color: #122448;
  margin-bottom: 4px;
}

.qm-upload-hint {
  font-size: 12px;
  color: #718096;
}

/* File Preview List */
.qm-file-list {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qm-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e6f0fa;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13px;
  color: #122448;
  font-weight: 600;
}

.qm-file-name-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qm-file-size-badge {
  font-size: 12px;
  color: #718096;
  font-weight: 400;
  margin-left: 12px;
}

.qm-file-remove {
  color: #a0aec0;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  padding: 2px 6px;
  transition: color 0.2s;
}
.qm-file-remove:hover {
  color: #e53e3e;
}

/* Agreement Checkbox */
.qm-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #4a5568;
  line-height: 1.4;
}

.qm-checkbox-group input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #f5a623;
}

/* Form Submit Button */
.qm-btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, #f7b731 0%, #f5a623 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}
.qm-btn-submit:hover {
  background: linear-gradient(135deg, #f5a623 0%, #e09419 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 166, 35, 0.45);
}

/* Form Status Messages */
.qm-form-msg {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  display: none;
}
.qm-form-msg.success {
  display: block;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.qm-form-msg.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* --------------------------------------------------------------------------
   FAQ Accordion Section (Full Bleed Edge-to-Edge White Background)
   -------------------------------------------------------------------------- */
.qm-faq-outer {
  width: 100%;
  background: #ffffff;
  padding: 40px 0;
}

.qm-faq-section {
  margin-bottom: 0;
}

.qm-faq-header {
  margin-bottom: 32px;
}

.qm-faq-pretitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #161e61;
  margin-bottom: 12px;
}

.qm-faq-pretitle-line {
  width: 24px;
  height: 2px;
  background: #f5a623;
}

.qm-faq-title {
  font-size: 38px;
  font-weight: 700;
  color: #161e61;
  line-height: 1.15;
}

.qm-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qm-faq-item {
  background: #f3f8fb;
  border-radius: 16px;
  border: 1px solid #e4ebf1;
  overflow: hidden;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

.qm-faq-question {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  color: #161e61;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.qm-faq-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f7e3bf;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    background 0.2s;
}

.qm-faq-toggle svg {
  width: 14px;
  height: 14px;
  display: block;
}

.qm-faq-item.active .qm-faq-toggle {
  transform: rotate(45deg);
  background: #f5a623;
}

.qm-faq-item.active .qm-faq-toggle svg path {
  stroke: #ffffff;
}

.qm-faq-answer {
  padding: 0 24px 24px 24px;
  font-size: 14px;
  color: #4a5568;
  line-height: 1.6;
  display: none;
}

.qm-faq-answer ul {
  margin: 10px 0 10px 20px;
}
.qm-faq-answer li {
  margin-bottom: 6px;
}

.qm-faq-item.active .qm-faq-answer {
  display: block;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .qm-quick-grid {
    grid-template-columns: 1fr;
  }
  .qm-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .qm-form-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .qm-hero-inner {
    flex-direction: column;
    padding: 36px 16px;
  }
  .qm-hero-graphic {
    width: 100%;
    height: auto;
    margin-top: 20px;
  }
  .qm-hero-title {
    font-size: 38px;
  }
  .qm-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qm-docs-grid {
    grid-template-columns: 1fr;
  }
  .qm-form-grid {
    grid-template-columns: 1fr;
  }
  .qm-field-group.span-2 {
    grid-column: span 1;
  }
  .qm-form-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .qm-steps-grid {
    grid-template-columns: 1fr;
  }
}
