@charset "UTF-8";
.hero {
  background-color: var(--brand-dark);
  /* fallback if the image is missing */
  background: linear-gradient(rgba(24, 18, 43, 0.75), rgba(15, 12, 28, 0.85)), url("/static/images/facha_bg.webp");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 88px 20px 80px;
  text-align: center;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

/* Soft warm glow behind the content */
.hero::before {
  content: '';
  position: absolute;
  top: -45%;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  height: 560px;
  background: radial-gradient(ellipse at center, rgba(224, 148, 74, 0.2), transparent 62%);
  pointer-events: none;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 20% 50%, #fff 1px, transparent 1px), radial-gradient(circle at 80% 30%, #fff 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 18px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.85;
  margin-bottom: 0;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

/* ---- Search bar: what + where, one big input row ---- */
.hero-search-card {
  background: #fff;
  border-radius: 18px;
  padding: 8px;
  margin: 40px auto 0;
  max-width: 760px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  border: 2px solid transparent;
}

/* Highlight the whole search bar while the visitor is typing */
.hero-search-card:focus-within {
  border-color: var(--brand-secondary);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(224, 148, 74, 0.4);
}

.hero-search-form {
  width: 100%;
}

.hero-search-bar {
  display: flex;
  align-items: stretch;
  gap: 4px;
}

.hero-search-field {
  flex: 1;
  min-width: 0;
  text-align: left;
  padding: 10px 20px;
  border-radius: 12px;
  transition: background 0.15s ease;
  position: relative;
  /* Column layout so the label + input block is vertically centered in the
     field and the typed text never rides high against the input's top. */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-search-field:hover {
  background: #f5f6f8;
}

/* Hairline divider between the two search fields (what | where). */
.hero-search-divider {
  width: 1px;
  align-self: stretch;
  background: #e5e7eb;
  margin: 14px 0;
  flex-shrink: 0;
}

.hero-search-field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

/* A 1.4 line-height keeps the glyph block optically centered in the input
   box instead of hugging the top edge (default ~1.15). */
.hero-search-field input {
  width: 100%;
  padding: 2px 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-dark);
  font-size: 1.15rem;
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
}

.hero-search-field input::placeholder {
  color: #b4bac6;
  font-weight: 400;
}

.hero-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: center;
  width: 56px;
  height: 56px;
  /* The field also holds the small label above the input, so the input's
     text sits below the field's center; a top-weighted margin nudges the
     button down to read as centered on the input row itself. */
  margin: 9px 6px 1px 2px;
  flex-shrink: 0;
  border: none;
  border-radius: 14px;
  background: var(--brand-primary);
  color: white;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(212, 96, 58, 0.4);
  font-family: 'Inter', sans-serif;
}

.hero-search-btn:hover {
  background: var(--brand-secondary);
  transform: scale(1.04);
}

.hero-search-btn:active {
  transform: scale(0.97);
}

.hero-search-btn-text {
  display: none;
  font-size: 1rem;
  font-weight: 600;
}

/* ---- Trust line (social proof under the search) ---- */
/* Trust line — social proof under the search. Text stays light against the
   dark hero photo: near-white translucent gray with a soft text-shadow so it
   stays readable even where the image is bright. */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-trust strong {
  color: #fff;
  font-weight: 700;
}

.hero-trust-dot {
  color: rgba(255, 255, 255, 0.45);
}

/* Empty-catalog state: replaces the trust stats with an invitation to be the
   first. Same light-on-dark treatment as the stats so it stays readable over
   the hero photo. */
.hero-trust-empty {
  font-size: 1rem;
}

.hero-trust-cta {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s ease;
}

.hero-trust-cta:hover {
  opacity: 0.85;
}

/* ---- Autocomplete dropdown (shared component, hero-styled) ----
   The hero uses the reusable autocomplete component; the styles below keep
   its look consistent with the white search card (borderless input, rounded
   dropdown, brand hover). Base .ac-* styles come from autocomplete.scss. */
.hero-search-field .ac-input {
  width: 100%;
  padding: 2px 0;
  border: none;
  outline: none;
  background: transparent;
  box-shadow: none;
  color: var(--text-dark);
  font-size: 1.15rem;
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
}

.hero-search-field .ac-input::placeholder {
  color: #b4bac6;
  font-weight: 400;
}

.hero-search-field .ac-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 4px;
  right: 4px;
  z-index: 200;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  max-height: 280px;
  overflow-y: auto;
  margin-top: 0;
  text-align: left;
}

.hero-search-field .ac-dropdown.active {
  display: block;
}

.hero-search-field .ac-item {
  padding: 10px 16px;
  cursor: pointer;
  color: var(--text-primary);
  font-size: var(--font-base);
  transition: background 0.12s ease, color 0.12s ease;
}

.hero-search-field .ac-item:hover {
  background: #fdf0e8;
  color: var(--brand-primary);
}

.hero-search-field .ac-item.empty {
  color: var(--text-muted);
  cursor: default;
}

.hero-search-field .ac-loader {
  padding: 12px;
  text-align: center;
}

.hero-search-field .ac-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: ac-spin 0.6s linear infinite;
  margin: 0 auto;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero {
    padding: 56px 16px 56px;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 14px;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-search-card {
    padding: 10px;
    margin-top: 32px;
  }
}
@media (max-width: 560px) {
  .hero {
    padding: 44px 12px 48px;
  }

  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .hero-search-card {
    padding: 12px;
    margin-top: 28px;
  }

  .hero-search-bar {
    flex-direction: column;
    gap: 2px;
  }

  .hero-search-field {
    padding: 10px 12px;
    border-radius: 10px;
  }

  /* In the stacked (column) layout the divider becomes a horizontal line. */
  .hero-search-divider {
    width: auto;
    height: 1px;
    margin: 4px 8px;
  }

  .hero-search-field label {
    margin-bottom: 2px;
  }

  .hero-search-field input {
    font-size: 1.05rem;
  }

  .hero-search-btn {
    width: 100%;
    height: 50px;
    margin: 8px 0 0;
    border-radius: 12px;
  }

  .hero-search-btn-text {
    display: inline;
  }
}
.ac-wrapper {
  position: relative;
}

.ac-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-lg);
  font-size: var(--font-base);
  background: white;
  transition: border-color 0.2s;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

.ac-input:focus {
  border-color: var(--brand-primary);
  outline: none;
}

.ac-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-height: 250px;
  overflow-y: auto;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.ac-dropdown.active {
  display: block;
}

.ac-item {
  padding: 10px 16px;
  cursor: pointer;
  color: var(--gray-700);
  font-size: 0.88rem;
  transition: background 0.12s;
}

.ac-item:hover,
.ac-item.highlighted {
  background: #fdf0e8;
  color: var(--brand-primary);
}

.ac-item.empty {
  color: var(--text-muted);
  cursor: default;
  text-align: center;
  font-style: italic;
}

.ac-loader {
  padding: 12px;
  text-align: center;
}

.ac-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #f3f4f6;
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: ac-spin 0.6s linear infinite;
  margin: 0 auto;
}

@keyframes ac-spin {
  to {
    transform: rotate(360deg);
  }
}
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 28px;
}

.section-chip {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(212, 96, 58, 0.08);
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.section-action {
  text-align: center;
  margin-top: 28px;
}

/* Empty-state card used by section components when there is no content
   (featured_profiles, recent_jobs, ...). */
.empty-card {
  text-align: center;
  padding: 48px;
  background: #f9f9f9;
  border-radius: 12px;
  color: #888;
}

/* Only style plain text links inside empty cards — a real .btn link (e.g. the
   featured CTA button) must keep its own button colors, otherwise this rule
   (specificity 0,1,1) overrides .btn-primary's white text and the label
   becomes invisible on the brand background. */
.empty-card a:not(.btn) {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
}

/* Featured empty card (homepage) — icon + message + CTA button. */
.empty-card-featured .empty-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  font-size: 26px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.empty-card-featured p {
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .section-header p {
    font-size: 0.92rem;
  }

  .section-chip {
    margin-bottom: 8px;
  }

  .section-action {
    margin-top: 28px;
  }
}
@media (max-width: 480px) {
  .section-header {
    margin-bottom: 24px;
  }

  .section-action {
    margin-top: 24px;
  }

  .empty-card {
    padding: 32px 20px;
  }
}
.featured-section {
  padding: 64px 0;
  background: white;
}

/* ---- Section head: left aligned with a compact "view all" link ---- */
.featured-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.featured-head-info {
  text-align: left;
}

.featured-head-info .section-chip {
  margin-bottom: 12px;
}

.featured-head-info h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.featured-head-info p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 520px;
  margin: 0;
}

.featured-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fdf0e8;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid #f5e0d0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.featured-view-all:hover {
  background: #f5e0d0;
  border-color: #eccdb8;
  transform: translateY(-1px);
}

/* ---- Grid ---- */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

/* ---- Declutter cards on the homepage ----
   The shared profile_card is used on listing pages too, so we only simplify
   the visual noise here: hide contact icons, the redundant Offline badge and
   the footer bar. The green online dot next to the name stays as the only
   availability signal. */
.featured-section .card-footer {
  display: none;
}

.featured-section .profile-card {
  padding-bottom: 20px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .featured-section {
    padding: 48px 0;
  }

  .featured-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
  }

  .featured-head-info h2 {
    font-size: 1.6rem;
  }

  .profiles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .featured-section {
    padding: 36px 0;
  }

  .featured-head {
    margin-bottom: 24px;
  }

  .featured-head-info h2 {
    font-size: 1.4rem;
  }

  .featured-head-info p {
    font-size: 0.92rem;
  }

  .profiles-grid {
    gap: var(--gap-lg);
  }
}
.profile-card-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-2xl, 14px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-slow);
  overflow: hidden;
}

.profile-card-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-primary, #d4603a);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.profile-card-wrapper:hover::before {
  opacity: 1;
}

.profile-card-wrapper:hover {
  border-color: var(--brand-primary, #d4603a);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* The whole card body is one link to the profile detail page. */
.profile-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Favorite heart — top-right corner, above the link. Base .fav-btn
   positioning/styling lives in app.css; only focus visibility is refined
   here (the shared button already has a border on hover). */
.card-fav-btn {
  z-index: 5;
}

/* Media row: photo left + identity info right. The title row sits above it. */
.card-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.card-avatar {
  flex-shrink: 0;
}

/* Photo-first avatar — large (96px) so faces register at a glance in the
   listing grid. Overrides the component's avatar-lg (56px) default. */
.card-avatar .avatar {
  width: 96px;
  height: 96px;
}

.card-avatar .avatar.avatar-placeholder {
  font-size: 2.1rem;
}

.card-info {
  flex: 1;
  min-width: 0;
}

/* Title row — the focal point, full width on top. Only the verified check
   rides alongside the name; online/offline is a footer badge and the
   open-now pill lives in the meta row below. Right padding keeps the row
   clear of the top-right favorite heart. */
.card-name-row {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  padding-right: 40px;
  margin-bottom: 12px;
}

.card-name-row h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
  /* The name is the card's focal point — always fully visible. It wraps
     onto as many lines as needed, and long unbroken strings wrap too
     (overflow-wrap) instead of overflowing the card. No ellipsis: a
     truncated name hides the person you're looking for. */
  min-width: 0;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.profile-card-wrapper:hover .card-name-row h3 {
  color: var(--brand-primary, #d4603a);
}

/* Verified badge — small green checkmark next to the name. */
.card-verified {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #059669;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.18);
}

/* Open-now status pill — compact, sits inline in the meta row next to the
   location/rating. Kept away from the name so the title row stays clean.
   Shows only for profiles with working-hours data: green "Otvorené", muted
   "Zatvorené", or a neutral "Na objednávku" for appointment-only weeks. */
.card-open-now {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.card-open-now.is-closed {
  color: var(--text-secondary);
  background: var(--gray-50);
  border-color: var(--border-color);
}

.card-open-now.is-appointment {
  color: #9a3412;
  background: #fdf0e8;
  border-color: #f6d3c0;
}

/* Identity chips — entity type badge + derived main category share one row
   at the top of the media column (right of the photo), aligned with the
   avatar's top edge. */
.card-id-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.4;
  max-width: 100%;
}

/* Main category chip — derived from the profile's most recent offer.
   Pink tint matches the category chips on job cards, so both card types
   speak the same visual language. */
.card-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
  color: #9d174d;
  background: #fdf2f8;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-type-badge.provider {
  color: #9a3412;
  background: #fdf0e8;
  border: 1px solid #f6d3c0;
}

.card-type-badge.seeker {
  color: var(--text-secondary);
  background: var(--gray-50);
  border: 1px solid var(--border-color);
}

.card-jobtitle {
  margin: 6px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Location + rating + open-now status on a single inline row (saves a
   vertical line; the status pill is kept away from the name). */
.card-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.card-city {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta-sep {
  color: var(--text-muted);
}

/* Star rating line. */
.card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-rating-star {
  color: #f59e0b;
  font-size: 0.8rem;
  line-height: 1;
}

.card-rating-value {
  font-weight: 700;
  color: var(--text-dark);
}

.card-rating-count {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Card Skills */
.card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin-bottom: 14px;
}

/* Card Work History Thumbnails */
.card-works {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.card-works-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 90px;
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  background: var(--gray-100, #f3f4f6);
}

.card-works-thumb {
  position: relative;
}

.card-works-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-works-count {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Card Footer — status/contact left, listings action right. */
.card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 10px 20px 12px;
  border-top: 1px solid var(--border-color-light);
}

.card-footer-left {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  min-width: 0;
}

.card-contact-icons {
  display: flex;
  gap: var(--gap-sm);
  align-items: center;
}

.card-contact-icon {
  font-size: 0.95rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  border: 1px solid var(--border-color-light);
  transition: var(--transition-fast);
  cursor: default;
}

.card-contact-icon:hover {
  background: #f0fdf4;
  border-color: #bbf7d0;
  transform: scale(1.1);
}

/* Message button — one-click contact straight from the card (rendered for
   logged-in visitors only; requires UserID on the caller's dict). */
.card-message-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-left: 6px;
  border-radius: var(--radius-md);
  background: var(--brand-primary, #d4603a);
  border: 1px solid var(--brand-primary, #d4603a);
  color: #fff;
  text-decoration: none;
  transition: var(--transition-fast);
}

.card-message-btn:hover {
  background: var(--brand-dark, #2d1f1a);
  border-color: var(--brand-dark, #2d1f1a);
  transform: scale(1.1);
}

/* "N ponúk" — explicit action button (outline pill + chevron) deep-linking
   to the profile's listings section. */
.card-listings-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-primary, #d4603a);
  background: #fdf0e8;
  border: 1.5px solid var(--brand-primary, #d4603a);
  text-decoration: none;
  transition: var(--transition-fast);
}

.card-listings-btn:hover {
  background: var(--brand-primary, #d4603a);
  color: #fff;
}

.card-listings-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.card-listings-btn:hover svg {
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .card-top {
    gap: 10px;
    margin-bottom: 8px;
  }

  .card-name-row {
    margin-bottom: 8px;
  }

  .card-skills {
    margin-bottom: 10px;
  }
}
@media (max-width: 480px) {
  .profile-card {
    padding: 12px 12px 0;
  }

  .card-footer {
    padding: 8px 12px 12px;
  }

  .card-name-row h3 {
    font-size: 0.95rem;
  }

  .card-city {
    font-size: 0.78rem;
  }

  .card-top {
    gap: var(--gap-md);
    margin-bottom: 6px;
  }

  .card-name-row {
    margin-bottom: 6px;
  }

  .card-skills {
    gap: 4px;
    margin-bottom: 8px;
  }
}
/* Avatar Component */
.avatar {
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
  width: 56px;
  height: 56px;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar.avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  background: var(--brand-primary);
}

/* Size variants */
.avatar-xs {
  width: 24px;
  height: 24px;
}

.avatar-xs.avatar-placeholder {
  font-size: 0.65rem;
}

.avatar-sm {
  width: 32px;
  height: 32px;
}

.avatar-sm.avatar-placeholder {
  font-size: 0.8rem;
}

.avatar-md {
  width: 44px;
  height: 44px;
}

.avatar-md.avatar-placeholder {
  font-size: 1rem;
}

.avatar-lg {
  width: 56px;
  height: 56px;
}

.avatar-lg.avatar-placeholder {
  font-size: 1.3rem;
}

.avatar-xl {
  width: 64px;
  height: 64px;
}

.avatar-xl.avatar-placeholder {
  font-size: 1.5rem;
}

/* Skill Tag Component */
.st-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  transition: var(--transition-fast);
  white-space: nowrap;
  background: #fdf0e8;
  color: #d4603a;
  border: 1px solid #f5e0d0;
}

.st-tag:hover {
  background: #f5e0d0;
}

a.st-tag:hover {
  color: #c05432;
}

/* Brand variant - solid brand color */
.st-tag.st-brand {
  background: var(--brand-primary);
  color: white;
  border: none;
}

.st-tag.st-brand:hover {
  background: #c05432;
}

a.st-tag.st-brand:hover {
  color: white;
}

/* Ghost variant - subtle, for admin/internal */
.st-tag.st-ghost {
  background: #e8f0fe;
  color: #1a73e8;
  border: none;
}

.st-tag.st-ghost:hover {
  background: #d2e3fc;
}

a.st-tag.st-ghost:hover {
  color: #1557b0;
}

/* Size: small */
.st-tag.st-sm {
  padding: 2px 8px;
  font-size: 0.68rem;
  border-radius: 14px;
}

/* Size: large */
.st-tag.st-lg {
  padding: 6px 16px;
  font-size: var(--font-sm);
  border-radius: 24px;
}

/* Responsive */
@media (max-width: 480px) {
  .st-tag {
    font-size: 0.72rem;
    padding: 3px 10px;
  }

  .st-tag.st-sm {
    font-size: 0.64rem;
    padding: 2px 6px;
  }
}
/* Badge Component */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-lg);
  font-size: var(--font-xs);
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.4;
}

/* Color variants */
.badge-green {
  background: #e8f5e9;
  color: #2e7d32;
}

.badge-red {
  background: #fce4e4;
  color: #c62828;
}

.badge-orange {
  background: #fff3e0;
  color: #e65100;
}

.badge-blue {
  background: #e8f0fe;
  color: #1a73e8;
}

.badge-gray {
  background: #f5f5f5;
  color: #666;
}

/* Size: small */
.badge-sm {
  padding: 2px 8px;
  font-size: 0.7rem;
  border-radius: var(--radius-md);
}

/* Dot indicator */
.badge-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: #9ca3af;
}

.badge-dot.online {
  background: #22c55e;
}

.badge-dot.large {
  width: 10px;
  height: 10px;
}

/* Responsive */
@media (max-width: 480px) {
  .badge {
    font-size: 0.7rem;
    padding: 2px 8px;
  }

  .badge-dot {
    width: 6px;
    height: 6px;
  }

  .badge-dot.large {
    width: 8px;
    height: 8px;
  }
}
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 28px;
}

.section-chip {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(212, 96, 58, 0.08);
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.section-action {
  text-align: center;
  margin-top: 28px;
}

/* Empty-state card used by section components when there is no content
   (featured_profiles, recent_jobs, ...). */
.empty-card {
  text-align: center;
  padding: 48px;
  background: #f9f9f9;
  border-radius: 12px;
  color: #888;
}

/* Only style plain text links inside empty cards — a real .btn link (e.g. the
   featured CTA button) must keep its own button colors, otherwise this rule
   (specificity 0,1,1) overrides .btn-primary's white text and the label
   becomes invisible on the brand background. */
.empty-card a:not(.btn) {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
}

/* Featured empty card (homepage) — icon + message + CTA button. */
.empty-card-featured .empty-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  font-size: 26px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.empty-card-featured p {
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .section-header p {
    font-size: 0.92rem;
  }

  .section-chip {
    margin-bottom: 8px;
  }

  .section-action {
    margin-top: 28px;
  }
}
@media (max-width: 480px) {
  .section-header {
    margin-bottom: 24px;
  }

  .section-action {
    margin-top: 24px;
  }

  .empty-card {
    padding: 32px 20px;
  }
}
.online-now-section {
  padding: 64px 0;
  background: #f7faf8;
  border-top: 1px solid #e8f0ea;
  border-bottom: 1px solid #e8f0ea;
}

/* ---- Section head: left aligned with a compact "view all" link ---- */
.online-now-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.online-now-head-info {
  text-align: left;
}

.online-now-head-info .section-chip {
  margin-bottom: 12px;
}

.online-now-head-info h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.online-now-head-info p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 520px;
  margin: 0;
}

/* Green chip variant for the online indicator */
.online-now-head .section-chip.online-now-chip {
  background: rgba(34, 197, 94, 0.08);
  color: #16a34a;
}

/* Pulsing green dot */
.online-now-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 6px;
  animation: online-pulse 2s ease-in-out infinite;
}

@keyframes online-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.online-now-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 10px;
  background: #e8f5e9;
  color: #16a34a;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid #c8e6c9;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.online-now-view-all:hover {
  background: #c8e6c9;
  border-color: #a5d6a7;
  transform: translateY(-1px);
}

/* Grid reuses the shared .profiles-grid from featured_profiles */
.online-now-section .profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

/* Declutter cards — same treatment as featured_profiles */
.online-now-section .card-footer {
  display: none;
}

.online-now-section .profile-card {
  padding-bottom: 20px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .online-now-section {
    padding: 48px 0;
  }

  .online-now-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
  }

  .online-now-head-info h2 {
    font-size: 1.6rem;
  }

  .online-now-section .profiles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .online-now-section {
    padding: 36px 0;
  }

  .online-now-head {
    margin-bottom: 24px;
  }

  .online-now-head-info h2 {
    font-size: 1.4rem;
  }

  .online-now-head-info p {
    font-size: 0.92rem;
  }

  .online-now-section .profiles-grid {
    gap: var(--gap-lg);
  }
}
.header {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  z-index: 160;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  row-gap: 0;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.header-logo:hover {
  opacity: 0.85;
}

.header-logo:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.header-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.header-site-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: var(--font-lg);
}

/* ===== Nav Links ===== */
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Base styles for every nav link (anchors and dropdown-toggle buttons) */
.header-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: var(--font-sm);
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

/* Hover: brand tint pill (CTAs and the active link keep their own styles) */
.header-nav .nav-link:not(.nav-cta):not(.nav-link-active):hover {
  color: var(--brand-primary);
  background: color-mix(in srgb, var(--brand-primary) 8%, transparent);
}

/* Animated underline for top-level links (not CTAs, not dropdown toggles) */
.header-nav > a.nav-link:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.header-nav > a.nav-link:not(.nav-cta):hover::after,
.header-nav > a.nav-link:not(.nav-cta).nav-link-active::after {
  transform: scaleX(1);
}

/* Active page: brand tint + bold */
.nav-link.nav-link-active {
  color: var(--brand-primary);
  font-weight: 600;
  background: color-mix(in srgb, var(--brand-primary) 10%, transparent);
}

.nav-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
}

.nav-link-label {
  display: inline-flex;
  align-items: center;
}

/* ===== Nav Online Link ===== */
.nav-link-online {
  position: relative;
}

.nav-online-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-green 2s infinite;
}

.nav-online-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #22c55e;
  color: #fff;
  border-radius: var(--radius-lg);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

@keyframes pulse-green {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
/* ===== Login / Register CTA buttons ===== */
.nav-cta {
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
}

.header-nav .nav-cta-login {
  margin-left: 6px;
  color: var(--brand-primary);
  background: #fff;
  border: 1.5px solid color-mix(in srgb, var(--brand-primary) 35%, transparent);
}

.header-nav .nav-cta-login:hover {
  color: var(--brand-dark);
  background: color-mix(in srgb, var(--brand-primary) 8%, #fff);
  border-color: var(--brand-primary);
}

.header-nav .nav-cta-register {
  color: #fff;
  background: var(--brand-primary);
  border: 1.5px solid transparent;
  /* Clear gap between the login and register buttons */
  margin-left: 10px;
}

.header-nav .nav-cta-register:hover {
  color: #fff;
  background: var(--brand-dark);
  transform: translateY(-1px);
}

/* ===== Unread Badge ===== */
.nav-conversations {
  position: relative;
}

.unread-badge {
  display: none;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  border-radius: var(--radius-lg);
  animation: badgePopIn 0.3s ease;
}

.unread-badge.has-unread {
  display: inline-block;
}

@keyframes badgePopIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
/* ===== Fav / Admin Badges ===== */
.fav-badge {
  display: none;
  position: absolute;
  top: -6px;
  right: -10px;
  background: #e53935;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: var(--radius-md);
  padding: 0 4px;
  box-shadow: 0 2px 4px rgba(229, 57, 53, 0.3);
}

.fav-badge.has-fav {
  display: block;
  animation: pulse-badge 2s infinite;
}

.admin-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #e53935;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: var(--radius-md);
  padding: 0 4px;
  box-shadow: 0 2px 4px rgba(229, 57, 53, 0.3);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
/* ===== Header Search ===== */
.header-search {
  display: flex;
  align-items: center;
  margin: 0 1rem;
  flex: 1;
  max-width: 420px;
}

.header-search-form {
  display: flex;
  width: 100%;
}

.header-search-field {
  position: relative;
  flex: 1;
  min-width: 0;
}

.header-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #aab0bc;
  pointer-events: none;
  transition: color 0.2s ease;
}

.header-search:focus-within .header-search-icon {
  color: var(--brand-primary);
}

.header-search-input {
  flex: 1;
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 36px;
  border: 1.5px solid #e2e5ea;
  border-radius: 10px 0 0 10px;
  font-size: 0.95rem;
  background: #f4f5f7;
  transition: var(--transition-normal);
  min-width: 0;
  font-family: 'Inter', sans-serif;
}

.header-search-input::placeholder {
  color: #aab0bc;
  font-weight: 400;
}

.header-search-input:focus {
  border-color: var(--brand-primary);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 15%, transparent);
}

.header-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  transition: var(--transition-fast);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.header-search-btn:hover {
  background: var(--brand-secondary);
}

.header-search-btn-icon {
  width: 16px;
  height: 16px;
}

/* ===== Nav Dropdown ===== */
.nav-dropdown {
  position: relative;
}

/* Chevron indicator on dropdown toggles */
.nav-dropdown > .dropdown-toggle::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover > .dropdown-toggle::after,
.nav-dropdown.open > .dropdown-toggle::after,
.nav-dropdown:focus-within > .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  /* top: 100% (not calc(100% + 8px)) keeps the menu's top edge touching the
     toggle, so there is no hover dead-zone between the button and the menu:
     moving the mouse from the button down into the menu never drops :hover.
     The former 8px gap is absorbed as padding-top inside the menu itself. */
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  /* 8px visual gap + 6px original padding */
  padding: 14px 6px 6px;
  min-width: 210px;
  z-index: 1000;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  pointer-events: none;
}

.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown.open > .dropdown-menu,
.nav-dropdown:focus-within > .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  text-decoration: none;
  color: #444;
  transition: background 0.12s, color 0.12s;
  cursor: pointer;
}

.dropdown-menu .nav-link:hover {
  background: color-mix(in srgb, var(--brand-primary) 8%, transparent);
  color: var(--brand-primary);
}

.dropdown-menu .nav-link.nav-link-active {
  background: color-mix(in srgb, var(--brand-primary) 12%, transparent);
  color: var(--brand-primary);
  font-weight: 600;
}

.dropdown-menu .nav-link.nav-logout:hover {
  color: #dc2626;
  background: #fef2f2;
}

/* Logout is a CSRF-protected POST form (a GET link would allow logout CSRF).
   The submit button keeps the exact same look as the other menu links. */
.dropdown-menu .nav-logout-form {
  display: block;
}

.dropdown-menu .nav-logout-form .nav-link {
  width: 100%;
  text-align: left;
}

.dropdown-menu .nav-link .nav-link-icon {
  font-size: 1rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.dropdown-menu .nav-link .fav-badge {
  display: none;
  position: static;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  font-size: 0.65rem;
  line-height: 18px;
  vertical-align: middle;
}

.dropdown-menu .nav-link .fav-badge.has-fav {
  display: inline-flex;
}

.dropdown-menu .nav-link .admin-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  font-size: 0.65rem;
  line-height: 18px;
  vertical-align: middle;
  animation: none;
}

.dropdown-menu .nav-link .unread-badge.has-unread {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  font-size: 0.65rem;
  line-height: 18px;
  vertical-align: middle;
}

.nav-admin {
  position: relative;
}

/* ===== Profile Switcher ===== */
.dropdown-menu-wide {
  min-width: 260px;
  white-space: normal;
}

.nav-profile-item {
  width: 100%;
}

.nav-profile-item .ps-avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand-primary) 12%, #fff);
  color: var(--brand-primary);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-profile-item .ps-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.nav-profile-item .ps-name {
  font-size: var(--font-sm);
  font-weight: 600;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-profile-item .ps-role {
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-profile-item .ps-role.provider {
  color: var(--brand-primary);
}

.nav-profile-item .ps-role.seeker {
  color: var(--text-muted);
}

.nav-profile-item .ps-active {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-profile-manage {
  border-top: 1px solid #f0f0f0;
  margin-top: 4px;
  padding-top: 10px !important;
  border-radius: 0 !important;
}

/* ===== Hamburger Menu Button ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background 0.2s;
  z-index: 210;
  position: relative;
}

.hamburger:hover {
  background: rgba(0, 0, 0, 0.05);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #666;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger span + span {
  margin-top: 5px;
}

/* Hamburger -> X animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Mobile Nav Drawer & Backdrop ===== */
.nav-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   Responsive: Tablet & Mobile
   ============================================ */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .header-container {
    row-gap: var(--gap-md);
  }

  .header-search {
    max-width: 100%;
    margin: 0.5rem 0;
    width: 100%;
    order: 3;
  }

  .header-search-input {
    font-size: 1rem;
    padding: 0.65rem 0.85rem 0.65rem 38px;
  }

  .header-search-btn {
    font-size: 1rem;
    padding: 0.65rem 0.85rem;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 32px;
    gap: 4px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-nav.mobile-open {
    right: 0;
  }

  .header-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    color: #444;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
  }

  .header-nav .nav-link:not(.nav-cta):not(.nav-link-active):hover {
    background: color-mix(in srgb, var(--brand-primary) 8%, transparent);
    color: var(--brand-primary);
  }

  .header-nav .nav-link:active {
    background: color-mix(in srgb, var(--brand-primary) 14%, transparent);
  }

  .header-nav .nav-link.nav-link-active {
    background: color-mix(in srgb, var(--brand-primary) 12%, transparent);
    color: var(--brand-primary);
    font-weight: 600;
  }

  /* Hide the underline bar and chevron in the drawer */
  .header-nav > a.nav-link::after,
  .nav-dropdown > .dropdown-toggle::after {
    display: none;
  }

  /* CTAs stretch full width in the drawer */
  .header-nav .nav-cta {
    justify-content: center;
    margin: 6px 0 0;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
  }

  .header-nav .nav-cta-login {
    margin-left: 0;
  }

  /* Badges inside mobile nav links */
  .header-nav .nav-link .fav-badge {
    display: none;
    position: static;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    font-size: 0.7rem;
    line-height: 22px;
    vertical-align: middle;
  }

  .header-nav .nav-link .fav-badge.has-fav {
    display: inline-flex;
  }

  .header-nav .nav-link .admin-badge {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    font-size: 0.7rem;
    line-height: 22px;
    vertical-align: middle;
  }

  .header-nav .nav-link .unread-badge.has-unread {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    font-size: 0.7rem;
    line-height: 22px;
    vertical-align: middle;
  }

  /* Flatten dropdowns on mobile */
  .nav-dropdown {
    border-top: 1px solid #f0f0f0;
    margin-top: 6px;
    padding-top: 4px;
  }

  .nav-dropdown > .dropdown-toggle {
    padding: 10px 16px 6px;
    font-size: var(--font-xs);
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: default;
    pointer-events: none;
    border-radius: 0;
  }

  .nav-dropdown > .dropdown-menu {
    display: block !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 0 0 16px !important;
    min-width: auto !important;
    background: transparent !important;
    white-space: normal !important;
    pointer-events: auto !important;
  }

  .dropdown-menu .nav-link {
    padding: 10px 16px;
    font-size: var(--font-base);
  }
}
@media (max-width: 480px) {
  .header-container {
    padding: 10px 12px;
    gap: 4px;
  }

  .header-logo {
    font-size: 1rem;
    gap: 4px;
    max-width: 60%;
  }

  .header-logo img {
    height: 22px;
  }

  .header-site-name {
    max-width: 80px;
    font-size: 1rem;
  }

  .hamburger {
    width: 32px;
    height: 32px;
    padding: 5px;
  }

  .hamburger span {
    width: 18px;
  }

  .hamburger span + span {
    margin-top: 4px;
  }

  /* Hamburger -> X animation */
  .hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .header-search {
    margin: 0.3rem 0;
  }

  .header-search-input {
    padding: 0.5rem 0.75rem 0.5rem 34px;
    font-size: var(--font-base);
  }

  .header-search-btn {
    padding: 0.5rem 0.75rem;
    font-size: var(--font-base);
  }

  .header-nav {
    width: 100vw;
    max-width: 100%;
    right: -100%;
    padding: 60px 12px 20px;
    gap: 2px;
  }

  .header-nav.mobile-open {
    right: 0;
  }

  .header-nav .nav-link {
    padding: 10px 12px;
    font-size: var(--font-base);
  }
}
.verify-banner {
  background: #fff8e1;
  border-bottom: 1px solid #ffe082;
  box-shadow: 0 2px 10px rgba(133, 100, 4, 0.08);
}

.verify-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.verify-banner-msg {
  font-size: var(--font-sm);
  color: #7a5d03;
  line-height: 1.45;
}

.verify-banner-msg a {
  color: #7a5d03;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.verify-banner-msg a:hover {
  text-decoration-thickness: 2px;
}

.verify-banner-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 10px;
  color: #7a5d03;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.verify-banner-close:hover {
  opacity: 1;
  background: rgba(133, 100, 4, 0.1);
}

.verify-banner-close:focus-visible {
  outline: 2px solid #7a5d03;
  outline-offset: 2px;
}

.footer {
  background: var(--gray-900);
  color: #e5e7eb;
  padding: 0;
  flex-shrink: 0;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: var(--font-base);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: #d1d5db;
  text-decoration: none;
  font-size: var(--font-base);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer-bottom p {
  margin: 0;
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.footer-trust {
  display: flex;
  gap: var(--gap-lg);
}

.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-xs);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 0 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--gap-lg);
    text-align: center;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
/* Shared confirmation / alert dialog — replaces native confirm()/alert().
   Rendered once per page via base.html ({{component "confirm_dialog" .}}). */
.confirm-dialog {
  /* Explicitly center the dialog: the global '* { margin: 0 }' reset in
     app.css overrides the UA stylesheet's margin: auto that normally
     centers a <dialog>, leaving it stuck in the top-left corner. */
  position: fixed;
  inset: 0;
  margin: auto;
  border: none;
  padding: 0;
  border-radius: 18px;
  max-width: 420px;
  width: calc(100vw - 32px);
  background: var(--card-bg, #fff);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.confirm-dialog::backdrop {
  background: rgba(15, 20, 35, 0.55);
  backdrop-filter: blur(2px);
}

.confirm-dialog[open] {
  animation: confirm-pop 0.24s cubic-bezier(0.18, 0.89, 0.32, 1.18);
}

@keyframes confirm-pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .confirm-dialog[open] {
    animation: none;
  }
}
.confirm-dialog-card {
  position: relative;
  padding: 28px 26px 24px;
  text-align: center;
}

.confirm-dialog-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f4f6fa;
  border: 1px solid #e2e8f0;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 14px;
}

.confirm-dialog.danger .confirm-dialog-icon {
  background: #fef2f2;
  border-color: #fecaca;
}

.confirm-dialog-title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-color, #1a1f2e);
}

.confirm-dialog-message {
  margin: 0 0 20px;
  color: #5a6272;
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.confirm-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.confirm-dialog-actions .btn {
  margin: 0;
  min-width: 110px;
  justify-content: center;
}

/* Destructive confirmations get a red confirm button (added via the
   `danger: true` option in confirmDialog/confirmFormSubmit). */
.confirm-dialog.danger .confirm-dialog-confirm {
  background: var(--red-600, #dc2626);
  color: #fff;
}

.confirm-dialog.danger .confirm-dialog-confirm:hover {
  background: #b91c1c;
}

@media (max-width: 480px) {
  .confirm-dialog-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .confirm-dialog-actions .btn {
    width: 100%;
  }
}
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: none;
  padding: 0.75rem 1rem;
  background: var(--brand-dark, #2d1f1a);
  color: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  font-size: var(--font-sm);
}

.cookie-consent-visible {
  display: block;
}

.cookie-consent-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-consent-text {
  margin: 0;
  line-height: 1.5;
  flex: 1 1 320px;
}

.cookie-consent-text a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-consent-text a:hover {
  text-decoration: none;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-consent .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.cookie-consent .btn-primary {
  background: var(--brand-primary);
  color: #fff;
  border: none;
}

.cookie-consent .btn-primary:hover {
  background: #c05432;
}

.cookie-consent .btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.cookie-consent .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 600px) {
  .cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.75rem;
  }

  .cookie-consent-actions {
    justify-content: center;
  }
}
.onboarding-home-card {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 0 0 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.onboarding-home-card-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 260px;
}

.onboarding-home-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.onboarding-home-card-sub {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: #5a6272;
}

.onboarding-home-card-count {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brand-primary, #667eea);
  background: rgba(102, 126, 234, 0.1);
  border-radius: 20px;
  padding: 3px 12px;
  white-space: nowrap;
}

.onboarding-home-card-progress {
  flex: 1 1 220px;
  height: 8px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.onboarding-home-card-progress-fill {
  height: 100%;
  border-radius: 20px;
  background: var(--brand-gradient, linear-gradient(135deg, #667eea, #764ba2));
  transition: width 0.4s ease;
}

.onboarding-home-card-cta {
  margin-left: auto;
}

@media (max-width: 640px) {
  .onboarding-home-card {
    flex-direction: column;
    align-items: stretch;
  }

  .onboarding-home-card-cta {
    margin-left: 0;
  }
}
.home-cities-section {
  padding: 64px 0;
  background: var(--bg-page);
  border-top: 1px solid var(--border-color-light);
  border-bottom: 1px solid var(--border-color-light);
}

/* Section head: left aligned, with a compact "view all" link (mirrors the
   featured profiles head so the homepage sections stay visually consistent). */
.home-cities-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.home-cities-head-info {
  text-align: left;
}

.home-cities-head-info .section-chip {
  margin-bottom: 12px;
}

.home-cities-head-info h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #111;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

.home-cities-head-info p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 520px;
  margin: 0;
}

.home-cities-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fdf0e8;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid #f5e0d0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.home-cities-view-all:hover {
  background: #f5e0d0;
  border-color: #eccdb8;
  transform: translateY(-1px);
}

/* City cards grid */
.home-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.home-city-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-city-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-primary);
}

.home-city-info {
  flex: 1;
  min-width: 0;
}

.home-city-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  transition: color 0.2s;
}

.home-city-card:hover .home-city-name {
  color: var(--brand-primary);
}

.home-city-region {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.home-city-stats {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.home-city-stat {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
  .home-cities-section {
    padding: 48px 0;
  }

  .home-cities-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
  }

  .home-cities-head-info h2 {
    font-size: 1.6rem;
  }

  .home-cities-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .home-cities-section {
    padding: 36px 0;
  }

  .home-cities-head {
    margin-bottom: 24px;
  }

  .home-cities-head-info h2 {
    font-size: 1.4rem;
  }

  .home-cities-head-info p {
    font-size: 0.92rem;
  }

  .home-cities-grid {
    grid-template-columns: 1fr;
  }
}
.home-cta-section {
  padding: 56px 0 72px;
  background: #fff;
}

.home-cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  padding: 56px 40px;
  background: var(--brand-dark);
  background-image: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-primary) 100%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
}

.home-cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: radial-gradient(circle at 15% 30%, #fff 1px, transparent 1px), radial-gradient(circle at 85% 70%, #fff 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.home-cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.home-cta-chip {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  margin-bottom: 14px;
}

.home-cta-card h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}

.home-cta-card p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin: 0 auto 28px;
  max-width: 520px;
  line-height: 1.6;
}

.home-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.home-cta-actions .btn {
  padding: 12px 26px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 12px;
}

.home-cta-actions .btn-primary {
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.15s ease;
}

.home-cta-actions .btn-primary:hover {
  background: #fff3ec;
  transform: translateY(-1px);
}

.home-cta-actions .btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.home-cta-actions .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .home-cta-section {
    padding: 40px 0 56px;
  }

  .home-cta-card {
    padding: 40px 22px;
    border-radius: 16px;
  }

  .home-cta-card h2 {
    font-size: 1.5rem;
  }

  .home-cta-card p {
    font-size: 0.95rem;
  }

  .home-cta-actions {
    flex-direction: column;
  }

  .home-cta-actions .btn {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .home-cta-section {
    padding: 32px 0 48px;
  }

  .home-cta-card {
    padding: 34px 18px;
  }

  .home-cta-card h2 {
    font-size: 1.3rem;
  }
}
