body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f6f9fb;
  margin: 0;
  color: #24313a;
}

header {
  background: linear-gradient(180deg, #ffffff 0%, #eff7fc 100%);
  color: #24313a;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #dbe7ef;
}

header h1 {
  font-size: 18px;
}

.header-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav li a {
  color: #24313a;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  transition: 0.2s;
}

.header-nav li a:hover {
  background: #eff7fc;
  color: #0a7db8;
}

.brand {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 20%, #5ad1ff, #0a7db8);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 6px 14px rgba(15, 41, 61, 0.12);
}

.text-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.text-logo strong {
  font-size: 1rem;
  color: #0a7db8;
}

.text-logo span {
  font-size: 0.85rem;
  color: #5e6a71;
}

main {
  max-width: 1100px;
  margin: 26px auto 0 auto;
  padding: 0 20px 20px;
}

section {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(15, 41, 61, 0.08);
  border-radius: 14px;
  border: 1px solid #dbe7ef;
}

section h2 {
  margin-top: 0;
  color: #0a7db8;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.doctor-card {
  box-sizing: border-box;
  flex: 0 0 calc((100% - 40px) / 3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #dbe7ef;
  border-radius: 12px;
  padding: 16px 18px;
  background: #fbfdff;
  transition: transform 0.08s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.doctor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 41, 61, 0.12);
  border-color: #b9d7e7;
}

.doctor-card h3 {
  margin: 0 0 8px 0;
  color: #24313a;
  font-size: 1.1rem;
}

.doctor-card p {
  margin: 6px 0;
  color: #394852;
}

.btn {
  display: inline-block;
  border: 1px solid #0a7db8;
  color: #fff;
  background: #0a7db8;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(15, 41, 61, 0.08);
  transition: transform 0.08s ease, background 0.2s ease, border-color 0.2s ease;
}

.doctor-card a {
  text-decoration: none;
}

.btn-block {
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: 12px;
}

footer {
  background: #eff7fc;
  color: #5e6a71;
  text-align: center;
  padding: 16px 10px;
  font-size: 0.9rem;
  border-top: 1px solid #dbe7ef;
}
.contacto {
  background: #ffffff;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #dbe7ef;
  box-shadow: 0 8px 24px rgba(15, 41, 61, 0.08);
  max-width: 600px;
  margin: 30px auto;
}

.contacto h2 {
  color: #0a7db8;
  margin-bottom: 16px;
}

.contacto form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contacto label {
  font-weight: 600;
  color: #24313a;
}

.contacto input,
.contacto textarea {
  padding: 10px 12px;
  border: 1px solid #cfe3ee;
  border-radius: 10px;
  font-size: 0.95rem;
}

.contacto input:focus,
.contacto textarea:focus {
  outline: none;
  border-color: #0a7db8;
  box-shadow: 0 0 4px rgba(10, 125, 184, 0.3);
}

.contacto button {
  align-self: flex-start;
}

.intro-professionals {
  margin-bottom: 20px;
}

#health-insurance {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(15, 41, 61, 0.08);
  border-radius: 14px;
  border: 1px solid #dbe7ef;
}

#health-insurance h2 {
  color: #0a7db8;
  margin-bottom: 8px;
}

#health-insurance p {
  color: #394852;
  margin-bottom: 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.tag {
  background: #eff7fc;
  color: #0a7db8;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid #dbe7ef;
}

.note {
  font-size: 0.9rem;
  color: #5e6a71;
}

.note a {
  color: #0a7db8;
  font-weight: 600;
  text-decoration: none;
}
.note a:hover {
  text-decoration: underline;
}

.institucional {
  background: #ffffff;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #dbe7ef;
  box-shadow: 0 8px 24px rgba(15, 41, 61, 0.08);
  max-width: 800px;
  margin: 30px auto;
}

.institucional h2 {
  color: #0a7db8;
  margin-bottom: 16px;
}

.institucional h3 {
  color: #096da1;
  margin-top: 20px;
}

.institucional p,
.institucional li {
  color: #394852;
  line-height: 1.6;
}

.institucional ul {
  padding-left: 20px;
}