/* ============================================================
   CUTTERFY — SEARCH PAGE (minimal white modern style)
   ============================================================ */

/* Page hero */
.s-hero {
  background: #fff;
  color: #0f1115;
  padding: 110px 24px 72px; /* slightly tighter spacing */
}
.s-wrap {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

/* Headline and subtitle */
.s-title {
  margin: 0 0 10px; /* reduced gap */
  font-weight: 900;
  letter-spacing: -0.6px;
  line-height: 1.1;
  font-size: clamp(2.4rem, 4.8vw + 1rem, 4.2rem);
}

.s-subtitle {
  margin: 0 0 22px; /* smaller spacing */
  color: #6b7280;
  font-size: clamp(1.05rem, 0.7vw + 0.95rem, 1.25rem);
  line-height: 1.6;
}

/* Search form */
.s-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 14px;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto 24px;
}

/* Input styling */
.s-input {
  height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.s-input::placeholder {
  color: #9aa0a6;
}
.s-input:focus {
  border-color: #ff7e74;
  box-shadow: 0 0 0 3px rgba(255, 126, 116, 0.2);
}

/* Search button */
.s-btn {
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid #f26d64;
  background: #ff7e74;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(242, 109, 100, 0.25);
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.s-btn:hover {
  background: #ff6d62;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(242, 109, 100, 0.28);
}
.s-btn:active {
  transform: translateY(0);
}

/* Popular chips */
.s-chips {
  margin-top: 28px; /* extra breathing room */
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.s-chips__label {
  color: #111827;
  font-weight: 700;
  font-size: 1.1rem;
}
.s-chip {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  border-radius: 999px;
  padding: 10px 18px; /* larger size */
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.s-chip:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

/* Results */
.results {
  background: #fff;
  color: #0f1115;
  padding: 64px 0 120px;
}
.results__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}
.results__container p {
  color: #4a4f58;
}

/* Responsive */
@media (max-width: 960px) {
  .s-row {
    grid-template-columns: 1fr;
  }
  .s-btn {
    width: 150px;
    justify-self: center;
  }
}

/* ============================================================
   SEARCH RESULTS LAYOUT
   ============================================================ */
.results {
  background: #fff;
  padding: 80px 0 120px;
  color: #0f1115;
  text-align: center;
}

.results__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.results__container h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 48px;
}

/* Grid of freelancer cards */
.results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

/* Individual card */
.result-card {
  background: #ffffff;
  border: 1px solid rgba(15, 17, 21, 0.06);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 17, 21, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.result-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 17, 21, 0.1);
}

/* Image */
.result-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Info */
.result-card__info {
  padding: 20px 22px 26px;
}
.result-card__info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.result-card__info p {
  font-size: 0.95rem;
  color: #4a4f58;
  margin: 2px 0;
}
.result-card__info .rating {
  color: #ff6e6e;
  font-weight: 600;
}

/* Button (light style) */
.button--light {
  background: #ff6e6e;
  color: #fff;
  border: none;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.button--light:hover {
  background: #ff4141;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .result-card__img {
    height: 180px;
  }
  .results__container h2 {
    font-size: 1.7rem;
  }
}
