.search-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-white);
  min-height: 74px;
  padding: 0 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.search-box__icon {
  width: 24px;
  height: 24px;
  color: var(--color-text);
  flex-shrink: 0;
}

.search-box__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 18px;
  color: var(--color-text);
  background: transparent;
  min-height: 74px;
}

.search-box__input::placeholder {
  color: #767676;
}

.page-transition {
  animation: fadeSlideUp 0.6s ease-out;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-footer-text);
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: var(--color-link);
  text-decoration: underline;
}

.breadcrumbs a:hover {
  color: var(--color-link-hover);
}

.breadcrumbs i,
.breadcrumbs svg {
  width: 14px;
  height: 14px;
}

.hero--compact {
  padding: 56px 0 48px;
}

.hero__intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 800px;
}

.content-section {
  padding: 48px 0 80px;
  background: var(--color-white);
}

.content-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.content-layout--single {
  grid-template-columns: 1fr;
}

.content-layout__main {
  min-width: 0;
}

.content-layout__sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: var(--color-bg-light);
  padding: 32px;
  margin-bottom: 32px;
  border-radius: 2px;
}

.info-card--inline {
  margin-bottom: 0;
}

.info-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.info-card__header i,
.info-card__header svg {
  width: 28px;
  height: 28px;
  color: var(--color-text);
}

.info-card h2 {
  font-size: 24px;
  margin-bottom: 0;
}

.info-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.info-card li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.identity-options {
  margin-bottom: 32px;
}

.identity-options__intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.option-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.option-card:hover {
  border-color: var(--color-yellow-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.option-card--selected {
  border-color: var(--color-yellow-dark);
  background: #fffdf2;
}

.option-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-bg-light);
  border-radius: 50%;
  flex-shrink: 0;
}

.option-card__icon i,
.option-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-text);
}

.option-card__content {
  flex: 1;
}

.option-card__content h3 {
  margin-bottom: 6px;
}

.option-card__content p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-footer-text);
  margin: 0;
}

.option-card__arrow {
  width: 20px;
  height: 20px;
  color: var(--color-text);
  flex-shrink: 0;
}

/* Trust panel */
.trust-panel {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
}

.trust-panel i,
.trust-panel svg {
  width: 28px;
  height: 28px;
  color: var(--color-text);
  flex-shrink: 0;
  margin-top: 4px;
}

.trust-panel h3 {
  margin-bottom: 8px;
}

.trust-panel p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Sidebar cards */
.sidebar-card {
  background: var(--color-bg-light);
  padding: 24px;
  border-radius: 2px;
}

.sidebar-card h3 {
  margin-bottom: 12px;
}

.sidebar-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.sidebar-card ul {
  list-style: disc;
  padding-left: 18px;
  color: var(--color-text-secondary);
}

.sidebar-card li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button--primary {
  background: var(--color-yellow);
  color: var(--color-text);
  border: none;
}

.button--primary:hover {
  background: var(--color-yellow-dark);
  transform: translateY(-1px);
}

.button--secondary {
  background: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.button--secondary:hover {
  background: var(--color-bg-light);
}

.link {
  color: var(--color-link);
  text-decoration: underline;
  font-size: 15px;
}

.link:hover {
  color: var(--color-link-hover);
}

/* Form styles */
.form {
  background: var(--color-white);
}

.form__progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-footer-text);
  font-size: 14px;
}

.step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  font-size: 14px;
  font-weight: 600;
}

.step--complete .step__number {
  background: var(--color-text);
  color: var(--color-white);
  border-color: var(--color-text);
}

.step--active {
  color: var(--color-text);
  font-weight: 600;
}

.step--active .step__number {
  background: var(--color-yellow);
  border-color: var(--color-yellow);
  color: var(--color-text);
}

.form__group {
  border: none;
  margin-bottom: 32px;
  padding: 0;
}

.form__group legend {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  padding: 0;
}

.form-row {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row--two {
  grid-template-columns: repeat(2, 1fr);
}

.form-row--three {
  grid-template-columns: repeat(3, 1fr);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.form-field label span {
  color: #c00000;
}

.form-field input,
.form-field select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-yellow-dark);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.2);
}

.form-field input.input-error,
.form-field select.input-error {
  border-color: #c00000;
  box-shadow: 0 0 0 3px rgba(192, 0, 0, 0.1);
}

.error-message {
  display: none;
  font-size: 14px;
  color: #c00000;
  margin-top: 2px;
}

.form__hint {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-footer-text);
  margin-bottom: 20px;
}

.form__disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--color-bg-light);
  border-radius: 2px;
  margin-bottom: 32px;
}

.form__disclaimer i,
.form__disclaimer svg {
  width: 22px;
  height: 22px;
  color: var(--color-text);
  flex-shrink: 0;
  margin-top: 2px;
}

.form__disclaimer p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

.form__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Success card */
.success-card {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  padding: 48px 32px;
  background: var(--color-bg-light);
  border-radius: 2px;
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--color-yellow);
  border-radius: 50%;
  margin-bottom: 24px;
}

.success-card__icon i,
.success-card__icon svg {
  width: 36px;
  height: 36px;
  color: var(--color-text);
}

.success-card h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.success-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.success-card__details {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  background: var(--color-white);
  padding: 20px 24px;
  border-radius: 2px;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
}

.detail-row {
  display: flex;
  gap: 12px;
  font-size: 15px;
}

.detail-label {
  color: var(--color-footer-text);
}

.detail-value {
  font-weight: 600;
  color: var(--color-text);
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.timeline__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-text);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.timeline__content h3 {
  margin-bottom: 4px;
}

.timeline__content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .form-row--two,
  .form-row--three {
    grid-template-columns: 1fr;
  }

  .form__progress {
    flex-wrap: wrap;
  }

  .step__label {
    display: none;
  }

  .success-card__details {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero--compact {
    padding: 40px 0 32px;
  }

  .info-card,
  .sidebar-card,
  .option-card,
  .trust-panel {
    padding: 20px;
  }

  .form__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}

/* Popular searches */
.popular-searches {
  background: var(--color-white);
  padding: 64px 0;
}

.popular-searches__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.popular-searches__grid ul {
  list-style: disc;
  padding-left: 20px;
}

.popular-searches__grid li {
  margin-bottom: 16px;
}

.popular-searches__grid li::marker {
  color: var(--color-text);
  font-size: 14px;
}

.popular-searches__grid a {
  color: var(--color-link);
  text-decoration: underline;
  font-size: 16px;
  transition: color 0.2s ease;
}

.popular-searches__grid a:hover {
  color: var(--color-link-hover);
}

/* Help section */
.help {
  background: var(--color-bg-light);
  padding: 64px 0;
}

.help__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.help-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  text-decoration: none;
  color: var(--color-text);
  transition: background 0.2s ease;
}

.help-card:not(:last-child) {
  border-right: 1px solid var(--color-border);
}

.help-card:hover {
  background: var(--color-white);
}

.help-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.help-card__icon svg {
  width: 40px;
  height: 40px;
}

.help-card h3 {
  font-weight: 700;
  margin: 0;
}

/* Back to top button */
.back-to-top {
  position: absolute;
  right: 40px;
  bottom: 130px;
  width: 56px;
  height: 56px;
  background: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: background 0.2s ease;
}

.back-to-top:hover {
  background: var(--color-yellow-dark);
}

.back-to-top i,
.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* Responsive */
@media (max-width: 900px) {
  .popular-searches__grid {
    grid-template-columns: 1fr;
  }

  .help__grid {
    grid-template-columns: 1fr;
  }

  .help-card:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .back-to-top {
    right: 24px;
    bottom: 110px;
  }
}

@media (max-width: 600px) {
  .search-box {
    padding: 0 16px;
  }

  .search-box__input {
    font-size: 16px;
  }

  .help-card {
    padding: 20px 16px;
  }
}
