* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background: #f5f6fb;
}

a {
  color: inherit;
}

.header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #e3e4ee;
  z-index: 10;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: #4554d9;
}

.nav a {
  text-decoration: none;
  margin-left: 18px;
  font-size: 0.95rem;
  color: #333;
}

.section-alt {
  padding: 50px 0;
  background: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.search-bar {
  max-width: 400px;
  margin: 0 auto 20px;
}

.search-bar input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid #c9cbe5;
  font-size: 0.95rem;
}

.search-bar input:focus {
  outline: none;
  border-color: #4554d9;
  box-shadow: 0 0 0 1px rgba(69, 84, 217, 0.2);
}

.psychologists-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.psych-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.psych-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.psych-crp {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
}

.psych-specialties {
  margin-bottom: 8px;
}

.chip {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef0ff;
  color: #445;
  font-size: 0.8rem;
  margin: 0 4px 4px 0;
}

.psych-bio {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 10px;
}

.contact-whatsapp {
  margin-top: 10px;
  text-align: right;
}

.btn-whatsapp {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  background: #25d366;
  color: #fff;
}

.loading {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  grid-column: 1 / -1;
}

.footer {
  padding: 20px 0;
  background: #0f1020;
  color: #ccc;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 40px;
}