/* ── SERVICII ── */
#servicii { background: var(--mist); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
.service-card { background: var(--white); border-radius: 16px; padding: 28px; border: 1px solid var(--border); transition: all .25s; cursor: pointer; position: relative; overflow: hidden; }
.service-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, var(--teal), var(--teal-light)); transform: scaleX(0); transition: transform .3s; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 52px; height: 52px; background: var(--teal-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.5rem; }
.service-card h3 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.service-link { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-size: 0.83rem; font-weight: 600; margin-top: 14px; text-decoration: none; }
.service-link:hover { gap: 10px; }

/* ── MEDICI ── */
#medici { background: var(--white); }
.doctors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; margin-top: 48px; }
.doctor-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: all .25s; }
.doctor-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.doctor-avatar { height: 180px; background: linear-gradient(135deg, var(--teal-pale), #d0eeec); display: flex; align-items: center; justify-content: center; font-size: 4rem; position: relative; }
.doctor-badge { position: absolute; bottom: 12px; right: 12px; background: var(--teal); color: white; font-size: 0.68rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .3px; }
.doctor-info { padding: 18px; }
.doctor-info h3 { font-size: 0.97rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.doctor-spec { font-size: 0.82rem; color: var(--teal); font-weight: 500; }
.doctor-loc { font-size: 0.8rem; color: var(--text-light); margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.doctors-more { text-align: center; margin-top: 36px; }
.doctors-more a { display: inline-flex; align-items: center; gap: 8px; background: var(--teal-pale); color: var(--teal); padding: 12px 28px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 0.92rem; }

/* ── ORGANIGRAMA ── */
#organigrama { background: var(--mist); }
.org-wrapper { margin-top: 40px; background: white; border-radius: 20px; border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow); }
.org-header { background: linear-gradient(90deg, var(--navy), var(--teal)); padding: 20px 28px; color: white; }
.org-header h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; }
.org-header p { font-size: 0.82rem; opacity: .75; margin-top: 4px; }
.org-img-wrap { padding: 24px; overflow: auto; }
.org-img-wrap img { width: 100%; height: auto; border-radius: 8px; min-width: 800px; }
.org-downloads { padding: 12px 24px 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.org-downloads a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.org-downloads .dl-pdf  { background: var(--teal-pale); color: var(--teal); }
.org-downloads .dl-docx { background: #e8f0fe; color: #1a56cf; }

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr 1fr; }
}
