/* Homepage hero search. Kept separate from the shared page stylesheet. */
.index-page .hero-3 {
  padding: clamp(64px, 7vw, 108px) 0;
}
.hero-3 > .container {
  position: relative;
  z-index: 2;
}
.hero-3 .hero-row {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 3rem;
}
.hero-3 .hero-content h1 {
  font-size: clamp(2.25rem, 3.4vw, 3rem);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.hero-3 .hero-content .hero-intro {
  max-width: 38rem;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75;
}
.hero-3 .hero-search {
  max-width: 35rem;
  margin-bottom: 2.25rem;
}
.hero-3 .hero-search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 60px;
  padding: 5px 5px 5px 18px;
  border: 1px solid #60c8f5;
  border-radius: 18px;
  background: var(--surface-color, #fff);
  box-shadow: 0 6px 20px rgb(12 165 233 / 10%);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-3 .hero-search-form:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgb(12 165 233 / 14%), 0 6px 20px rgb(12 165 233 / 10%);
}
.hero-3 .hero-search-icon {
  flex: 0 0 auto;
  color: var(--accent-color);
  font-size: 1.25rem;
  line-height: 1;
}
.hero-3 .hero-search-input {
  flex: 1 1 0%;
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--heading-color);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
}
.hero-3 .hero-search-input::placeholder {
  color: #7c8898;
  opacity: 1;
}
.hero-3 .hero-search-submit {
  flex: 0 0 auto;
  min-width: 104px;
  min-height: 48px;
  padding: 10px 24px;
  border: 0;
  border-radius: 13px;
  background: var(--accent-color);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.5;
  transition: background-color 0.2s;
}
.hero-3 .hero-search-submit:hover {
  background: #0787c1;
}
.hero-3 .hero-search-submit:focus-visible {
  outline: 3px solid #08628c;
  outline-offset: 3px;
}
.hero-3 .hero-content .hero-search-hint {
  margin: 10px 0 0 2px;
  color: #687586;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.hero-3 .hero-stats {
  gap: 2rem;
  flex-wrap: nowrap;
}
.hero-3 .hero-stats .stat-item .stat-number {
  font-size: 2rem;
}
.hero-3 .hero-stats .stat-item .stat-label {
  font-size: 0.875rem;
}
.hero-3 .floating-elements .floating-card {
  padding: 1rem 1.25rem;
}
.hero-3 .floating-elements .floating-card.card-1 {
  right: -4%;
}
.hero-3 .floating-elements .floating-card.card-2 {
  top: 61%;
  left: -6%;
}
.hero-3 .floating-elements .floating-card.card-3 {
  right: 6%;
  bottom: 9%;
}
@media (max-width: 1199.98px) and (min-width: 992px) {
  .hero-3 .hero-row { --bs-gutter-x: 2rem; }
  .hero-3 .hero-content h1 { font-size: 2.25rem; }
  .hero-3 .floating-elements .floating-card { padding: 0.875rem 1rem; }
  .hero-3 .floating-elements .floating-card.card-2 { left: -3%; top: 66%; }
}
@media (max-width: 991.98px) {
  .hero-3 .hero-content { margin-bottom: 0; }
  .hero-3 .hero-content .hero-intro { margin-inline: auto; }
  .hero-3 .hero-search { margin-inline: auto; text-align: left; }
  .hero-3 .hero-stats { justify-content: center; }
  .hero-3 .hero-visual { max-width: 38rem; margin-inline: auto; }
  .hero-3 .floating-elements .floating-card.card-1 { right: 2%; }
  .hero-3 .floating-elements .floating-card.card-2 { left: 2%; }
}
@media (max-width: 575.98px) {
  .index-page .hero-3 { padding: 48px 0; }
  .hero-3 .hero-row { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; }
  .hero-3 .hero-content h1 { font-size: clamp(1.5rem, 6.2vw, 2rem); font-weight: 600; line-height: 1.4; margin-bottom: 1rem; }
  .hero-3 .hero-content .hero-intro { font-size: 1rem; line-height: 1.75; }
  .hero-3 .hero-search { margin-bottom: 1.75rem; }
  .hero-3 .hero-search-form { min-height: 56px; gap: 8px; padding-left: 12px; border-radius: 16px; }
  .hero-3 .hero-search-icon { font-size: 1.125rem; }
  .hero-3 .hero-search-submit { min-width: 72px; min-height: 44px; padding: 10px 16px; font-size: 1rem; border-radius: 11px; }
  .hero-3 .hero-content .hero-search-hint { font-size: 0.8125rem; }
  .hero-3 .hero-stats { gap: clamp(1rem, 5vw, 1.75rem); }
  .hero-3 .hero-stats .stat-item .stat-number { font-size: 1.75rem; }
  .hero-3 .hero-stats .stat-item .stat-label { font-size: 0.75rem; }
  .hero-3 .hero-visual .hero-image img { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-3 .floating-card, .hero-3 .bg-shape, .hero-3 .bg-particles { animation: none !important; }
  .hero-3 .hero-search-form, .hero-3 .hero-search-submit { transition: none; }
}
