.guarantee-documents {
  --guarantee-accent: #0f7b73;
  background: var(--color-bg);
  padding: 60px 0;
}

.guarantee-documents-header {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
}

.guarantee-documents .section-title {
  margin-bottom: 12px;
  font-size: clamp(28px, 2.6vw, 34px);
  line-height: 1.2;
}

.guarantee-documents-subtitle {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.guarantee-documents-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.guarantee-documents-panel,
.guarantee-process-panel {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-sm);
}

.guarantee-documents-panel > h3,
.guarantee-process-panel > h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.guarantee-document-group {
  margin-top: 26px;
}

.guarantee-document-group h4,
.guarantee-process-list h4 {
  margin: 0 0 6px;
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.35;
}

.guarantee-document-group > p,
.guarantee-process-list p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.guarantee-card-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.guarantee-document-trigger {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-text);
  font: inherit;
  text-align: center;
  cursor: zoom-in;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.guarantee-document-trigger:hover {
  border-color: var(--guarantee-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.guarantee-document-trigger:focus-visible {
  outline: 3px solid rgba(15, 123, 115, 0.3);
  outline-offset: 3px;
  border-color: var(--guarantee-accent);
}

.guarantee-document-trigger img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #fff;
}

.guarantee-document-trigger span {
  display: block;
  padding: 9px 12px;
  border-top: 1px solid var(--color-border);
  color: var(--guarantee-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.guarantee-document-trigger-receipt {
  display: block;
  width: 100%;
  margin-top: 16px;
}

.guarantee-document-trigger-receipt img {
  height: auto;
  aspect-ratio: 1200 / 808;
}

.guarantee-process-list {
  display: grid;
  gap: 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.guarantee-process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.guarantee-process-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  bottom: -20px;
  left: 18px;
  width: 2px;
  background: rgba(15, 123, 115, 0.18);
}

.guarantee-step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 123, 115, 0.11);
  color: var(--guarantee-accent);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.guarantee-info {
  margin: 26px 0 0;
  padding: 17px 18px;
  border-left: 4px solid var(--guarantee-accent);
  border-radius: var(--radius-md);
  background: rgba(15, 123, 115, 0.08);
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.trip-process-compact {
  --trip-process-accent: #0f7b73;
}

.trip-process-compact .subtitle {
  margin-bottom: 0;
}

.trip-process-compact .trip-process-grid {
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 28px auto 0;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-sm);
}

.trip-process-compact .trip-process-step {
  position: relative;
  display: grid;
  grid-template-areas:
    "icon title"
    "icon text";
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0 14px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  transition: none;
}

.trip-process-compact .trip-process-step:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.trip-process-compact .trip-process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  bottom: -20px;
  left: 19px;
  width: 2px;
  background: rgba(15, 123, 115, 0.18);
}

.trip-process-compact .trip-process-icon {
  position: relative;
  z-index: 1;
  grid-area: icon;
  display: grid;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 6px;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 123, 115, 0.11);
}

.trip-process-compact .trip-process-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.trip-process-compact .trip-process-title {
  grid-area: title;
  margin: 0 0 6px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.trip-process-compact .trip-process-text {
  grid-area: text;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .guarantee-documents-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .guarantee-documents {
    padding: 44px 0;
  }

  .guarantee-documents-header {
    margin-bottom: 24px;
  }

  .guarantee-documents .section-title {
    font-size: 26px;
    line-height: 1.22;
  }

  .guarantee-documents-subtitle {
    font-size: 15px;
    line-height: 1.6;
  }

  .guarantee-documents-grid {
    gap: 20px;
  }

  .guarantee-documents-panel,
  .guarantee-process-panel {
    padding: 20px;
    border-radius: var(--radius-md);
  }

  .guarantee-documents-panel > h3,
  .guarantee-process-panel > h3 {
    font-size: 20px;
  }

  .guarantee-card-images {
    grid-template-columns: 1fr;
  }

  .guarantee-process-list {
    gap: 18px;
    margin-top: 22px;
  }

  .guarantee-process-list li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .guarantee-process-list li:not(:last-child)::after {
    top: 34px;
    bottom: -18px;
    left: 16px;
  }

  .guarantee-step-number {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .guarantee-document-group h4,
  .guarantee-process-list h4 {
    font-size: 17px;
  }

  .guarantee-document-group > p,
  .guarantee-process-list p,
  .guarantee-info {
    font-size: 14px;
  }

  .trip-process-compact .trip-process-grid {
    gap: 18px;
    margin-top: 24px;
    padding: 20px;
    border-radius: var(--radius-md);
  }

  .trip-process-compact .trip-process-step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0 12px;
  }

  .trip-process-compact .trip-process-step:not(:last-child)::after {
    top: 36px;
    bottom: -18px;
    left: 17px;
  }

  .trip-process-compact .trip-process-icon {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .trip-process-compact .trip-process-icon img {
    width: 24px;
    height: 24px;
  }

  .trip-process-compact .trip-process-title {
    font-size: 17px;
  }

  .trip-process-compact .trip-process-text {
    font-size: 14px;
  }
}
